[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aGWx5-XvdhpLdXEC@kernel.org>
Date: Thu, 3 Jul 2025 01:25:43 +0300
From: Jarkko Sakkinen <jarkko@...nel.org>
To: Qunqin Zhao <zhaoqunqin@...ngson.cn>
Cc: Huacai Chen <chenhuacai@...nel.org>, Lee Jones <lee@...nel.org>,
herbert@...dor.apana.org.au, linux-kernel@...r.kernel.org,
loongarch@...ts.linux.dev, davem@...emloft.net,
linux-crypto@...r.kernel.org, peterhuewe@....de, jgg@...pe.ca,
linux-integrity@...r.kernel.org,
Yinggang Gu <guyinggang@...ngson.cn>,
Huacai Chen <chenhuacai@...ngson.cn>
Subject: Re: [PATCH v11 3/4] tpm: Add a driver for Loongson TPM device
On Fri, Jun 27, 2025 at 02:46:11PM +0800, Qunqin Zhao wrote:
>
> 在 2025/6/27 上午2:29, Jarkko Sakkinen 写道:
> > On Thu, Jun 26, 2025 at 08:48:35PM +0800, Huacai Chen wrote:
> > > But there is another coherency, you can see this in the 1st patch:
> > >
> > > +static const struct mfd_cell engines[] = {
> > > + { .name = "loongson-rng" },
> > > + { .name = "loongson-tpm" },
> > > +};
> > I thought already after ffa driver from ARM that I need to fix up
> > the naming a bit before it explodes. Thus, I'll stick to this.
> >
> > And e.g., I could easily find DRM driver with opposite order.
> Next revision:
>
> +static const struct mfd_cell engines[] = {
> + { .name = "loongson-rng" },
> + { .name = "tpm_loongson" },
> +};
> Then
> "loongson-rng" can match MFD and Crypto subsystem naming convention.
> "tpm_loongson" can match TPM subsystem naming convention.
Great, this works for me. Thank you, appreciate it!
>
>
> Thanks,
> Qunqin
>
> > > Huacai
> > BR, Jarkko
>
BR, Jarkko
Powered by blists - more mailing lists