The Google GS101 Thermal Management Unit (TMU) is a child device of the ACPM (Alive Clock and Power Manager) block, as it relies on the ACPM protocol for configuration and initialization.
Update the ACPM binding to include the thermal-sensor child node. Signed-off-by: Tudor Ambarus <[email protected]> --- .../bindings/firmware/google,gs101-acpm-ipc.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml b/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml index d3bca6088d128485618bb2b538ed8596b4ba14f0..4043a6453a9897b9e1d0e618489f79c19f32f247 100644 --- a/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml +++ b/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml @@ -52,6 +52,15 @@ properties: are used for passing messages to/from the ACPM firmware. maxItems: 1 + thermal-sensor: + description: Child node describing a Thermal Management Unit instance. + type: object + additionalProperties: true + + properties: + compatible: + const: google,gs101-tmu-top + required: - compatible - "#clock-cells" @@ -93,4 +102,12 @@ examples: }; }; }; + + thermal-sensor { + compatible = "google,gs101-tmu-top"; + clocks = <&cmu_misc 71>; + interrupts = <0 769 4 0>; + syscon = <&tmu_top_syscon>; + #thermal-sensor-cells = <1>; + }; }; -- 2.52.0.457.g6b5491de43-goog
