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: 1000924 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Dy0jdkr8"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4309q55Ztnz9s7T for ; Wed, 21 Nov 2018 16:19:13 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726778AbeKUPwH (ORCPT ); Wed, 21 Nov 2018 10:52:07 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:45406 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726039AbeKUPwH (ORCPT ); Wed, 21 Nov 2018 10:52:07 -0500 Received: by mail-pl1-f195.google.com with SMTP id a14so3703976plm.12 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=ezM2ZjauX+wdk3YqQDR44+4ocpwR6e06vanTf2QsfPVyQi/VsHNYBJETacMA3VG4oF 1Bd4kE5Bqrri1ZmTtgnj1VYzt4pwXd6v258gG1GWILXLmtqQiPnWJ5Zxs8XuwYfLkWNi pgq/rs3e7AzBeXSoSczfP/9i+OkHY/MdMjC/f+a/cwd4RnKN4LACPk01rSWB0pEmpYL4 7xHbUVr2w2NxxnXzyGBlaXT3MtbZuw/qIMXiDfp89YLU1riGOPsECEy3MWVcUOhcr1ID wnUGGtZow1sntE9N81CN7nPLU+LSRkv1hw5Dxq7H+F9IE6/FLLMu/e9Y7WTewnIok1ew Q8Qw== X-Gm-Message-State: AA+aEWbV9DCCKnh6qXzcnbvYD3Jjz+LW4O+w1rNQL8p5i6ORY8pk93M4 hJQg5ZbAw8LFcYnQuuyFqrQ= 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; };