From patchwork Tue Jun 26 12:11:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10488797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E88CB601A0 for ; Tue, 26 Jun 2018 12:11:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA01921FAC for ; Tue, 26 Jun 2018 12:11:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEB46288EC; Tue, 26 Jun 2018 12:11:46 +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=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1050721FAC for ; Tue, 26 Jun 2018 12:11:45 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 481862678EF; Tue, 26 Jun 2018 14:11:41 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 234482678EB; Tue, 26 Jun 2018 14:11:38 +0200 (CEST) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by alsa0.perex.cz (Postfix) with ESMTP id 6530E2675C8 for ; Tue, 26 Jun 2018 14:11:35 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id a12-v6so17027146wro.1 for ; Tue, 26 Jun 2018 05:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Kmk5GqCZw2LAuiM5nkGX+ZyZtn47eBm/kJTs/oNEV2E=; b=rmJX3ACrRfmhZeXV5htDWFS9S3CC5SrX01ixUK92lEvXRGB8XfuA9sgp6rcoPV5h4Y AtW/i4cbaZjU6XeP99zbsdWxDxut2V0LUsIPUTkHzlgvUNzm2egH1aO6omJrFCQwEdSh COGCMFWvg7iirk4Pm5L53aKedvW1yuT9LUz3EYlUDizZfXzO99vas7DFzUNxIJ3F27T0 JXFcICpXpImux67xlMeeK5nkbqbUG6vy1rt77xKGvCm4ZOfpBuB2mAf1fksigwIHeHw4 kSAy+6qRhR4snRpLuVBjQCvcbPVi1Q5wKgjwEUKppsEopOuvl32YW9STGcWkMUdBoybY UFQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Kmk5GqCZw2LAuiM5nkGX+ZyZtn47eBm/kJTs/oNEV2E=; b=VYDi/jPNnaASX4FVBNhF6GLhilgSQ0pF+l63VgE20QjJa97cSIoveBD7CC3FIcXQKs r14skaUAkcAwjwv5zYHPqW91ldWgym2AXIz0hGLg4jNPrz3nEN92kA1PFGeGh/CBAdhC 0HMOvWO+C1+NKebs84uaTxt56lSiHuydhqwQqsXnVF5RW+yuAek5rwjD8etH4g9xcf1N YHgiN1EH96SdazvbfiQGLN3NubatE9Yzb2XbVW7qvBJaLr8lrTkFqWnuJ2GheJtBj+5P a9iPBuWmSjoafY33p4o0zOOEvQoNDxZKrMucn8mhaMgSr5NojcjxtrqNAEV7wKe9N28/ KhIQ== X-Gm-Message-State: APt69E0DeFPqEjyW1JMscjjrmy+3d2sGc0iqS4JLcM7BqeBEyJl04ON5 91jyfNmKAo3BKkzQ1xCGcuwK8g== X-Google-Smtp-Source: AAOMgpdhD5ztQZrknBry4uaPlkn1Hz+Oiql9BfRqLSmNRMY8nUmxb3D1yJW4yOF4SxOCLThN/slWDA== X-Received: by 2002:adf:ef50:: with SMTP id c16-v6mr1225940wrp.182.1530015094919; Tue, 26 Jun 2018 05:11:34 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id l15-v6sm1917865wrs.95.2018.06.26.05.11.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Jun 2018 05:11:34 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , =?UTF-8?q?Nicol=C3=B2=20Veronese?= Date: Tue, 26 Jun 2018 14:11:26 +0200 Message-Id: <20180626121128.28564-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180626121128.28564-1-jbrunet@baylibre.com> References: <20180626121128.28564-1-jbrunet@baylibre.com> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 1/3] ASoC: simple-amplifier: remame dio2125 documentation X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The dio2125 is simple enough that we can make it a generic component. Rename the the dio2125 documentation to simple-amplifier to prepare this change. Suggested-by: Nicolò Veronese Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/sound/dioo,dio2125.txt | 12 ------------ Documentation/devicetree/bindings/sound/simple-amplifier.txt | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/dioo,dio2125.txt create mode 100644 Documentation/devicetree/bindings/sound/simple-amplifier.txt diff --git a/Documentation/devicetree/bindings/sound/dioo,dio2125.txt b/Documentation/devicetree/bindings/sound/dioo,dio2125.txt deleted file mode 100644 index 63dbfe0f11d0..000000000000 --- a/Documentation/devicetree/bindings/sound/dioo,dio2125.txt +++ /dev/null @@ -1,12 +0,0 @@ -DIO2125 Audio Driver - -Required properties: -- compatible : "dioo,dio2125" -- enable-gpios : the gpio connected to the enable pin of the dio2125 - -Example: - -amp: analog-amplifier { - compatible = "dioo,dio2125"; - enable-gpios = <&gpio GPIOH_3 0>; -}; diff --git a/Documentation/devicetree/bindings/sound/simple-amplifier.txt b/Documentation/devicetree/bindings/sound/simple-amplifier.txt new file mode 100644 index 000000000000..8647edae7af0 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/simple-amplifier.txt @@ -0,0 +1,12 @@ +Simple Amplifier Audio Driver + +Required properties: +- compatible : "dioo,dio2125" or "simple-audio-amplifier" +- enable-gpios : the gpio connected to the enable pin of the simple amplifier + +Example: + +amp: analog-amplifier { + compatible = "simple-audio-amplifier"; + enable-gpios = <&gpio GPIOH_3 0>; +};