Skip to contentSkip to conversation

ARM: config: tegra: enable T114 SPI

PATCH Applied Laxman Dewangan 2 participants 5 messages Apr 10, 2013 – May 17, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index a5f0485..8a50fc8 100644
@@ -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
#1 lore raw

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
index 12198d1..295a1be 100644
@@ -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
#2 lore raw

Re: [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.

#3 lore raw
In reply to Laxman Dewangan
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.

#4 lore raw
In reply to Laxman Dewangan
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.