完成 #62 » imx415_camera0_.patch
kernel/arch/arm64/boot/dts/rockchip/rk3588/rp-camera-dphy1-imx415.dtsi | ||
---|---|---|
/{
|
||
vcc_camera: vcc-camera-regulator {
|
||
vcc_camera_4: vcc-camera_4-regulator {
|
||
compatible = "regulator-fixed";
|
||
gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||
pinctrl-names = "default";
|
||
pinctrl-0 = <&camera_pwr>;
|
||
regulator-name = "vcc_camera";
|
||
pinctrl-0 = <&camera4_pwr>;
|
||
regulator-name = "vcc_camera4";
|
||
enable-active-high;
|
||
regulator-always-on;
|
||
regulator-boot-on;
|
||
... | ... | |
};
|
||
};
|
||
&pinctrl {
|
||
camera_pwr: camera-pwr {
|
||
camera4_pwr: camera4_pwr {
|
||
rockchip,pins =
|
||
/* camera power en */
|
||
<1 RK_PB2 3 &pcfg_pull_up>;
|