All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo2@yeah.net>
To: Francesco Dolcini <francesco@dolcini.it>
Cc: Vitor Soares <ivitro@gmail.com>, 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>,
	Vitor Soares <vitor.soares@toradex.com>,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] arm64: dts: imx8mm-verdin: add TPM device
Date: Thu, 27 Jun 2024 14:57:48 +0800	[thread overview]
Message-ID: <Zn0NbIvFdfpMPHAx@dragon> (raw)
In-Reply-To: <20240617071842.GA4832@francesco-nb>

On Mon, Jun 17, 2024 at 09:18:42AM +0200, Francesco Dolcini wrote:
> Hello Shawn,
> 
> On Mon, Jun 17, 2024 at 10:33:50AM +0800, Shawn Guo wrote:
> > On Thu, Jun 13, 2024 at 02:41:50PM +0100, Vitor Soares wrote:
> > > From: Vitor Soares <vitor.soares@toradex.com>
> > > 
> > > Add TPM device found on Verdin iMX8M Mini PID4 0090 variant.
> > > 
> > > Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
> > > ---
> > >  arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 16 +++++++++++-----
> > >  1 file changed, 11 insertions(+), 5 deletions(-)
> > > 
> > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
> > > index 4768b05fd765..c9ae5f0bb526 100644
> > > --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
> > > +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
> > > @@ -227,15 +227,16 @@ &ecspi2 {
> > >  	pinctrl-0 = <&pinctrl_ecspi2>;
> > >  };
> > >  
> > > -/* Verdin CAN_1 (On-module) */
> > > +/* On-module SPI */
> > >  &ecspi3 {
> > >  	#address-cells = <1>;
> > >  	#size-cells = <0>;
> > > -	cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
> > > +	cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>, <&gpio4 19 GPIO_ACTIVE_LOW>;
> > >  	pinctrl-names = "default";
> > > -	pinctrl-0 = <&pinctrl_ecspi3>;
> > > +	pinctrl-0 = <&pinctrl_ecspi3>, <&pinctrl_pmic_tpm_ena>;
> > 
> > Would it make more sense to have tpm pinctrl in node tpm@1 below?
> It's the pinctrl of the SPI Chip Select pin, not something about the
> TPM, I think it's correct to have it into the ecspi node.

The name pinctrl_pmic_tpm_ena seems confusing then.

Shawn


  reply	other threads:[~2024-06-27  6:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 13:41 [PATCH v1] arm64: dts: imx8mm-verdin: add TPM device Vitor Soares
2024-06-17  2:33 ` Shawn Guo
2024-06-17  7:18   ` Francesco Dolcini
2024-06-27  6:57     ` Shawn Guo [this message]
2024-06-27  7:10       ` Francesco Dolcini
2024-06-27  9:25         ` Vitor Soares

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=Zn0NbIvFdfpMPHAx@dragon \
    --to=shawnguo2@yeah.net \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=francesco@dolcini.it \
    --cc=imx@lists.linux.dev \
    --cc=ivitro@gmail.com \
    --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 \
    --cc=vitor.soares@toradex.com \
    /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 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.