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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties'

In cases where we don't reference another schema, 'additionalProperties'
can be used instead. This is preferred for now as 'unevaluatedProperties'
support isn't implemented yet.

In a few cases, this means adding some missing property definitions of
which most are for SPI bus properties. 'unevaluatedProperties' is not going
to work for the SPI bus properties anyways as they are evaluated from the
parent node, not the SPI child node.

Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201005183830.486085-3-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

+82 -27
+5 -1
Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
··· 134 134 "#reset-cells": 135 135 const: 1 136 136 137 - unevaluatedProperties: false 137 + clocks: true 138 + 139 + clock-names: true 140 + 141 + additionalProperties: false 138 142 139 143 required: 140 144 - compatible
+1 -1
Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
··· 101 101 clock-names: 102 102 const: ref_clk 103 103 104 - unevaluatedProperties: false 104 + additionalProperties: false 105 105 106 106 required: 107 107 - compatible
+1 -1
Documentation/devicetree/bindings/clock/imx8m-clock.yaml
··· 96 96 - const: clk_ext3 97 97 - const: clk_ext4 98 98 99 - unevaluatedProperties: false 99 + additionalProperties: false 100 100 101 101 examples: 102 102 # Clock Control Module node:
+2 -2
Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
··· 79 79 minimum: 0 80 80 maximum: 7130 81 81 82 - unevaluatedProperties: false 82 + additionalProperties: false 83 83 84 84 required: 85 85 - compatible ··· 99 99 100 100 interrupts = <GIC_SHARED 31 IRQ_TYPE_LEVEL_HIGH>; 101 101 102 - baikal,pvt-temp-trim-millicelsius = <1000>; 102 + baikal,pvt-temp-offset-millicelsius = <1000>; 103 103 104 104 clocks = <&ccu_sys>, <&ccu_sys>; 105 105 clock-names = "ref", "pclk";
+3 -1
Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
··· 25 25 interrupts: 26 26 maxItems: 1 27 27 28 + spi-max-frequency: true 29 + 28 30 required: 29 31 - compatible 30 32 - reg 31 33 - interrupts 32 34 33 - unevaluatedProperties: false 35 + additionalProperties: false 34 36 35 37 examples: 36 38 - |
+3 -1
Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
··· 32 32 33 33 spi-cpol: true 34 34 35 + spi-max-frequency: true 36 + 35 37 interrupts: 36 38 maxItems: 1 37 39 ··· 42 40 - reg 43 41 - interrupts 44 42 45 - unevaluatedProperties: false 43 + additionalProperties: false 46 44 47 45 examples: 48 46 - |
+3 -1
Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml
··· 25 25 interrupts: 26 26 maxItems: 1 27 27 28 + spi-max-frequency: true 29 + 28 30 required: 29 31 - compatible 30 32 - reg 31 33 - interrupts 32 34 33 - unevaluatedProperties: false 35 + additionalProperties: false 34 36 35 37 examples: 36 38 - |
+3 -1
Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
··· 52 52 avdd-supply: 53 53 description: avdd supply can be used as reference for conversion. 54 54 55 + spi-max-frequency: true 56 + 55 57 required: 56 58 - compatible 57 59 - reg ··· 110 108 - reg 111 109 - diff-channels 112 110 113 - unevaluatedProperties: false 111 + additionalProperties: false 114 112 115 113 examples: 116 114 - |
+3 -1
Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
··· 30 30 31 31 spi-cpha: true 32 32 33 + spi-max-frequency: true 34 + 33 35 clocks: 34 36 maxItems: 1 35 37 description: phandle to the master clock (mclk) ··· 94 92 - spi-cpol 95 93 - spi-cpha 96 94 97 - unevaluatedProperties: false 95 + additionalProperties: false 98 96 99 97 examples: 100 98 - |
+3 -1
Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
··· 30 30 31 31 spi-cpha: true 32 32 33 + spi-max-frequency: true 34 + 33 35 '#address-cells': 34 36 const: 1 35 37 ··· 65 63 required: 66 64 - reg 67 65 68 - unevaluatedProperties: false 66 + additionalProperties: false 69 67 70 68 examples: 71 69 - |
+5 -1
Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
··· 31 31 32 32 spi-cpha: true 33 33 34 + spi-cpol: true 35 + 36 + spi-max-frequency: true 37 + 34 38 avcc-supply: true 35 39 36 40 interrupts: ··· 106 102 - interrupts 107 103 - adi,conversion-start-gpios 108 104 109 - unevaluatedProperties: false 105 + additionalProperties: false 110 106 111 107 examples: 112 108 - |
+3 -1
Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
··· 43 43 '#size-cells': 44 44 const: 0 45 45 46 + spi-max-frequency: true 47 + 46 48 required: 47 49 - compatible 48 50 - reg 49 51 50 - unevaluatedProperties: false 52 + additionalProperties: false 51 53 52 54 examples: 53 55 - |
+3 -1
Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml
··· 39 39 thus enabling power-down mode. 40 40 maxItems: 1 41 41 42 + spi-max-frequency: true 43 + 42 44 required: 43 45 - compatible 44 46 - reg 45 47 - vdd-supply 46 48 - vref-supply 47 49 48 - unevaluatedProperties: false 50 + additionalProperties: false 49 51 50 52 examples: 51 53 - |
+9 -1
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
··· 49 49 asserted during driver probe. 50 50 maxItems: 1 51 51 52 + spi-max-frequency: true 53 + 54 + '#address-cells': 55 + const: 1 56 + 57 + '#size-cells': 58 + const: 0 59 + 52 60 channel@0: 53 61 description: Represents an external channel which are 54 62 connected to the DAC. Channel 0 can act both as a current ··· 138 130 - channel@4 139 131 - channel@5 140 132 141 - unevaluatedProperties: false 133 + additionalProperties: false 142 134 143 135 examples: 144 136 - |
+3 -1
Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
··· 40 40 output stage will shut down until the ADF4371/ADF4372 achieves lock as 41 41 measured by the digital lock detect circuitry. 42 42 43 + spi-max-frequency: true 44 + 43 45 required: 44 46 - compatible 45 47 - reg 46 48 - clocks 47 49 - clock-names 48 50 49 - unevaluatedProperties: false 51 + additionalProperties: false 50 52 51 53 examples: 52 54 - |
+3 -1
Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml
··· 25 25 26 26 spi-cpol: true 27 27 28 + spi-max-frequency: true 29 + 28 30 interrupts: 29 31 maxItems: 1 30 32 ··· 35 33 - reg 36 34 - interrupts 37 35 38 - unevaluatedProperties: false 36 + additionalProperties: false 39 37 40 38 examples: 41 39 - |
+1 -1
Documentation/devicetree/bindings/iio/imu/adi,adis16475.yaml
··· 116 116 dependencies: 117 117 adi,sync-mode: [ clocks ] 118 118 119 - unevaluatedProperties: false 119 + additionalProperties: false 120 120 121 121 examples: 122 122 - |
+3 -1
Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml
··· 46 46 mount-matrix: 47 47 description: an optional 3x3 mounting rotation matrix 48 48 49 + spi-max-frequency: true 50 + 49 51 required: 50 52 - compatible 51 53 - reg 52 54 53 - unevaluatedProperties: false 55 + additionalProperties: false 54 56 55 57 examples: 56 58 - |
+3 -1
Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
··· 36 36 drive-open-drain: 37 37 type: boolean 38 38 39 + spi-max-frequency: true 40 + 39 41 required: 40 42 - compatible 41 43 - reg 42 44 43 - unevaluatedProperties: false 45 + additionalProperties: false 44 46 45 47 examples: 46 48 - |
+1 -1
Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
··· 95 95 96 96 additionalProperties: false 97 97 98 - unevaluatedProperties: false 98 + additionalProperties: false 99 99 100 100 required: 101 101 - compatible
+9 -1
Documentation/devicetree/bindings/mfd/cirrus,lochnagar.yaml
··· 130 130 type: object 131 131 $ref: /schemas/pinctrl/cirrus,lochnagar.yaml# 132 132 133 + lochnagar-hwmon: 134 + type: object 135 + $ref: /schemas/hwmon/cirrus,lochnagar.yaml# 136 + 137 + lochnagar-sc: 138 + type: object 139 + $ref: /schemas/sound/cirrus,lochnagar.yaml# 140 + 133 141 VDDCORE: 134 142 description: 135 143 Initialisation data for the VDDCORE regulator, which supplies the ··· 257 249 - lochnagar-clk 258 250 - lochnagar-pinctrl 259 251 260 - unevaluatedProperties: false 252 + additionalProperties: false 261 253 262 254 examples: 263 255 - |
+4 -1
Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml
··· 30 30 - const: syscon 31 31 - const: simple-mfd 32 32 33 + reg: 34 + maxItems: 1 35 + 33 36 "#address-cells": 34 37 const: 1 35 38 ··· 57 54 - "#size-cells" 58 55 - ranges 59 56 60 - unevaluatedProperties: false 57 + additionalProperties: false 61 58 62 59 examples: 63 60 - |
+3 -1
Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml
··· 28 28 description: GPIO uspecifier of the CMD pin 29 29 maxItems: 1 30 30 31 + spi-cpha: true 32 + 31 33 required: 32 34 - compatible 33 35 - cmd-gpios 34 36 35 - unevaluatedProperties: false 37 + additionalProperties: false 36 38 37 39 examples: 38 40 - |
+3 -1
Documentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml
··· 31 31 Documentation/devicetree/bindings/nvmem/nvmem.txt and also 32 32 examples below. 33 33 34 + opp-shared: true 35 + 34 36 required: 35 37 - compatible 36 38 - nvmem-cells ··· 55 53 56 54 unevaluatedProperties: false 57 55 58 - unevaluatedProperties: false 56 + additionalProperties: false 59 57 60 58 examples: 61 59 - |
+1 -1
Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml
··· 47 47 required: 48 48 - compatible 49 49 50 - unevaluatedProperties: false 50 + additionalProperties: false 51 51 52 52 examples: 53 53 - |
+1 -1
Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml
··· 45 45 frequency in HZ, but is defined only for the backwards compatibility 46 46 with the picoxcell platform. 47 47 48 - unevaluatedProperties: false 48 + additionalProperties: false 49 49 50 50 required: 51 51 - compatible