From: Michael Walle <michael@walle.cc> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Claudiu Beznea <claudiu.beznea@microchip.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Walle <michael@walle.cc> Subject: [PATCH v2 2/2] ARM: dts: kswitch-d10: enable the USB device port Date: Thu, 7 Jul 2022 15:25:00 +0200 [thread overview] Message-ID: <20220707132500.1708020-2-michael@walle.cc> (raw) In-Reply-To: <20220707132500.1708020-1-michael@walle.cc> Now that there is driver support for the USB device, enable it. Signed-off-by: Michael Walle <michael@walle.cc> --- changes since v1: - add pinctrl node, Thanks Claudiu .../boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi b/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi index 5a6c5f7c371a..3eecaa1b7205 100644 --- a/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi +++ b/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi @@ -76,6 +76,12 @@ usart0_pins: usart0-pins { pins = "GPIO_25", "GPIO_26"; function = "fc0_b"; }; + + usbs_a_pins: usbs-a-pins { + /* VBUS_DET */ + pins = "GPIO_66"; + function = "gpio"; + }; }; &mdio0 { @@ -200,6 +206,13 @@ &switch { status = "okay"; }; +&udc { + pinctrl-0 = <&usbs_a_pins>; + pinctrl-names = "default"; + atmel,vbus-gpio = <&gpio 66 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + &watchdog { status = "okay"; }; -- 2.30.2
WARNING: multiple messages have this Message-ID (diff)
From: Michael Walle <michael@walle.cc> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Claudiu Beznea <claudiu.beznea@microchip.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Walle <michael@walle.cc> Subject: [PATCH v2 2/2] ARM: dts: kswitch-d10: enable the USB device port Date: Thu, 7 Jul 2022 15:25:00 +0200 [thread overview] Message-ID: <20220707132500.1708020-2-michael@walle.cc> (raw) In-Reply-To: <20220707132500.1708020-1-michael@walle.cc> Now that there is driver support for the USB device, enable it. Signed-off-by: Michael Walle <michael@walle.cc> --- changes since v1: - add pinctrl node, Thanks Claudiu .../boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi b/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi index 5a6c5f7c371a..3eecaa1b7205 100644 --- a/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi +++ b/arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi @@ -76,6 +76,12 @@ usart0_pins: usart0-pins { pins = "GPIO_25", "GPIO_26"; function = "fc0_b"; }; + + usbs_a_pins: usbs-a-pins { + /* VBUS_DET */ + pins = "GPIO_66"; + function = "gpio"; + }; }; &mdio0 { @@ -200,6 +206,13 @@ &switch { status = "okay"; }; +&udc { + pinctrl-0 = <&usbs_a_pins>; + pinctrl-names = "default"; + atmel,vbus-gpio = <&gpio 66 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + &watchdog { status = "okay"; }; -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-07-07 13:25 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-07 13:24 [PATCH v2 1/2] ARM: dts: lan966x: add clock gating register Michael Walle 2022-07-07 13:24 ` Michael Walle 2022-07-07 13:25 ` Michael Walle [this message] 2022-07-07 13:25 ` [PATCH v2 2/2] ARM: dts: kswitch-d10: enable the USB device port Michael Walle 2022-07-11 7:15 ` Claudiu.Beznea 2022-07-11 7:15 ` Claudiu.Beznea 2022-07-11 7:15 ` [PATCH v2 1/2] ARM: dts: lan966x: add clock gating register Claudiu.Beznea 2022-07-11 7:15 ` Claudiu.Beznea 2022-07-12 7:22 ` Claudiu.Beznea 2022-07-12 7:22 ` Claudiu.Beznea 2022-07-19 13:24 ` Michael Walle 2022-07-19 13:24 ` Michael Walle 2022-07-20 6:52 ` Claudiu.Beznea 2022-07-20 6:52 ` Claudiu.Beznea
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220707132500.1708020-2-michael@walle.cc \ --to=michael@walle.cc \ --cc=alexandre.belloni@bootlin.com \ --cc=claudiu.beznea@microchip.com \ --cc=devicetree@vger.kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=nicolas.ferre@microchip.com \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.