public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Hahn <B.Hahn@phytec.de>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	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>,
	Teresa Remmet <T.Remmet@phytec.de>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"imx@lists.linux.dev" <imx@lists.linux.dev>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] arm64: dts: freescale: imx8mp-phyboard-pollux: Add and enable TPM
Date: Fri, 9 Aug 2024 07:11:14 +0000	[thread overview]
Message-ID: <6e511f04-7f93-49ad-8cf7-336a6bac7d31@phytec.de> (raw)
In-Reply-To: <311d8a95-33bf-4549-812a-db52debc7487@kernel.org>

On 08.08.24 12:27, Krzysztof Kozlowski wrote:
> On 07/08/2024 17:18, Benjamin Hahn wrote:
>> Add support for TPM for phyBOARD Pollux.
>>
>> Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
>> ---
>> Changes in v2:
>> - renamed tpm node to tpm@0
>> - removed num-cs
>> - cleanup pinctrl
>> - Link to v1: https://lore.kernel.org/r/20240805-imx8mp-tpm-v1-1-1e89f0268999@phytec.de
>> ---
>>   .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts   | 26 ++++++++++++++++++++++
>>   1 file changed, 26 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> index 00a240484c25..0e8200413557 100644
>> --- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> +++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> @@ -103,6 +103,23 @@ reg_vcc_3v3_sw: regulator-vcc-3v3-sw {
>>   	};
>>   };
>>   
>> +/* TPM */
>> +&ecspi1 {
>> +	#address-cells = <1>;
>> +	#size-cells = <0>;
>> +	cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
>> +	pinctrl-names = "default";
>> +	pinctrl-0 = <&pinctrl_ecspi1>;
>> +	status = "okay";
>> +
>> +	tpm: tpm@0 {
>> +		compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
>> +		reg = <0>;
>> +		spi-max-frequency = <38000000>;
>> +		status = "okay";
> Did you disabled it anywhere?

No, we don't disable it anywhere at the moment.

Benjamin

>
> Best regards,
> Krzysztof
>


  reply	other threads:[~2024-08-09  7:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-07 15:18 [PATCH v2] arm64: dts: freescale: imx8mp-phyboard-pollux: Add and enable TPM Benjamin Hahn
2024-08-07 16:10 ` Fabio Estevam
2024-08-08  2:26 ` Peng Fan
2024-08-08 10:27 ` Krzysztof Kozlowski
2024-08-09  7:11   ` Benjamin Hahn [this message]
2024-08-09  7:27     ` Krzysztof Kozlowski

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=6e511f04-7f93-49ad-8cf7-336a6bac7d31@phytec.de \
    --to=b.hahn@phytec.de \
    --cc=T.Remmet@phytec.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@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