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: 1000923 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="X74sbm1P"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4309q50kG2z9s55 for ; Wed, 21 Nov 2018 16:19:12 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726149AbeKUPwG (ORCPT ); Wed, 21 Nov 2018 10:52:06 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46286 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726039AbeKUPwG (ORCPT ); Wed, 21 Nov 2018 10:52:06 -0500 Received: by mail-pl1-f194.google.com with SMTP id t13so3699701ply.13 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=QeCvV65uJOOuxcZJZuDgpXiWm7Cir0XPtDsfo/jsMCuyS8C1uMNyr/2oLhuxCaGjha Y/gN9QHiBVlgY9NsYsltLiSxROPWHVW4Qw7cFjP8pTfBr/fH8sOM8emOkBwq5Oj2RUGK km7ETmYfh6DP5uObpAXWZkLvoYmacETw4q26qK6y/tH+9ctYKw82GLE+A0/zho7qMJkq OAp9pObzU2XwvIFmp9Obn65PcaoFfAj45rdBFbwN/f2WWMChcYCVbLKrJVwf83/42V4Z ycBc5b3hwVemcNLbkiznjnYW+ZKLLChb8mgCb7d2f8jpu00DvRk4AQcbKXx2xFhZ1snL eJHg== X-Gm-Message-State: AA+aEWaY6oJoahphAcy7IidJt4WW2rgaSk1snbUdDzyh81imUJd1sPjv ESxAXcAsfnDNYUzlKetJZXY= 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-)