From patchwork Wed Nov 21 05:17:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 10691969 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 969A413BF for ; Wed, 21 Nov 2018 05:20:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82AA22B394 for ; Wed, 21 Nov 2018 05:20:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 767572B443; Wed, 21 Nov 2018 05:20:22 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 32B172B394 for ; Wed, 21 Nov 2018 05:20:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=b/6R1UJheGKCbDmDzyVExJXNub6TEnr4FaHBpm232ZY=; b=sWGCfaUuhgQhrs VjFS2iuBYrniIrTmvIlZweWah6p10anrJV9y3yteyn+JJDn5gQQqCfHTdwgdygp3Bf8R+uls16uyX vo++rkzHA7WdjebVRhKizPEnRu/6frT6l3SYFDLPDryHSQmPgiXcMUqNIc2aG41UjDzQ5PJKPsw9B /kj8ViudpIxun4UCPrclZ3EeHGKNK4LafGPzOLWMsvm8k/CTEvO5nCH59fuHYWQ7e1bSs4rTmm8vj CAzHw059w+/JvaF9o+3th0yLMYWznXHNgcO77EH5nRXpEXe409CJBL/mNVtJh4XMhXfY8gJ3UPxQn rIKyKxtrBeW99wb4ej2g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPKvu-0006DW-Rl; Wed, 21 Nov 2018 05:20:14 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPKv5-00042R-Uy for linux-arm-kernel@lists.infradead.org; Wed, 21 Nov 2018 05:19:28 +0000 Received: by mail-pl1-x642.google.com with SMTP id b22-v6so3712380pls.7 for ; Tue, 20 Nov 2018 21:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=U/ecxyYo0n6CY8YI1T4/ulV+E6vBNhkLtS8DxQ0JX6c=; b=Dy0jdkr8MAzUdtto46ala2E02OgirWXI0l7jUDbXMVK6EFeoxvufEu2LZ57PYEGOdQ zF/wQvNwoHsw3iSkjOb2ZM0ZKybYh+X6aNYqgXYKpQtPJpxTenJgnTsnUZfT7iOtfHoM +bLw4JliDR+xGGTgn2Gtysdyog6fzUGXzNMo2j9XKPOHlOd8cZCM0KLJKvR67ew2iUE6 +KsovaHA3m0msTIXndoIzgMjf1jT/u4J0wrOFRD6zJlE36tYIXAW62vtjQG+6aVb+rh3 DVb/hqYhgoEE9TSV8HpnO4lVlj/bDQcmIF8qGP6HySlzyDpM78a5D3D5D9ZaVPJMZLBK m/sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=U/ecxyYo0n6CY8YI1T4/ulV+E6vBNhkLtS8DxQ0JX6c=; b=ZxyHbLcOa6Yn0E/fuTvCBLDlEGLiiza214wlYbjvZCgNW35pSjpPdTBSuOl7Ci8Egz ZOMbFCJRQQNTfOwRTmRfTQp8MWxuQNV4zfZVG2On9TmhBWH6PoLg3tZRsxv4H/+W3Iyi djQkveAvkA8a04YXXi3sfe6Qkl8aCGSp5Kj5UPwxyzHQQ1QcqGC2kMHET/Y6TdSKnbgX yDIlvJDrL8PFHWAxkLwdoErt+NCmxSwG9+txYI12boKbzB6FNs8jlVd2pZhrUNv+Tuhn WHUNt+iNGzRUiP/vEy6WG2V9YEhEtbq8Gj9zQqRFlI6tFn5P8aZ4DAIqGMpe9+9o//fj HEqA== X-Gm-Message-State: AA+aEWaF9wMKGjDUopVR7fWuck7BRkthgNyxIW3BHInyo/QqR/3KKOxR DGUsYEry/uI6umR5h7R8uz+mhsBMKFE= X-Google-Smtp-Source: AFSGD/XqspXnA00ZIO7oFNcCcH1UDIjx2c8aknPxXI3Fcon/UxtsfVXa8lWZAt4Cq5/X8z9ncROVkg== X-Received: by 2002:a63:8441:: with SMTP id k62mr4630698pgd.392.1542777552000; Tue, 20 Nov 2018 21:19:12 -0800 (PST) Received: from anarsoul-thinkpad.lan (216-71-193-140.dyn.novuscom.net. [216.71.193.140]) by smtp.gmail.com with ESMTPSA id v70sm8293074pfa.152.2018.11.20.21.19.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 21:19:11 -0800 (PST) From: Vasily Khoruzhick To: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Jaroslav Kysela , Takashi Iwai , Vasily Khoruzhick , Jerome Brunet , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v8 1/7] ASoC: dt-bindings: add regulator property to simple amplifier Date: Tue, 20 Nov 2018 21:17:46 -0800 Message-Id: <20181121051752.18387-2-anarsoul@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181121051752.18387-1-anarsoul@gmail.com> References: <20181121051752.18387-1-anarsoul@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181120_211924_014952_9C83B8B7 X-CRM114-Status: GOOD ( 11.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Amplifier may have associated regulator, so add a property for it. Signed-off-by: Vasily Khoruzhick --- 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>; };