Skip to contentSkip to conversation

arm64: dts: qcom: msm8996: Add VFE1_GDSC power domain to camss node

PATCH In review Robert Foss 2 participants 2 messages Sep 15, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: msm8996: Add VFE1_GDSC power domain to camss node

As the MSM8996 has two VFE IP-blocks, and each has a power domain, both of them have to be enabled. Previously only the power domain of VFE0 was enabled, but not the domain for VFE1.

This patch adds the VFE1_GDSC power domain to the camss device tree node of the MSM8996 soc.

---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +2 -1
index 9951286db775..df6e1b246a19 100644
@@ -1009,7 +1009,8 @@ camss: camss@a00000 {
 				"ispif",
 				"vfe0",
 				"vfe1";
-			power-domains = <&mmcc VFE0_GDSC>;
+			power-domains = <&mmcc VFE0_GDSC>,
+				<&mmcc VFE1_GDSC>;
 			clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
 				<&mmcc CAMSS_ISPIF_AHB_CLK>,
 				<&mmcc CAMSS_CSI0PHYTIMER_CLK>,
Signature · 1 line
2.25.1
#1 lore raw
Quoted 17 lines · Robert Foss

As the MSM8996 has two VFE IP-blocks, and each has a power domain, both of them have to be enabled. Previously only the power domain of VFE0 was enabled, but not the domain for VFE1.

This patch adds the VFE1_GDSC power domain to the camss device tree node of the MSM8996 soc.

---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +0 -0
index 9951286db775..df6e1b246a19 100644

arch/arm64/boot/dts/qcom/msm8996.dtsi camss: camss@a00000 { · line 1013

Quoted 6 lines
arch/arm64/boot/dts/qcom/msm8996.dtsi +2 -1
@@ -1009,7 +1009,8 @@ camss: camss@a00000 {
 				"ispif",
 				"vfe0",
 				"vfe1";
-			power-domains = <&mmcc VFE0_GDSC>;
+			power-domains = <&mmcc VFE0_GDSC>,
+				<&mmcc VFE1_GDSC>;

Fixed the indentation and applied this.

Thanks,
Bjorn

Quoted 6 lines
arch/arm64/boot/dts/qcom/msm8996.dtsi +0 -0
 			clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
 				<&mmcc CAMSS_ISPIF_AHB_CLK>,
 				<&mmcc CAMSS_CSI0PHYTIMER_CLK>,
Signature · 1 line
2.25.1