Commit c2156348 authored by Rob Herring's avatar Rob Herring

dt-bindings: Drop type references on common properties

Users of common properties shouldn't have a type definition as the
common schemas already have one. Drop all the unnecessary type
references in the tree.

A meta-schema update to catch these is pending.

Cc: Maxime Ripard <mripard@kernel.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Cheng-Yi Chiang <cychiang@chromium.org>
Cc: Benson Leung <bleung@chromium.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Stefan Wahren <wahrenst@gmx.net>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Odelu Kukatla <okukatla@codeaurora.org>
Cc: linux-gpio@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-can@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: linux-remoteproc@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-usb@vger.kernel.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarDmity Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarSuman Anna <s-anna@ti.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Reviewed-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: default avatarMaxime Ripard <maxime@cerno.tech>
Reviewed-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20210316194858.3527845-1-robh@kernel.org
parent 28ffe8bf
...@@ -26,10 +26,7 @@ properties: ...@@ -26,10 +26,7 @@ properties:
- const: simple-mfd - const: simple-mfd
mboxes: mboxes:
$ref: '/schemas/types.yaml#/definitions/phandle' maxItems: 1
description: |
Phandle to the firmware device's Mailbox.
(See: ../mailbox/mailbox.txt for more information)
clocks: clocks:
type: object type: object
......
...@@ -256,13 +256,11 @@ properties: ...@@ -256,13 +256,11 @@ properties:
where voltage is in V, frequency is in MHz. where voltage is in V, frequency is in MHz.
power-domains: power-domains:
$ref: '/schemas/types.yaml#/definitions/phandle-array'
description: description:
List of phandles and PM domain specifiers, as defined by bindings of the List of phandles and PM domain specifiers, as defined by bindings of the
PM domain provider (see also ../power_domain.txt). PM domain provider (see also ../power_domain.txt).
power-domain-names: power-domain-names:
$ref: '/schemas/types.yaml#/definitions/string-array'
description: description:
A list of power domain name strings sorted in the same order as the A list of power domain name strings sorted in the same order as the
power-domains property. power-domains property.
......
...@@ -73,7 +73,6 @@ properties: ...@@ -73,7 +73,6 @@ properties:
clock-output-names: clock-output-names:
description: description:
Name of the LCD pixel clock created. Name of the LCD pixel clock created.
$ref: /schemas/types.yaml#/definitions/string-array
maxItems: 1 maxItems: 1
dmas: dmas:
......
...@@ -43,8 +43,7 @@ properties: ...@@ -43,8 +43,7 @@ properties:
gpio-ranges: true gpio-ranges: true
gpio-ranges-group-names: gpio-ranges-group-names: true
$ref: /schemas/types.yaml#/definitions/string-array
socionext,interrupt-ranges: socionext,interrupt-ranges:
description: | description: |
......
...@@ -34,7 +34,7 @@ properties: ...@@ -34,7 +34,7 @@ properties:
- description: EMC general interrupt - description: EMC general interrupt
memory-region: memory-region:
$ref: /schemas/types.yaml#/definitions/phandle maxItems: 1
description: description:
phandle to a reserved memory region describing the table of EMC phandle to a reserved memory region describing the table of EMC
frequencies trained by the firmware frequencies trained by the firmware
......
...@@ -57,7 +57,6 @@ properties: ...@@ -57,7 +57,6 @@ properties:
- const: per - const: per
clock-frequency: clock-frequency:
$ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
The oscillator frequency driving the flexcan device, filled in by the The oscillator frequency driving the flexcan device, filled in by the
boot loader. This property should only be used the used operating system boot loader. This property should only be used the used operating system
......
...@@ -23,12 +23,10 @@ properties: ...@@ -23,12 +23,10 @@ properties:
List of phandle to the nvmem data cells. List of phandle to the nvmem data cells.
nvmem-names: nvmem-names:
$ref: /schemas/types.yaml#/definitions/string-array
description: description:
Names for the each nvmem provider. Names for the each nvmem provider.
nvmem-cell-names: nvmem-cell-names:
$ref: /schemas/types.yaml#/definitions/string-array
description: description:
Names for each nvmem-cells specified. Names for each nvmem-cells specified.
......
...@@ -93,7 +93,7 @@ properties: ...@@ -93,7 +93,7 @@ properties:
# The following are the optional properties: # The following are the optional properties:
memory-region: memory-region:
$ref: /schemas/types.yaml#/definitions/phandle maxItems: 1
description: | description: |
phandle to the reserved memory node to be associated phandle to the reserved memory node to be associated
with the remoteproc device. The reserved memory node with the remoteproc device. The reserved memory node
......
...@@ -29,11 +29,9 @@ properties: ...@@ -29,11 +29,9 @@ properties:
clock-frequency: clock-frequency:
description: common clock binding; frequency of MCKO description: common clock binding; frequency of MCKO
$ref: /schemas/types.yaml#/definitions/uint32
clock-output-names: clock-output-names:
description: common clock name description: common clock name
$ref: /schemas/types.yaml#/definitions/string
required: required:
- compatible - compatible
......
...@@ -32,7 +32,7 @@ properties: ...@@ -32,7 +32,7 @@ properties:
The last one integer is the length of the shared memory. The last one integer is the length of the shared memory.
memory-region: memory-region:
$ref: '/schemas/types.yaml#/definitions/phandle' maxItems: 1
description: | description: |
Shared memory region to EC. A "shared-dma-pool". Shared memory region to EC. A "shared-dma-pool".
See ../reserved-memory/reserved-memory.txt for details. See ../reserved-memory/reserved-memory.txt for details.
......
...@@ -78,7 +78,6 @@ properties: ...@@ -78,7 +78,6 @@ properties:
clock-frequency: clock-frequency:
description: for audio_clkout0/1/2/3 description: for audio_clkout0/1/2/3
$ref: /schemas/types.yaml#/definitions/uint32-array
clkout-lr-asynchronous: clkout-lr-asynchronous:
description: audio_clkoutn is asynchronizes with lr-clock. description: audio_clkoutn is asynchronizes with lr-clock.
......
...@@ -59,7 +59,6 @@ patternProperties: ...@@ -59,7 +59,6 @@ patternProperties:
properties: properties:
reg: reg:
$ref: /schemas/types.yaml#/definitions/uint32
description: Specify the sensor channel. There are 8 channels in PMIC5's ADC TM description: Specify the sensor channel. There are 8 channels in PMIC5's ADC TM
minimum: 0 minimum: 0
maximum: 7 maximum: 7
......
...@@ -16,7 +16,6 @@ properties: ...@@ -16,7 +16,6 @@ properties:
pattern: "^usb(@.*)?" pattern: "^usb(@.*)?"
phys: phys:
$ref: /schemas/types.yaml#/definitions/phandle-array
description: description:
List of all the USB PHYs on this HCD List of all the USB PHYs on this HCD
......
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