mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 02:49:05 +07:00
8548a464b9
Adds a function to parse a default port configuration from devicetree. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org>
23 lines
759 B
Plaintext
23 lines
759 B
Plaintext
Freescale Digital Audio Mux (AUDMUX) device
|
|
|
|
Required properties:
|
|
- compatible : "fsl,imx21-audmux" for AUDMUX version firstly used on i.MX21,
|
|
or "fsl,imx31-audmux" for the version firstly used on i.MX31.
|
|
- reg : Should contain AUDMUX registers location and length
|
|
|
|
An initial configuration can be setup using child nodes.
|
|
|
|
Required properties of optional child nodes:
|
|
- fsl,audmux-port : Integer of the audmux port that is configured by this
|
|
child node.
|
|
- fsl,port-config : List of configuration options for the specific port. For
|
|
imx31-audmux and above, it is a list of tuples <ptcr pdcr>. For
|
|
imx21-audmux it is a list of pcr values.
|
|
|
|
Example:
|
|
|
|
audmux@021d8000 {
|
|
compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
|
|
reg = <0x021d8000 0x4000>;
|
|
};
|