diff mbox

spi/qspi: Add compatible string for am43xx

Message ID 1377610935-23703-1-git-send-email-sourav.poddar@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Poddar, Sourav Aug. 27, 2013, 1:42 p.m. UTC
Add a compatible string for am43xx.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 Documentation/devicetree/bindings/spi/ti_qspi.txt |    2 +-
 drivers/spi/spi-ti-qspi.c                         |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

Comments

Mark Brown Aug. 27, 2013, 2:31 p.m. UTC | #1
On Tue, Aug 27, 2013 at 07:12:15PM +0530, Sourav Poddar wrote:
> Add a compatible string for am43xx.

Applied, thanks.
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/spi/ti_qspi.txt b/Documentation/devicetree/bindings/spi/ti_qspi.txt
index 398ef59..b6ccbfc 100644
--- a/Documentation/devicetree/bindings/spi/ti_qspi.txt
+++ b/Documentation/devicetree/bindings/spi/ti_qspi.txt
@@ -1,7 +1,7 @@ 
 TI QSPI controller.
 
 Required properties:
-- compatible : should be "ti,dra7xxx-qspi".
+- compatible : should be "ti,dra7xxx-qspi" or "ti,am43xx-qspi".
 - reg: Should contain QSPI registers location and length.
 - #address-cells, #size-cells : Must be present if the device has sub-nodes
 - ti,hwmods: Name of the hwmod associated to the QSPI
diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c
index d6db561..44dafd9 100644
--- a/drivers/spi/spi-ti-qspi.c
+++ b/drivers/spi/spi-ti-qspi.c
@@ -442,6 +442,7 @@  static int ti_qspi_runtime_resume(struct device *dev)
 
 static const struct of_device_id ti_qspi_match[] = {
 	{.compatible = "ti,dra7xxx-qspi" },
+	{.compatible = "ti,am43xx-qspi" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, ti_qspi_match);