From patchwork Wed Nov 21 05:17:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 10691947 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 95B8D16B1 for ; Wed, 21 Nov 2018 05:19:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 830922B394 for ; Wed, 21 Nov 2018 05:19:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76A192B443; Wed, 21 Nov 2018 05:19:29 +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=unavailable 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 313A02B394 for ; Wed, 21 Nov 2018 05:19:29 +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=r0Neats/ltWAGJd419CDwXagxeLE8V8kPSwvEUtLh8A=; b=AzxLi85PP2B8gy vSOsxKje8A7HU+y6+RUXFNJyX0SxaKjZtOrQmvosiT7w0DUK7B27Ew7lT2qJCqtJtWo4r8Re9CnHr +14BFUMziSKOLyqL66N9aiYVheRlFha8WqVmUoEwuTwKarLCR0l2euFGqj41azAY9/QWaPGjS8n27 fImK8drf9lAbGr9XQxUMWxrnrW0fcTB6Os9TSNQ6aGPpcd6cbZrdLiL+jXxc+bDxMg00yQvbR0TXo +abR6KFEfpHDU8Ap+AKPaTpAIrWQQmWAZCdV0uyQ+DUJilODvTo1q3DZWZtKrgKWUOCf82GVSHNOm pG369ZgSaxkFICFVwfJg==; 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 1gPKv7-00044L-6W; Wed, 21 Nov 2018 05:19:25 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPKv3-00042Q-RS for linux-arm-kernel@lists.infradead.org; Wed, 21 Nov 2018 05:19:23 +0000 Received: by mail-pl1-x641.google.com with SMTP id b5so3725153plr.4 for ; Tue, 20 Nov 2018 21:19:11 -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=2ijfXCspcVXxyIlFG4dNAF3D2u+d93H8sQJ7tVWVBbc=; b=X74sbm1PuWgLDET8OOu7UJaR0v+ZP1e1spVb1iPO/TtKbkspNLyeslRle0NjPlDmwd 9bN6NTFzRsqC+1rC4NMz3D0igD4UnFiIPbQ6iHm/ysejWve2Xn/T/UWkUXFqdluhETrp s4dKo1196uq429zwAA8qr9M7kvlP8v7eSvi63y/bdiB3FS0lVz4w/FKdJKVUQWvua5/9 rIpCcw+soYmp5xEWIHGe2W501Sh917HDoWs7OyuALiISAhSuwsC7lpo+Uh5GHcoP1jBq Ea3ywxF75c70/pAvwksU5egxv9+NeiLwGJn7mMrPpvqNZ/cI3Kx4KFT9+Y98hp/6vVHp TogQ== 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=2ijfXCspcVXxyIlFG4dNAF3D2u+d93H8sQJ7tVWVBbc=; b=LOJh7KlnmLCu1P/GnFINu1mkiosAsmI/BPU3nBSqnqLObr7+um/UvwqimLQwDqw+i1 6qIeO4MWE6RXqdmnXbD67djZKRtShmY+ZUvyshuodwEmctXASNZW8gnRsQeeGFoXH9yu SceBrGOlkrsMlK5g0D9mgK4boILmlvOfk95eywYHLZGZvyZ8swDRMO/vvRStAQyIll17 M54o3Xvcfw8Ji1tzNNw3ajExDl/IdVCkzSvZaDO+J728E8HmJHaZIBOuJL1UZVfruBNC ZYDt4I3tfBZSnJGgwIfb6wfN2iQNu0CW4gUB86qMUnD05CWLtbtkSVeD5z7GiG0mru8N oqVA== X-Gm-Message-State: AA+aEWY770RuWcq8/Xxn46xneSwg6LmYmf2YuHHN7r8f7kiYJaRVyZ41 8e47SC/siiBqkGHGlZE0mwM= X-Google-Smtp-Source: AFSGD/UGZ9olr7ml1sLS/cu1iN/gRegnFnnuBPpQVUrsgCaYho6XOG/aDbO2vQh1Q2SMYTQjtIkDMw== X-Received: by 2002:a17:902:b584:: with SMTP id a4mr5326229pls.246.1542777550843; Tue, 20 Nov 2018 21:19:10 -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.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 21:19:10 -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 0/7] Add support for audiocodec in Allwinner A64 Date: Tue, 20 Nov 2018 21:17:45 -0800 Message-Id: <20181121051752.18387-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-20181120_211921_913270_F3DB7910 X-CRM114-Status: GOOD ( 11.18 ) 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 v8 - drop merged patches - add regulator property for simple amplifier, make enable-gpio optional - add regulator to speaker amp, introduce headphone amp Vasily Khoruzhick (7): ASoC: dt-bindings: add regulator property to simple amplifier ASoC: simple-amplifier: add VCC regulator widget ASoC: dt-bindings: make enable-gpio optional for simple amplifier ASoC: simple-amplifier: make enable-gpio optional 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 .../bindings/sound/simple-amplifier.txt | 5 ++ .../boot/dts/allwinner/sun50i-a64-pine64.dts | 35 ++++++++++++ .../dts/allwinner/sun50i-a64-pinebook.dts | 53 ++++++++++++++++++ .../allwinner/sun50i-a64-sopine-baseboard.dts | 35 ++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 54 +++++++++++++++++++ sound/soc/codecs/simple-amplifier.c | 7 ++- 6 files changed, 188 insertions(+), 1 deletion(-)