Browse Source

spi/qspi: Add compatible string for am4372.

Add a compatible string for am4372.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Sourav Poddar 12 years ago
parent
commit
09222fc33f
2 changed files with 2 additions and 1 deletions
  1. 1 1
      Documentation/devicetree/bindings/spi/ti_qspi.txt
  2. 1 0
      drivers/spi/spi-ti-qspi.c

+ 1 - 1
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,am4372-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

+ 1 - 0
drivers/spi/spi-ti-qspi.c

@@ -453,6 +453,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,am4372-qspi" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, ti_qspi_match);