From patchwork Fri Nov 9 04:24:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 10675279 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 06B4513B0 for ; Fri, 9 Nov 2018 04:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E54DD2DE49 for ; Fri, 9 Nov 2018 04:24:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D77B72DE59; Fri, 9 Nov 2018 04:24:44 +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 77EB12DE49 for ; Fri, 9 Nov 2018 04:24:43 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id B5CFB267B07; Fri, 9 Nov 2018 05:24:39 +0100 (CET) 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 DF3AA267B0A; Fri, 9 Nov 2018 05:24:37 +0100 (CET) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by alsa0.perex.cz (Postfix) with ESMTP id 8D3AB267AFE for ; Fri, 9 Nov 2018 05:24:34 +0100 (CET) Received: by mail-pf1-f195.google.com with SMTP id n11-v6so337633pfb.6 for ; Thu, 08 Nov 2018 20:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=yDYWyZV6Ls7g56bTyXpbI4RYQOiutV6ijlECHNIJkAs=; b=hfp9Fw47h9dXvD1YyEOmQLa4Cp/rmykc6XKM5v4+t0bOHCIzmAd3v3QNGyYQ/4shlN 7XJkYsGG3O3kEuk0IUnAPW1zdubXNrB+B2W7NMnEJPlu7yh+yy3CXcJW+woKs0w23rMe nlAoJHwhOLxPjYHT5QsKvcBtU+wO06Pg+sZs4P/9U/crmO6l4dObwlZKGQxFxuILRvVH 2P32IqJyy5tUXcYVNDz/7ydIx9wxPJ8xyy6MDRJ+N3UncIUvmz+fQKyVanaQCIl0lll3 XvS/vm1mEj+kXs4N3NJBoazy5+kNg9yb6DKWLjjHdZW0DsB08/Y/wJfEUcmo2YBOR3gd 3cPA== 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:mime-version :content-transfer-encoding; bh=yDYWyZV6Ls7g56bTyXpbI4RYQOiutV6ijlECHNIJkAs=; b=pd2a3b3Sq5Y9nwXcXfiSdKAZiSMT4cekL+FMHRZy/hDPW2tEA6o00o1ua9bVd70Dwf yr9PmMClM28lWkbaK0B276dHWzVgFerdAsaFlgAah69Pj02Wt02ycCwM+KqNn+nTl2VN IvedVGgDDTjv9X6AbMpHuiIRo22+kqhbi/w33XUMaWVBGEzBYbouTgzutANBd6HGzGN6 JhK9O14McSknFNt7OBy5h+ANz+zfovAHk81W/MLsjRNZZH3tPpXsp126La/ogY8cvN5Y IGl6JyIeFpTNPxCYuRuAySXh3pFK5bkotrMqZMnCMMU73HpDpeswt8iCUQGJJ6cePNvD nQIw== X-Gm-Message-State: AGRZ1gKF45vDn/SxoSrKrAIYhQfheQ8UUfNOi7gTCFk2erxqp66FZE22 NL6DzeNji7DlC2JKN5ZEm+A= X-Google-Smtp-Source: AJdET5ddM+Dj78P+2qTJkMt1qKft57BWGIzoJzYmMPW2vcYCihma/JuTNBiHeRx3et5ky0PI1OZWag== X-Received: by 2002:a62:3c6:: with SMTP id 189-v6mr7445331pfd.19.1541737472931; Thu, 08 Nov 2018 20:24:32 -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 f22-v6sm6018442pff.29.2018.11.08.20.24.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 20:24:32 -0800 (PST) From: Vasily Khoruzhick To: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vasily Khoruzhick , Mylene JOSSERAND , Kuninori Morimoto , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org Date: Thu, 8 Nov 2018 20:24:18 -0800 Message-Id: <20181109042422.25653-1-anarsoul@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [alsa-devel] [PATCH v7 0/4] Add support for audiocodec in Allwinner A64 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 v2: - Use simple-amplifier for speaker amp on Pinebook - Rename sun50i-a64-i2s to sun50i-a64-codec-i2s to preserve compatible string for other 3 I2S modules in A64 in case if there's any incompatibility with H3 v3: - renamed sunxi-adda-pr-regmap to sun8i-adda-pr-regmap - use ilog2() to calculate reg value for LRCK div instead of using a table v4: - dts: don't use 'Mic' and 'Headset Mic' widgets from sun8i-codec, define our board-level widgets instead. v5: - collect all the tags v6: - driver patches has been merged through ASoC tree - rebase onto 4.20-rc1 - Drop 'Speaker' from routes on sopine and pine64, they don't have speaker. v7: - drop 'Mic' and 'Headset Mic' from dtsi - move AIF1 Slot 0 ADC to ADC route to sun8i-codec - drop BIAS routes for Pine64 and SoPine Vasily Khoruzhick (4): ASoC: sun8i-codec: add missing route for ADC arm64: dts: allwinner: a64: add nodes necessary for analog sound support arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine arm64: dts: allwinner: a64: enable sound on Pinebook .../boot/dts/allwinner/sun50i-a64-pine64.dts | 25 +++++++++ .../dts/allwinner/sun50i-a64-pinebook.dts | 40 ++++++++++++++ .../allwinner/sun50i-a64-sopine-baseboard.dts | 25 +++++++++ arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 54 +++++++++++++++++++ sound/soc/sunxi/sun8i-codec.c | 6 ++- 5 files changed, 149 insertions(+), 1 deletion(-)