Skip to content

Commit 98bcee2

Browse files
tq-steinadlezcano
authored andcommitted
dt-bindings: imx-thermal: Add #thermal-sensor-cells property
This property is defined in thermal-sensor.yaml. Reference this file and constraint '#thermal-sensor-cells' to 0 for imx-thermal. Fixes the warning: arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dtb: tempmon: '#thermal-sensor-cells' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/thermal/imx-thermal.yaml Signed-off-by: Alexander Stein <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 50ab530 commit 98bcee2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/thermal/imx-thermal.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,19 @@ properties:
6060
clocks:
6161
maxItems: 1
6262

63+
"#thermal-sensor-cells":
64+
const: 0
65+
6366
required:
6467
- compatible
6568
- interrupts
6669
- fsl,tempmon
6770
- nvmem-cells
6871
- nvmem-cell-names
6972

73+
allOf:
74+
- $ref: thermal-sensor.yaml#
75+
7076
additionalProperties: false
7177

7278
examples:
@@ -104,5 +110,6 @@ examples:
104110
nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
105111
nvmem-cell-names = "calib", "temp_grade";
106112
clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>;
113+
#thermal-sensor-cells = <0>;
107114
};
108115
};

0 commit comments

Comments
 (0)