From patchwork Thu Jun 16 16:40:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 9181343 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0D75C6075D for ; Thu, 16 Jun 2016 16:41:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F28DD28365 for ; Thu, 16 Jun 2016 16:41:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E70D428372; Thu, 16 Jun 2016 16:41:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCA8F28365 for ; Thu, 16 Jun 2016 16:41:47 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id ABDDF266C6B; Thu, 16 Jun 2016 18:41:46 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C579E266CE8; Thu, 16 Jun 2016 18:41:37 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 48412266CB8; Thu, 16 Jun 2016 18:41:37 +0200 (CEST) Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by alsa0.perex.cz (Postfix) with ESMTP id 1CF75266D30 for ; Thu, 16 Jun 2016 18:41:17 +0200 (CEST) Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O8V032NCICQ6M00@mailout1.samsung.com> for alsa-devel@alsa-project.org; Fri, 17 Jun 2016 01:41:14 +0900 (KST) X-AuditID: cbfee61a-f79656d000001a01-6a-5762d6aa4ce4 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id D5.0D.06657.AA6D2675; Fri, 17 Jun 2016 01:41:14 +0900 (KST) Received: from AMDC1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O8V00MGPICH2T70@mmp2.samsung.com>; Fri, 17 Jun 2016 01:41:14 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Date: Thu, 16 Jun 2016 18:40:37 +0200 Message-id: <1466095238-9047-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPJMWRmVeSWpSXmKPExsVy+t9jQd1V15LCDfquSFtcuXiIyWLjjPWs FlMfPmGzmH/kHKvFrr/3GS0m3Z/AYvF/zw52i8Nv2lkdODw2fG5i89i0qpPNo2/LKkaPz5vk AliiuGxSUnMyy1KL9O0SuDJuLPzCUrCTu+Lxzy1sDYynObsYOTgkBEwkNpxI62LkBDLFJC7c W8/WxcjFISQwi1HiZfcpJgjnF6PE/+k/mEGq2AQMJXqP9jGC2CJAHbfndDKDFDELHAXqOHiZ HSQhLBAi8f7BSjYQm0VAVeLovrusIDavgKtE58FVbBDr5CROHpvMOoGRewEjwypGidSC5ILi pPRcw7zUcr3ixNzi0rx0veT83E2M4GB5JrWD8eAu90OMAhyMSjy8HWcTw4VYE8uKK3MPMUpw MCuJ8C6+mBQuxJuSWFmVWpQfX1Sak1p8iFGag0VJnPfx/3VhQgLpiSWp2ampBalFMFkmDk6p BsZTQbzrnCe+8Z3oFZYzzeuH3hmZ7k+VX3QdefgLzm/9++HT5cy2F/P9L97+mZjKvnnlkuPy O3u+zVrBLsQkJFQlKFlhxag7sTiOISNs29F6MfvF81cryludYijPjypSud43oWMBy2rtruXC QronWt36v6VY8TZ3Tjuy7OCB5VYmfLNWSZ0JFFJiKc5INNRiLipOBADSAuPUEgIAAA== Cc: robh@kernel.org, alsa-devel@alsa-project.org, b.zolnierkie@samsung.com, inki.dae@samsung.com, devicetree@vger.kernel.org, Sylwester Nawrocki , ideal.song@samsung.com Subject: [alsa-devel] [PATCH v1 1/2] ASoC: Add DT bindings documentation for max98504 amplifier X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds DT bindings documentation for Maxim MAX98504 speaker amplifier. Signed-off-by: Sylwester Nawrocki --- Changes since initial version: - dropped all optional properties used for setting up TDM and speaker data source, - added regulator supply properties. --- .../devicetree/bindings/sound/max98504.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/max98504.txt diff --git a/Documentation/devicetree/bindings/sound/max98504.txt b/Documentation/devicetree/bindings/sound/max98504.txt new file mode 100644 index 0000000..7aa5b93 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/max98504.txt @@ -0,0 +1,22 @@ +Maxim MAX98504 class D mono speaker amplifier + +This device supports I2C control interface and an IRQ output signal. It features +a PCM and PDM digital audio interface (DAI) and a differential analog input. + +Required properties: + + - compatible : "maxim,max98504" + - reg : should contain the I2C slave device address + - DVDD-supply, DIOVDD-supply, PVDD-supply: power supplies for the device, + as covered in Documentation/devicetree/bindings/regulator/regulator.txt + +Example: + + max98504: max98504@31 { + compatible = "maxim,max98504"; + reg = <0x31>; + + DVDD-supply = <®ulator>; + DIOVDD-supply = <®ulator>; + PVDD-supply = <®ulator>; +};