linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: config: tegra: enable T114 SPI
@ 2013-04-10 11:48 Laxman Dewangan
  2013-04-10 11:48 ` [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4 Laxman Dewangan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:48 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
 arch/arm/configs/tegra_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index a5f0485..8a50fc8 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -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
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4
  2013-04-10 11:48 [PATCH 1/2] ARM: config: tegra: enable T114 SPI Laxman Dewangan
@ 2013-04-10 11:48 ` Laxman Dewangan
  2013-05-17 23:54   ` Stephen Warren
  2013-04-10 22:29 ` [PATCH 1/2] ARM: config: tegra: enable T114 SPI Stephen Warren
  2013-05-17 23:54 ` Stephen Warren
  2 siblings, 1 reply; 5+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:48 UTC (permalink / raw)
  To: linux-arm-kernel

Enable SPI4 and add Winbond SPI flash W25Q32DW device
on CS0 line.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
 arch/arm/boot/dts/tegra114-dalmore.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 12198d1..295a1be 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -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>;
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 1/2] ARM: config: tegra: enable T114 SPI
  2013-04-10 11:48 [PATCH 1/2] ARM: config: tegra: enable T114 SPI Laxman Dewangan
  2013-04-10 11:48 ` [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4 Laxman Dewangan
@ 2013-04-10 22:29 ` Stephen Warren
  2013-05-17 23:54 ` Stephen Warren
  2 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2013-04-10 22:29 UTC (permalink / raw)
  To: linux-arm-kernel

On 04/10/2013 05:48 AM, Laxman Dewangan wrote:
> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4
  2013-04-10 11:48 ` [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4 Laxman Dewangan
@ 2013-05-17 23:54   ` Stephen Warren
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2013-05-17 23:54 UTC (permalink / raw)
  To: linux-arm-kernel

On 04/10/2013 05:48 AM, Laxman Dewangan wrote:
> Enable SPI4 and add Winbond SPI flash W25Q32DW device
> on CS0 line.

I have applied this to Tegra's for-3.11/dt branch.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] ARM: config: tegra: enable T114 SPI
  2013-04-10 11:48 [PATCH 1/2] ARM: config: tegra: enable T114 SPI Laxman Dewangan
  2013-04-10 11:48 ` [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4 Laxman Dewangan
  2013-04-10 22:29 ` [PATCH 1/2] ARM: config: tegra: enable T114 SPI Stephen Warren
@ 2013-05-17 23:54 ` Stephen Warren
  2 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2013-05-17 23:54 UTC (permalink / raw)
  To: linux-arm-kernel

On 04/10/2013 05:48 AM, Laxman Dewangan wrote:
> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-17 23:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-10 11:48 [PATCH 1/2] ARM: config: tegra: enable T114 SPI Laxman Dewangan
2013-04-10 11:48 ` [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4 Laxman Dewangan
2013-05-17 23:54   ` Stephen Warren
2013-04-10 22:29 ` [PATCH 1/2] ARM: config: tegra: enable T114 SPI Stephen Warren
2013-05-17 23:54 ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).