[PATCH v4 1/2] arm64: dts: rockchip: Add USB-C to Khadas Edge 2
Heiko Stübner
heiko at sntech.de
Tue Jun 25 01:25:37 PDT 2024
Am Dienstag, 25. Juni 2024, 09:53:45 CEST schrieb Jacobe Zang:
> > Was it disabled anywhere?
>
> This patch aims to enable the DRD function of Type-C port. So need to enable in DTS.
> + usbc0: usb-typec at 22 {
> + compatible = "fcs,fusb302";
> + reg = <0x22>;
> + interrupt-parent = <&gpio1>;
> + interrupts = <RK_PB5 IRQ_TYPE_LEVEL_LOW>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&usbc0_int>;
> + vbus-supply = <&vbus5v0_typec>;
> + status = "okay";
what Krzysztof means, is that the default for status is "okay". So for a
node you just added, you don't need a separate status="okay"
This is only needed if the node is added in a base dtsi (like soc
peripherals) which are then enabled on a per-board basis as needed.
So please just drop the status property from you fusb302 node.
Heiko
More information about the Linux-rockchip
mailing list