diff mbox series

[v1,4/7] spi: qspi-tegra: Add Tegra186 and Tegra194 QSPI compatibles

Message ID 1606857168-5839-5-git-send-email-skomatineni@nvidia.com (mailing list archive)
State New, archived
Headers show
Series Add Tegra QSPI driver | expand

Commit Message

Sowjanya Komatineni Dec. 1, 2020, 9:12 p.m. UTC
QSPI controller on Tegra186 and Tegra194 is similar to Tegra210
QSPI controller in terms of transferring command, address and data
in multiple transfers.

This patch adds Tegra186 and Tegra194 compatibles to QSPI driver.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
---
 drivers/spi/qspi-tegra.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Mark Brown Dec. 2, 2020, 5:06 p.m. UTC | #1
On Tue, Dec 01, 2020 at 01:12:45PM -0800, Sowjanya Komatineni wrote:
> QSPI controller on Tegra186 and Tegra194 is similar to Tegra210
> QSPI controller in terms of transferring command, address and data
> in multiple transfers.

Given that you're adding the driver in the same series this doesn't
really seem like it needs a separate patch.
diff mbox series

Patch

diff --git a/drivers/spi/qspi-tegra.c b/drivers/spi/qspi-tegra.c
index 67a8b44..cd6a3c3 100644
--- a/drivers/spi/qspi-tegra.c
+++ b/drivers/spi/qspi-tegra.c
@@ -1181,6 +1181,8 @@  static irqreturn_t tegra_qspi_isr(int irq, void *context_data)
 
 static const struct of_device_id tegra_qspi_of_match[] = {
 	{ .compatible = "nvidia,tegra210-qspi", },
+	{ .compatible = "nvidia,tegra186-qspi", },
+	{ .compatible = "nvidia,tegra194-qspi", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, tegra_qspi_of_match);