From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751470AbeBUEdS (ORCPT ); Tue, 20 Feb 2018 23:33:18 -0500 Received: from mx.socionext.com ([202.248.49.38]:8750 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbeBUEdP (ORCPT ); Tue, 20 Feb 2018 23:33:15 -0500 From: Katsuhiro Suzuki To: Mark Brown , alsa-devel@alsa-project.org, Rob Herring , devicetree@vger.kernel.org Cc: Masami Hiramatsu , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH 1/2] ASoC: add DT bindings documentation for ROHM BD28623 codec Date: Wed, 21 Feb 2018 13:33:10 +0900 Message-Id: <20180221043311.25840-2-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180221043311.25840-1-suzuki.katsuhiro@socionext.com> References: <20180221043311.25840-1-suzuki.katsuhiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds DT bindings documentation for ROHM BD28623MUV class D speaker amplifier. Signed-off-by: Katsuhiro Suzuki --- .../devicetree/bindings/sound/rohm,bd28623.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/rohm,bd28623.txt diff --git a/Documentation/devicetree/bindings/sound/rohm,bd28623.txt b/Documentation/devicetree/bindings/sound/rohm,bd28623.txt new file mode 100644 index 000000000000..954c689b5b08 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/rohm,bd28623.txt @@ -0,0 +1,26 @@ +ROHM BD28623MUV Class D speaker amplifier for digital input + +This codec does not have any control buses such as I2C, it detect format and +rate of I2S signal automatically. It has two signals that can be connected +to GPIOs: reset and mute. + +Required properties: +- compatible : should be "rohm,bd28623" +- #sound-dai-cells: should be 0. +- reset-gpios : GPIO specifier for the active low reset line +- mute-gpios : GPIO specifier for the active low mute line + +Optional properties: +- VCCA-supply : regulator phandle for the VCCA supply +- VCCP1-supply: regulator phandle for the VCCP1 supply +- VCCP2-supply: regulator phandle for the VCCP2 supply + +Example: + + codec { + compatible = "rohm,bd28623"; + #sound-dai-cells = <0>; + + reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>; + mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; + }; -- 2.16.1