Pull Devicetree fixes from Rob Herring: - Another round of whack-a-mole removing 'allOf', redundant cases of 'maxItems' and incorrect 'reg' sizes - Fix support for yaml.h in non-standard paths * tag 'devicetree-fixes-for-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: dt-bindings: Remove redundant 'maxItems' dt-bindings: Fix more incorrect 'reg' property sizes in examples dt-bindings: phy: qcom: Fix missing 'ranges' and example addresses dt-bindings: Remove more cases of 'allOf' containing a '$ref' scripts/dtc: use pkg-config to include <yaml.h> in non-standard path
Unified · Split
| @@ -85,9 +85,8 @@ properties: · 84 unmodified lines | |||
| 85 | CPU power good signal from external PMIC to PMC is enabled. | 85 | CPU power good signal from external PMIC to PMC is enabled. |
| 86 | 86 | ||
| 87 | nvidia,suspend-mode: | 87 | nvidia,suspend-mode: |
| 88 | allOf: | 88 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 89 | - $ref: /schemas/types.yaml#/definitions/uint32 | 89 | enum: [0, 1, 2] |
| 90 | - enum: [0, 1, 2] | ||
| 91 | description: | 90 | description: |
| 92 | The suspend mode that the platform should use. | 91 | The suspend mode that the platform should use. |
| 93 | Mode 0 is for LP0, CPU + Core voltage off and DRAM in self-refresh | 92 | Mode 0 is for LP0, CPU + Core voltage off and DRAM in self-refresh |
| @@ -40,28 +40,25 @@ properties: · 39 unmodified lines | |||
| 40 | 40 | ||
| 41 | calxeda,led-order: | 41 | calxeda,led-order: |
| 42 | description: Maps port numbers to offsets within the SGPIO bitstream. | 42 | description: Maps port numbers to offsets within the SGPIO bitstream. |
| 43 | allOf: | 43 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 44 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 44 | minItems: 1 |
| 45 | - minItems: 1 | 45 | maxItems: 8 |
| 46 | maxItems: 8 | ||
| 47 | 46 | ||
| 48 | calxeda,port-phys: | 47 | calxeda,port-phys: |
| 49 | description: | | 48 | description: | |
| 50 | phandle-combophy and lane assignment, which maps each SATA port to a | 49 | phandle-combophy and lane assignment, which maps each SATA port to a |
| 51 | combophy and a lane within that combophy | 50 | combophy and a lane within that combophy |
| 52 | allOf: | 51 | $ref: /schemas/types.yaml#/definitions/phandle-array |
| 53 | - $ref: /schemas/types.yaml#/definitions/phandle-array | 52 | minItems: 1 |
| 54 | - minItems: 1 | 53 | maxItems: 8 |
| 55 | maxItems: 8 | ||
| 56 | 54 | ||
| 57 | calxeda,tx-atten: | 55 | calxeda,tx-atten: |
| 58 | description: | | 56 | description: | |
| 59 | Contains TX attenuation override codes, one per port. | 57 | Contains TX attenuation override codes, one per port. |
| 60 | The upper 24 bits of each entry are always 0 and thus ignored. | 58 | The upper 24 bits of each entry are always 0 and thus ignored. |
| 61 | allOf: | 59 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 62 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 60 | minItems: 1 |
| 63 | - minItems: 1 | 61 | maxItems: 8 |
| 64 | maxItems: 8 | ||
| 65 | 62 | ||
| 66 | calxeda,sgpio-gpio: | 63 | calxeda,sgpio-gpio: |
| 67 | description: | | 64 | description: | |
| @@ -71,8 +71,8 @@ examples: · 70 unmodified lines | |||
| 71 | 71 | ||
| 72 | bus@1f059000 { | 72 | bus@1f059000 { |
| 73 | compatible = "baikal,bt1-apb", "simple-bus"; | 73 | compatible = "baikal,bt1-apb", "simple-bus"; |
| 74 | reg = <0 0x1f059000 0 0x1000>, | 74 | reg = <0x1f059000 0x1000>, |
| 75 | <0 0x1d000000 0 0x2040000>; | 75 | <0x1d000000 0x2040000>; |
| 76 | reg-names = "ehb", "nodev"; | 76 | reg-names = "ehb", "nodev"; |
| 77 | #address-cells = <1>; | 77 | #address-cells = <1>; |
| 78 | #size-cells = <1>; | 78 | #size-cells = <1>; |
| @@ -85,8 +85,8 @@ examples: · 84 unmodified lines | |||
| 85 | 85 | ||
| 86 | bus@1f05a000 { | 86 | bus@1f05a000 { |
| 87 | compatible = "baikal,bt1-axi", "simple-bus"; | 87 | compatible = "baikal,bt1-axi", "simple-bus"; |
| 88 | reg = <0 0x1f05a000 0 0x1000>, | 88 | reg = <0x1f05a000 0x1000>, |
| 89 | <0 0x1f04d110 0 0x8>; | 89 | <0x1f04d110 0x8>; |
| 90 | reg-names = "qos", "ehb"; | 90 | reg-names = "qos", "ehb"; |
| 91 | #address-cells = <1>; | 91 | #address-cells = <1>; |
| 92 | #size-cells = <1>; | 92 | #size-cells = <1>; |
| @@ -23,7 +23,6 @@ properties: · 22 unmodified lines | |||
| 23 | items: | 23 | items: |
| 24 | - description: CCM interrupt request 1 | 24 | - description: CCM interrupt request 1 |
| 25 | - description: CCM interrupt request 2 | 25 | - description: CCM interrupt request 2 |
| 26 | maxItems: 2 | ||
| 27 | 26 | ||
| 28 | '#clock-cells': | 27 | '#clock-cells': |
| 29 | const: 1 | 28 | const: 1 |
| @@ -23,7 +23,6 @@ properties: · 22 unmodified lines | |||
| 23 | items: | 23 | items: |
| 24 | - description: CCM interrupt request 1 | 24 | - description: CCM interrupt request 1 |
| 25 | - description: CCM interrupt request 2 | 25 | - description: CCM interrupt request 2 |
| 26 | maxItems: 2 | ||
| 27 | 26 | ||
| 28 | '#clock-cells': | 27 | '#clock-cells': |
| 29 | const: 1 | 28 | const: 1 |
| @@ -23,7 +23,6 @@ properties: · 22 unmodified lines | |||
| 23 | items: | 23 | items: |
| 24 | - description: CCM interrupt request 1 | 24 | - description: CCM interrupt request 1 |
| 25 | - description: CCM interrupt request 2 | 25 | - description: CCM interrupt request 2 |
| 26 | maxItems: 2 | ||
| 27 | 26 | ||
| 28 | '#clock-cells': | 27 | '#clock-cells': |
| 29 | const: 1 | 28 | const: 1 |
| @@ -23,7 +23,6 @@ properties: · 22 unmodified lines | |||
| 23 | items: | 23 | items: |
| 24 | - description: CCM interrupt request 1 | 24 | - description: CCM interrupt request 1 |
| 25 | - description: CCM interrupt request 2 | 25 | - description: CCM interrupt request 2 |
| 26 | maxItems: 2 | ||
| 27 | 26 | ||
| 28 | '#clock-cells': | 27 | '#clock-cells': |
| 29 | const: 1 | 28 | const: 1 |
| @@ -23,7 +23,6 @@ properties: · 22 unmodified lines | |||
| 23 | items: | 23 | items: |
| 24 | - description: CCM interrupt request 1 | 24 | - description: CCM interrupt request 1 |
| 25 | - description: CCM interrupt request 2 | 25 | - description: CCM interrupt request 2 |
| 26 | maxItems: 2 | ||
| 27 | 26 | ||
| 28 | '#clock-cells': | 27 | '#clock-cells': |
| 29 | const: 1 | 28 | const: 1 |
| @@ -106,8 +106,8 @@ examples: · 105 unmodified lines | |||
| 106 | #include <dt-bindings/power/rk3288-power.h> | 106 | #include <dt-bindings/power/rk3288-power.h> |
| 107 | vopb: vopb@ff930000 { | 107 | vopb: vopb@ff930000 { |
| 108 | compatible = "rockchip,rk3288-vop"; | 108 | compatible = "rockchip,rk3288-vop"; |
| 109 | reg = <0x0 0xff930000 0x0 0x19c>, | 109 | reg = <0xff930000 0x19c>, |
| 110 | <0x0 0xff931000 0x0 0x1000>; | 110 | <0xff931000 0x1000>; |
| 111 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; | 111 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 112 | clocks = <&cru ACLK_VOP0>, | 112 | clocks = <&cru ACLK_VOP0>, |
| 113 | <&cru DCLK_VOP0>, | 113 | <&cru DCLK_VOP0>, |
| @@ -63,11 +63,10 @@ patternProperties: · 62 unmodified lines | |||
| 63 | 63 | ||
| 64 | snps,nr-gpios: | 64 | snps,nr-gpios: |
| 65 | description: The number of GPIO pins exported by the port. | 65 | description: The number of GPIO pins exported by the port. |
| 66 | $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 66 | default: 32 | 67 | default: 32 |
| 67 | allOf: | 68 | minimum: 1 |
| 68 | - $ref: /schemas/types.yaml#/definitions/uint32 | 69 | maximum: 32 |
| 69 | - minimum: 1 | ||
| 70 | maximum: 32 | ||
| 71 | 70 | ||
| 72 | interrupts: | 71 | interrupts: |
| 73 | description: | | 72 | description: | |
| @@ -67,8 +67,7 @@ properties: · 66 unmodified lines | |||
| 67 | 1 - direct_sync | 67 | 1 - direct_sync |
| 68 | 2 - scaled_sync | 68 | 2 - scaled_sync |
| 69 | 3 - pulse_sync | 69 | 3 - pulse_sync |
| 70 | allOf: | 70 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 71 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 72 | minimum: 0 | 71 | minimum: 0 |
| 73 | maximum: 3 | 72 | maximum: 3 |
| 74 | 73 | ||
| @@ -25,9 +25,8 @@ properties: · 24 unmodified lines | |||
| 25 | 25 | ||
| 26 | amstaos,cover-comp-gain: | 26 | amstaos,cover-comp-gain: |
| 27 | description: Multiplier for gain compensation | 27 | description: Multiplier for gain compensation |
| 28 | allOf: | 28 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 29 | - $ref: /schemas/types.yaml#/definitions/uint32 | 29 | enum: [1, 16] |
| 30 | - enum: [1, 16] | ||
| 31 | 30 | ||
| 32 | required: | 31 | required: |
| 33 | - compatible | 32 | - compatible |
| @@ -40,10 +40,9 @@ properties: · 39 unmodified lines | |||
| 40 | posed on channels 6 and 7 by Hall-effect sensing. | 40 | posed on channels 6 and 7 by Hall-effect sensing. |
| 41 | 41 | ||
| 42 | azoteq,suspend-mode: | 42 | azoteq,suspend-mode: |
| 43 | allOf: | 43 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 44 | - $ref: /schemas/types.yaml#/definitions/uint32 | 44 | enum: [0, 1, 2, 3] |
| 45 | - enum: [0, 1, 2, 3] | 45 | default: 0 |
| 46 | default: 0 | ||
| 47 | description: | | 46 | description: | |
| 48 | Specifies the power mode during suspend as follows: | 47 | Specifies the power mode during suspend as follows: |
| 49 | 0: Automatic (same as normal runtime, i.e. suspend/resume disabled) | 48 | 0: Automatic (same as normal runtime, i.e. suspend/resume disabled) |
| @@ -56,11 +55,10 @@ properties: · 6 unmodified lines | |||
| 56 | description: Divides the device's core clock by a factor of 4. | 55 | description: Divides the device's core clock by a factor of 4. |
| 57 | 56 | ||
| 58 | azoteq,ulp-update: | 57 | azoteq,ulp-update: |
| 59 | allOf: | 58 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 60 | - $ref: /schemas/types.yaml#/definitions/uint32 | 59 | minimum: 0 |
| 61 | - minimum: 0 | 60 | maximum: 7 |
| 62 | maximum: 7 | 61 | default: 3 |
| 63 | default: 3 | ||
| 64 | description: Specifies the ultra-low-power mode update rate. | 62 | description: Specifies the ultra-low-power mode update rate. |
| 65 | 63 | ||
| 66 | azoteq,reseed-offset: | 64 | azoteq,reseed-offset: |
| @@ -70,34 +68,30 @@ properties: · 3 unmodified lines | |||
| 70 | reseed events. | 68 | reseed events. |
| 71 | 69 | ||
| 72 | azoteq,filt-str-lp-lta: | 70 | azoteq,filt-str-lp-lta: |
| 73 | allOf: | 71 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 74 | - $ref: /schemas/types.yaml#/definitions/uint32 | 72 | enum: [0, 1, 2, 3] |
| 75 | - enum: [0, 1, 2, 3] | 73 | default: 0 |
| 76 | default: 0 | ||
| 77 | description: | 74 | description: |
| 78 | Specifies the long-term average filter strength during low-power mode. | 75 | Specifies the long-term average filter strength during low-power mode. |
| 79 | 76 | ||
| 80 | azoteq,filt-str-lp-cnt: | 77 | azoteq,filt-str-lp-cnt: |
| 81 | allOf: | 78 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 82 | - $ref: /schemas/types.yaml#/definitions/uint32 | 79 | enum: [0, 1, 2, 3] |
| 83 | - enum: [0, 1, 2, 3] | 80 | default: 0 |
| 84 | default: 0 | ||
| 85 | description: | 81 | description: |
| 86 | Specifies the raw count filter strength during low-power mode. | 82 | Specifies the raw count filter strength during low-power mode. |
| 87 | 83 | ||
| 88 | azoteq,filt-str-np-lta: | 84 | azoteq,filt-str-np-lta: |
| 89 | allOf: | 85 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 90 | - $ref: /schemas/types.yaml#/definitions/uint32 | 86 | enum: [0, 1, 2, 3] |
| 91 | - enum: [0, 1, 2, 3] | 87 | default: 0 |
| 92 | default: 0 | ||
| 93 | description: | 88 | description: |
| 94 | Specifies the long-term average filter strength during normal-power mode. | 89 | Specifies the long-term average filter strength during normal-power mode. |
| 95 | 90 | ||
| 96 | azoteq,filt-str-np-cnt: | 91 | azoteq,filt-str-np-cnt: |
| 97 | allOf: | 92 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 98 | - $ref: /schemas/types.yaml#/definitions/uint32 | 93 | enum: [0, 1, 2, 3] |
| 99 | - enum: [0, 1, 2, 3] | 94 | default: 0 |
| 100 | default: 0 | ||
| 101 | description: | 95 | description: |
| 102 | Specifies the raw count filter strength during normal-power mode. | 96 | Specifies the raw count filter strength during normal-power mode. |
| 103 | 97 | ||
| @@ -156,11 +150,10 @@ properties: · 52 unmodified lines | |||
| 156 | description: Disables all raw count filtering. | 150 | description: Disables all raw count filtering. |
| 157 | 151 | ||
| 158 | azoteq,gpio3-select: | 152 | azoteq,gpio3-select: |
| 159 | allOf: | 153 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 160 | - $ref: /schemas/types.yaml#/definitions/uint32 | 154 | minimum: 0 |
| 161 | - minimum: 0 | 155 | maximum: 7 |
| 162 | maximum: 7 | 156 | default: 0 |
| 163 | default: 0 | ||
| 164 | description: | 157 | description: |
| 165 | Selects the channel for which the GPIO3 pin represents touch state. | 158 | Selects the channel for which the GPIO3 pin represents touch state. |
| 166 | 159 | ||
| @@ -172,10 +165,9 @@ properties: · 5 unmodified lines | |||
| 172 | in either direction. | 165 | in either direction. |
| 173 | 166 | ||
| 174 | azoteq,tx-freq: | 167 | azoteq,tx-freq: |
| 175 | allOf: | 168 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 176 | - $ref: /schemas/types.yaml#/definitions/uint32 | 169 | enum: [0, 1, 2, 3] |
| 177 | - enum: [0, 1, 2, 3] | 170 | default: 0 |
| 178 | default: 0 | ||
| 179 | description: | | 171 | description: | |
| 180 | Specifies the inductive sensing excitation frequency as follows (paren- | 172 | Specifies the inductive sensing excitation frequency as follows (paren- |
| 181 | thesized numbers represent the frequency if 'azoteq,clk-div' is present): | 173 | thesized numbers represent the frequency if 'azoteq,clk-div' is present): |
| @@ -189,10 +181,9 @@ properties: · 7 unmodified lines | |||
| 189 | description: Increases the global capacitance adder from 0.5 pF to 1.5 pF. | 181 | description: Increases the global capacitance adder from 0.5 pF to 1.5 pF. |
| 190 | 182 | ||
| 191 | azoteq,reseed-select: | 183 | azoteq,reseed-select: |
| 192 | allOf: | 184 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 193 | - $ref: /schemas/types.yaml#/definitions/uint32 | 185 | enum: [0, 1, 2, 3] |
| 194 | - enum: [0, 1, 2, 3] | 186 | default: 0 |
| 195 | default: 0 | ||
| 196 | description: | | 187 | description: | |
| 197 | Specifies the event(s) that prompt the device to reseed (i.e. reset the | 188 | Specifies the event(s) that prompt the device to reseed (i.e. reset the |
| 198 | long-term average) of an associated channel as follows: | 189 | long-term average) of an associated channel as follows: |
| @@ -208,10 +199,9 @@ properties: · 9 unmodified lines | |||
| 208 | channels. | 199 | channels. |
| 209 | 200 | ||
| 210 | azoteq,filt-str-slider: | 201 | azoteq,filt-str-slider: |
| 211 | allOf: | 202 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 212 | - $ref: /schemas/types.yaml#/definitions/uint32 | 203 | enum: [0, 1, 2, 3] |
| 213 | - enum: [0, 1, 2, 3] | 204 | default: 1 |
| 214 | default: 1 | ||
| 215 | description: Specifies the slider coordinate filter strength. | 205 | description: Specifies the slider coordinate filter strength. |
| 216 | 206 | ||
| 217 | patternProperties: | 207 | patternProperties: |
| @@ -246,27 +236,25 @@ patternProperties: · 28 unmodified lines | |||
| 246 | description: Specifies that the channel participates in slider 1. | 236 | description: Specifies that the channel participates in slider 1. |
| 247 | 237 | ||
| 248 | azoteq,rx-enable: | 238 | azoteq,rx-enable: |
| 249 | allOf: | 239 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 250 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 240 | minItems: 1 |
| 251 | - minItems: 1 | 241 | maxItems: 8 |
| 252 | maxItems: 8 | 242 | items: |
| 253 | items: | 243 | minimum: 0 |
| 254 | minimum: 0 | 244 | maximum: 7 |
| 255 | maximum: 7 | ||
| 256 | description: | 245 | description: |
| 257 | Specifies the CRX pin(s) associated with the channel. By default, only | 246 | Specifies the CRX pin(s) associated with the channel. By default, only |
| 258 | the CRX pin corresponding to the channel's index is enabled (e.g. CRX0 | 247 | the CRX pin corresponding to the channel's index is enabled (e.g. CRX0 |
| 259 | for channel 0). | 248 | for channel 0). |
| 260 | 249 | ||
| 261 | azoteq,tx-enable: | 250 | azoteq,tx-enable: |
| 262 | allOf: | 251 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 263 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 252 | minItems: 1 |
| 264 | - minItems: 1 | 253 | maxItems: 8 |
| 265 | maxItems: 8 | 254 | items: |
| 266 | items: | 255 | minimum: 0 |
| 267 | minimum: 0 | 256 | maximum: 7 |
| 268 | maximum: 7 | 257 | default: [0, 1, 2, 3, 4, 5, 6, 7] |
| 269 | default: [0, 1, 2, 3, 4, 5, 6, 7] | ||
| 270 | description: Specifies the TX pin(s) associated with the channel. | 258 | description: Specifies the TX pin(s) associated with the channel. |
| 271 | 259 | ||
| 272 | azoteq,meas-cap-decrease: | 260 | azoteq,meas-cap-decrease: |
| @@ -279,10 +267,9 @@ patternProperties: · 6 unmodified lines | |||
| 279 | description: Floats any inactive CRX pins instead of grounding them. | 267 | description: Floats any inactive CRX pins instead of grounding them. |
| 280 | 268 | ||
| 281 | azoteq,local-cap-size: | 269 | azoteq,local-cap-size: |
| 282 | allOf: | 270 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 283 | - $ref: /schemas/types.yaml#/definitions/uint32 | 271 | enum: [0, 1, 2] |
| 284 | - enum: [0, 1, 2] | 272 | default: 0 |
| 285 | default: 0 | ||
| 286 | description: | | 273 | description: | |
| 287 | Specifies the capacitance to be added to the channel as follows: | 274 | Specifies the capacitance to be added to the channel as follows: |
| 288 | 0: None | 275 | 0: None |
| @@ -296,10 +283,9 @@ patternProperties: · 7 unmodified lines | |||
| 296 | deep-touch events relative to their respective thresholds. | 283 | deep-touch events relative to their respective thresholds. |
| 297 | 284 | ||
| 298 | azoteq,proj-bias: | 285 | azoteq,proj-bias: |
| 299 | allOf: | 286 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 300 | - $ref: /schemas/types.yaml#/definitions/uint32 | 287 | enum: [0, 1, 2, 3] |
| 301 | - enum: [0, 1, 2, 3] | 288 | default: 2 |
| 302 | default: 2 | ||
| 303 | description: | | 289 | description: | |
| 304 | Specifies the bias current applied during projected-capacitance | 290 | Specifies the bias current applied during projected-capacitance |
| 305 | sensing as follows: | 291 | sensing as follows: |
| @@ -309,10 +295,9 @@ patternProperties: · 3 unmodified lines | |||
| 309 | 3: 20 uA | 295 | 3: 20 uA |
| 310 | 296 | ||
| 311 | azoteq,sense-mode: | 297 | azoteq,sense-mode: |
| 312 | allOf: | 298 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 313 | - $ref: /schemas/types.yaml#/definitions/uint32 | 299 | enum: [0, 1, 9, 14, 15] |
| 314 | - enum: [0, 1, 9, 14, 15] | 300 | default: 0 |
| 315 | default: 0 | ||
| 316 | description: | | 301 | description: | |
| 317 | Specifies the channel's sensing mode as follows: | 302 | Specifies the channel's sensing mode as follows: |
| 318 | 0: Self capacitance | 303 | 0: Self capacitance |
| @@ -322,10 +307,9 @@ patternProperties: · 3 unmodified lines | |||
| 322 | 15: Temperature | 307 | 15: Temperature |
| 323 | 308 | ||
| 324 | azoteq,sense-freq: | 309 | azoteq,sense-freq: |
| 325 | allOf: | 310 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 326 | - $ref: /schemas/types.yaml#/definitions/uint32 | 311 | enum: [0, 1, 2, 3] |
| 327 | - enum: [0, 1, 2, 3] | 312 | default: 1 |
| 328 | default: 1 | ||
| 329 | description: | | 313 | description: | |
| 330 | Specifies the channel's sensing frequency as follows (parenthesized | 314 | Specifies the channel's sensing frequency as follows (parenthesized |
| 331 | numbers represent the frequency if 'azoteq,clk-div' is present): | 315 | numbers represent the frequency if 'azoteq,clk-div' is present): |
| @@ -339,10 +323,9 @@ patternProperties: · 7 unmodified lines | |||
| 339 | description: Enables the static front-end for the channel. | 323 | description: Enables the static front-end for the channel. |
| 340 | 324 | ||
| 341 | azoteq,ati-mode: | 325 | azoteq,ati-mode: |
| 342 | allOf: | 326 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 343 | - $ref: /schemas/types.yaml#/definitions/uint32 | 327 | enum: [0, 1, 2, 3] |
| 344 | - enum: [0, 1, 2, 3] | 328 | default: 3 |
| 345 | default: 3 | ||
| 346 | description: | | 329 | description: | |
| 347 | Specifies the channel's ATI mode as follows: | 330 | Specifies the channel's ATI mode as follows: |
| 348 | 0: Disabled | 331 | 0: Disabled |
| @@ -351,39 +334,35 @@ patternProperties: · 2 unmodified lines | |||
| 351 | 3: Full | 334 | 3: Full |
| 352 | 335 | ||
| 353 | azoteq,ati-base: | 336 | azoteq,ati-base: |
| 354 | allOf: | 337 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 355 | - $ref: /schemas/types.yaml#/definitions/uint32 | 338 | enum: [75, 100, 150, 200] |
| 356 | - enum: [75, 100, 150, 200] | 339 | default: 100 |
| 357 | default: 100 | ||
| 358 | description: Specifies the channel's ATI base. | 340 | description: Specifies the channel's ATI base. |
| 359 | 341 | ||
| 360 | azoteq,ati-target: | 342 | azoteq,ati-target: |
| 361 | allOf: | 343 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 362 | - $ref: /schemas/types.yaml#/definitions/uint32 | 344 | multipleOf: 32 |
| 363 | - multipleOf: 32 | 345 | minimum: 0 |
| 364 | minimum: 0 | 346 | maximum: 2016 |
| 365 | maximum: 2016 | 347 | default: 512 |
| 366 | default: 512 | ||
| 367 | description: Specifies the channel's ATI target. | 348 | description: Specifies the channel's ATI target. |
| 368 | 349 | ||
| 369 | azoteq,assoc-select: | 350 | azoteq,assoc-select: |
| 370 | allOf: | 351 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 371 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 352 | minItems: 1 |
| 372 | - minItems: 1 | 353 | maxItems: 8 |
| 373 | maxItems: 8 | 354 | items: |
| 374 | items: | 355 | minimum: 0 |
| 375 | minimum: 0 | 356 | maximum: 7 |
| 376 | maximum: 7 | ||
| 377 | description: | 357 | description: |
| 378 | Specifies the associated channels for which the channel serves as a | 358 | Specifies the associated channels for which the channel serves as a |
| 379 | reference channel. By default, no channels are selected. | 359 | reference channel. By default, no channels are selected. |
| 380 | 360 | ||
| 381 | azoteq,assoc-weight: | 361 | azoteq,assoc-weight: |
| 382 | allOf: | 362 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 383 | - $ref: /schemas/types.yaml#/definitions/uint32 | 363 | minimum: 0 |
| 384 | - minimum: 0 | 364 | maximum: 255 |
| 385 | maximum: 255 | 365 | default: 0 |
| 386 | default: 0 | ||
| 387 | description: | 366 | description: |
| 388 | Specifies the channel's impact weight if it acts as an associated | 367 | Specifies the channel's impact weight if it acts as an associated |
| 389 | channel (0 = 0% impact, 255 = 200% impact). | 368 | channel (0 = 0% impact, 255 = 200% impact). |
| @@ -411,11 +390,10 @@ patternProperties: · 21 unmodified lines | |||
| 411 | 390 | ||
| 412 | properties: | 391 | properties: |
| 413 | azoteq,thresh: | 392 | azoteq,thresh: |
| 414 | allOf: | 393 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 415 | - $ref: /schemas/types.yaml#/definitions/uint32 | 394 | minimum: 0 |
| 416 | - minimum: 0 | 395 | maximum: 255 |
| 417 | maximum: 255 | 396 | default: 10 |
| 418 | default: 10 | ||
| 419 | description: Specifies the threshold for the event. | 397 | description: Specifies the threshold for the event. |
| 420 | 398 | ||
| 421 | linux,code: | 399 | linux,code: |
| @@ -430,19 +408,17 @@ patternProperties: · 8 unmodified lines | |||
| 430 | 408 | ||
| 431 | properties: | 409 | properties: |
| 432 | azoteq,thresh: | 410 | azoteq,thresh: |
| 433 | allOf: | 411 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 434 | - $ref: /schemas/types.yaml#/definitions/uint32 | 412 | minimum: 0 |
| 435 | - minimum: 0 | 413 | maximum: 255 |
| 436 | maximum: 255 | 414 | default: 8 |
| 437 | default: 8 | ||
| 438 | description: Specifies the threshold for the event. | 415 | description: Specifies the threshold for the event. |
| 439 | 416 | ||
| 440 | azoteq,hyst: | 417 | azoteq,hyst: |
| 441 | allOf: | 418 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 442 | - $ref: /schemas/types.yaml#/definitions/uint32 | 419 | minimum: 0 |
| 443 | - minimum: 0 | 420 | maximum: 15 |
| 444 | maximum: 15 | 421 | default: 4 |
| 445 | default: 4 | ||
| 446 | description: Specifies the hysteresis for the event. | 422 | description: Specifies the hysteresis for the event. |
| 447 | 423 | ||
| 448 | linux,code: | 424 | linux,code: |
| @@ -457,19 +433,17 @@ patternProperties: · 8 unmodified lines | |||
| 457 | 433 | ||
| 458 | properties: | 434 | properties: |
| 459 | azoteq,thresh: | 435 | azoteq,thresh: |
| 460 | allOf: | 436 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 461 | - $ref: /schemas/types.yaml#/definitions/uint32 | 437 | minimum: 0 |
| 462 | - minimum: 0 | 438 | maximum: 255 |
| 463 | maximum: 255 | 439 | default: 26 |
| 464 | default: 26 | ||
| 465 | description: Specifies the threshold for the event. | 440 | description: Specifies the threshold for the event. |
| 466 | 441 | ||
| 467 | azoteq,hyst: | 442 | azoteq,hyst: |
| 468 | allOf: | 443 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 469 | - $ref: /schemas/types.yaml#/definitions/uint32 | 444 | minimum: 0 |
| 470 | - minimum: 0 | 445 | maximum: 15 |
| 471 | maximum: 15 | 446 | default: 0 |
| 472 | default: 0 | ||
| 473 | description: Specifies the hysteresis for the event. | 447 | description: Specifies the hysteresis for the event. |
| 474 | 448 | ||
| 475 | linux,code: | 449 | linux,code: |
| @@ -25,19 +25,17 @@ properties: · 24 unmodified lines | |||
| 25 | description: | 25 | description: |
| 26 | u32 value of the base of parent HyperTransport vector allocated | 26 | u32 value of the base of parent HyperTransport vector allocated |
| 27 | to PCH MSI. | 27 | to PCH MSI. |
| 28 | allOf: | 28 | $ref: "/schemas/types.yaml#/definitions/uint32" |
| 29 | - $ref: "/schemas/types.yaml#/definitions/uint32" | 29 | minimum: 0 |
| 30 | - minimum: 0 | 30 | maximum: 255 |
| 31 | maximum: 255 | ||
| 32 | 31 | ||
| 33 | loongson,msi-num-vecs: | 32 | loongson,msi-num-vecs: |
| 34 | description: | 33 | description: |
| 35 | u32 value of the number of parent HyperTransport vectors allocated | 34 | u32 value of the number of parent HyperTransport vectors allocated |
| 36 | to PCH MSI. | 35 | to PCH MSI. |
| 37 | allOf: | 36 | $ref: "/schemas/types.yaml#/definitions/uint32" |
| 38 | - $ref: "/schemas/types.yaml#/definitions/uint32" | 37 | minimum: 1 |
| 39 | - minimum: 1 | 38 | maximum: 256 |
| 40 | maximum: 256 | ||
| 41 | 39 | ||
| 42 | msi-controller: true | 40 | msi-controller: true |
| 43 | 41 | ||
| @@ -25,10 +25,9 @@ properties: · 24 unmodified lines | |||
| 25 | description: | 25 | description: |
| 26 | u32 value of the base of parent HyperTransport vector allocated | 26 | u32 value of the base of parent HyperTransport vector allocated |
| 27 | to PCH PIC. | 27 | to PCH PIC. |
| 28 | allOf: | 28 | $ref: "/schemas/types.yaml#/definitions/uint32" |
| 29 | - $ref: "/schemas/types.yaml#/definitions/uint32" | 29 | minimum: 0 |
| 30 | - minimum: 0 | 30 | maximum: 192 |
| 31 | maximum: 192 | ||
| 32 | 31 | ||
| 33 | interrupt-controller: true | 32 | interrupt-controller: true |
| 34 | 33 | ||
| @@ -31,9 +31,8 @@ properties: · 30 unmodified lines | |||
| 31 | 31 | ||
| 32 | reg-size: | 32 | reg-size: |
| 33 | description: The access width of the register in bytes. Defaults to 1. | 33 | description: The access width of the register in bytes. Defaults to 1. |
| 34 | allOf: | 34 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 35 | - $ref: /schemas/types.yaml#/definitions/uint32 | 35 | enum: [1, 2, 4, 8] |
| 36 | - enum: [1, 2, 4, 8] | ||
| 37 | 36 | ||
| 38 | reg-spacing: | 37 | reg-spacing: |
| 39 | $ref: /schemas/types.yaml#/definitions/uint32 | 38 | $ref: /schemas/types.yaml#/definitions/uint32 |
| @@ -43,9 +42,8 @@ properties: · 3 unmodified lines | |||
| 43 | description: | | 42 | description: | |
| 44 | The amount of bits to shift the register content to the right to get | 43 | The amount of bits to shift the register content to the right to get |
| 45 | the data into bit zero. | 44 | the data into bit zero. |
| 46 | allOf: | 45 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 47 | - $ref: /schemas/types.yaml#/definitions/uint32 | 46 | maximum: 56 |
| 48 | - maximum: 56 | ||
| 49 | 47 | ||
| 50 | required: | 48 | required: |
| 51 | - compatible | 49 | - compatible |
| @@ -57,8 +57,7 @@ properties: · 56 unmodified lines | |||
| 57 | description: | | 57 | description: | |
| 58 | mA; per-string current limit. | 58 | mA; per-string current limit. |
| 59 | This property is supported only for WLED3. | 59 | This property is supported only for WLED3. |
| 60 | allOf: | 60 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 61 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 62 | default: 20 | 61 | default: 20 |
| 63 | minimum: 0 | 62 | minimum: 0 |
| 64 | maximum: 25 | 63 | maximum: 25 |
| @@ -74,38 +73,33 @@ properties: · 9 unmodified lines | |||
| 74 | qcom,current-boost-limit: | 73 | qcom,current-boost-limit: |
| 75 | description: | | 74 | description: | |
| 76 | mA; boost current limit. | 75 | mA; boost current limit. |
| 77 | allOf: | 76 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 78 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 79 | 77 | ||
| 80 | qcom,switching-freq: | 78 | qcom,switching-freq: |
| 81 | description: | | 79 | description: | |
| 82 | kHz; switching frequency. | 80 | kHz; switching frequency. |
| 83 | allOf: | 81 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 84 | - $ref: /schemas/types.yaml#/definitions/uint32 | 82 | enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] |
| 85 | - enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] | ||
| 86 | 83 | ||
| 87 | qcom,ovp: | 84 | qcom,ovp: |
| 88 | description: | | 85 | description: | |
| 89 | V; Over-voltage protection limit. | 86 | V; Over-voltage protection limit. |
| 90 | This property is supported only for WLED3. | 87 | This property is supported only for WLED3. |
| 91 | allOf: | 88 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 92 | - $ref: /schemas/types.yaml#/definitions/uint32 | 89 | enum: [ 27, 29, 32, 35 ] |
| 93 | - enum: [ 27, 29, 32, 35 ] | 90 | default: 29 |
| 94 | - default: 29 | ||
| 95 | 91 | ||
| 96 | qcom,ovp-millivolt: | 92 | qcom,ovp-millivolt: |
| 97 | description: | | 93 | description: | |
| 98 | Over-voltage protection limit. This property is for WLED4 only. | 94 | Over-voltage protection limit. This property is for WLED4 only. |
| 99 | allOf: | 95 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 100 | - $ref: /schemas/types.yaml#/definitions/uint32 | 96 | enum: [ 18100, 19600, 29600, 31100 ] |
| 101 | - enum: [ 18100, 19600, 29600, 31100 ] | 97 | default: 29600 |
| 102 | - default: 29600 | ||
| 103 | 98 | ||
| 104 | qcom,num-strings: | 99 | qcom,num-strings: |
| 105 | description: | | 100 | description: | |
| 106 | number of led strings attached. | 101 | number of led strings attached. |
| 107 | allOf: | 102 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 108 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 109 | 103 | ||
| 110 | qcom,enabled-strings: | 104 | qcom,enabled-strings: |
| 111 | description: | | 105 | description: | |
| @@ -113,8 +107,7 @@ properties: · 1 unmodified line | |||
| 113 | string of leds are operated individually. Specify the | 107 | string of leds are operated individually. Specify the |
| 114 | list of strings used by the device. Any combination of | 108 | list of strings used by the device. Any combination of |
| 115 | led strings can be used. | 109 | led strings can be used. |
| 116 | allOf: | 110 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 117 | - $ref: /schemas/types.yaml#/definitions/uint32-array | ||
| 118 | minItems: 1 | 111 | minItems: 1 |
| 119 | maxItems: 4 | 112 | maxItems: 4 |
| 120 | 113 | ||
| @@ -150,10 +143,9 @@ properties: · 29 unmodified lines | |||
| 150 | 0 - Modulator A | 143 | 0 - Modulator A |
| 151 | 1 - Modulator B | 144 | 1 - Modulator B |
| 152 | This property is applicable only to WLED5 peripheral. | 145 | This property is applicable only to WLED5 peripheral. |
| 153 | allOf: | 146 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 154 | - $ref: /schemas/types.yaml#/definitions/uint32 | 147 | enum: [ 0, 1 ] |
| 155 | - enum: [ 0, 1 ] | 148 | default: 0 |
| 156 | - default: 0 | ||
| 157 | 149 | ||
| 158 | qcom,cabc-sel: | 150 | qcom,cabc-sel: |
| 159 | description: | | 151 | description: | |
| @@ -164,9 +156,8 @@ properties: · 4 unmodified lines | |||
| 164 | 2 - CABC 2 | 156 | 2 - CABC 2 |
| 165 | 3 - External signal (e.g. LPG) is used for dimming | 157 | 3 - External signal (e.g. LPG) is used for dimming |
| 166 | This property is applicable only to WLED5 peripheral. | 158 | This property is applicable only to WLED5 peripheral. |
| 167 | allOf: | 159 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 168 | - $ref: /schemas/types.yaml#/definitions/uint32 | 160 | enum: [ 0, 1, 2, 3 ] |
| 169 | - enum: [ 0, 1, 2, 3 ] | ||
| 170 | 161 | ||
| 171 | allOf: | 162 | allOf: |
| 172 | - if: | 163 | - if: |
| @@ -32,8 +32,7 @@ properties: · 31 unmodified lines | |||
| 32 | patternProperties: | 32 | patternProperties: |
| 33 | "^led@[0-2]$": | 33 | "^led@[0-2]$": |
| 34 | type: object | 34 | type: object |
| 35 | allOf: | 35 | $ref: common.yaml# |
| 36 | - $ref: common.yaml# | ||
| 37 | 36 | ||
| 38 | properties: | 37 | properties: |
| 39 | reg: | 38 | reg: |
| @@ -33,8 +33,7 @@ properties: · 32 unmodified lines | |||
| 33 | 33 | ||
| 34 | led: | 34 | led: |
| 35 | type: object | 35 | type: object |
| 36 | allOf: | 36 | $ref: common.yaml# |
| 37 | - $ref: common.yaml# | ||
| 38 | 37 | ||
| 39 | required: | 38 | required: |
| 40 | - compatible | 39 | - compatible |
| @@ -51,7 +51,7 @@ examples: · 50 unmodified lines | |||
| 51 | #include <dt-bindings/interrupt-controller/arm-gic.h> | 51 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 52 | mailbox: mailbox@400a0000 { | 52 | mailbox: mailbox@400a0000 { |
| 53 | compatible = "sprd,sc9860-mailbox"; | 53 | compatible = "sprd,sc9860-mailbox"; |
| 54 | reg = <0 0x400a0000 0 0x8000>, <0 0x400a8000 0 0x8000>; | 54 | reg = <0x400a0000 0x8000>, <0x400a8000 0x8000>; |
| 55 | #mbox-cells = <1>; | 55 | #mbox-cells = <1>; |
| 56 | clock-names = "enable"; | 56 | clock-names = "enable"; |
| 57 | clocks = <&aon_gate 53>; | 57 | clocks = <&aon_gate 53>; |
| @@ -79,8 +79,7 @@ properties: · 78 unmodified lines | |||
| 79 | - const: 4 | 79 | - const: 4 |
| 80 | 80 | ||
| 81 | link-frequencies: | 81 | link-frequencies: |
| 82 | allOf: | 82 | $ref: /schemas/types.yaml#/definitions/uint64-array |
| 83 | - $ref: /schemas/types.yaml#/definitions/uint64-array | ||
| 84 | description: | 83 | description: |
| 85 | Allowed data bus frequencies. 360000000, 180000000 Hz or both | 84 | Allowed data bus frequencies. 360000000, 180000000 Hz or both |
| 86 | are supported by the driver. | 85 | are supported by the driver. |
| @@ -61,7 +61,7 @@ examples: · 60 unmodified lines | |||
| 61 | 61 | ||
| 62 | vdec: video-codec@ff660000 { | 62 | vdec: video-codec@ff660000 { |
| 63 | compatible = "rockchip,rk3399-vdec"; | 63 | compatible = "rockchip,rk3399-vdec"; |
| 64 | reg = <0x0 0xff660000 0x0 0x400>; | 64 | reg = <0xff660000 0x400>; |
| 65 | interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>; | 65 | interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>; |
| 66 | clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>, | 66 | clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>, |
| 67 | <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>; | 67 | <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>; |
| @@ -66,7 +66,7 @@ examples: · 65 unmodified lines | |||
| 66 | 66 | ||
| 67 | vpu: video-codec@ff9a0000 { | 67 | vpu: video-codec@ff9a0000 { |
| 68 | compatible = "rockchip,rk3288-vpu"; | 68 | compatible = "rockchip,rk3288-vpu"; |
| 69 | reg = <0x0 0xff9a0000 0x0 0x800>; | 69 | reg = <0xff9a0000 0x800>; |
| 70 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, | 70 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, |
| 71 | <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; | 71 | <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 72 | interrupt-names = "vepu", "vdpu"; | 72 | interrupt-names = "vepu", "vdpu"; |
| @@ -45,9 +45,8 @@ patternProperties: · 44 unmodified lines | |||
| 45 | maxItems: 255 | 45 | maxItems: 255 |
| 46 | 46 | ||
| 47 | ingenic,nemc-bus-width: | 47 | ingenic,nemc-bus-width: |
| 48 | allOf: | 48 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 49 | - $ref: /schemas/types.yaml#/definitions/uint32 | 49 | enum: [8, 16] |
| 50 | - enum: [8, 16] | ||
| 51 | description: Specifies the bus width in bits. | 50 | description: Specifies the bus width in bits. |
| 52 | 51 | ||
| 53 | ingenic,nemc-tAS: | 52 | ingenic,nemc-tAS: |
| @@ -53,7 +53,7 @@ examples: · 52 unmodified lines | |||
| 53 | - | | 53 | - | |
| 54 | nfc: nand-controller@ff100000 { | 54 | nfc: nand-controller@ff100000 { |
| 55 | compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10"; | 55 | compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10"; |
| 56 | reg = <0x0 0xff100000 0x0 0x1000>; | 56 | reg = <0xff100000 0x1000>; |
| 57 | clock-names = "controller", "bus"; | 57 | clock-names = "controller", "bus"; |
| 58 | clocks = <&clk200>, <&clk100>; | 58 | clocks = <&clk200>, <&clk100>; |
| 59 | interrupt-parent = <&gic>; | 59 | interrupt-parent = <&gic>; |
| @@ -145,8 +145,7 @@ patternProperties: · 144 unmodified lines | |||
| 145 | 145 | ||
| 146 | "^cpts@[0-9a-f]+": | 146 | "^cpts@[0-9a-f]+": |
| 147 | type: object | 147 | type: object |
| 148 | allOf: | 148 | $ref: "ti,k3-am654-cpts.yaml#" |
| 149 | - $ref: "ti,k3-am654-cpts.yaml#" | ||
| 150 | description: | 149 | description: |
| 151 | CPSW Common Platform Time Sync (CPTS) module. | 150 | CPSW Common Platform Time Sync (CPTS) module. |
| 152 | 151 | ||
| @@ -74,15 +74,13 @@ properties: · 73 unmodified lines | |||
| 74 | - const: cpts | 74 | - const: cpts |
| 75 | 75 | ||
| 76 | ti,cpts-ext-ts-inputs: | 76 | ti,cpts-ext-ts-inputs: |
| 77 | allOf: | 77 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 78 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 79 | maximum: 8 | 78 | maximum: 8 |
| 80 | description: | 79 | description: |
| 81 | Number of hardware timestamp push inputs (HWx_TS_PUSH) | 80 | Number of hardware timestamp push inputs (HWx_TS_PUSH) |
| 82 | 81 | ||
| 83 | ti,cpts-periodic-outputs: | 82 | ti,cpts-periodic-outputs: |
| 84 | allOf: | 83 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 85 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 86 | maximum: 8 | 84 | maximum: 8 |
| 87 | description: | 85 | description: |
| 88 | Number of timestamp Generator function outputs (TS_GENFx) | 86 | Number of timestamp Generator function outputs (TS_GENFx) |
| @@ -123,7 +121,7 @@ examples: · 34 unmodified lines | |||
| 123 | 121 | ||
| 124 | cpts@310d0000 { | 122 | cpts@310d0000 { |
| 125 | compatible = "ti,am65-cpts"; | 123 | compatible = "ti,am65-cpts"; |
| 126 | reg = <0x0 0x310d0000 0x0 0x400>; | 124 | reg = <0x310d0000 0x400>; |
| 127 | reg-names = "cpts"; | 125 | reg-names = "cpts"; |
| 128 | clocks = <&main_cpts_mux>; | 126 | clocks = <&main_cpts_mux>; |
| 129 | clock-names = "cpts"; | 127 | clock-names = "cpts"; |
| @@ -15,8 +15,7 @@ allOf: · 14 unmodified lines | |||
| 15 | properties: | 15 | properties: |
| 16 | cdns,max-outbound-regions: | 16 | cdns,max-outbound-regions: |
| 17 | description: maximum number of outbound regions | 17 | description: maximum number of outbound regions |
| 18 | allOf: | 18 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 19 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 20 | minimum: 1 | 19 | minimum: 1 |
| 21 | maximum: 32 | 20 | maximum: 32 |
| 22 | default: 32 | 21 | default: 32 |
| @@ -16,8 +16,7 @@ allOf: · 15 unmodified lines | |||
| 16 | properties: | 16 | properties: |
| 17 | cdns,max-outbound-regions: | 17 | cdns,max-outbound-regions: |
| 18 | description: maximum number of outbound regions | 18 | description: maximum number of outbound regions |
| 19 | allOf: | 19 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 20 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 21 | minimum: 1 | 20 | minimum: 1 |
| 22 | maximum: 32 | 21 | maximum: 32 |
| 23 | default: 32 | 22 | default: 32 |
| @@ -29,9 +29,8 @@ properties: · 28 unmodified lines | |||
| 29 | 29 | ||
| 30 | phydev: | 30 | phydev: |
| 31 | description: device ID for programming the ComboPHY. | 31 | description: device ID for programming the ComboPHY. |
| 32 | allOf: | 32 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 33 | - $ref: /schemas/types.yaml#/definitions/uint32 | 33 | maximum: 31 |
| 34 | - maximum: 31 | ||
| 35 | 34 | ||
| 36 | required: | 35 | required: |
| 37 | - compatible | 36 | - compatible |
| @@ -44,6 +44,8 @@ properties: · 43 unmodified lines | |||
| 44 | "#size-cells": | 44 | "#size-cells": |
| 45 | enum: [ 1, 2 ] | 45 | enum: [ 1, 2 ] |
| 46 | 46 | ||
| 47 | ranges: true | ||
| 48 | |||
| 47 | clocks: | 49 | clocks: |
| 48 | minItems: 1 | 50 | minItems: 1 |
| 49 | maxItems: 4 | 51 | maxItems: 4 |
| @@ -87,6 +89,7 @@ required: · 37 unmodified lines | |||
| 87 | - "#clock-cells" | 89 | - "#clock-cells" |
| 88 | - "#address-cells" | 90 | - "#address-cells" |
| 89 | - "#size-cells" | 91 | - "#size-cells" |
| 92 | - ranges | ||
| 90 | - clocks | 93 | - clocks |
| 91 | - clock-names | 94 | - clock-names |
| 92 | - resets | 95 | - resets |
| @@ -281,10 +284,11 @@ examples: · 188 unmodified lines | |||
| 281 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> | 284 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> |
| 282 | usb_2_qmpphy: phy-wrapper@88eb000 { | 285 | usb_2_qmpphy: phy-wrapper@88eb000 { |
| 283 | compatible = "qcom,sdm845-qmp-usb3-uni-phy"; | 286 | compatible = "qcom,sdm845-qmp-usb3-uni-phy"; |
| 284 | reg = <0 0x088eb000 0 0x18c>; | 287 | reg = <0x088eb000 0x18c>; |
| 285 | #clock-cells = <1>; | 288 | #clock-cells = <1>; |
| 286 | #address-cells = <2>; | 289 | #address-cells = <1>; |
| 287 | #size-cells = <2>; | 290 | #size-cells = <1>; |
| 291 | ranges = <0x0 0x088eb000 0x2000>; | ||
| 288 | 292 | ||
| 289 | clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK >, | 293 | clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK >, |
| 290 | <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, | 294 | <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, |
| @@ -299,11 +303,11 @@ examples: · 8 unmodified lines | |||
| 299 | vdda-phy-supply = <&vdda_usb2_ss_1p2>; | 303 | vdda-phy-supply = <&vdda_usb2_ss_1p2>; |
| 300 | vdda-pll-supply = <&vdda_usb2_ss_core>; | 304 | vdda-pll-supply = <&vdda_usb2_ss_core>; |
| 301 | 305 | ||
| 302 | usb_2_ssphy: phy@88eb200 { | 306 | usb_2_ssphy: phy@200 { |
| 303 | reg = <0 0x088eb200 0 0x128>, | 307 | reg = <0x200 0x128>, |
| 304 | <0 0x088eb400 0 0x1fc>, | 308 | <0x400 0x1fc>, |
| 305 | <0 0x088eb800 0 0x218>, | 309 | <0x800 0x218>, |
| 306 | <0 0x088eb600 0 0x70>; | 310 | <0x600 0x70>; |
| 307 | #clock-cells = <0>; | 311 | #clock-cells = <0>; |
| 308 | #phy-cells = <0>; | 312 | #phy-cells = <0>; |
| 309 | clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; | 313 | clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; |
| @@ -34,6 +34,8 @@ properties: · 33 unmodified lines | |||
| 34 | "#size-cells": | 34 | "#size-cells": |
| 35 | enum: [ 1, 2 ] | 35 | enum: [ 1, 2 ] |
| 36 | 36 | ||
| 37 | ranges: true | ||
| 38 | |||
| 37 | clocks: | 39 | clocks: |
| 38 | items: | 40 | items: |
| 39 | - description: Phy aux clock. | 41 | - description: Phy aux clock. |
| @@ -86,6 +88,7 @@ required: · 46 unmodified lines | |||
| 86 | - "#clock-cells" | 88 | - "#clock-cells" |
| 87 | - "#address-cells" | 89 | - "#address-cells" |
| 88 | - "#size-cells" | 90 | - "#size-cells" |
| 91 | - ranges | ||
| 89 | - clocks | 92 | - clocks |
| 90 | - clock-names | 93 | - clock-names |
| 91 | - resets | 94 | - resets |
| @@ -100,12 +103,13 @@ examples: · 8 unmodified lines | |||
| 100 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> | 103 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> |
| 101 | usb_1_qmpphy: phy-wrapper@88e9000 { | 104 | usb_1_qmpphy: phy-wrapper@88e9000 { |
| 102 | compatible = "qcom,sdm845-qmp-usb3-phy"; | 105 | compatible = "qcom,sdm845-qmp-usb3-phy"; |
| 103 | reg = <0 0x088e9000 0 0x18c>, | 106 | reg = <0x088e9000 0x18c>, |
| 104 | <0 0x088e8000 0 0x10>; | 107 | <0x088e8000 0x10>; |
| 105 | reg-names = "reg-base", "dp_com"; | 108 | reg-names = "reg-base", "dp_com"; |
| 106 | #clock-cells = <1>; | 109 | #clock-cells = <1>; |
| 107 | #address-cells = <2>; | 110 | #address-cells = <1>; |
| 108 | #size-cells = <2>; | 111 | #size-cells = <1>; |
| 112 | ranges = <0x0 0x088e9000 0x1000>; | ||
| 109 | 113 | ||
| 110 | clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, | 114 | clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, |
| 111 | <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, | 115 | <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, |
| @@ -120,17 +124,17 @@ examples: · 8 unmodified lines | |||
| 120 | vdda-phy-supply = <&vdda_usb2_ss_1p2>; | 124 | vdda-phy-supply = <&vdda_usb2_ss_1p2>; |
| 121 | vdda-pll-supply = <&vdda_usb2_ss_core>; | 125 | vdda-pll-supply = <&vdda_usb2_ss_core>; |
| 122 | 126 | ||
| 123 | usb_1_ssphy: phy@88e9200 { | 127 | phy@200 { |
| 124 | reg = <0 0x088e9200 0 0x128>, | 128 | reg = <0x200 0x128>, |
| 125 | <0 0x088e9400 0 0x200>, | 129 | <0x400 0x200>, |
| 126 | <0 0x088e9c00 0 0x218>, | 130 | <0xc00 0x218>, |
| 127 | <0 0x088e9600 0 0x128>, | 131 | <0x600 0x128>, |
| 128 | <0 0x088e9800 0 0x200>, | 132 | <0x800 0x200>, |
| 129 | <0 0x088e9a00 0 0x100>; | 133 | <0xa00 0x100>; |
| 130 | #clock-cells = <0>; | 134 | #clock-cells = <0>; |
| 131 | #phy-cells = <0>; | 135 | #phy-cells = <0>; |
| 132 | clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; | 136 | clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; |
| 133 | clock-names = "pipe0"; | 137 | clock-names = "pipe0"; |
| 134 | clock-output-names = "usb3_phy_pipe_clk_src"; | 138 | clock-output-names = "usb3_phy_pipe_clk_src"; |
| 135 | }; | ||
| 136 | }; | 139 | }; |
| 140 | }; | ||
| @@ -65,7 +65,7 @@ examples: · 64 unmodified lines | |||
| 65 | #include <dt-bindings/clock/qcom,gcc-sm8150.h> | 65 | #include <dt-bindings/clock/qcom,gcc-sm8150.h> |
| 66 | phy@88e2000 { | 66 | phy@88e2000 { |
| 67 | compatible = "qcom,sm8150-usb-hs-phy"; | 67 | compatible = "qcom,sm8150-usb-hs-phy"; |
| 68 | reg = <0 0x088e2000 0 0x400>; | 68 | reg = <0x088e2000 0x400>; |
| 69 | #phy-cells = <0>; | 69 | #phy-cells = <0>; |
| 70 | 70 | ||
| 71 | clocks = <&rpmhcc RPMH_CXO_CLK>; | 71 | clocks = <&rpmhcc RPMH_CXO_CLK>; |
| @@ -52,9 +52,8 @@ properties: · 51 unmodified lines | |||
| 52 | description: | | 52 | description: | |
| 53 | Enable/disable spread spectrum clock (ssc). 0 or the property doesn't | 53 | Enable/disable spread spectrum clock (ssc). 0 or the property doesn't |
| 54 | exist means disabling the ssc. The actual value will be -<value> ppm. | 54 | exist means disabling the ssc. The actual value will be -<value> ppm. |
| 55 | allOf: | 55 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 56 | - $ref: /schemas/types.yaml#/definitions/uint32 | 56 | enum: [ 0, 4003, 4492, 4980 ] |
| 57 | - enum: [ 0, 4003, 4492, 4980 ] | ||
| 58 | 57 | ||
| 59 | required: | 58 | required: |
| 60 | - compatible | 59 | - compatible |
| @@ -27,11 +27,9 @@ properties: · 26 unmodified lines | |||
| 27 | of this binary blob is kept secret by CellWise. The only way to obtain | 27 | of this binary blob is kept secret by CellWise. The only way to obtain |
| 28 | it is to mail two batteries to a test facility of CellWise and receive | 28 | it is to mail two batteries to a test facility of CellWise and receive |
| 29 | back a test report with the binary blob. | 29 | back a test report with the binary blob. |
| 30 | allOf: | 30 | $ref: /schemas/types.yaml#definitions/uint8-array |
| 31 | - $ref: /schemas/types.yaml#definitions/uint8-array | 31 | minItems: 64 |
| 32 | items: | 32 | maxItems: 64 |
| 33 | - minItems: 64 | ||
| 34 | maxItems: 64 | ||
| 35 | 33 | ||
| 36 | cellwise,monitor-interval-ms: | 34 | cellwise,monitor-interval-ms: |
| 37 | description: | 35 | description: |
| @@ -41,10 +39,9 @@ properties: · 3 unmodified lines | |||
| 41 | power-supplies: | 39 | power-supplies: |
| 42 | description: | 40 | description: |
| 43 | Specifies supplies used for charging the battery connected to this gauge | 41 | Specifies supplies used for charging the battery connected to this gauge |
| 44 | allOf: | 42 | $ref: /schemas/types.yaml#/definitions/phandle-array |
| 45 | - $ref: /schemas/types.yaml#/definitions/phandle-array | 43 | minItems: 1 |
| 46 | - minItems: 1 | 44 | maxItems: 8 # Should be enough |
| 47 | maxItems: 8 # Should be enough | ||
| 48 | 45 | ||
| 49 | monitored-battery: | 46 | monitored-battery: |
| 50 | description: | 47 | description: |
| @@ -32,16 +32,14 @@ properties: · 31 unmodified lines | |||
| 32 | description: | 32 | description: |
| 33 | The number of times to retry I2C transactions on I2C IO failure. | 33 | The number of times to retry I2C transactions on I2C IO failure. |
| 34 | default: 0 | 34 | default: 0 |
| 35 | allOf: | 35 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 36 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 37 | 36 | ||
| 38 | sbs,poll-retry-count: | 37 | sbs,poll-retry-count: |
| 39 | description: | 38 | description: |
| 40 | The number of times to try looking for new status after an external | 39 | The number of times to try looking for new status after an external |
| 41 | change notification. | 40 | change notification. |
| 42 | default: 0 | 41 | default: 0 |
| 43 | allOf: | 42 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 44 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 45 | 43 | ||
| 46 | sbs,battery-detect-gpios: | 44 | sbs,battery-detect-gpios: |
| 47 | description: | 45 | description: |
| @@ -30,13 +30,11 @@ properties: · 29 unmodified lines | |||
| 30 | items: | 30 | items: |
| 31 | - description: SoC PWM ipg clock | 31 | - description: SoC PWM ipg clock |
| 32 | - description: SoC PWM per clock | 32 | - description: SoC PWM per clock |
| 33 | maxItems: 2 | ||
| 34 | 33 | ||
| 35 | clock-names: | 34 | clock-names: |
| 36 | items: | 35 | items: |
| 37 | - const: ipg | 36 | - const: ipg |
| 38 | - const: per | 37 | - const: per |
| 39 | maxItems: 2 | ||
| 40 | 38 | ||
| 41 | interrupts: | 39 | interrupts: |
| 42 | maxItems: 1 | 40 | maxItems: 1 |
| @@ -21,8 +21,7 @@ properties: · 20 unmodified lines | |||
| 21 | 21 | ||
| 22 | regulators: | 22 | regulators: |
| 23 | type: object | 23 | type: object |
| 24 | allOf: | 24 | $ref: regulator.yaml# |
| 25 | - $ref: regulator.yaml# | ||
| 26 | description: | | 25 | description: | |
| 27 | list of regulators provided by this controller, must be named | 26 | list of regulators provided by this controller, must be named |
| 28 | after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST | 27 | after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST |
| @@ -30,13 +29,11 @@ properties: · 1 unmodified line | |||
| 30 | patternProperties: | 29 | patternProperties: |
| 31 | "^LDO([1-9]|1[0-5])$": | 30 | "^LDO([1-9]|1[0-5])$": |
| 32 | type: object | 31 | type: object |
| 33 | allOf: | 32 | $ref: regulator.yaml# |
| 34 | - $ref: regulator.yaml# | ||
| 35 | 33 | ||
| 36 | "^BUCK|BUCKBOOST$": | 34 | "^BUCK|BUCKBOOST$": |
| 37 | type: object | 35 | type: object |
| 38 | allOf: | 36 | $ref: regulator.yaml# |
| 39 | - $ref: regulator.yaml# | ||
| 40 | 37 | ||
| 41 | additionalProperties: false | 38 | additionalProperties: false |
| 42 | 39 | ||
| @@ -29,8 +29,7 @@ description: | · 28 unmodified lines | |||
| 29 | patternProperties: | 29 | patternProperties: |
| 30 | "^LDO[1-6]$": | 30 | "^LDO[1-6]$": |
| 31 | type: object | 31 | type: object |
| 32 | allOf: | 32 | $ref: regulator.yaml# |
| 33 | - $ref: regulator.yaml# | ||
| 34 | description: | 33 | description: |
| 35 | Properties for single LDO regulator. | 34 | Properties for single LDO regulator. |
| 36 | 35 | ||
| @@ -44,8 +43,7 @@ patternProperties: · 7 unmodified lines | |||
| 44 | 43 | ||
| 45 | "^BUCK[1-6]$": | 44 | "^BUCK[1-6]$": |
| 46 | type: object | 45 | type: object |
| 47 | allOf: | 46 | $ref: regulator.yaml# |
| 48 | - $ref: regulator.yaml# | ||
| 49 | description: | 47 | description: |
| 50 | Properties for single BUCK regulator. | 48 | Properties for single BUCK regulator. |
| 51 | 49 | ||
| @@ -56,28 +54,25 @@ patternProperties: · 4 unmodified lines | |||
| 56 | should be "buck1", ..., "buck6" | 54 | should be "buck1", ..., "buck6" |
| 57 | 55 | ||
| 58 | rohm,dvs-run-voltage: | 56 | rohm,dvs-run-voltage: |
| 59 | allOf: | 57 | $ref: "/schemas/types.yaml#/definitions/uint32" |
| 60 | - $ref: "/schemas/types.yaml#/definitions/uint32" | 58 | minimum: 0 |
| 61 | - minimum: 0 | 59 | maximum: 1300000 |
| 62 | maximum: 1300000 | ||
| 63 | description: | 60 | description: |
| 64 | PMIC default "RUN" state voltage in uV. See below table for | 61 | PMIC default "RUN" state voltage in uV. See below table for |
| 65 | bucks which support this. 0 means disabled. | 62 | bucks which support this. 0 means disabled. |
| 66 | 63 | ||
| 67 | rohm,dvs-idle-voltage: | 64 | rohm,dvs-idle-voltage: |
| 68 | allOf: | 65 | $ref: "/schemas/types.yaml#/definitions/uint32" |
| 69 | - $ref: "/schemas/types.yaml#/definitions/uint32" | 66 | minimum: 0 |
| 70 | - minimum: 0 | 67 | maximum: 1300000 |
| 71 | maximum: 1300000 | ||
| 72 | description: | 68 | description: |
| 73 | PMIC default "IDLE" state voltage in uV. See below table for | 69 | PMIC default "IDLE" state voltage in uV. See below table for |
| 74 | bucks which support this. 0 means disabled. | 70 | bucks which support this. 0 means disabled. |
| 75 | 71 | ||
| 76 | rohm,dvs-suspend-voltage: | 72 | rohm,dvs-suspend-voltage: |
| 77 | allOf: | 73 | $ref: "/schemas/types.yaml#/definitions/uint32" |
| 78 | - $ref: "/schemas/types.yaml#/definitions/uint32" | 74 | minimum: 0 |
| 79 | - minimum: 0 | 75 | maximum: 1300000 |
| 80 | maximum: 1300000 | ||
| 81 | description: | 76 | description: |
| 82 | PMIC default "SUSPEND" state voltage in uV. See below table for | 77 | PMIC default "SUSPEND" state voltage in uV. See below table for |
| 83 | bucks which support this. 0 means disabled. | 78 | bucks which support this. 0 means disabled. |
| @@ -28,10 +28,8 @@ properties: · 27 unmodified lines | |||
| 28 | description: | 28 | description: |
| 29 | Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators. | 29 | Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators. |
| 30 | Sampling ratio values for these 4 ring oscillators. (from calibration) | 30 | Sampling ratio values for these 4 ring oscillators. (from calibration) |
| 31 | allOf: | 31 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 32 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 32 | maxItems: 4 |
| 33 | - items: | ||
| 34 | maxItems: 4 | ||
| 35 | 33 | ||
| 36 | clocks: | 34 | clocks: |
| 37 | maxItems: 1 | 35 | maxItems: 1 |
| @@ -33,9 +33,8 @@ properties: · 32 unmodified lines | |||
| 33 | description: | | 33 | description: | |
| 34 | The size (in bytes) of the IO accesses that should be performed | 34 | The size (in bytes) of the IO accesses that should be performed |
| 35 | on the device. | 35 | on the device. |
| 36 | allOf: | 36 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 37 | - $ref: /schemas/types.yaml#/definitions/uint32 | 37 | enum: [ 1, 4 ] |
| 38 | - enum: [ 1, 4 ] | ||
| 39 | 38 | ||
| 40 | clocks: | 39 | clocks: |
| 41 | minItems: 2 | 40 | minItems: 2 |
| @@ -100,8 +100,7 @@ patternProperties: · 99 unmodified lines | |||
| 100 | supports up to 50MHz, up to four chip selects, programmable | 100 | supports up to 50MHz, up to four chip selects, programmable |
| 101 | data path from 4 bits to 32 bits and numerous protocol | 101 | data path from 4 bits to 32 bits and numerous protocol |
| 102 | variants. | 102 | variants. |
| 103 | allOf: | 103 | $ref: /spi/spi-controller.yaml# |
| 104 | - $ref: /spi/spi-controller.yaml# | ||
| 105 | 104 | ||
| 106 | properties: | 105 | properties: |
| 107 | compatible: | 106 | compatible: |
| @@ -126,8 +125,7 @@ patternProperties: · 18 unmodified lines | |||
| 126 | "i2c@[0-9a-f]+$": | 125 | "i2c@[0-9a-f]+$": |
| 127 | type: object | 126 | type: object |
| 128 | description: GENI serial engine based I2C controller. | 127 | description: GENI serial engine based I2C controller. |
| 129 | allOf: | 128 | $ref: /schemas/i2c/i2c-controller.yaml# |
| 130 | - $ref: /schemas/i2c/i2c-controller.yaml# | ||
| 131 | 129 | ||
| 132 | properties: | 130 | properties: |
| 133 | compatible: | 131 | compatible: |
| @@ -156,8 +154,7 @@ patternProperties: · 22 unmodified lines | |||
| 156 | "serial@[0-9a-f]+$": | 154 | "serial@[0-9a-f]+$": |
| 157 | type: object | 155 | type: object |
| 158 | description: GENI Serial Engine based UART Controller. | 156 | description: GENI Serial Engine based UART Controller. |
| 159 | allOf: | 157 | $ref: /schemas/serial.yaml# |
| 160 | - $ref: /schemas/serial.yaml# | ||
| 161 | 158 | ||
| 162 | properties: | 159 | properties: |
| 163 | compatible: | 160 | compatible: |
| @@ -45,23 +45,20 @@ properties: · 44 unmodified lines | |||
| 45 | - const: ctx3_tx | 45 | - const: ctx3_tx |
| 46 | 46 | ||
| 47 | firmware-name: | 47 | firmware-name: |
| 48 | allOf: | 48 | $ref: /schemas/types.yaml#/definitions/string |
| 49 | - $ref: /schemas/types.yaml#/definitions/string | 49 | const: imx/easrc/easrc-imx8mn.bin |
| 50 | - const: imx/easrc/easrc-imx8mn.bin | ||
| 51 | description: The coefficient table for the filters | 50 | description: The coefficient table for the filters |
| 52 | 51 | ||
| 53 | fsl,asrc-rate: | 52 | fsl,asrc-rate: |
| 54 | allOf: | 53 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 55 | - $ref: /schemas/types.yaml#/definitions/uint32 | 54 | minimum: 8000 |
| 56 | - minimum: 8000 | 55 | maximum: 192000 |
| 57 | - maximum: 192000 | ||
| 58 | description: Defines a mutual sample rate used by DPCM Back Ends | 56 | description: Defines a mutual sample rate used by DPCM Back Ends |
| 59 | 57 | ||
| 60 | fsl,asrc-format: | 58 | fsl,asrc-format: |
| 61 | allOf: | 59 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 62 | - $ref: /schemas/types.yaml#/definitions/uint32 | 60 | enum: [2, 6, 10, 32, 36] |
| 63 | - enum: [2, 6, 10, 32, 36] | 61 | default: 2 |
| 64 | default: 2 | ||
| 65 | description: | 62 | description: |
| 66 | Defines a mutual sample format used by DPCM Back Ends | 63 | Defines a mutual sample format used by DPCM Back Ends |
| 67 | 64 | ||
| @@ -83,7 +80,7 @@ examples: · 15 unmodified lines | |||
| 83 | 80 | ||
| 84 | easrc: easrc@300c0000 { | 81 | easrc: easrc@300c0000 { |
| 85 | compatible = "fsl,imx8mn-easrc"; | 82 | compatible = "fsl,imx8mn-easrc"; |
| 86 | reg = <0x0 0x300c0000 0x0 0x10000>; | 83 | reg = <0x300c0000 0x10000>; |
| 87 | interrupts = <0x0 122 0x4>; | 84 | interrupts = <0x0 122 0x4>; |
| 88 | clocks = <&clk IMX8MN_CLK_ASRC_ROOT>; | 85 | clocks = <&clk IMX8MN_CLK_ASRC_ROOT>; |
| 89 | clock-names = "mem"; | 86 | clock-names = "mem"; |
| @@ -13,15 +13,13 @@ definitions: · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | frame-master: | 14 | frame-master: |
| 15 | description: Indicates dai-link frame master. | 15 | description: Indicates dai-link frame master. |
| 16 | allOf: | 16 | $ref: /schemas/types.yaml#/definitions/phandle-array |
| 17 | - $ref: /schemas/types.yaml#/definitions/phandle-array | 17 | maxItems: 1 |
| 18 | - maxItems: 1 | ||
| 19 | 18 | ||
| 20 | bitclock-master: | 19 | bitclock-master: |
| 21 | description: Indicates dai-link bit clock master | 20 | description: Indicates dai-link bit clock master |
| 22 | allOf: | 21 | $ref: /schemas/types.yaml#/definitions/phandle-array |
| 23 | - $ref: /schemas/types.yaml#/definitions/phandle-array | 22 | maxItems: 1 |
| 24 | - maxItems: 1 | ||
| 25 | 23 | ||
| 26 | frame-inversion: | 24 | frame-inversion: |
| 27 | description: dai-link uses frame clock inversion | 25 | description: dai-link uses frame clock inversion |
| @@ -76,13 +76,12 @@ properties: · 75 unmodified lines | |||
| 76 | PDMIN3 - PDMCLK latching edge used for channel 5 and 6 data | 76 | PDMIN3 - PDMCLK latching edge used for channel 5 and 6 data |
| 77 | PDMIN4 - PDMCLK latching edge used for channel 7 and 8 data | 77 | PDMIN4 - PDMCLK latching edge used for channel 7 and 8 data |
| 78 | 78 | ||
| 79 | allOf: | 79 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 80 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 80 | minItems: 1 |
| 81 | - minItems: 1 | 81 | maxItems: 4 |
| 82 | maxItems: 4 | 82 | items: |
| 83 | items: | 83 | maximum: 1 |
| 84 | maximum: 1 | 84 | default: [0, 0, 0, 0] |
| 85 | default: [0, 0, 0, 0] | ||
| 86 | 85 | ||
| 87 | ti,gpi-config: | 86 | ti,gpi-config: |
| 88 | description: | | 87 | description: | |
| @@ -102,13 +101,12 @@ properties: · 13 unmodified lines | |||
| 102 | 7 - GPIX is configured as a PDM data input for channel 7 and channel | 101 | 7 - GPIX is configured as a PDM data input for channel 7 and channel |
| 103 | (PDMDIN4) | 102 | (PDMDIN4) |
| 104 | 103 | ||
| 105 | allOf: | 104 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 106 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 105 | minItems: 1 |
| 107 | - minItems: 1 | 106 | maxItems: 4 |
| 108 | maxItems: 4 | 107 | items: |
| 109 | items: | 108 | maximum: 7 |
| 110 | maximum: 7 | 109 | default: [0, 0, 0, 0] |
| 111 | default: [0, 0, 0, 0] | ||
| 112 | 110 | ||
| 113 | required: | 111 | required: |
| 114 | - compatible | 112 | - compatible |
| @@ -28,9 +28,8 @@ properties: · 27 unmodified lines | |||
| 28 | const: 0 | 28 | const: 0 |
| 29 | 29 | ||
| 30 | socionext,tmod-calibration: | 30 | socionext,tmod-calibration: |
| 31 | allOf: | 31 | $ref: /schemas/types.yaml#/definitions/uint32-array |
| 32 | - $ref: /schemas/types.yaml#/definitions/uint32-array | 32 | maxItems: 2 |
| 33 | - maxItems: 2 | ||
| 34 | description: | 33 | description: |
| 35 | A pair of calibrated values referred from PVT, in case that the values | 34 | A pair of calibrated values referred from PVT, in case that the values |
| 36 | aren't set on SoC, like a reference board. | 35 | aren't set on SoC, like a reference board. |
| @@ -52,21 +52,18 @@ properties: · 51 unmodified lines | |||
| 52 | 52 | ||
| 53 | vhub-vendor-id: | 53 | vhub-vendor-id: |
| 54 | description: vhub Vendor ID | 54 | description: vhub Vendor ID |
| 55 | allOf: | 55 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 56 | - $ref: /schemas/types.yaml#/definitions/uint32 | 56 | maximum: 65535 |
| 57 | - maximum: 65535 | ||
| 58 | 57 | ||
| 59 | vhub-product-id: | 58 | vhub-product-id: |
| 60 | description: vhub Product ID | 59 | description: vhub Product ID |
| 61 | allOf: | 60 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 62 | - $ref: /schemas/types.yaml#/definitions/uint32 | 61 | maximum: 65535 |
| 63 | - maximum: 65535 | ||
| 64 | 62 | ||
| 65 | vhub-device-revision: | 63 | vhub-device-revision: |
| 66 | description: vhub Device Revision in binary-coded decimal | 64 | description: vhub Device Revision in binary-coded decimal |
| 67 | allOf: | 65 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 68 | - $ref: /schemas/types.yaml#/definitions/uint32 | 66 | maximum: 65535 |
| 69 | - maximum: 65535 | ||
| 70 | 67 | ||
| 71 | vhub-strings: | 68 | vhub-strings: |
| 72 | type: object | 69 | type: object |
| @@ -90,18 +87,15 @@ properties: · 17 unmodified lines | |||
| 90 | 87 | ||
| 91 | manufacturer: | 88 | manufacturer: |
| 92 | description: vhub manufacturer | 89 | description: vhub manufacturer |
| 93 | allOf: | 90 | $ref: /schemas/types.yaml#/definitions/string |
| 94 | - $ref: /schemas/types.yaml#/definitions/string | ||
| 95 | 91 | ||
| 96 | product: | 92 | product: |
| 97 | description: vhub product name | 93 | description: vhub product name |
| 98 | allOf: | 94 | $ref: /schemas/types.yaml#/definitions/string |
| 99 | - $ref: /schemas/types.yaml#/definitions/string | ||
| 100 | 95 | ||
| 101 | serial-number: | 96 | serial-number: |
| 102 | description: vhub device serial number | 97 | description: vhub device serial number |
| 103 | allOf: | 98 | $ref: /schemas/types.yaml#/definitions/string |
| 104 | - $ref: /schemas/types.yaml#/definitions/string | ||
| 105 | 99 | ||
| 106 | required: | 100 | required: |
| 107 | - compatible | 101 | - compatible |
| @@ -64,13 +64,11 @@ properties: · 63 unmodified lines | |||
| 64 | - const: hs_src | 64 | - const: hs_src |
| 65 | 65 | ||
| 66 | power-domains: | 66 | power-domains: |
| 67 | maxItems: 2 | ||
| 68 | items: | 67 | items: |
| 69 | - description: XUSBB(device) power-domain | 68 | - description: XUSBB(device) power-domain |
| 70 | - description: XUSBA(superspeed) power-domain | 69 | - description: XUSBA(superspeed) power-domain |
| 71 | 70 | ||
| 72 | power-domain-names: | 71 | power-domain-names: |
| 73 | maxItems: 2 | ||
| 74 | items: | 72 | items: |
| 75 | - const: dev | 73 | - const: dev |
| 76 | - const: ss | 74 | - const: ss |
| @@ -17,8 +17,7 @@ properties: · 16 unmodified lines | |||
| 17 | enum: | 17 | enum: |
| 18 | - arm,smc-wdt | 18 | - arm,smc-wdt |
| 19 | arm,smc-id: | 19 | arm,smc-id: |
| 20 | allOf: | 20 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 21 | - $ref: /schemas/types.yaml#/definitions/uint32 | ||
| 22 | description: | | 21 | description: | |
| 23 | The ATF smc function id used by the firmware. | 22 | The ATF smc function id used by the firmware. |
| 24 | Defaults to 0x82003D06 if unset. | 23 | Defaults to 0x82003D06 if unset. |
| @@ -20,6 +20,9 @@ endif · 19 unmodified lines | |||
| 20 | HOST_EXTRACFLAGS += -DNO_YAML | 20 | HOST_EXTRACFLAGS += -DNO_YAML |
| 21 | else | 21 | else |
| 22 | dtc-objs += yamltree.o | 22 | dtc-objs += yamltree.o |
| 23 | # To include <yaml.h> installed in a non-default path | ||
| 24 | HOSTCFLAGS_yamltree.o := $(shell pkg-config --cflags yaml-0.1) | ||
| 25 | # To link libyaml installed in a non-default path | ||
| 23 | HOSTLDLIBS_dtc := $(shell pkg-config yaml-0.1 --libs) | 26 | HOSTLDLIBS_dtc := $(shell pkg-config yaml-0.1 --libs) |
| 24 | endif | 27 | endif |
| 25 | 28 | ||