Skip to contentSkip to conversation

Remove clock-lanes DT property from device trees

PATCH Applied Robert Foss 2 participants 4 messages Dec 6, 2021 – Feb 1, 2022

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

v4 cover Remove clock-lanes DT property from device trees

This series depends on the below series being merged.
https://lore.kernel.org/all/[email protected]/

Changes since v3:
- Bjorn: Added RBs for both patches
- Split series into two series for the ARM64 & Media trees

Changes since v2:
- Stephan: Rebased on v5.16-rc1
- Stephan: Fixed 3/4 commit message title

Changes since v1:
- Rob: Instead of documenting and fixing the use of the clock-lanes property, remove it, since it is is not programmable and therefore shouldn't be exposed in the DT.

Robert Foss (2):
arm64: dts: qcom: apq8016-sbc: Remove clock-lanes property from &camss
node
arm64: dts: qcom: sdm845-db845c: Remove clock-lanes property from
&camss node

 arch/arm64/boot/dts/qcom/apq8016-sbc.dts   | 2 --
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 3 ---
 2 files changed, 5 deletions(-)
Signature · 1 line
2.32.0
#1 lore raw

PATCH v4 1/2 arm64: dts: qcom: apq8016-sbc: Remove clock-lanes property from &camss node

The clock-lanes property is no longer used as it is not programmable by the CSIPHY hardware block of Qcom ISPs and should be removed.

---
 arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/qcom/apq8016-sbc.dts +0 -2
index a5320d6d30e7..b7a578aafcbb 100644
@@ -253,7 +253,6 @@ ports {
 		port@0 {
 			reg = <0>;
 			csiphy0_ep: endpoint {
-				clock-lanes = <1>;
 				data-lanes = <0 2>;
 				remote-endpoint = <&ov5640_ep>;
 				status = "okay";
@@ -289,7 +288,6 @@ camera_rear@3b {
 
 		port {
 			ov5640_ep: endpoint {
-				clock-lanes = <1>;
 				data-lanes = <0 2>;
 				remote-endpoint = <&csiphy0_ep>;
 			};
Signature · 1 line
2.32.0
#2 lore raw

PATCH v4 2/2 arm64: dts: qcom: sdm845-db845c: Remove clock-lanes property from &camss node

In reply to Robert Foss

The clock-lanes property is no longer used as it is not programmable by the CSIPHY hardware block of Qcom ISPs and should be removed.

---
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 3 ---
 1 file changed, 3 deletions(-)
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +0 -3
index 13f80a0b6faa..2cf4b932aee2 100644
@@ -1125,7 +1125,6 @@ ports {
 		port@0 {
 			reg = <0>;
 			csiphy0_ep: endpoint {
-				clock-lanes = <7>;
 				data-lanes = <0 1 2 3>;
 				remote-endpoint = <&ov8856_ep>;
 			};
@@ -1166,7 +1165,6 @@ camera@10 {
 
 		port {
 			ov8856_ep: endpoint {
-				clock-lanes = <1>;
 				link-frequencies = /bits/ 64
 					<360000000 180000000>;
 				data-lanes = <1 2 3 4>;
@@ -1211,7 +1209,6 @@ camera@60 {
 
 		port {
 			ov7251_ep: endpoint {
-				clock-lanes = <1>;
 				data-lanes = <0 1>;
 //				remote-endpoint = <&csiphy3_ep>;
 			};
Signature · 1 line
2.32.0
#3 lore raw
In reply to Robert Foss
Quoted 8 lines · Robert Foss

This series depends on the below series being merged.
https://lore.kernel.org/all/[email protected]/

Changes since v3:
- Bjorn: Added RBs for both patches
- Split series into two series for the ARM64 & Media trees

[...]

Applied, thanks!

[1/2] arm64: dts: qcom: apq8016-sbc: Remove clock-lanes property from &camss node

      commit: 015bbdd314110ad20d440bec4d8483f73f4a8b58
[2/2] arm64: dts: qcom: sdm845-db845c: Remove clock-lanes property from &camss node
      commit: 6bf3c1895f5848977ab3912eb76fd996bc4d2768

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>