Skip to content

Instantly share code, notes, and snippets.

@chronopoulos
Last active December 8, 2023 15:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chronopoulos/382b1752ce9b44a2782afcefd116ba48 to your computer and use it in GitHub Desktop.
Save chronopoulos/382b1752ce9b44a2782afcefd116ba48 to your computer and use it in GitHub Desktop.
tc358743-overlay.dts
/dts-v1/;
/plugin/;
/{
compatible = "rockchip,rockpi","rockchip,rk3399";
fragment@0 {
target = <&i2c4>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
tc358743@0f {
compatible = "toshiba,tc358743";
reg = <0x0f>;
clocks = <&hdmi_osc>;
clock-names = "refclk";
//reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>;
interrupt-parent = <&gpio2>;
//interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
port {
tc358743_out: endpoint {
remote-endpoint = <&mipi_csi2_in>;
data-lanes = <1 2>;
clock-lanes = <0>;
clock-noncontinuous;
link-frequencies = /bits/ 64 <297000000>;
};
};
};
};
};
};
@chaohsuanhsueh
Copy link

chaohsuanhsueh commented Nov 10, 2021

Hi, Mr chronopoulos
I use this tc358743-overlay.dts to add overlay to rock-pi-4b, by the command "sudo armbian-add-overlay tc358743-overlay.dts".
but still fail to use /dev/video after reboot & modprobe tc358743. The OS cannot auto load the tc358743. I use Armbian-rock-4b-5.10-xfce image to do that.
Could you kindly please advise me, is there any other thing i need to do more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment