Commit 49cd1dd1 authored by Rob Herring's avatar Rob Herring Committed by Linus Walleij

dt-bindings: pinctrl: Drop unneeded quotes

Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarHector Martin <marcan@marcan.st>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de> #rockchip
Reviewed-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230330200402.2731992-1-robh@kernel.orgSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 010f493d
...@@ -185,7 +185,7 @@ patternProperties: ...@@ -185,7 +185,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -142,7 +142,7 @@ allOf: ...@@ -142,7 +142,7 @@ allOf:
# boards are defining it at the moment so it would generate a lot of # boards are defining it at the moment so it would generate a lot of
# warnings. # warnings.
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
- if: - if:
not: not:
properties: properties:
......
...@@ -73,7 +73,7 @@ patternProperties: ...@@ -73,7 +73,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -32,7 +32,7 @@ patternProperties: ...@@ -32,7 +32,7 @@ patternProperties:
then: then:
patternProperties: patternProperties:
"^function|groups$": "^function|groups$":
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15,
ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT,
EXTRST, FLACK, FLBUSY, FLWP, GPID, GPID0, GPID2, GPID4, GPID6, GPIE0, EXTRST, FLACK, FLBUSY, FLWP, GPID, GPID0, GPID2, GPID4, GPID6, GPIE0,
...@@ -51,7 +51,7 @@ patternProperties: ...@@ -51,7 +51,7 @@ patternProperties:
VGAHS, VGAVS, VPI18, VPI24, VPI30, VPO12, VPO24, WDTRST1, WDTRST2] VGAHS, VGAVS, VPI18, VPI24, VPI30, VPO12, VPO24, WDTRST1, WDTRST2]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -44,7 +44,7 @@ patternProperties: ...@@ -44,7 +44,7 @@ patternProperties:
then: then:
patternProperties: patternProperties:
"^function|groups$": "^function|groups$":
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15,
ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT,
ESPI, FWSPICS1, FWSPICS2, GPID0, GPID2, GPID4, GPID6, GPIE0, GPIE2, ESPI, FWSPICS1, FWSPICS2, GPID0, GPID2, GPID4, GPID6, GPIE0, GPIE2,
...@@ -65,7 +65,7 @@ patternProperties: ...@@ -65,7 +65,7 @@ patternProperties:
VGAVS, VPI24, VPO, WDTRST1, WDTRST2] VGAVS, VPI24, VPO, WDTRST1, WDTRST2]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -30,7 +30,7 @@ patternProperties: ...@@ -30,7 +30,7 @@ patternProperties:
then: then:
properties: properties:
function: function:
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: [ ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2, enum: [ ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2,
ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMC, ESPI, ESPIALT, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMC, ESPI, ESPIALT,
FSI1, FSI2, FWQSPI, FWSPIABR, FWSPID, FWSPIWP, GPIT0, GPIT1, GPIT2, GPIT3, FSI1, FSI2, FWQSPI, FWSPIABR, FWSPID, FWSPIWP, GPIT0, GPIT1, GPIT2, GPIT3,
...@@ -55,7 +55,7 @@ patternProperties: ...@@ -55,7 +55,7 @@ patternProperties:
USB2BD, USB2BH, VB, VGAHS, VGAVS, WDTRST1, WDTRST2, WDTRST3, WDTRST4 ] USB2BD, USB2BH, VB, VGAHS, VGAVS, WDTRST1, WDTRST2, WDTRST3, WDTRST4 ]
groups: groups:
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: [ ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2, enum: [ ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2,
ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMCG1, EMMCG4, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, EMMCG1, EMMCG4,
EMMCG8, ESPI, ESPIALT, FSI1, FSI2, FWQSPI, FWSPIABR, FWSPID, FWSPIWP, EMMCG8, ESPI, ESPIALT, FSI1, FSI2, FWQSPI, FWSPIABR, FWSPID, FWSPIWP,
...@@ -84,7 +84,7 @@ patternProperties: ...@@ -84,7 +84,7 @@ patternProperties:
WDTRST3, WDTRST4] WDTRST3, WDTRST4]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -38,7 +38,7 @@ patternProperties: ...@@ -38,7 +38,7 @@ patternProperties:
gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio40 ] gpio8, gpio9, gpio10, gpio11, gpio12, gpio13, gpio40 ]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -42,7 +42,7 @@ patternProperties: ...@@ -42,7 +42,7 @@ patternProperties:
vdsl_phy_override_3_grp, dsl_gpio8, dsl_gpio9 ] vdsl_phy_override_3_grp, dsl_gpio8, dsl_gpio9 ]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -37,7 +37,7 @@ patternProperties: ...@@ -37,7 +37,7 @@ patternProperties:
usb_port1 ] usb_port1 ]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -35,7 +35,7 @@ patternProperties: ...@@ -35,7 +35,7 @@ patternProperties:
led_grp, spi_cs_grp, utopia_grp, pwm_syn_clk, sys_irq_grp ] led_grp, spi_cs_grp, utopia_grp, pwm_syn_clk, sys_irq_grp ]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -42,7 +42,7 @@ patternProperties: ...@@ -42,7 +42,7 @@ patternProperties:
gpio22, gpio23, gpio24, gpio25, gpio26, gpio27, nand_grp ] gpio22, gpio23, gpio24, gpio25, gpio26, gpio27, nand_grp ]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -43,7 +43,7 @@ patternProperties: ...@@ -43,7 +43,7 @@ patternProperties:
gpio31, uart1_grp ] gpio31, uart1_grp ]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -53,7 +53,7 @@ patternProperties: ...@@ -53,7 +53,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
- if: - if:
properties: properties:
compatible: compatible:
......
...@@ -144,7 +144,7 @@ patternProperties: ...@@ -144,7 +144,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -173,7 +173,7 @@ properties: ...@@ -173,7 +173,7 @@ properties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -40,8 +40,8 @@ properties: ...@@ -40,8 +40,8 @@ properties:
'-pins$': '-pins$':
type: object type: object
allOf: allOf:
- $ref: "pincfg-node.yaml#" - $ref: pincfg-node.yaml#
- $ref: "pinmux-node.yaml#" - $ref: pinmux-node.yaml#
properties: properties:
groups: groups:
description: description:
......
...@@ -109,7 +109,7 @@ required: ...@@ -109,7 +109,7 @@ required:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
examples: examples:
- | - |
......
...@@ -68,7 +68,7 @@ patternProperties: ...@@ -68,7 +68,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -65,7 +65,7 @@ patternProperties: ...@@ -65,7 +65,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -57,7 +57,7 @@ patternProperties: ...@@ -57,7 +57,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -14,7 +14,7 @@ description: ...@@ -14,7 +14,7 @@ description:
for common binding part and usage. for common binding part and usage.
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
properties: properties:
compatible: compatible:
......
...@@ -119,7 +119,7 @@ patternProperties: ...@@ -119,7 +119,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -48,7 +48,7 @@ patternProperties: ...@@ -48,7 +48,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -28,7 +28,7 @@ patternProperties: ...@@ -28,7 +28,7 @@ patternProperties:
properties: properties:
marvell,function: marvell,function:
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
description: description:
Indicates the function to select. Indicates the function to select.
enum: [ dev_init_done, ge, gpio, i2c0, i2c1, int_out, led, nand, pcie, ptp, sdio, enum: [ dev_init_done, ge, gpio, i2c0, i2c1, int_out, led, nand, pcie, ptp, sdio,
...@@ -47,7 +47,7 @@ patternProperties: ...@@ -47,7 +47,7 @@ patternProperties:
mpp40, mpp41, mpp42, mpp43, mpp44, mpp45 ] mpp40, mpp41, mpp42, mpp43, mpp44, mpp45 ]
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -54,8 +54,8 @@ patternProperties: ...@@ -54,8 +54,8 @@ patternProperties:
'-pins$': '-pins$':
type: object type: object
allOf: allOf:
- $ref: "pinmux-node.yaml" - $ref: pinmux-node.yaml
- $ref: "pincfg-node.yaml" - $ref: pincfg-node.yaml
properties: properties:
function: true function: true
...@@ -78,7 +78,7 @@ required: ...@@ -78,7 +78,7 @@ required:
- gpio-ranges - gpio-ranges
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
- if: - if:
properties: properties:
compatible: compatible:
......
...@@ -395,8 +395,8 @@ $defs: ...@@ -395,8 +395,8 @@ $defs:
qcom-pmic-gpio-state: qcom-pmic-gpio-state:
type: object type: object
allOf: allOf:
- $ref: "pinmux-node.yaml" - $ref: pinmux-node.yaml
- $ref: "pincfg-node.yaml" - $ref: pincfg-node.yaml
properties: properties:
pins: pins:
description: description:
......
...@@ -82,8 +82,8 @@ $defs: ...@@ -82,8 +82,8 @@ $defs:
qcom-pmic-mpp-state: qcom-pmic-mpp-state:
type: object type: object
allOf: allOf:
- $ref: "pinmux-node.yaml" - $ref: pinmux-node.yaml
- $ref: "pincfg-node.yaml" - $ref: pincfg-node.yaml
properties: properties:
pins: pins:
description: description:
......
...@@ -50,7 +50,7 @@ $defs: ...@@ -50,7 +50,7 @@ $defs:
description: description:
Pinctrl node's client devices use subnodes for desired pin configuration. Pinctrl node's client devices use subnodes for desired pin configuration.
Client device subnodes use below standard properties. Client device subnodes use below standard properties.
$ref: "/schemas/pinctrl/pincfg-node.yaml" $ref: /schemas/pinctrl/pincfg-node.yaml
properties: properties:
pins: pins:
......
...@@ -55,7 +55,7 @@ $defs: ...@@ -55,7 +55,7 @@ $defs:
description: description:
Pinctrl node's client devices use subnodes for desired pin configuration. Pinctrl node's client devices use subnodes for desired pin configuration.
Client device subnodes use below standard properties. Client device subnodes use below standard properties.
$ref: "/schemas/pinctrl/pincfg-node.yaml" $ref: /schemas/pinctrl/pincfg-node.yaml
properties: properties:
pins: pins:
......
...@@ -52,7 +52,7 @@ properties: ...@@ -52,7 +52,7 @@ properties:
information. information.
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- interrupts - interrupts
......
...@@ -73,7 +73,7 @@ properties: ...@@ -73,7 +73,7 @@ properties:
maxItems: 1 maxItems: 1
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -32,7 +32,7 @@ properties: ...@@ -32,7 +32,7 @@ properties:
maxItems: 1 maxItems: 1
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -73,7 +73,7 @@ patternProperties: ...@@ -73,7 +73,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -113,7 +113,7 @@ additionalProperties: ...@@ -113,7 +113,7 @@ additionalProperties:
$ref: "#/additionalProperties/anyOf/0" $ref: "#/additionalProperties/anyOf/0"
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -32,7 +32,7 @@ properties: ...@@ -32,7 +32,7 @@ properties:
The bus clock, sometimes described as pclk, for register accesses. The bus clock, sometimes described as pclk, for register accesses.
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -94,7 +94,7 @@ additionalProperties: ...@@ -94,7 +94,7 @@ additionalProperties:
$ref: "#/additionalProperties/anyOf/0" $ref: "#/additionalProperties/anyOf/0"
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -50,12 +50,12 @@ properties: ...@@ -50,12 +50,12 @@ properties:
- rockchip,rv1126-pinctrl - rockchip,rv1126-pinctrl
rockchip,grf: rockchip,grf:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: description:
The phandle of the syscon node for the GRF registers. The phandle of the syscon node for the GRF registers.
rockchip,pmu: rockchip,pmu:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: description:
The phandle of the syscon node for the PMU registers, The phandle of the syscon node for the PMU registers,
as some SoCs carry parts of the iomux controller registers there. as some SoCs carry parts of the iomux controller registers there.
...@@ -71,7 +71,7 @@ properties: ...@@ -71,7 +71,7 @@ properties:
ranges: true ranges: true
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
...@@ -81,7 +81,7 @@ patternProperties: ...@@ -81,7 +81,7 @@ patternProperties:
"gpio@[0-9a-f]+$": "gpio@[0-9a-f]+$":
type: object type: object
$ref: "/schemas/gpio/rockchip,gpio-bank.yaml#" $ref: /schemas/gpio/rockchip,gpio-bank.yaml#
deprecated: true deprecated: true
unevaluatedProperties: false unevaluatedProperties: false
...@@ -117,7 +117,7 @@ additionalProperties: ...@@ -117,7 +117,7 @@ additionalProperties:
type: object type: object
properties: properties:
rockchip,pins: rockchip,pins:
$ref: "/schemas/types.yaml#/definitions/uint32-matrix" $ref: /schemas/types.yaml#/definitions/uint32-matrix
minItems: 1 minItems: 1
items: items:
items: items:
......
...@@ -117,7 +117,7 @@ required: ...@@ -117,7 +117,7 @@ required:
- reg - reg
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
- if: - if:
properties: properties:
compatible: compatible:
......
...@@ -62,8 +62,8 @@ patternProperties: ...@@ -62,8 +62,8 @@ patternProperties:
- pins - pins
allOf: allOf:
- $ref: "pincfg-node.yaml#" - $ref: pincfg-node.yaml#
- $ref: "pinmux-node.yaml#" - $ref: pinmux-node.yaml#
- if: - if:
properties: properties:
pins: pins:
...@@ -86,7 +86,7 @@ required: ...@@ -86,7 +86,7 @@ required:
- gpio-controller - gpio-controller
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
- if: - if:
not: not:
properties: properties:
......
...@@ -61,7 +61,7 @@ additionalProperties: ...@@ -61,7 +61,7 @@ additionalProperties:
unevaluatedProperties: false unevaluatedProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -44,7 +44,7 @@ properties: ...@@ -44,7 +44,7 @@ properties:
st,syscfg: st,syscfg:
description: Phandle+args to the syscon node which includes IRQ mux selection. description: Phandle+args to the syscon node which includes IRQ mux selection.
$ref: "/schemas/types.yaml#/definitions/phandle-array" $ref: /schemas/types.yaml#/definitions/phandle-array
items: items:
- items: - items:
- description: syscon node which includes IRQ mux selection - description: syscon node which includes IRQ mux selection
...@@ -89,7 +89,7 @@ patternProperties: ...@@ -89,7 +89,7 @@ patternProperties:
st,bank-name: st,bank-name:
description: description:
Should be a name string for this bank as specified in the datasheet. Should be a name string for this bank as specified in the datasheet.
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: enum:
- GPIOA - GPIOA
- GPIOB - GPIOB
...@@ -108,7 +108,7 @@ patternProperties: ...@@ -108,7 +108,7 @@ patternProperties:
description: description:
Should correspond to the EXTI IOport selection (EXTI line used Should correspond to the EXTI IOport selection (EXTI line used
to select GPIOs as interrupts). to select GPIOs as interrupts).
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 11 maximum: 11
...@@ -140,7 +140,7 @@ patternProperties: ...@@ -140,7 +140,7 @@ patternProperties:
configuration, pullups, drive, output high/low and output speed. configuration, pullups, drive, output high/low and output speed.
properties: properties:
pinmux: pinmux:
$ref: "/schemas/types.yaml#/definitions/uint32-array" $ref: /schemas/types.yaml#/definitions/uint32-array
description: | description: |
Integer array, represents gpio pin number and mux setting. Integer array, represents gpio pin number and mux setting.
Supported pin number and mux varies for different SoCs, and are Supported pin number and mux varies for different SoCs, and are
...@@ -201,7 +201,7 @@ patternProperties: ...@@ -201,7 +201,7 @@ patternProperties:
- pinmux - pinmux
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
...@@ -111,7 +111,7 @@ patternProperties: ...@@ -111,7 +111,7 @@ patternProperties:
pins it needs, and how they should be configured, with regard to pins it needs, and how they should be configured, with regard to
muxer configuration, bias, input enable/disable, input schmitt muxer configuration, bias, input enable/disable, input schmitt
trigger enable/disable, slew-rate and drive strength. trigger enable/disable, slew-rate and drive strength.
$ref: "/schemas/pinctrl/pincfg-node.yaml" $ref: /schemas/pinctrl/pincfg-node.yaml
properties: properties:
pins: pins:
...@@ -120,14 +120,14 @@ patternProperties: ...@@ -120,14 +120,14 @@ patternProperties:
This should be set using either the PAD_GPIO or PAD_FUNC_SHARE This should be set using either the PAD_GPIO or PAD_FUNC_SHARE
macros. macros.
Either this or "pinmux" has to be specified, but not both. Either this or "pinmux" has to be specified, but not both.
$ref: "/schemas/pinctrl/pinmux-node.yaml#/properties/pins" $ref: /schemas/pinctrl/pinmux-node.yaml#/properties/pins
pinmux: pinmux:
description: | description: |
The list of GPIOs and their mux settings that properties in the The list of GPIOs and their mux settings that properties in the
node apply to. This should be set using the GPIOMUX macro. node apply to. This should be set using the GPIOMUX macro.
Either this or "pins" has to be specified, but not both. Either this or "pins" has to be specified, but not both.
$ref: "/schemas/pinctrl/pinmux-node.yaml#/properties/pinmux" $ref: /schemas/pinctrl/pinmux-node.yaml#/properties/pinmux
bias-disable: true bias-disable: true
......
...@@ -138,7 +138,7 @@ patternProperties: ...@@ -138,7 +138,7 @@ patternProperties:
description: | description: |
Define pin-function which is used by pinctrl node's client device. Define pin-function which is used by pinctrl node's client device.
The name should be one of string in the following enumeration. The name should be one of string in the following enumeration.
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: [ SPI_FLASH, SPI_FLASH_4BIT, SPI_NAND, CARD0_EMMC, SD_CARD, enum: [ SPI_FLASH, SPI_FLASH_4BIT, SPI_NAND, CARD0_EMMC, SD_CARD,
UA0, FPGA_IFX, HDMI_TX, LCDIF, USB0_OTG, USB1_OTG ] UA0, FPGA_IFX, HDMI_TX, LCDIF, USB0_OTG, USB1_OTG ]
...@@ -146,7 +146,7 @@ patternProperties: ...@@ -146,7 +146,7 @@ patternProperties:
description: | description: |
Define pin-group in a specified pin-function. Define pin-group in a specified pin-function.
The name should be one of string in the following enumeration. The name should be one of string in the following enumeration.
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: [ SPI_FLASH1, SPI_FLASH2, SPI_FLASH_4BIT1, SPI_FLASH_4BIT2, enum: [ SPI_FLASH1, SPI_FLASH2, SPI_FLASH_4BIT1, SPI_FLASH_4BIT2,
SPI_NAND, CARD0_EMMC, SD_CARD, UA0, FPGA_IFX, HDMI_TX1, SPI_NAND, CARD0_EMMC, SD_CARD, UA0, FPGA_IFX, HDMI_TX1,
HDMI_TX2, HDMI_TX3, LCDIF, USB0_OTG, USB1_OTG ] HDMI_TX2, HDMI_TX3, LCDIF, USB0_OTG, USB1_OTG ]
...@@ -289,7 +289,7 @@ required: ...@@ -289,7 +289,7 @@ required:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
examples: examples:
- | - |
......
...@@ -21,7 +21,7 @@ properties: ...@@ -21,7 +21,7 @@ properties:
maxItems: 1 maxItems: 1
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
...@@ -35,14 +35,14 @@ patternProperties: ...@@ -35,14 +35,14 @@ patternProperties:
pinctrl groups available on the machine. Each subnode will list the pinctrl groups available on the machine. Each subnode will list the
pins it needs, and how they should be configured, with regard to muxer pins it needs, and how they should be configured, with regard to muxer
configuration, pullups, drive strength. configuration, pullups, drive strength.
$ref: "pinmux-node.yaml" $ref: pinmux-node.yaml
additionalProperties: false additionalProperties: false
properties: properties:
function: function:
description: description:
Function to mux. Function to mux.
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: [i2c0, i2c1, i2c2, i2c3, i2c4, i2c5, i2c6, i2c7, i2c8, enum: [i2c0, i2c1, i2c2, i2c3, i2c4, i2c5, i2c6, i2c7, i2c8,
spi0, spi1, spi2, spi3, spi4, spi5, spi6, spi0, spi1, spi2, spi3, spi4, spi5, spi6,
uart0, uart1, uart2, uart3, pwm, pcmif_out, pcmif_in] uart0, uart1, uart2, uart3, pwm, pcmif_out, pcmif_in]
...@@ -50,7 +50,7 @@ patternProperties: ...@@ -50,7 +50,7 @@ patternProperties:
groups: groups:
description: description:
Name of the pin group to use for the functions. Name of the pin group to use for the functions.
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
enum: [i2c0_grp, i2c1_grp, i2c2_grp, i2c3_grp, i2c4_grp, enum: [i2c0_grp, i2c1_grp, i2c2_grp, i2c3_grp, i2c4_grp,
i2c5_grp, i2c6_grp, i2c7_grp, i2c8_grp, i2c5_grp, i2c6_grp, i2c7_grp, i2c8_grp,
spi0_grp, spi0_cs0_grp, spi0_cs1_grp, spi0_cs2_grp, spi0_grp, spi0_cs0_grp, spi0_cs1_grp, spi0_cs2_grp,
......
...@@ -168,7 +168,7 @@ patternProperties: ...@@ -168,7 +168,7 @@ patternProperties:
additionalProperties: false additionalProperties: false
allOf: allOf:
- $ref: "pinctrl.yaml#" - $ref: pinctrl.yaml#
required: required:
- compatible - compatible
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment