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

dt-bindings: Fix properties without any type

Now that the schema tools can extract type information for all
properties (in order to decode dtb files), finding properties missing
any type definition is fairly trivial though not yet automated.

Fix the various property schemas which are missing a type. Most of these
tend to be device specific properties which don't have a vendor prefix.
A vendor prefix is how we normally ensure a type is defined.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org> # for everything in .../bindings/display/
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Peter Rosin <peda@axentia.se>
Acked-by: Bartosz Golaszewski <brgl@bgdev.pl>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20220519211411.2200720-1-robh@kernel.org

+51 -8
+3 -2
Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml
··· 17 17 - const: hisilicon,hip04-bootwrapper 18 18 19 19 boot-method: 20 + $ref: /schemas/types.yaml#/definitions/uint32-array 20 21 description: | 21 22 Address and size of boot method. 22 23 [0]: bootwrapper physical address 23 24 [1]: bootwrapper size 24 25 [2]: relocation physical address 25 26 [3]: relocation size 26 - minItems: 1 27 - maxItems: 2 27 + minItems: 2 28 + maxItems: 4 28 29 29 30 required: 30 31 - compatible
+1
Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
··· 58 58 59 59 properties: 60 60 data-lines: 61 + $ref: /schemas/types.yaml#/definitions/uint32 61 62 enum: [ 16, 18, 24 ] 62 63 63 64 port@1:
+5
Documentation/devicetree/bindings/display/panel/panel-timing.yaml
··· 146 146 Horizontal sync pulse. 147 147 0 selects active low, 1 selects active high. 148 148 If omitted then it is not used by the hardware 149 + $ref: /schemas/types.yaml#/definitions/uint32 149 150 enum: [0, 1] 150 151 151 152 vsync-active: ··· 154 153 Vertical sync pulse. 155 154 0 selects active low, 1 selects active high. 156 155 If omitted then it is not used by the hardware 156 + $ref: /schemas/types.yaml#/definitions/uint32 157 157 enum: [0, 1] 158 158 159 159 de-active: ··· 162 160 Data enable. 163 161 0 selects active low, 1 selects active high. 164 162 If omitted then it is not used by the hardware 163 + $ref: /schemas/types.yaml#/definitions/uint32 165 164 enum: [0, 1] 166 165 167 166 pixelclk-active: ··· 172 169 sample data on rising edge. 173 170 Use 1 to drive pixel data on rising edge and 174 171 sample data on falling edge 172 + $ref: /schemas/types.yaml#/definitions/uint32 175 173 enum: [0, 1] 176 174 177 175 syncclk-active: ··· 183 179 sample sync on rising edge of pixel clock. 184 180 Use 1 to drive sync on rising edge and 185 181 sample sync on falling edge of pixel clock 182 + $ref: /schemas/types.yaml#/definitions/uint32 186 183 enum: [0, 1] 187 184 188 185 interlaced:
+1
Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml
··· 24 24 25 25 dsi-lanes: 26 26 description: Number of DSI lanes to be used must be <3> or <4> 27 + $ref: /schemas/types.yaml#/definitions/uint32 27 28 enum: [3, 4] 28 29 29 30 v3p3-supply:
+1
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml
··· 36 36 37 37 init-delay: 38 38 description: delay after initialization sequence [ms] 39 + $ref: /schemas/types.yaml#/definitions/uint32 39 40 40 41 panel-width-mm: 41 42 description: physical panel width [mm]
+1
Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
··· 26 26 const: 2 27 27 28 28 registers-number: 29 + $ref: /schemas/types.yaml#/definitions/uint32 29 30 description: Number of daisy-chained shift registers 30 31 31 32 enable-gpios:
+1
Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml
··· 31 31 type: boolean 32 32 33 33 function-row-physmap: 34 + $ref: /schemas/types.yaml#/definitions/uint32-array 34 35 minItems: 1 35 36 maxItems: 15 36 37 description: |
+2 -1
Documentation/devicetree/bindings/media/i2c/adv7604.yaml
··· 60 60 enables hot-plug detection. 61 61 62 62 default-input: 63 - maxItems: 1 63 + $ref: /schemas/types.yaml#/definitions/uint32 64 + enum: [ 0, 1 ] 64 65 description: 65 66 Select which input is selected after reset. 66 67
+6 -2
Documentation/devicetree/bindings/mux/reg-mux.yaml
··· 25 25 const: 1 26 26 27 27 mux-reg-masks: 28 - description: an array of register offset and pre-shifted bitfield mask 29 - pairs, each describing a single mux control. 28 + $ref: /schemas/types.yaml#/definitions/uint32-matrix 29 + items: 30 + items: 31 + - description: register offset 32 + - description: pre-shifted bitfield mask 33 + description: Each entry pair describes a single mux control. 30 34 31 35 idle-states: true 32 36
+1
Documentation/devicetree/bindings/net/cdns,macb.yaml
··· 129 129 reset-gpios: true 130 130 131 131 magic-packet: 132 + type: boolean 132 133 description: 133 134 Indicates that the hardware supports waking up via magic packet. 134 135
+1
Documentation/devicetree/bindings/net/ingenic,mac.yaml
··· 37 37 const: stmmaceth 38 38 39 39 mode-reg: 40 + $ref: /schemas/types.yaml#/definitions/phandle 40 41 description: An extra syscon register that control ethernet interface and timing delay 41 42 42 43 rx-clk-delay-ps:
+1
Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
··· 34 34 maxItems: 1 35 35 36 36 bus_freq: 37 + $ref: /schemas/types.yaml#/definitions/uint32 37 38 maximum: 2500000 38 39 description: MDIO Bus frequency 39 40
+2
Documentation/devicetree/bindings/net/wireless/ti,wlcore.yaml
··· 54 54 55 55 56 56 ref-clock-frequency: 57 + $ref: /schemas/types.yaml#/definitions/uint32 57 58 description: Reference clock frequency. 58 59 59 60 tcxo-clock-frequency: 61 + $ref: /schemas/types.yaml#/definitions/uint32 60 62 description: TCXO clock frequency. 61 63 62 64 clock-xtal:
+4 -2
Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml
··· 55 55 Translation Unit) registers. 56 56 57 57 num-ib-windows: 58 + $ref: /schemas/types.yaml#/definitions/uint32 59 + maximum: 256 58 60 description: number of inbound address translation windows 59 - maxItems: 1 60 61 deprecated: true 61 62 62 63 num-ob-windows: 64 + $ref: /schemas/types.yaml#/definitions/uint32 65 + maximum: 256 63 66 description: number of outbound address translation windows 64 - maxItems: 1 65 67 deprecated: true 66 68 67 69 required:
+2
Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml
··· 68 68 Translation Unit) registers. 69 69 70 70 num-viewport: 71 + $ref: /schemas/types.yaml#/definitions/uint32 72 + maximum: 256 71 73 description: | 72 74 number of view ports configured in hardware. If a platform 73 75 does not specify it, the driver autodetects it.
+2
Documentation/devicetree/bindings/pinctrl/canaan,k210-fpioa.yaml
··· 120 120 input-schmitt-disable: true 121 121 122 122 input-polarity-invert: 123 + type: boolean 123 124 description: 124 125 Enable or disable pin input polarity inversion. 125 126 ··· 133 132 output-low: true 134 133 135 134 output-polarity-invert: 135 + type: boolean 136 136 description: 137 137 Enable or disable pin output polarity inversion. 138 138
+1
Documentation/devicetree/bindings/power/avs/qcom,cpr.yaml
··· 51 51 supported by the CPR power domain. 52 52 53 53 acc-syscon: 54 + $ref: /schemas/types.yaml#/definitions/phandle 54 55 description: A phandle to the syscon used for writing ACC settings. 55 56 56 57 nvmem-cells:
+6 -1
Documentation/devicetree/bindings/power/supply/battery.yaml
··· 85 85 description: battery factory internal resistance 86 86 87 87 resistance-temp-table: 88 + $ref: /schemas/types.yaml#/definitions/uint32-matrix 89 + items: 90 + items: 91 + - description: the temperature in degree Celsius 92 + - description: battery internal resistance percent 88 93 description: | 89 - An array providing the temperature in degree Celsius 94 + A table providing the temperature in degree Celsius 90 95 and corresponding battery internal resistance percent, which is used to 91 96 look up the resistance percent according to current temperature to get an 92 97 accurate batterty internal resistance in different temperatures.
+1
Documentation/devicetree/bindings/power/supply/charger-manager.yaml
··· 36 36 37 37 cm-poll-mode: 38 38 description: polling mode 39 + $ref: /schemas/types.yaml#/definitions/uint32 39 40 default: 0 40 41 enum: 41 42 - 0 # disabled
+1
Documentation/devicetree/bindings/rng/st,stm32-rng.yaml
··· 27 27 maxItems: 1 28 28 29 29 clock-error-detect: 30 + type: boolean 30 31 description: If set enable the clock detection management 31 32 32 33 required:
+1
Documentation/devicetree/bindings/serial/8250.yaml
··· 138 138 description: The current active speed of the UART. 139 139 140 140 reg-offset: 141 + $ref: /schemas/types.yaml#/definitions/uint32 141 142 description: | 142 143 Offset to apply to the mapbase from the start of the registers. 143 144
+3
Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
··· 24 24 connection's sink, the second being the connection's source. 25 25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 26 26 multi: 27 + type: object 27 28 description: Multi-CPU/Codec node 28 29 dpcm: 30 + type: object 29 31 description: DPCM node 30 32 codec2codec: 33 + type: object 31 34 description: Codec to Codec node 32 35 33 36 required:
+3
Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml
··· 20 20 description: User specified audio sound card name 21 21 22 22 audio-cpu: 23 + $ref: /schemas/types.yaml#/definitions/phandle 23 24 description: The phandle of an CPU DAI controller 24 25 25 26 hdmi-out: 27 + type: boolean 26 28 description: | 27 29 This is a boolean property. If present, the transmitting function 28 30 of HDMI will be enabled, indicating there's a physical HDMI out ··· 32 30 block, such as an HDMI encoder or display-controller. 33 31 34 32 hdmi-in: 33 + type: boolean 35 34 description: | 36 35 This is a boolean property. If present, the receiving function of 37 36 HDMI will be enabled, indicating there is a physical HDMI in
+1
Documentation/devicetree/bindings/usb/smsc,usb3503.yaml
··· 45 45 property if all ports have to be enabled. 46 46 47 47 initial-mode: 48 + $ref: /schemas/types.yaml#/definitions/uint32 48 49 enum: [1, 2] 49 50 description: > 50 51 Specifies initial mode. 1 for Hub mode, 2 for standby mode.