Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Rob Herring <robh@kernel.org>
Acked-by: Dmity Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Suman Anna <s-anna@ti.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20210316194858.3527845-1-robh@kernel.org

+5 -20
+1 -4
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
··· 26 26 - const: simple-mfd 27 27 28 28 mboxes: 29 - $ref: '/schemas/types.yaml#/definitions/phandle' 30 - description: | 31 - Phandle to the firmware device's Mailbox. 32 - (See: ../mailbox/mailbox.txt for more information) 29 + maxItems: 1 33 30 34 31 clocks: 35 32 type: object
-2
Documentation/devicetree/bindings/arm/cpus.yaml
··· 256 256 where voltage is in V, frequency is in MHz. 257 257 258 258 power-domains: 259 - $ref: '/schemas/types.yaml#/definitions/phandle-array' 260 259 description: 261 260 List of phandles and PM domain specifiers, as defined by bindings of the 262 261 PM domain provider (see also ../power_domain.txt). 263 262 264 263 power-domain-names: 265 - $ref: '/schemas/types.yaml#/definitions/string-array' 266 264 description: 267 265 A list of power domain name strings sorted in the same order as the 268 266 power-domains property.
-1
Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
··· 73 73 clock-output-names: 74 74 description: 75 75 Name of the LCD pixel clock created. 76 - $ref: /schemas/types.yaml#/definitions/string-array 77 76 maxItems: 1 78 77 79 78 dmas:
+1 -2
Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml
··· 43 43 44 44 gpio-ranges: true 45 45 46 - gpio-ranges-group-names: 47 - $ref: /schemas/types.yaml#/definitions/string-array 46 + gpio-ranges-group-names: true 48 47 49 48 socionext,interrupt-ranges: 50 49 description: |
+1 -1
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
··· 34 34 - description: EMC general interrupt 35 35 36 36 memory-region: 37 - $ref: /schemas/types.yaml#/definitions/phandle 37 + maxItems: 1 38 38 description: 39 39 phandle to a reserved memory region describing the table of EMC 40 40 frequencies trained by the firmware
-1
Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
··· 57 57 - const: per 58 58 59 59 clock-frequency: 60 - $ref: /schemas/types.yaml#/definitions/uint32 61 60 description: | 62 61 The oscillator frequency driving the flexcan device, filled in by the 63 62 boot loader. This property should only be used the used operating system
-2
Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml
··· 23 23 List of phandle to the nvmem data cells. 24 24 25 25 nvmem-names: 26 - $ref: /schemas/types.yaml#/definitions/string-array 27 26 description: 28 27 Names for the each nvmem provider. 29 28 30 29 nvmem-cell-names: 31 - $ref: /schemas/types.yaml#/definitions/string-array 32 30 description: 33 31 Names for each nvmem-cells specified. 34 32
+1 -1
Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml
··· 93 93 # The following are the optional properties: 94 94 95 95 memory-region: 96 - $ref: /schemas/types.yaml#/definitions/phandle 96 + maxItems: 1 97 97 description: | 98 98 phandle to the reserved memory node to be associated 99 99 with the remoteproc device. The reserved memory node
-2
Documentation/devicetree/bindings/sound/ak4642.yaml
··· 29 29 30 30 clock-frequency: 31 31 description: common clock binding; frequency of MCKO 32 - $ref: /schemas/types.yaml#/definitions/uint32 33 32 34 33 clock-output-names: 35 34 description: common clock name 36 - $ref: /schemas/types.yaml#/definitions/string 37 35 38 36 required: 39 37 - compatible
+1 -1
Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml
··· 32 32 The last one integer is the length of the shared memory. 33 33 34 34 memory-region: 35 - $ref: '/schemas/types.yaml#/definitions/phandle' 35 + maxItems: 1 36 36 description: | 37 37 Shared memory region to EC. A "shared-dma-pool". 38 38 See ../reserved-memory/reserved-memory.txt for details.
-1
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
··· 78 78 79 79 clock-frequency: 80 80 description: for audio_clkout0/1/2/3 81 - $ref: /schemas/types.yaml#/definitions/uint32-array 82 81 83 82 clkout-lr-asynchronous: 84 83 description: audio_clkoutn is asynchronizes with lr-clock.
-1
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml
··· 59 59 60 60 properties: 61 61 reg: 62 - $ref: /schemas/types.yaml#/definitions/uint32 63 62 description: Specify the sensor channel. There are 8 channels in PMIC5's ADC TM 64 63 minimum: 0 65 64 maximum: 7
-1
Documentation/devicetree/bindings/usb/usb.yaml
··· 16 16 pattern: "^usb(@.*)?" 17 17 18 18 phys: 19 - $ref: /schemas/types.yaml#/definitions/phandle-array 20 19 description: 21 20 List of all the USB PHYs on this HCD 22 21