Re: [PATCH V8 7/7] arm64: dts: qcom: sc7280: Add pm8008 support for sc7280-idp

From: Stephen Boyd
Date: Thu Mar 31 2022 - 17:18:38 EST


Quoting Satya Priya Kakitapalli (Temp) (2022-03-30 03:44:01)
>
> On 3/25/2022 11:18 PM, Stephen Boyd wrote:
> > #include "pm8008.dtsi"
> >
> > and then the nodes below.
>
>
> You mean
>
> pm8008_bus: &i2c1 {
>
>         status = "okay";
>
> };
>
> &pm8008_bus {
>
>     #include "pm8008.dtsi"
>
> };
>
> and remaining nodes, right?
>

No. I meant what I wrote.


&pm8008_bus: &i2c1 {
status = "okay";
};

#include "pm8008.dtsi"

and then the pm8008.dtsi file would have

&pm8008_bus {
pm8008: pmic@8 {
compatible = "qcom,pm8008";
...
};

pm8008_regulators: regulators@9 {
compatible = "qcom,pm8008-regulators";
...
};
};

and then this patch would modify those nodes with phandles.