Commit e5aa8e06 authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

arm64: dts: imx8mq-librem5: selfie cam fixes

according to the driver changes from
https://lore.kernel.org/linux-media/20210607105213.1211722-4-martin.kepplinger@puri.sm/T/#u

the XSHUTDOWN pin is now correctly handled as a gpio just like the RESETB line.
parent 6bca833b
Pipeline #68471 passed with stage
in 63 minutes and 54 seconds
......@@ -25,17 +25,6 @@ smc-boot {
default-state = "off";
};
};
reg_camera1_pwr_en: regulator-camera1-pwr-en {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_r3_camera_pwr>;
regulator-name = "CAMERA1_PWR_EN";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio5 4 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
&accel_gyro {
......@@ -53,7 +42,8 @@ &bq25895 {
};
&camera_front {
vdd1-supply = <&reg_camera1_pwr_en>;
pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>;
shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
};
/delete-node/ &dcss_dsi_out;
......
......@@ -1308,17 +1308,18 @@ codec: audio-codec@1a {
>;
};
/* SKHynix YACG4D0C9SHC - 8MP Front-Facing Camera */
camera_front: camera1@20 {
camera_front: camera@20 {
compatible = "hynix,hi846";
reg = <0x20>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi1>;
clocks = <&clk IMX8MQ_CLK_CLKO2>;
clock-names = "mclk";
reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
vdd-supply = <&reg_camera_pwr_en>;
vddio-supply = <&reg_camera_pwr_en>;
vdda-supply = <&reg_camera_pwr_en>;
vddd-supply = <&reg_camera_pwr_en>;
status = "okay";
port {
camera1_ep: endpoint {
data-lanes = <1 2>;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment