From: Francesco Dolcini <francesco@dolcini.it>
To: Frank Li <Frank.li@nxp.com>
Cc: Francesco Dolcini <francesco@dolcini.it>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Emanuele Ghidoli <emanuele.ghidoli@toradex.com>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Francesco Dolcini <francesco.dolcini@toradex.com>
Subject: Re: [PATCH v1 01/10] arm64: dts: colibri-imx8x: Add usb support
Date: Tue, 27 Aug 2024 00:28:06 +0200 [thread overview]
Message-ID: <Zs0BdnJM536YQd-B@gaggiata.pivistrello.it> (raw)
In-Reply-To: <Zsz+YjOyGoReEqUm@lizhi-Precision-Tower-5810>
On Mon, Aug 26, 2024 at 06:14:58PM -0400, Frank Li wrote:
> On Mon, Aug 26, 2024 at 11:59:13PM +0200, Francesco Dolcini wrote:
> > From: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
> >
> > Add USB HOST and OTG support to Colibri-iMX8X carrier boards.
> >
> > Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
> > Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
> > ---
> > .../dts/freescale/imx8x-colibri-aster.dtsi | 26 +++++++++++++
> > .../dts/freescale/imx8x-colibri-eval-v3.dtsi | 26 +++++++++++++
> > .../dts/freescale/imx8x-colibri-iris.dtsi | 26 +++++++++++++
> > .../boot/dts/freescale/imx8x-colibri.dtsi | 37 +++++++++++++++++--
> > 4 files changed, 111 insertions(+), 4 deletions(-)
...
> > diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
> > index 49d105eb4769..1199e311d6f9 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
> > @@ -23,12 +23,31 @@ key-wakeup {
> > };
> > };
> >
> > + extcon_usbc_det: usbc-det {
> > + compatible = "linux,extcon-usb-gpio";
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_usbc_det>;
> > + id-gpio = <&lsio_gpio5 9 GPIO_ACTIVE_HIGH>;
>
> Not sure if I missed something, CHECK_DTBS report below warning.
>
> arch/arm64/boot/dts/freescale/imx8qxp-colibri-iris.dtb: usbc-det: 'id-gpio' does not match any of the regexes: 'pinctrl-[0-9]+'
> from schema $id: http://devicetree.org/schemas/extcon/linux,extcon-usb-gpio.yaml
This should be `id-gpios`. The binding for "linux,extcon-usb-gpio" was recently
added, and this was not tested on the latest next (my fault), but on shawn imx branch and
the old txt doc documented just `id-gpio`.
We'll fix it. And thanks for catching it.
> > + reg_usbh_vbus: regulator-usbh-vbus {
> > + compatible = "regulator-fixed";
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_usbh1_reg>;
> > + gpio = <&lsio_gpio4 3 GPIO_ACTIVE_LOW>;
> > + regulator-always-on;
>
> Needn't regulator-always-on, because reg_usbh_vbus referece by other node.
Is this an issue? we expect this regulator to be always on, therefore this is
described this way in the DT.
Francesco
next prev parent reply other threads:[~2024-08-26 22:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 21:59 [PATCH v1 00/10] arm64: dts: colibri-imx8x: Various improvements and additions Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 01/10] arm64: dts: colibri-imx8x: Add usb support Francesco Dolcini
2024-08-26 22:14 ` Frank Li
2024-08-26 22:28 ` Francesco Dolcini [this message]
2024-08-27 15:23 ` Frank Li
2024-08-26 21:59 ` [PATCH v1 02/10] arm64: dts: colibri-imx8x: Add analog inputs Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 03/10] arm64: dts: colibri-imx8x: Add fxl6408 gpio expander Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 04/10] arm64: dts: colibri-imx8x: Add sound card Francesco Dolcini
2024-09-01 8:54 ` Shawn Guo
2024-08-26 21:59 ` [PATCH v1 05/10] arm64: dts: colibri-imx8x: Add PMIC thermal zone Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 06/10] arm64: dts: colibri-imx8x: Add USB3803 HUB Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 07/10] arm64: dts: colibri-imx8x: Add vpu support Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 08/10] arm64: dts: colibri-imx8x: Add adma_pwm Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 09/10] arm64: dts: colibri-imx8x: Add 50mhz clock for eth Francesco Dolcini
2024-08-26 21:59 ` [PATCH v1 10/10] arm64: dts: colibri-imx8x: Cleanup comments Francesco Dolcini
2024-08-28 13:11 ` [PATCH v1 00/10] arm64: dts: colibri-imx8x: Various improvements and additions Francesco Dolcini
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=Zs0BdnJM536YQd-B@gaggiata.pivistrello.it \
--to=francesco@dolcini.it \
--cc=Frank.li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=emanuele.ghidoli@toradex.com \
--cc=festevam@gmail.com \
--cc=francesco.dolcini@toradex.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).