put mipi_tx in board dts for easy configuration

Signed-off-by: carbon <carbon@milkv.io>
This commit is contained in:
carbon
2024-06-21 21:58:21 +08:00
parent 4b40bec094
commit 2a4f028a4d
2 changed files with 17 additions and 0 deletions

View File

@ -16,3 +16,12 @@
/delete-property/ mute-gpio-l;
/delete-property/ mute-gpio-r;
};
/* mipi dsi for kernel */
&mipi_tx {
compatible = "cvitek,mipi_tx";
reset-gpio = <&porte 2 GPIO_ACTIVE_LOW>;
pwm-gpio = <&porte 0 GPIO_ACTIVE_HIGH>;
power-ct-gpio = <&porte 1 GPIO_ACTIVE_HIGH>;
status = "okay";
};

View File

@ -13,3 +13,11 @@
/delete-property/ mute-gpio-r;
};
/* mipi dsi for kernel */
&mipi_tx {
compatible = "cvitek,mipi_tx";
reset-gpio = <&porte 2 GPIO_ACTIVE_LOW>;
pwm-gpio = <&porte 0 GPIO_ACTIVE_HIGH>;
power-ct-gpio = <&porte 1 GPIO_ACTIVE_HIGH>;
status = "okay";
};