Skip to content

Commit e5e3e25

Browse files
flamingradian6by9
authored andcommitted
arm64: dts: qcom: sdm670: label the camss ports instead of endpoints
Endpoints cannot be pre-defined since commit dcf6fb8 ("media: qcom: camss: remove a check for unavailable CAMSS endpoint") was applied, probing all endpoint nodes and requiring them to have a remote. There is no sensible remote in the SoC devicetree because camera sensors are board-specific. The ports are meant to be extended by a board devicetree in order to define fully configured endpoints and connect the ports to camera sensors. For nodes that are only meaningful if extended, labels are usually assigned. Label these ports so they can be extended directly. Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Richard Acayan <mailingradian@gmail.com>
1 parent 47bfe30 commit e5e3e25

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

arch/arm64/boot/dts/qcom/sdm670.dtsi

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,28 +1766,16 @@
17661766
#address-cells = <1>;
17671767
#size-cells = <0>;
17681768

1769-
port@0 {
1769+
camss_port0: port@0 {
17701770
reg = <0>;
1771-
1772-
camss_endpoint0: endpoint {
1773-
status = "disabled";
1774-
};
17751771
};
17761772

1777-
port@1 {
1773+
camss_port1: port@1 {
17781774
reg = <1>;
1779-
1780-
camss_endpoint1: endpoint {
1781-
status = "disabled";
1782-
};
17831775
};
17841776

1785-
port@2 {
1777+
camss_port2: port@2 {
17861778
reg = <2>;
1787-
1788-
camss_endpoint2: endpoint {
1789-
status = "disabled";
1790-
};
17911779
};
17921780
};
17931781
};

0 commit comments

Comments
 (0)