Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 866061a1 authored by Tengfei Fan's avatar Tengfei Fan
Browse files

ARM: dts: msm: Fix kernel warning for sm8150



When we compile kernel, we will get some similar warnings as follows:
Warning (reg_format): "reg" property in /fragment@4/__overlay__/
qcom,pm8150l@5/qcom,amoled/oledb@e000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /fragment@35/__overlay__/
qcom,camera-flash@0 has invalid length (8 bytes) (#address-cells
== 2, #size-cells == 1)

To fix these compile warnings, "#address-cells" and "#size-cells"
attributes are added in the necessary location.

Change-Id: I39245c7da4f7075adb49b07b7e52d14a5ef121d4
Signed-off-by: default avatarTengfei Fan <tengfeif@codeaurora.org>
parent 2258de68
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -400,6 +400,9 @@
		};

		pm8150a_amoled: qcom,amoled {
			#address-cells = <1>;
			#size-cells = <1>;

			compatible = "qcom,qpnp-amoled-regulator";
			status = "disabled";

+3 −0
Original line number Diff line number Diff line
@@ -61,6 +61,9 @@
};

&soc {
	#address-cells = <1>;
	#size-cells = <1>;

	refgen: refgen-regulator@88e7000 {
		compatible = "qcom,refgen-regulator";
		reg = <0x88e7000 0x60>;
+3 −0
Original line number Diff line number Diff line
@@ -51,6 +51,9 @@
};

&qupv3_se10_i2c {
	#address-cells = <1>;
	#size-cells = <0>;

	status = "ok";
	asm330@6a {
		compatible = "st,asm330lhh";
+8 −2
Original line number Diff line number Diff line
@@ -62,6 +62,9 @@
};

&qupv3_se15_i2c {
	#address-cells = <1>;
	#size-cells = <0>;

	status = "ok";

	pinctrl-0 = <&qupv3_se15_i2c_active
@@ -119,9 +122,9 @@
		#size-cells = <0>;

		i2c@0 {
			reg = <0>;
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0>;

			anx_7625_1: anx7625@2c {
				compatible = "analogix,anx7625";
@@ -135,9 +138,9 @@
		};

		i2c@1 {
			reg = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <1>;

			anx_7625_2: anx7625@2c {
				compatible = "analogix,anx7625";
@@ -192,6 +195,9 @@
};

&soc {
	#address-cells = <1>;
	#size-cells = <1>;

	dsi_anx_7625_1: qcom,dsi-display@17 {
		label = "dsi_anx_7625_1";
		qcom,dsi-display-active;
+2 −0
Original line number Diff line number Diff line
@@ -803,6 +803,8 @@
			mhi,bhie-offset = <0x0324>;

			mhi_channels {
				#address-cells = <1>;
				#size-cells = <0>;
				mhi_chan@0 {
					reg = <0>;
					label = "LOOPBACK";
Loading