[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190731111930.20230-2-andradanciu1997@gmail.com>
Date: Wed, 31 Jul 2019 14:19:29 +0300
From: Andra Danciu <andradanciu1997@...il.com>
To: broonie@...nel.org
Cc: lgirdwood@...il.com, robh+dt@...nel.org, mark.rutland@....com,
perex@...ex.cz, tiwai@...e.com, ckeepax@...nsource.cirrus.com,
rf@...nsource.wolfsonmicro.com, srinivas.kandagatla@...aro.org,
piotrs@...nsource.cirrus.com, paul@...pouillou.net,
kmarinushkin@...dec.tech, anders.roxell@...aro.org,
jbrunet@...libre.com, m.felsch@...gutronix.de, vkoul@...nel.org,
nh6z@...z.net, alsa-devel@...a-project.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
daniel.baluta@....com
Subject: [PATCH 1/2] dt-bindings: sound: Add bindings for UDA1334 codec
The UDA1334 is an NXP audio codec, supports the I2S-bus data format
and has basic features such as de-emphasis (at 44.1 kHz sampling
rate) and mute. Product information can be found at:
https://www.nxp.com/pages/low-power-audio-dac-with-pll:UDA1334
Cc: Daniel Baluta <daniel.baluta@....com>
Signed-off-by: Andra Danciu <andradanciu1997@...il.com>
---
Documentation/devicetree/bindings/sound/uda1334.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/uda1334.txt
diff --git a/Documentation/devicetree/bindings/sound/uda1334.txt b/Documentation/devicetree/bindings/sound/uda1334.txt
new file mode 100644
index 000000000000..f64071b25e8d
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/uda1334.txt
@@ -0,0 +1,17 @@
+UDA1334 audio CODEC
+
+This device uses simple GPIO pins for controlling codec settings.
+
+Required properties:
+
+ - compatible : "nxp,uda1334"
+ - nxp,mute-gpios: a GPIO spec for the MUTE pin.
+ - nxp,deemph-gpios: a GPIO spec for the De-emphasis pin
+
+Example:
+
+uda1334: audio-codec {
+ compatible = "nxp,uda1334";
+ nxp,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
+ nxp,deemph-gpios = <&gpio3 3 GPIO_ACTIVE_LOW>;
+};
--
2.11.0
Powered by blists - more mailing lists