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


Groups > linux.kernel > #1282244

Re: [PATCH 1/2] clk: Add brcm,bcm63xx-gate-clk device tree binding

From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] clk: Add brcm,bcm63xx-gate-clk device tree binding
Date 2015-12-02 19:20 +0100
Message-ID <qBkau-2mS-13@gated-at.bofh.it> (permalink)
References <qADIe-8wf-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2015-11-30 12:52 GMT-08:00 Simon Arlott <simon@fire.lp0.eu>:
> Add device tree binding for the BCM63xx's gated clocks.
>
> The BCM63xx contains clocks gated with a register. Clocks are indexed
> by bits in the register and are active high. Clock gate bits are
> interleaved with other status bits and configurable clocks in the same
> register.
>
> Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
> ---
>  .../bindings/clock/brcm,bcm63xx-gate-clk.txt       | 58 ++++++++++++++++++++++
>  1 file changed, 58 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/clock/brcm,bcm63xx-gate-clk.txt
>
> diff --git a/Documentation/devicetree/bindings/clock/brcm,bcm63xx-gate-clk.txt b/Documentation/devicetree/bindings/clock/brcm,bcm63xx-gate-clk.txt
> new file mode 100644
> index 0000000..3f4ead1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/brcm,bcm63xx-gate-clk.txt
> @@ -0,0 +1,58 @@
> +Broadcom BCM63xx clocks
> +
> +This binding uses the common clock binding:
> +       Documentation/devicetree/bindings/clock/clock-bindings.txt
> +
> +The BCM63xx contains clocks gated with a register. Clocks are indexed
> +by bits in the register and are active high. Clock gate bits are
> +interleaved with other status bits and configurable clocks in the same
> +register.

Most MIPS-based BCM63xx SoCs have clock gating set of registers, these
SoCs are pretty much all of them except 63381 (maybe newer ones too),
this one uses the PMB interface, like 63138 to control resets and
clocks fed to peripherals.

> +
> +Required properties:
> +- compatible:  Should be "brcm,bcm<soc>-gate-clk", "brcm,bcm63xx-gate-clk"

I think we would want to start with the lowest common denominator
here, which is either 6345 or 6348.
--
Florian
--
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/

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


Thread

[PATCH 1/2] clk: Add brcm,bcm63xx-gate-clk device tree binding Simon Arlott <simon@fire.lp0.eu> - 2015-11-30 22:00 +0100
  Re: [PATCH 1/2] clk: Add brcm,bcm63xx-gate-clk device tree binding Florian Fainelli <f.fainelli@gmail.com> - 2015-12-02 19:20 +0100
  Re: [PATCH 1/2] clk: Add brcm,bcm63xx-gate-clk device tree binding Rob Herring <robh@kernel.org> - 2015-12-04 15:40 +0100
    Re: [PATCH 1/2] clk: Add brcm,bcm63xx-gate-clk device tree binding "Simon Arlott" <simon@fire.lp0.eu> - 2015-12-04 22:10 +0100
      Re: [PATCH 1/2] clk: Add brcm,bcm63xx-gate-clk device tree binding "Simon Arlott" <simon@fire.lp0.eu> - 2015-12-08 13:30 +0100

csiph-web