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>;
};
};
};
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