Message ID | 20181013033230.6506-6-anarsoul@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 4DDE5925 for <patchwork-alsa-devel@patchwork.kernel.org>; Sat, 13 Oct 2018 03:33:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35F8128684 for <patchwork-alsa-devel@patchwork.kernel.org>; Sat, 13 Oct 2018 03:33:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29D31286C1; Sat, 13 Oct 2018 03:33:36 +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.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 7B34A286A9 for <patchwork-alsa-devel@patchwork.kernel.org>; Sat, 13 Oct 2018 03:33:35 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E3CA12679A8; Sat, 13 Oct 2018 05:33:03 +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 D53F82679BB; Sat, 13 Oct 2018 05:32:53 +0200 (CEST) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by alsa0.perex.cz (Postfix) with ESMTP id C047926794F for <alsa-devel@alsa-project.org>; Sat, 13 Oct 2018 05:32:50 +0200 (CEST) Received: by mail-pf1-f193.google.com with SMTP id c25-v6so7098944pfe.6 for <alsa-devel@alsa-project.org>; Fri, 12 Oct 2018 20:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+zU3F+3HUNskC02tr5l8egTduscDKoYaVaz1eaU76RY=; b=Xgi3OVtc2KZ3UMvr9JourEZUJVzOl+iYumg46dimgn1KR9l+TzgEVyJj5E0Vkx2lOV hAIVeD1DdSrTzYKBbuSEMuCE9z86iIEw+thSRA5RIuYGDtPs9gZJIE6iZ+6zJVaDlFB5 4NODB6Oju+hj4EV1Rf55P0WfOS188k1hAS+lIpeDDpvm9iFL0zYYRDkOj9qVY0fvynk8 kebxgnuJfi/rDB1ETH2X/QNBWtJUH6PNVAOXW6Ajpgaq1/o3vVR+iW07JMPrilrHDsOO B6ZqdqILY4H67nWBqDTiwVSsmbbV6DldHdbK17SsmQx1qVdmVZhnwgMYGteOyzJoCSod 69ag== 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=+zU3F+3HUNskC02tr5l8egTduscDKoYaVaz1eaU76RY=; b=c1P+NyJYhnDH0i3eqotmz7TrE/22tIk1ISM9dg3uXVUcv9VhOL/2aK2lD9GmAYnH9a psziXfzNcHx6Fw8llnDGRudN6TOyCR3aF+tpwOIwPNBi25eW9ut4F/oXWD8rqEa4io6t bnDneiU960kqkxDHrOKAJptMSv9MHENnFo34C0cE/bEIGO0TpHNxwjTCXQh5qw5tLbgp UBjCt4Ime78UnPHm0UFv3ZPnx8uGnF6xX+75bZvGRiSt6Jw/kdpJW93LwpzKZhk9N3ly ahUrGkmPct8HKBiAHlwa4z+ZUaAEiyjzeoM4XkibLCMX2Dvrm01P+eEWr0jAkgLjaJkG Bh9Q== X-Gm-Message-State: ABuFfohSi+CG1WSYez1RN64AnxfjrCAymLLnmfQFqB3dmNPfU/68vL+q MUXAbmAjP/M7amS//6pe//o= X-Google-Smtp-Source: ACcGV62tzPsN9/hw8gSr1dwpO/O5Vmgrxhm8RCXTwS5XHMwwOU0G2TgLqBYlzQE9LMl9rK30kOsprQ== X-Received: by 2002:a63:e347:: with SMTP id o7-v6mr8094376pgj.251.1539401569631; Fri, 12 Oct 2018 20:32:49 -0700 (PDT) Received: from anarsoul-thinkpad.lan (216-71-193-140.dyn.novuscom.net. [216.71.193.140]) by smtp.gmail.com with ESMTPSA id u79-v6sm5565039pfi.104.2018.10.12.20.32.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Oct 2018 20:32:48 -0700 (PDT) From: Vasily Khoruzhick <anarsoul@gmail.com> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Maxime Ripard <maxime.ripard@bootlin.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Marcus Cooper <codekipper@gmail.com>, Mylene JOSSERAND <mylene.josserand@free-electrons.com>, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Fri, 12 Oct 2018 20:32:25 -0700 Message-Id: <20181013033230.6506-6-anarsoul@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181013033230.6506-1-anarsoul@gmail.com> References: <20181013033230.6506-1-anarsoul@gmail.com> MIME-Version: 1.0 Cc: Vasily Khoruzhick <anarsoul@gmail.com> Subject: [alsa-devel] [PATCH 05/10] ASoC: dt-binding: Add bindings for Allwinner A64 codec's analog path controls 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" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add support for audiocodec in Allwinner A64
|
expand
|
diff --git a/Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt b/Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt new file mode 100644 index 000000000000..4f8ad0e04d20 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt @@ -0,0 +1,12 @@ +* Allwinner A64 Codec Analog Controls + +Required properties: +- compatible: must be one of the following compatibles: + - "allwinner,sun50i-a64-codec-analog" +- reg: must contain the registers location and length + +Example: + codec_analog: codec-analog@1f015c0 { + compatible = "allwinner,sun50i-a64-codec-analog"; + reg = <0x01f015c0 0x4>; + };
The internal codec on Allwinner A64 is split into 2 parts. The analog path controls are routed through an embedded custom register bus accessed through the PRCM block just as on A23/A33/H3. Add a binding for this hardware. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> --- .../bindings/sound/sun50i-codec-analog.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt