From patchwork Fri Feb 23 01:17:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 129322 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp46175lja; Thu, 22 Feb 2018 17:17:25 -0800 (PST) X-Google-Smtp-Source: AH8x227ODANK8keJ8i830ZFBm2cYg0sQm2kNTudiPpua44BkOtTdxM6PdN0BcrhmWqPnWjTxgY7Y X-Received: by 2002:a17:902:ab8a:: with SMTP id f10-v6mr8484037plr.318.1519348645242; Thu, 22 Feb 2018 17:17:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519348645; cv=none; d=google.com; s=arc-20160816; b=uVlVkEDXxf/Fq/PyJpLND62NWlpBo+Om3Hu4V+lJBVaoTYPqPpXvVrazykYyRSU/nJ N3vt5t+v9qanlA3TbmjdCVeRCz1P+h+uAKKItX931Kn2sSeBzSF8WGlXxGhIeo5C5hOt UaczMlJk32aVXjqwINh1d+kRULGtMWHb2uNwpMFVJSFcgnYPYIc9bfP4OjznMM2lZgd2 EaV38CzFmu97uM9qOfc/gT0Ilzjb/tWi/mx7f8qOm4JQi/pKlyviwpekyBaAeS1qCd9e g4j60XDfsrc44uTAwUYQ7HOBB6Om6fXBvl0lViLl381KT+62wzIJObJ3W2Rp4H+5TO0n wV2A== 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=VNLWhwgyl+5dev65OzqmVuWeIksLlltFKxVQIi6Ax2o=; b=hWHqrtoouTWDiLFA2D8oZX43MCpFrvhXFAzdBsiHsb/HsDKVUvjX6BEccdERTSZAG7 CqNYbyhIXtYHBoS/kT5HxHeMOq/7NASoBNKzq36nBYCd6H1Ua653qAcJFEkLWv/gIp9A 9UHXXT5C2FWHn8+LDJEUrEf7N5d3uzY2J1BWgfrgcNumEkzU+GW+ENv1tGmfNFBKohKJ L/ise6oqttd2Z/FqBIe0kcDuoq6LDZsZFXRR9jA3iiSsnY4g/zYoTrxXHtbgZE47AoPb iLnSc/9ISO9ISp53sbft3u2n6rhGHQ10Vfof3GEHSmNrQSa0NCdxDYkyHXkkSFy0UMk0 UYYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 k4si763853pgf.313.2018.02.22.17.17.24; Thu, 22 Feb 2018 17:17:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751283AbeBWBRX (ORCPT + 6 others); Thu, 22 Feb 2018 20:17:23 -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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- 2.16.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + };