Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3232724imu; Sat, 24 Nov 2018 00:41:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/VTXC7bfVGC/Wzl7qMc2HyEe07IhTdSC9PsuxYG9l95jk2RuPBD07yRSz+e6id1eEZQXIDP X-Received: by 2002:a17:902:a411:: with SMTP id p17mr18862733plq.292.1543048882930; Sat, 24 Nov 2018 00:41:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543048882; cv=none; d=google.com; s=arc-20160816; b=Xwg8H/7r9K60YerlOV3prtlrInymN50z/hvZpJpnQ1EDgl0F51PXevaMI4evrlHSJy b05p/ojzA2HQO2glYmIVf1boq92nokoCVOfUi0k80o2Swe0si3qgibnDGceYZloFPoag nlpnlEhZzQgEmMagcm9MaQW4unkE227Tz48NOA+JDkyV1oGYbgRrk2aH4c1hwvWF8W4j Q/WG/etzO5FzyGvVo8VFxIvZhoX+jWxd3Q8qBcECSXJDaP5FWgWaB588vdBtbru38Dgd BwP8j/hi2dxQU7Gz+h02DvYzIuRZHvsAd+NEHqn+fu95/TrCiuDF22c/Z7ilYNmCHiEC Zl9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=6SnfM2u1VaB93hc95fAYkUFoAXf1GhMo4+6x2q/JGGw=; b=xySLhbNT60whAgRzQi4vHVJlwM7y592XujP2nVfDILDybKhZaMUdnb2Ql0WyZ0d6Ae fLc9bnnXIKNWXnxWgzxn72Pus7CuKqtnySCxzGxh2iJSikRSFo+tczW311qbsV1RBS6a utdTG6ivNussyKQ7TpPCm0dAavCayueVKKWhJnqpqRCu15Rf6UvBC2m/RMkJYl407WFE niQaGK54fzc6B9X+OFR2207eyySnlJT1T0W0sCa3J7myjWa2z5IXP/F/vNVd9nEluIQ2 j3lLPRvZsHigy4k5h99tpmVE5EQRrYOkNI0tVBxhDYI9KsBXDQVVsbwHriwS5c46RRxL y33A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e25si12937218pgv.486.2018.11.24.00.41.08; Sat, 24 Nov 2018 00:41:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440470AbeKXCsD (ORCPT + 99 others); Fri, 23 Nov 2018 21:48:03 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:45897 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436604AbeKXCsD (ORCPT ); Fri, 23 Nov 2018 21:48:03 -0500 Received: by mail-ed1-f68.google.com with SMTP id d39so10605755edb.12; Fri, 23 Nov 2018 08:03:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6SnfM2u1VaB93hc95fAYkUFoAXf1GhMo4+6x2q/JGGw=; b=WEVVI1NQ7/cOW44Mx0biju/Bdz93V1nO3OWLVF5oIezNlCSjpNzHp5pD+jX5forncD USrQgi/BTKtCYa9/GbwoeJdCLlkiKgyH8ltJcSMad2pdcsrF7/efxvHGpbLjFBGJfIFF fU47yJMshKg9GPf+6TvJp43JufU9159poi9C2lY2oPIbqKLPWRKrDLZXkdO19FbBSk6G KtpgsqcLE6KB8cKi+CnmnfeRVN+EMgE1aKTR8kNQlxEyD1n2BYNC1tLSCJvsASKy3LBS fsx5YJoCzrof+3vCvpanx8OvHeAc+pqBbBAo7PqMaRb2n6DbdGKUcSBy4VDe8YXJi1z5 2rCw== X-Gm-Message-State: AA+aEWaodtiy27KPjzOK6XuqOrNYdSv7RPsKpDioBU9giVIjpPjBnXHu zep9dbM3Qm9R09ekGhIGw22sT4Lg6Cw= X-Received: by 2002:a50:af26:: with SMTP id g35-v6mr7419233edd.192.1542988994509; Fri, 23 Nov 2018 08:03:14 -0800 (PST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com. [209.85.221.50]) by smtp.gmail.com with ESMTPSA id b11-v6sm4133104ejd.16.2018.11.23.08.03.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 08:03:13 -0800 (PST) Received: by mail-wr1-f50.google.com with SMTP id l9so12800880wrt.13; Fri, 23 Nov 2018 08:03:12 -0800 (PST) X-Received: by 2002:adf:891a:: with SMTP id s26mr14372986wrs.44.1542988992220; Fri, 23 Nov 2018 08:03:12 -0800 (PST) MIME-Version: 1.0 References: <20181122102325.29495-1-wens@csie.org> <2007258.VzpTJLJblp@anarsoul-thinkpad> In-Reply-To: From: Chen-Yu Tsai Date: Sat, 24 Nov 2018 00:03:01 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v9 0/8] Add support for audiocodec in Allwinner A64 To: Maxime Ripard Cc: Mark Brown , Liam Girdwood , Rob Herring , Mark Rutland , devicetree , Linux-ALSA , linux-arm-kernel , linux-kernel , linux-sunxi@googlegroups.com, Vasily Khoruzhick Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 23, 2018 at 12:37 PM Chen-Yu Tsai wrote: > > On Fri, Nov 23, 2018 at 12:26 PM Vasily Khoruzhick wrote: > > > > On Thursday, November 22, 2018 2:23:17 AM PST Chen-Yu Tsai wrote: > > > Hi everyone, > > > > > > This is v9 of the A64 audio codec series, originally started by Vasily. > > > These are the last changes to make the A64 audio codec work correctly, > > > and be accurately represented in the device tree and in software. > > > > > > Notably, the new driver changes cover regulator supplies for the simple > > > audio amplifier, which is used in the Pinebook for the internal > > > speakers, and the audio codec's internal headphone amp. There's also an > > > extra patch that enables SDM fractional clock support for the audio PLL > > > on the A64, which gives us accurate audio playback. > > > > > > Patch 1 & 2 add the cpvdd regulator supply to the sun50i-codec-analog > > > dt bindings & driver. > > > > > > Patch 3 & 4 add a regulator supply to the simple-audio-amplifier dt > > > bindings & driver. > > > > > > Patch 5 adds SDM fractional clock support for the audio PLL on the A64. > > > > > > Patch 6 ~ 8 add the device tree bits and enables audio on several > > > boards. > > > > > > I have one extra patch for the Bananapi M64 that's not included here, > > > as I'm waiting for an accessory to test the microphone bias. I'll send > > > that one out once it's tested. > > > > > > As always, we'll take the clock and dts patches after Mark has merged > > > the ASoC ones. > > > > > > And a big thanks to Vasily for having worked on this for so long. > > > > Thank you for picking it up! > > > > Just a minor note: hpvcc-supply should be a property of codec_analog in > > sun50i-a64-pinebook.dts > > Thanks. I'll fix that up when applying. Merged the remaining 4 patches with the misplaced regulator supply property in the last patch fixed. ChenYu > > Otherwise looks fine, tested on Pinebook and Pine64-LTS. > > > > Tested-by: Vasily Khoruzhick > > Great! > > ChenYu