Received: by 10.223.185.116 with SMTP id b49csp91978wrg; Thu, 22 Feb 2018 17:18:40 -0800 (PST) X-Google-Smtp-Source: AH8x225+3GMoUwVJDPhXI2NhQMDptLSVhw4t6SeXOvUl7KA6OWKVDZuZP0YyXC3pbo+TXOBbJL9i X-Received: by 2002:a17:902:bcc6:: with SMTP id o6-v6mr8435391pls.16.1519348720371; Thu, 22 Feb 2018 17:18:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519348720; cv=none; d=google.com; s=arc-20160816; b=ZL3tXaFAwnN9GoYH0SGu26SxBJXEVR+EuxvzKKMt0UojLQnuZplC4PFgGsKLsCdTZp QIyc3COJNrSN/1dCSQ44252W+RWVw6lWwhjAipaQJzl656enYjm2jkXWuVVZ1hQhh8EY uRMHxyGG+KPIWZTrnQD/MIw/cmBgxP1feUGvJMaCweAS4mStgzCN69+H1nOsDm/b9an2 dtiDTpeNazV/KKdhylQbZp+7ZgGltB1L+S8PAbgkl0+s0P3y8PbuXnsvA5e+r8Na3PI9 JIV4486ypR24PIYRMvDNwFOfypgsjjG3FYLH6XWkqKK0xzBhsip4t944SXcuT9pFC3KN z3zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ntqzSBPLOnvSUOD73OXMdUn6WsSo+UeBr8KMx0w66co=; b=DJ2Y0mmJ8OhPj7gaLM+SI2KYT3CBnCDggiFGOsrDNt+TwcdxzQRxY94HxJGBCy4ltR fjlk9PLTksHDr0YKQyf/L9wwQs9tG7t7fwd5KQbjaXienc9xkdSCbMaikcnG5CpWp+2s jC3iAhdZYwKgs3QbhQyhI/3sQFqBxpH1Yz432P9/IOgJyzZHreVVT0xFK17NVSmG8Huo 69o/mVXJeuV+5/mI1yewEJAbnM5TqhLsgqRX88KATFyRb75XHP0o3i9VyuQWk6o01+OX DiF1wIca9eu3sRKa3cZGF7z9wIRtPpsUslLbJG4Cs819/ehFJmrdupwljm932hcDZo/K lNIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si743746pgj.636.2018.02.22.17.18.25; Thu, 22 Feb 2018 17:18:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751469AbeBWBRY (ORCPT + 99 others); Thu, 22 Feb 2018 20:17:24 -0500 Received: from mx.socionext.com ([202.248.49.38]:37504 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751265AbeBWBRW (ORCPT ); Thu, 22 Feb 2018 20:17:22 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 23 Feb 2018 10:17:21 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id B695F6006F; Fri, 23 Feb 2018 10:17:21 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Fri, 23 Feb 2018 10:17:50 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 2BB1C4036F; Fri, 23 Feb 2018 10:17:21 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id F3BD612042A; Fri, 23 Feb 2018 10:17:20 +0900 (JST) 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 v2 1/2] ASoC: add DT bindings documentation for ROHM BD28623 codec Date: Fri, 23 Feb 2018 10:17:16 +0900 Message-Id: <20180223011717.2799-2-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180223011717.2799-1-suzuki.katsuhiro@socionext.com> References: <20180223011717.2799-1-suzuki.katsuhiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk 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 --- Changes in v2: - Change gpio properties to optional - Change VCCA, VCCP-supply to mandatory --- .../devicetree/bindings/sound/rohm,bd28623.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 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..d84557c2686e --- /dev/null +++ b/Documentation/devicetree/bindings/sound/rohm,bd28623.txt @@ -0,0 +1,29 @@ +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. +- VCCA-supply : regulator phandle for the VCCA supply +- VCCP1-supply : regulator phandle for the VCCP1 supply +- VCCP2-supply : regulator phandle for the VCCP2 supply + +Optional properties: +- reset-gpios : GPIO specifier for the active low reset line +- mute-gpios : GPIO specifier for the active low mute line + +Example: + + codec { + compatible = "rohm,bd28623"; + #sound-dai-cells = <0>; + + VCCA-supply = <&vcc_reg>; + VCCP1-supply = <&vcc_reg>; + VCCP2-supply = <&vcc_reg>; + reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>; + mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; + }; -- 2.16.1