[PATCH 1/2] dt-bindings: thermal: mediatek: Move auxdac binding to yaml
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed May 31 06:08:01 PDT 2023
On 31/05/2023 14:42, Matthias Brugger wrote:
>>> + soc {
>>> + #address-cells = <2>;
>>> + #size-cells = <2>;
>>> +
>>> + auxadc: auxadc at 11001000 {
>>> + compatible = "mediatek,mt8173-auxadc";
>>> + reg = <0 0x11001000 0 0x1000>;
>>> + clocks = <&pericfg CLK_PERI_AUXADC>;
>>> + clock-names = "main";
>>> + #io-channel-cells = <1>;
>>> + };
>>> +
>>> + apmixedsys: clock-controller at 10209000 {
>>> + compatible = "mediatek,mt8173-apmixedsys";
>>> + reg = <0 0x10209000 0 0x1000>;
>>> + #clock-cells = <1>;
>>> + };
>>
>> Drop both examples, not really relevant to thermal. It grows the example
>> with code already documented somewhere else.
>>
>
> auxadc and apmixedsys are no examples. They are referenced by the thermal node
> as described in the binding. Without them the example won't be complete.
>
The example is complete, because you have phandles and that's enough.
the auxadc and apmixedsys have their own examples in their own bindings
- no need to duplicate them here.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list