lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1518531288-2017-3-git-send-email-cosmin.samoila@nxp.com>
Date:   Tue, 13 Feb 2018 16:14:48 +0200
From:   Cosmin-Gabriel Samoila <cosmin.samoila@....com>
To:     <broonie@...nel.org>, <alsa-devel@...a-project.org>,
        <devicetree@...r.kernel.org>, <robh@...nel.org>
CC:     <mihai.serban@...il.com>, <linux-imx@....com>,
        <shegjiu.wang@....com>, <daniel.baluta@....com>,
        <linux-kernel@...r.kernel.org>,
        Cosmin-Gabriel Samoila <cosmin.samoila@....com>,
        Junichi Wakasugi <wakasugi.jb@...asahi-kasei.co.jp>,
        Mihai Serban <mihai.serban@....com>,
        Shengjiu Wang <shengjiu.wang@....com>
Subject: [PATCH v2 2/2] ASoC: ak4458: Add bindings for AK4458 DAC

Signed-off-by: Junichi Wakasugi <wakasugi.jb@...asahi-kasei.co.jp>
Signed-off-by: Mihai Serban <mihai.serban@....com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@....com>
Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@....com>
---
 Documentation/devicetree/bindings/sound/ak4458.txt | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ak4458.txt

diff --git a/Documentation/devicetree/bindings/sound/ak4458.txt b/Documentation/devicetree/bindings/sound/ak4458.txt
new file mode 100644
index 0000000..9bab245
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ak4458.txt
@@ -0,0 +1,23 @@
+AK4458 audio DAC
+
+This device supports both I2C and SPI modes.
+
+Required properties:
+
+- compatible : "asahi-kasei,ak4458"
+- reg : The I2C address of the device for I2C, the chip select number for SPI.
+
+Optional properties:
+- reset-gpios: A GPIO specifier for the power down & reset pin
+- mute-gpios: A GPIO specifier for the soft mute pin
+
+Example:
+
+&i2c {
+	ak4458: dac@10 {
+		compatible = "asahi-kasei,ak4458";
+		reg = <0x10>;
+		reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>
+		mute-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>
+	};
+};
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ