[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170523152612.e5kpra2ir2vibgrh@rob-hp-laptop>
Date: Tue, 23 May 2017 10:26:12 -0500
From: Rob Herring <robh@...nel.org>
To: Gregory CLEMENT <gregory.clement@...e-electrons.com>
Cc: Stephen Boyd <sboyd@...eaurora.org>,
Mike Turquette <mturquette@...libre.com>,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
Jason Cooper <jason@...edaemon.net>,
Andrew Lunn <andrew@...n.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
Nadav Haklai <nadavh@...vell.com>,
Kostya Porotchkin <kostap@...vell.com>,
Neta Zur Hershkovits <neta@...vell.com>,
Marcin Wojtas <mw@...ihalf.com>,
Omri Itach <omrii@...vell.com>,
Shadi Ammouri <shadi@...vell.com>
Subject: Re: [PATCH 3/5] clk: mvebu: ap806: introduce a new binding
On Fri, May 19, 2017 at 05:58:03PM +0200, Gregory CLEMENT wrote:
> As for cp110, the initial intent when the binding of the ap806 system
> controller was to have one flat node. The idea being that what is
> currently a clock-only driver in drivers would become a MFD driver,
> exposing the clock, GPIO and pinctrl functionality. However, after taking
> a step back, this would lead to a messy binding. Indeed, a single node
> would be a GPIO controller, clock controller, pinmux controller, and
> more.
>
> This patch adopts a more classical solution of a top-level syscon node
> with sub-nodes for the individual devices. The main benefit will be to
> have each functional block associated to its own sub-node where we can
> put its own properties.
>
> The introduction of the Armada 7K/8K is still in the early stage so the
> plan is to remove the old binding. However, we don't want to break the
> device tree compatibility for the few devices already in the field. For
> this we still keep the support of the legacy compatible string with a big
> warning in the kernel about updating the device tree.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@...e-electrons.com>
> ---
> Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt | 20 +++++++++++++++-----
> drivers/clk/mvebu/ap806-system-controller.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------
> 2 files changed, 59 insertions(+), 17 deletions(-)
Acked-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists