From: <cristian.birsan@microchip.com> To: <alexandre.belloni@bootlin.com>, <nicolas.ferre@microchip.com>, <ludovic.desroches@microchip.com>, <robh+dt@kernel.org> Cc: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Cristian Birsan <cristian.birsan@microchip.com> Subject: [PATCH 1/3] ARM: dts: sam9x60: add pincontrol for USB Host Date: Wed, 18 Nov 2020 14:00:17 +0200 [thread overview] Message-ID: <20201118120019.1257580-2-cristian.birsan@microchip.com> (raw) In-Reply-To: <20201118120019.1257580-1-cristian.birsan@microchip.com> From: Cristian Birsan <cristian.birsan@microchip.com> The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without it the driver probes but VBus is not powered because of wrong pincontrol configuration. Fixes: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and board") Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com> --- arch/arm/boot/dts/at91-sam9x60ek.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index eae28b82c7fd..0e3b6147069f 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -569,6 +569,13 @@ pinctrl_usba_vbus: usba_vbus { atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; }; }; + + usb1 { + pinctrl_usb_default: usb_default { + atmel,pins = <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_NONE + AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; + }; + }; }; /* pinctrl */ &pmc { @@ -684,6 +691,8 @@ &usb1 { atmel,vbus-gpio = <0 &pioD 15 GPIO_ACTIVE_HIGH &pioD 16 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_default>; status = "okay"; }; -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: <cristian.birsan@microchip.com> To: <alexandre.belloni@bootlin.com>, <nicolas.ferre@microchip.com>, <ludovic.desroches@microchip.com>, <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org, Cristian Birsan <cristian.birsan@microchip.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] ARM: dts: sam9x60: add pincontrol for USB Host Date: Wed, 18 Nov 2020 14:00:17 +0200 [thread overview] Message-ID: <20201118120019.1257580-2-cristian.birsan@microchip.com> (raw) In-Reply-To: <20201118120019.1257580-1-cristian.birsan@microchip.com> From: Cristian Birsan <cristian.birsan@microchip.com> The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without it the driver probes but VBus is not powered because of wrong pincontrol configuration. Fixes: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and board") Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com> --- arch/arm/boot/dts/at91-sam9x60ek.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index eae28b82c7fd..0e3b6147069f 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -569,6 +569,13 @@ pinctrl_usba_vbus: usba_vbus { atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; }; }; + + usb1 { + pinctrl_usb_default: usb_default { + atmel,pins = <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_NONE + AT91_PIOD 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; + }; + }; }; /* pinctrl */ &pmc { @@ -684,6 +691,8 @@ &usb1 { atmel,vbus-gpio = <0 &pioD 15 GPIO_ACTIVE_HIGH &pioD 16 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_default>; status = "okay"; }; -- 2.25.1 _______________________________________________ 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:[~2020-11-18 12:01 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-18 12:00 [PATCH 0/3] ARM: dts: at91: add pincontrol node for USB Host cristian.birsan 2020-11-18 12:00 ` cristian.birsan 2020-11-18 12:00 ` cristian.birsan [this message] 2020-11-18 12:00 ` [PATCH 1/3] ARM: dts: sam9x60: add pincontrol " cristian.birsan 2020-11-18 12:00 ` [PATCH 2/3] ARM: dts: at91: sama5d4_xplained: " cristian.birsan 2020-11-18 12:00 ` cristian.birsan 2020-11-18 12:00 ` [PATCH 3/3] ARM: dts: at91: sama5d3_xplained: " cristian.birsan 2020-11-18 12:00 ` cristian.birsan 2020-11-18 15:03 ` [PATCH 0/3] ARM: dts: at91: add pincontrol node " Ludovic Desroches 2020-11-18 15:03 ` Ludovic Desroches 2020-11-18 15:26 ` Alexandre Belloni 2020-11-18 15:26 ` Alexandre Belloni 2020-11-18 21:10 ` Ludovic Desroches 2020-11-18 21:10 ` Ludovic Desroches 2020-11-24 11:24 ` Alexandre Belloni 2020-11-24 11:24 ` Alexandre Belloni
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=20201118120019.1257580-2-cristian.birsan@microchip.com \ --to=cristian.birsan@microchip.com \ --cc=alexandre.belloni@bootlin.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=ludovic.desroches@microchip.com \ --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.