diff options
author | 2020-05-12 15:45:43 -0500 | |
---|---|---|
committer | 2020-05-14 14:43:27 -0500 | |
commit | fba5618451d2b3af5e55f8af5ce9c5d3677ad9c4 (patch) | |
tree | eb7b2e3f31c660bb1a332028319639a80a4e062b /Documentation/devicetree/bindings/thermal/sprd-thermal.yaml | |
parent | dt-bindings: ufs: ti: Add missing 'additionalProperties: false' (diff) | |
download | wireguard-linux-fba5618451d2b3af5e55f8af5ce9c5d3677ad9c4.tar.xz wireguard-linux-fba5618451d2b3af5e55f8af5ce9c5d3677ad9c4.zip |
dt-bindings: Fix incorrect 'reg' property sizes
The examples template is a 'simple-bus' with a size of 1 cell for
had between 2 and 4 cells which really only errors on I2C or SPI type
devices with a single cell.
The easiest fix in most cases is to change the 'reg' property to for 1 cell
address and size. In some cases with child devices having 2 cells, that
doesn't make sense so a bus node is needed.
Acked-by: Stephen Boyd <sboyd@kernel.org> # clk
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/sprd-thermal.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/thermal/sprd-thermal.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml index 058c4cc06ba6..af2ff930646a 100644 --- a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml @@ -83,7 +83,7 @@ examples: - | ap_thm0: thermal@32200000 { compatible = "sprd,ums512-thermal"; - reg = <0 0x32200000 0 0x10000>; + reg = <0x32200000 0x10000>; clock-names = "enable"; clocks = <&aonapb_gate 32>; #thermal-sensor-cells = <1>; |