Slb9672 can't work in the Jetpack5.1.2

Hi All

I try to porting TPM2.0 slb9672 to orin nx customer board,but it show error “probe of spi2.0 failed with error -110”. Has anyone had experience using the SLB9672?"

blue:cs0 yellow:mosi green:clk miso: can’t detect single.


The following is my device tree and Kconfig setting

spi@3230000 {

	cs-gpios = <&tegra_main_gpio TEGRA234_MAIN_GPIO(Y, 3) GPIO_ACTIVE_LOW>;
	slb9670: slb9670@0{
			
	//compatible = "infineon,slb9670";
	compatible = "infineon,slb9670", "tis,tpm2-spi", "tcg,tpm_tis-spi", "infineon,slb9672";
	reg = <0x00>;
	spi-max-frequency = <32000000>;
	status = "okay";
	//reset-gpios = <&tegra_main_gpio TEGRA234_MAIN_GPIO(Y, 3) 0>;
	cs-gpios = <&tegra_main_gpio TEGRA234_MAIN_GPIO(Y, 3) GPIO_ACTIVE_LOW>;

	controller-data {
			nvidia,enable-hw-based-cs;
			nvidia,rx-clk-tap-delay = <0x10>;
			nvidia,tx-clk-tap-delay = <0x0>;
		};
	};

};

image

CONFIG_TCG_TPM=y

TPM features

HW_RANDOM_TPM should be y, since it is not valid to use ‘m’

CONFIG_HW_RANDOM_TPM=y
CONFIG_TCG_TIS_CORE=m
CONFIG_TCG_TIS_SPI=m
CONFIG_TCG_FTPM_TEE=m

Hi kgarnet999,

Have you verified with the latest JP5.1.4(R35.6.0)?

Or verified the SPI loopback test before porting TPM module.

Please share the full dmesg for further check.
The error looks like something failed during probing the driver.
You can try to add more logs to debug.

Hi KevinFFF

感謝你的回答我的slb9670已經可以動了,另外再問個問題我如果想把gpio 設成斷路等同於沒有接做的到嗎? 我pinmux 該怎麼改? 因為我現在電路 slb9670 所有腳位都有拉出來到我的Nvidia SOM,我想試試看哪些gpio 可以省略 未來做改版.

You can just configure the unused pins as Input/Z in pinmux spreadsheet.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.