gjdwebserver-overlay/sys-kernel/pinephone-pro-sources/files/0058-arm64-dts-rk3399-pinephone-pro-remove-front-camera-n.patch

92 lines
1.9 KiB
Diff
Raw Normal View History

2022-01-15 02:12:55 +01:00
From: Arnaud Ferraris <arnaud.ferraris@gmail.com>
Date: Mon, 3 Jan 2022 19:38:36 +0100
Subject: arm64: dts: rk3399-pinephone-pro: remove front camera nodes
We don't have a driver for it yet.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@gmail.com>
---
.../boot/dts/rockchip/rk3399-pinephone-pro.dts | 51 ----------------------
1 file changed, 51 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
index b63a153..8c9661a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
@@ -825,31 +825,6 @@ wcam_out: endpoint {
};
};
- /* Front-facing camera */
- ucam: camera@3c {
- compatible = "ovti,ov5640";
- reg = <0x3c>;
- pinctrl-names = "default";
- pinctrl-0 = <&ucam_pdn>;
-
- clocks = <&cru SCLK_CIF_OUT>;
- clock-names = "xclk";
-
- DOVDD-supply = <&vcc1v8_dvp>;
- /*XXX: also depends on vcca1v8_codec for I2C bus power */
-
- powerdown-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
- rotation = <180>;
-
- port {
- ucam_out: endpoint {
- remote-endpoint = <&mipi_in_ucam>;
- data-lanes = <1 2>;
- clock-lanes = <0>;
- };
- };
- };
-
// XXX: modem codec supplies:
// - vcc1v8_codec
// - vcca3v0_codec
@@ -1038,32 +1013,10 @@ &mipi_dphy_rx0 {
status = "okay";
};
-&isp1 {
- status = "okay";
-
- ports {
- port@0 {
- mipi_in_ucam: endpoint@0 {
- reg = <0>;
- remote-endpoint = <&ucam_out>;
- data-lanes = <1 2>;
- };
- };
- };
-};
-
&isp0_mmu {
status = "okay";
};
-&isp1_mmu {
- status = "okay";
-};
-
-&mipi_dsi1 {
- status = "okay";
-};
-
&mipi_dsi {
status = "okay";
clock-master;
@@ -1136,10 +1089,6 @@ wcam_rst: wcam-rst {
wcam_pdn: wcam-pdn {
rockchip,pins = <2 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
};
-
- ucam_pdn: ucam-pdn {
- rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
- };
};
fusb302x {