Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1648195

Re: [PATCH 3/5] clk: mvebu: ap806: introduce a new binding

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] clk: mvebu: ap806: introduce a new binding
Date 2017-05-23 17:30 +0200
Message-ID <tKjV1-51B-29@gated-at.bofh.it> (permalink)
References <tIStQ-4fG-35@gated-at.bofh.it> <tIStQ-4fG-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@free-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@kernel.org>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] Improve ap806 clk support on Marvell Armada 7K/8K Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-05-19 18:00 +0200
  [PATCH 2/5] clk: mvebu: ap806: do not depend anymore of the *-clock-output-names Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-05-19 18:00 +0200
    Re: [PATCH 2/5] clk: mvebu: ap806: do not depend anymore of the  *-clock-output-names Rob Herring <robh@kernel.org> - 2017-05-23 17:30 +0200
  [PATCH 3/5] clk: mvebu: ap806: introduce a new binding Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-05-19 18:00 +0200
    Re: [PATCH 3/5] clk: mvebu: ap806: introduce a new binding Rob Herring <robh@kernel.org> - 2017-05-23 17:30 +0200
  [PATCH 1/5] clk: mvebu: ap806: cosmetic improvement Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-05-19 18:00 +0200
  [PATCH 4/5] arm64: dts: marvell: remove clock-output-names on ap806 Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-05-19 18:00 +0200

csiph-web