without success.
Why the pinmux on the topic 266719 is not this:
devmem2 0x0243d028 w 0x00000444
devmem2 0x0243d018 w 0x00000444
devmem2 0x0243d040 w 0x00000444
devmem2 0x0243d008 w 0x00000008
devmem2 0x0243d038 w 0x00000448
to enable SPI1 ? Furthermore i’ll set this on runtime and then load the follow module :
tpm_tis_spi tpm_tis_core tpm_tis but the driver replies with:
tpm_tis_spi: probe of spi0.0 failed with error -110.
for spi device i see in the kernel log :
[ 3.153719] spi-tegra114 3210000.spi: Adding to iommu group 1
ls -l /dev/spi*
ls: cannot access ‘/dev/spi*’: No such file or directory
in my configuration there isn’t the file /proc/config.gz but i already compile the features with modules mode for debugging, so i have the tpm_tis_spi.ko, tpm_tis.ko and tpm_tis_core.ko kernel modules.
spi@3210000 {
status = "okay";
// I think the first chip select is based on @0 in the device name
// cs-gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(Z, 6) GPIO_ACTIVE_LOW>;
sbl9670@0 {
compatible = "infineon,slb9670";
reg = <0x0>;
spi-max-frequency = <32000000>;
controller-data {
nvidia,variable-length-transfer;
nvidia,rx-clk-tap-delay = <0x31>;
};
};
};
Yes i have TPM module ( Gigabyte TPM GC-TPM2.0 SPI 2.0 ) on J43.