ARM: config: tegra: enable T114 SPI
Subsystems (3)
PATCH 1/2 ARM: config: tegra: enable T114 SPI
Nvidia Tegra114 has the new spi controller whose driver is not compatible with older SoCs. The new driver is added for Tegra114 spi controller.
Enabling the config of this driver.
--- arch/arm/configs/tegra_defconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/tegra_defconfig +1 -0
@@ -121,6 +121,7 @@ CONFIG_I2C_MUX=y CONFIG_I2C_MUX_PINCTRL=y CONFIG_I2C_TEGRA=y CONFIG_SPI=y +CONFIG_SPI_TEGRA114=y CONFIG_SPI_TEGRA20_SFLASH=y CONFIG_SPI_TEGRA20_SLINK=y CONFIG_GPIO_PCA953X_IRQ=y
Signature · 1 line
1.7.1.1
PATCH 2/2 ARM: tegra: dts: dalmore: enable spi4
Enable SPI4 and add Winbond SPI flash W25Q32DW device on CS0 line.
--- arch/arm/boot/dts/tegra114-dalmore.dts | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
arch/arm/boot/dts/tegra114-dalmore.dts +10 -0
@@ -823,6 +823,16 @@ }; }; + spi at 7000da00 { + status = "okay"; + spi-max-frequency = <25000000>; + spi-flash at 0 { + compatible = "winbond,w25q32dw"; + reg = <0>; + spi-max-frequency = <20000000>; + }; + }; + kbc { status = "okay"; nvidia,debounce-delay-ms = <640>;
Signature · 1 line
1.7.1.1
Stephen Warren
AppliedRe: [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4
Quoted 2 lines · Laxman Dewangan
Enable SPI4 and add Winbond SPI flash W25Q32DW device on CS0 line.
I have applied this to Tegra's for-3.11/dt branch.
Quoted 3 lines · Laxman Dewangan
Nvidia Tegra114 has the new spi controller whose driver is not compatible with older SoCs. The new driver is added for Tegra114 spi controller.
These 2, and the other 2 KBC patches you posted, all look reasonable. They'll have to wait until 3.11 though.
Quoted 3 lines · Laxman Dewangan
Nvidia Tegra114 has the new spi controller whose driver is not compatible with older SoCs. The new driver is added for Tegra114 spi controller.
I have applied this to (squashed it into) Tegra's for-3.11/defconfig branch.