Code: Select all
sc030iot: sc030iot@30 {
compatible = "smartsens,SC301IOT";
status = "okay";
reg = <0x30>;
clocks = <&cru MCLK_REF_MIPI0>;
clock-names = "xvclk";
pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "SC030IoT";
rockchip,camera-module-lens-name = "LensName";
port {
sc030iot_out: endpoint {
remote-endpoint = <&csi_dphy_input3>;
data-lanes = <1 2>;
};
};
};
ports里配置如下
Code: Select all
csi_dphy_input3: endpoint@3 {
reg = <3>;
remote-endpoint = <&sc030iot_out>;
data-lanes = <1 2>;
};
Code: Select all
SC301IOT 4-0030: driver version: 00.01.00
SC301IOT 4-0030: sync_mode = [NO_SYNC_MODE]
SC301IOT 4-0030: no pinctrl
SC301IOT 4-0030: supply avdd not found, using dummy regulator
SC301IOT 4-0030: supply dovdd not found, using dummy regulator
SC301IOT 4-0030: supply dvdd not found, using dummy regulator
SC301IOT 4-0030: Unexpected chip id(0x0000), ret(-5)