Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753307AbbDGKZo (ORCPT ); Tue, 7 Apr 2015 06:25:44 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:36782 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbbDGKZj (ORCPT ); Tue, 7 Apr 2015 06:25:39 -0400 Message-ID: <5523B09E.4050703@gmail.com> Date: Tue, 07 Apr 2015 12:25:34 +0200 From: Sebastian Hesselbarth User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: Antoine Tenart CC: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, zmxu@marvell.com, jszhang@marvell.com, yrliao@marvell.com, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/4] ARM: berlin: add an ADC node for the BG2Q References: <1428066409-30392-1-git-send-email-antoine.tenart@free-electrons.com> <1428066409-30392-4-git-send-email-antoine.tenart@free-electrons.com> <551FBC34.4070501@gmail.com> <20150407102011.GA19914@kwain> In-Reply-To: <20150407102011.GA19914@kwain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2784 Lines: 80 On 07.04.2015 12:20, Antoine Tenart wrote: > On Sat, Apr 04, 2015 at 12:25:56PM +0200, Sebastian Hesselbarth wrote: >> On 03.04.2015 15:06, Antoine Tenart wrote: >>> This patch adds the ADC node for the Berlin BG2Q, using the newly added >>> Berlin IIO ADC driver. >>> >>> Signed-off-by: Antoine Tenart >>> --- >>> arch/arm/boot/dts/berlin2q.dtsi | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi >>> index 187d056f7ad2..72b1c969a99d 100644 >>> --- a/arch/arm/boot/dts/berlin2q.dtsi >>> +++ b/arch/arm/boot/dts/berlin2q.dtsi >>> @@ -565,6 +565,14 @@ >>> function = "twsi3"; >>> }; >>> }; >>> + >>> + adc: adc { >>> + compatible = "marvell,berlin2-adc"; >>> + interrupt-parent = <&sic>; >>> + interrupts = <12>, <14>; >>> + interrupt-names = "adc", "tsen"; >>> + status = "disabled"; >>> + }; >> >> nit: there is no gated clock for the ADC, I guess we can just always >> enable it. That will save you the last patch of the series. > > Sure, we can just drop the last patch (and the status property). Ok. >> BTW, I have the strong feeling that moving berlin's clk drivers to >> regmap will block any subsequent patches you are preparing. How about >> we target the next merge window for moving the clk node but not the >> drivers (except of_iomap of the _parent's_ reg property) and push the >> less controversal patches (pinctrl, reset) with regmap/syscon forward? > > The entire clock rework series does not affect this ADC series or any > other on going series. It can be merged latter, without breaking > anything. I just realized I mentioned the clock rework series as a > dependency in the cover letter of this series but it is not, my bad. > > So, we can target the next merge window for all series but the clock > rework. In addition to this, I can send a series moving the clock node, > with minor modifications to the driver so we have a proper dt. And then > we can see if moving to a regmap aware clock driver can be done. > > To sum up: > - chip/system controller series can be pushed Ok, I'll pick it up once 4.0 drops. > - this ADC series too, as it does not depend on the clock rework (as > soon as we have the needed acked-by) Ok, once the ACKs are there, I'll pick it up too. > - I need to make a new series to move the clock node Great. > - the clock driver rework series can live in parallel Good. > Agreed? Definitely :) Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/