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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 4/1/2022 2:48 AM, Stephen Boyd wrote:
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.


Okay thank you for elaborating,


        &pm8008_bus: &i2c1 {


but this still needs to be "pm8008_bus: &i2c {" right.. no '&' before pm8008_bus.


                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.



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux