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: 10675283 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 3F00E13BF for ; Fri, 9 Nov 2018 04:24:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2ACB52DE49 for ; Fri, 9 Nov 2018 04:24:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D1502DE59; Fri, 9 Nov 2018 04:24:56 +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 A75322DE49 for ; Fri, 9 Nov 2018 04:24:55 +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: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:In-Reply-To:References: List-Owner; bh=D4wH+pBAdCOZtLWA8dmsoDEy7EGHv4S+fnPZu92pWyo=; b=C0tbJtUMRQ3ghB 6ylOrLhRmWFeqlLIIe2XBM9Govup87Sq7okkvDs07deOX2fc1alNpIFbT2EWURj6cCU6XUBQG6RbV urcB0YrJEeDMeFk9gFmXnaWc5wxDD7k+q9xBlBBbdQ6xykr33sp8pvY/cvqHb8vuUkPWpRVPsIURK nE5DQPos2Pgbxc2RSXp2z0i5wTFviDX9nrJTyzKk4LHVfO1JFgs3iXv00wkX6QxqGbsjaSUBADrlO DgarZVw4ho8/03V1uxv9ViRCxBg65IxQIiHHzdVz5l1IPmMJrsnTRU7bL3wYZsrj3uXRET362tsCQ p1e0IjytPtWdB1ECv0Xg==; 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 1gKyLk-0006J6-Ft; Fri, 09 Nov 2018 04:24:52 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKyLf-0006H5-Tb for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 04:24:49 +0000 Received: by mail-pg1-x544.google.com with SMTP id w3-v6so295501pgs.11 for ; Thu, 08 Nov 2018 20:24:33 -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=RtmVGAxGcahDttricvMwxR8AtUgdPFSE942rzS0/aiHRAj0tHjE3gY2DsGllDEAx7M lWaT57t6XgY5SqPKBmTshC8HqALpgkBjBrCA/scpZG6SDHy7H4B2B6g54KgcjJeU+eTh 5Onp8Z9W2v9E/1vsyydgLeq/kpblNjNMbnuFalwMBWjIvN/YARH+EWCQ8Eu1YJiLD58m cmjxh6Ta4rm6YdAtnZExGXoPgqBNhQeW2OatH0bkhT/JpkvYL6c+wpbxx7HhLtQbAZMD 1zRrkk5cZVIim0ZtWt+u+3auIB5XLh4+JYygk19qO9PAoliLBP9ujPRUT/W19L/+D4Wj /17Q== X-Gm-Message-State: AGRZ1gLOYIhIvMHJNP7QWufFdfND6wncz2NZLER5cDwnklrBfvlDRJbb hI9V4yOp5MW68d80HUYz53c= 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 Subject: [PATCH v7 0/4] Add support for audiocodec in Allwinner A64 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_202447_957338_15EFD81A X-CRM114-Status: GOOD ( 11.94 ) 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 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(-)