ASoC: meson: add g12a compatibles
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 4 Apr 2019 11:17:28 +0000 (13:17 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 5 Apr 2019 02:25:21 +0000 (09:25 +0700)
Add new compatible strings for the g12a devices.
Audio wise, the g12a is fairly to close to the axg, yet some differences
need to be handled.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt
Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt
Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt
Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt
Documentation/devicetree/bindings/sound/amlogic,axg-tdm-formatters.txt

index 3dfc251..4330fc9 100644 (file)
@@ -2,7 +2,9 @@
 
 Required properties:
 - compatible: 'amlogic,axg-toddr' or
-             'amlogic,axg-frddr'
+             'amlogic,axg-toddr' or
+             'amlogic,g12a-frddr' or
+             'amlogic,g12a-toddr'
 - reg: physical base address of the controller and length of memory
        mapped region.
 - interrupts: interrupt specifier for the fifo.
index 5672d0b..73f473a 100644 (file)
@@ -1,7 +1,8 @@
 * Amlogic Audio PDM input
 
 Required properties:
-- compatible: 'amlogic,axg-pdm'
+- compatible: 'amlogic,axg-pdm' or
+             'amlogic,g12a-pdm'
 - reg: physical base address of the controller and length of memory
        mapped region.
 - clocks: list of clock phandle, one for each entry clock-names.
index 2e6cb7d..0b82504 100644 (file)
@@ -1,7 +1,8 @@
 * Amlogic Audio SPDIF Input
 
 Required properties:
-- compatible: 'amlogic,axg-spdifin'
+- compatible: 'amlogic,axg-spdifin' or
+             'amlogic,g12a-spdifin'
 - interrupts: interrupt specifier for the spdif input.
 - clocks: list of clock phandle, one for each entry clock-names.
 - clock-names: should contain the following:
index 521c38a..8261527 100644 (file)
@@ -1,7 +1,8 @@
 * Amlogic Audio SPDIF Output
 
 Required properties:
-- compatible: 'amlogic,axg-spdifout'
+- compatible: 'amlogic,axg-spdifout' or
+             'amlogic,g12a-spdifout'
 - clocks: list of clock phandle, one for each entry clock-names.
 - clock-names: should contain the following:
   * "pclk" : peripheral clock.
index 1c1b749..3b94a71 100644 (file)
@@ -2,7 +2,9 @@
 
 Required properties:
 - compatible: 'amlogic,axg-tdmin' or
-             'amlogic,axg-tdmout'
+             'amlogic,axg-tdmout' or
+             'amlogic,g12a-tdmin' or
+             'amlogic,g12a-tdmout'
 - reg: physical base address of the controller and length of memory
        mapped region.
 - clocks: list of clock phandle, one for each entry clock-names.