Skip to content

Instantly share code, notes, and snippets.

@amazingfate
Last active July 12, 2022 12:01
Show Gist options
  • Save amazingfate/69bdcd44ec6e23de4e5613f719892309 to your computer and use it in GitHub Desktop.
Save amazingfate/69bdcd44ec6e23de4e5613f719892309 to your computer and use it in GitHub Desktop.
rk3588-pd-definations.dts: PDO sink definations with 5V3A, 9V3A, 12V3A, 15V3A, 20V2.25A; rk3588-typec-dp.dts: make typec output dp0
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&i2c4>;
__overlay__ {
usbc0: fusb302@22 {
usb_con: connector {
sink-pdos = <0x401912c 0x402d12c 0x403c12c 0x404b12c 0x40640e1>;
};
};
};
};
};
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&hdmi0_in_vp1>;
__overlay__ {
status = "disabled";
};
};
fragment@1 {
target = <&dp0>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&dp0_in_vp0>;
__overlay__ {
status = "disabled";
};
};
fragment@3 {
target = <&dp0_in_vp1>;
__overlay__ {
status = "okay";
};
};
fragment@4 {
target = <&route_dp0>;
__overlay__ {
status = "okay";
connect = <&vp1_out_dp0>;
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment