mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
679f4e6cfd
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>
22 lines
591 B
Plaintext
22 lines
591 B
Plaintext
* Amlogic Audio SPDIF Output
|
|
|
|
Required properties:
|
|
- 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.
|
|
* "mclk" : master clock
|
|
- #sound-dai-cells: must be 0.
|
|
|
|
Example on the A113 SoC:
|
|
|
|
spdifout: audio-controller@480 {
|
|
compatible = "amlogic,axg-spdifout";
|
|
reg = <0x0 0x480 0x0 0x50>;
|
|
#sound-dai-cells = <0>;
|
|
clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
|
|
<&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
|
|
clock-names = "pclk", "mclk";
|
|
};
|