From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755113AbdKKAjo (ORCPT ); Fri, 10 Nov 2017 19:39:44 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:10518 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754848AbdKKAjl (ORCPT ); Fri, 10 Nov 2017 19:39:41 -0500 Date: Sat, 11 Nov 2017 00:37:37 +0000 From: Jonathan Cameron To: Martin Blumenstingl CC: Yixun Lan , Neil Armstrong , Jerome Brunet , , Jonathan Cameron , "Rob Herring" , Mark Rutland , "Michael Turquette" , Stephen Boyd , Carlo Caione , Kevin Hilman , "Xingyu Chen" , , , , , Subject: Re: [PATCH v4 0/4] fix the clock setting for SAR ADC Message-ID: <20171111003737.000038f0@huawei.com> In-Reply-To: References: <20171107140942.29243-1-yixun.lan@amlogic.com> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.212.247.74] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A0B0203.5A06466E.0015,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: cf22bc1863c38b5ce3d15291ff9b39f1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Nov 2017 22:36:00 +0100 Martin Blumenstingl wrote: > Hi Yixun, > > On Tue, Nov 7, 2017 at 3:09 PM, Yixun Lan wrote: > > patch [1/4]: > > Fix wrong SARADC/SANA clock gate bit in Meson-GXBB/GXL, > > the published datasheets[4] also has wrong description about this. > > This patch should be explicitly merged *before* other patches. > > > > patch [2-4/4]: > > Drop the "sana" clock from SAR ADC module, > I agree with Jerome that patch 2/4 should be applied last. Let me know when I should take this. Thanks, Jonathan > when I wrote the driver I couldn't get it to work on my GXBB board > (which unfortunately has died since then) because the clocks were > disabled (they weren't enabled by the bootloader). people who are > using an old .dtb would get the same problem again until the clock > driver is merged > > > From the hardware perspective, the SAR ADC module doesn't > > require "sana" clock to wrok. This should apply to all SoC, > > including meson6,8, GXBB, GXL.. > thank you for clarifying this! > > > Note: the whole patchset series has been tested at GXL-P212 board, > > we haven't got any meson6,8 board to test, so I would appreciate > > if someone (Martin?) could help to confirm it works there. > I can test this on a Meson8b and a Meson8m2 board on the weekend - > I'll let you know about the results > > > Regards > Martin > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html