[PATCH 1/2 v6] ARM: dts: add XOADC and IIO HWMON to MSM8660/APQ8060

Linus Walleij linus.walleij at linaro.org
Sun May 14 00:20:57 PDT 2017


On Sun, May 14, 2017 at 5:31 AM, Bjorn Andersson
<bjorn.andersson at linaro.org> wrote:
> On Sat 13 May 07:15 PDT 2017, Linus Walleij wrote:
>
>> +                             xoadc: xoadc at 197 {
>> +                                     compatible = "qcom,pm8058-adc";
>> +                                     reg = <0x197>;
>> +                                     interrupts-extended = <&pm8058 76 IRQ_TYPE_EDGE_RISING>;
>> +                                     #address-cells = <2>;
>> +                                     #size-cells = <0>;
>> +                                     #io-channel-cells = <2>;
>> +
>> +                                     vcoin: adc-channel at 00 {
>
> Is it possible to reference these nodes directly? Regardless they make
> the dts human readable, so I'm fine either way.

The alias is there to make it human readable, indeed.

> Acked-by: Bjorn Andersson <bjorn.andersson at linaro.org>

Thanks!

Linus



More information about the linux-arm-kernel mailing list