Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1962659imu; Fri, 23 Nov 2018 02:47:34 -0800 (PST) X-Google-Smtp-Source: AJdET5fVkbQ1wBDDzfqtCVp33AuKmbCnjKdCcibAdDrEfP1A69mLvPS1aMxwC2ZcoSuHYA1oCZIm X-Received: by 2002:a62:5504:: with SMTP id j4-v6mr15448257pfb.166.1542970054180; Fri, 23 Nov 2018 02:47:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542970054; cv=none; d=google.com; s=arc-20160816; b=jZtsYxulyTreU1OyS8C/J6wPJIxOy3qghTscMPuU6+bDem/Lqxq+RZ+4+iNY5HFAG+ 2y161nGfgUpkhgsDy5AuygPHcPobxELBsKefx0BVzpSJb3U/SwGI8GDVKAlO4koM2WHm 8kXHggeS764DKHssLjUhE8Tkx+4eDBV4PJHEel8LUo7T0YxA5S3qvj3KsbbKR8kHJP44 xQxYHEeD2BkpSrQp8uU8hKS2ODi2ZD0U3nI9wjnMKkCH0zOAcQoTMPJfXai+zIMQATuC PDtCt0pf5dSMU2FcdKspkRtnW+sbomDKv2vtr/nbQ/ApJ/3xdZF9ZeN8OjKWZVSl7DRK hQ9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=T9vYtpD3vnbLuDzU+BTuTPDMDon2XYtmSquu4PFJeNc=; b=mUwmFgqYz9be+RMnOs8+In7GoGnbyEJPf9tJgKXD+67oTL4XvfeUpwwXNVR+PbWzL5 vypUj+fItPIJTlOZXjuDUt7rxheWwK/PDHhJvAatSitQVMBTK46aZ3mxOy3KE64M6TyA Le59LgQFJkM4k/kn8H8LpoGXUXYz4/b6q8QD8Mp4BJpfmYSAQjmzTMNTEgQZjjc11YC1 SymnzF4nH+QbUVj/Gx5oOlAg93oCpX37tB8GzSyiGPqRukGgaWjFWpO7oZf2k2V6rcCS e8sk89AexZktVHfqicYswRGlrZfZENPdwsdDi6y4pcE95GcjWaimk+tEpqCsxSU3jaoU TFkg== 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 h3si30582060pgl.468.2018.11.23.02.47.19; Fri, 23 Nov 2018 02:47:34 -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 S2394230AbeKVVCh (ORCPT + 99 others); Thu, 22 Nov 2018 16:02:37 -0500 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:48310 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394193AbeKVVCg (ORCPT ); Thu, 22 Nov 2018 16:02:36 -0500 Received: by wens.csie.org (Postfix, from userid 1000) id 495C15FCFC; Thu, 22 Nov 2018 18:23:46 +0800 (CST) From: Chen-Yu Tsai To: Mark Brown , Liam Girdwood , Rob Herring , Mark Rutland , Maxime Ripard Cc: Vasily Khoruzhick , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Chen-Yu Tsai Subject: [PATCH v9 3/8] ASoC: dt-bindings: add regulator property to simple amplifier Date: Thu, 22 Nov 2018 18:23:20 +0800 Message-Id: <20181122102325.29495-4-wens@csie.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181122102325.29495-1-wens@csie.org> References: <20181122102325.29495-1-wens@csie.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vasily Khoruzhick Amplifier may have associated regulator, so add a property for it. Signed-off-by: Vasily Khoruzhick Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/sound/simple-amplifier.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/simple-amplifier.txt b/Documentation/devicetree/bindings/sound/simple-amplifier.txt index 8647edae7af0..7182ac4f1e65 100644 --- a/Documentation/devicetree/bindings/sound/simple-amplifier.txt +++ b/Documentation/devicetree/bindings/sound/simple-amplifier.txt @@ -4,9 +4,14 @@ Required properties: - compatible : "dioo,dio2125" or "simple-audio-amplifier" - enable-gpios : the gpio connected to the enable pin of the simple amplifier +Optional properties: +- VCC-supply : power supply for the device, as covered + in Documentation/devicetree/bindings/regulator/regulator.txt + Example: amp: analog-amplifier { compatible = "simple-audio-amplifier"; + VCC-supply = <®ulator>; enable-gpios = <&gpio GPIOH_3 0>; }; -- 2.19.1