From patchwork Wed Feb 21 04:33:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 128989 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp203495ljc; Tue, 20 Feb 2018 20:33:24 -0800 (PST) X-Google-Smtp-Source: AH8x226Corv8pt5LJdcLX3nwqgrBebvDkLHurVGoX68b1loPAkOOyBEuYv4Z5Hkoh/86zyQo/Dy+ X-Received: by 2002:a17:902:bb06:: with SMTP id l6-v6mr1872827pls.115.1519187604454; Tue, 20 Feb 2018 20:33:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519187604; cv=none; d=google.com; s=arc-20160816; b=dYcJ5wgRmgCXwA0QCDh3pw5nFb+38RyPmw8PaBGkrwHMGjEMDJqra79pAndsVIdKhz M23G2xUVUovgfjljukXZwm73Y5OL2DnIT487I4bNf2Ze4VVy3YCdjj3dbysw4uqyDxsh BJwblV+XCiDnDK9riRYn5QUP8c8nIUZdkRTXA+Sm/snP6kgPkcVthoynK1ELs08mcb++ 4mewbbqQaXNSP0C8dmkOy1/BQjsxml2mhYcv0xSCPpHrtKWj+SF1ykcKBiZAepNXIp6s owtIaCQ3qcxSptCKl5Jxr+KbESkdYS0GUQYA7bMmqDa4Ugk0Tpf2OzNh1ItJRKQ3Bvxa hgtg== 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=0heHwvWtOg4kCM1l96uZ54A3UBVkKd979QyoBZYrhhI=; b=oScmBroSRg3HAvNF0tCXW09gB3frxBhDZc4rIyUgOUZmKv44GFS2kkAqP+gRN/wbUZ atlWEOmRSP+m2xZArPolQIFThQ8KXYtqDwdIdfvpAnf+4HJu5SMWJQuvsxpJErwqmPvs gkLUmNCOmWohbbebsvAw8EZ9fqQjGuThY+JyPDgIrs0UETvTthPID/xwjRuFAtL6Pu6c WSLMfB8oUG3wfYQhsPAKbZtMoSrLFn2at91gcKGTQmcmX2MaxnFZC9lgjEk7dUiq65RF bet98Du8USVjywkrAgipXhVPKs4Llutt2tXLtjuQxsOs12hVkmXUayR8s5qwXBcmpTNS /w8A== 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 k196si880769pgc.775.2018.02.20.20.33.24; Tue, 20 Feb 2018 20:33:24 -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 S1751470AbeBUEdS (ORCPT + 28 others); 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 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 21 Feb 2018 13:33:13 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id ED9C81800EE; Wed, 21 Feb 2018 13:33:13 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 21 Feb 2018 13:33:52 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 8F219403C0; Wed, 21 Feb 2018 13:33:13 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 61748120534; Wed, 21 Feb 2018 13:33:13 +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 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 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 --- .../devicetree/bindings/sound/rohm,bd28623.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/rohm,bd28623.txt -- 2.16.1 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>; + };