[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2403789.9XhxPE3A7Q@diego>
Date: Tue, 25 Jun 2024 10:25:37 +0200
From: Heiko Stübner <heiko@...ech.de>
To: Krzysztof Kozlowski <krzk@...nel.org>,
"robh@...nel.org" <robh@...nel.org>,
"krzk+dt@...nel.org" <krzk+dt@...nel.org>,
"conor+dt@...nel.org" <conor+dt@...nel.org>,
Jacobe Zang <jacobe.zang@...ion.com>
Cc: Nick Xie <nick@...das.com>,
"efectn@...tonmail.com" <efectn@...tonmail.com>,
"jagan@...eble.ai" <jagan@...eble.ai>,
"dsimic@...jaro.org" <dsimic@...jaro.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-rockchip@...ts.infradead.org" <linux-rockchip@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 1/2] arm64: dts: rockchip: Add USB-C to Khadas Edge 2
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@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
Powered by blists - more mailing lists