All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ARM: brcmstb: Bus Interface Unit support
@ 2015-09-15 18:14 ` Florian Fainelli
  0 siblings, 0 replies; 25+ messages in thread
From: Florian Fainelli @ 2015-09-15 18:14 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

This patch series adds support for early boot time Bus Interface Unit control
register setup which is required to occur before SMP is brought-up, but needs
to remap registers, so init_irq() is chosen for that.

This builds on top of the 'soc/next' branch at github.com/Broadcom/stblinux

Major changes in v2:

- updated Device Tree documentation based on Rob's feedback
- added a better pr_fmt format for pr_* calls in biuctrl.c

Florian Fainelli (3):
  Documentation: bindings: brcmstb: Document write-pairing
  soc: brcmstb: Add Bus Interface Unit control setup
  ARM: brcmstb: Setup BIU control registers during boot

 .../devicetree/bindings/arm/bcm/brcm,brcmstb.txt   |  20 ++++
 arch/arm/mach-bcm/brcmstb.c                        |   9 ++
 drivers/soc/brcmstb/Makefile                       |   2 +-
 drivers/soc/brcmstb/biuctrl.c                      | 119 +++++++++++++++++++++
 include/linux/soc/brcmstb/brcmstb.h                |  10 ++
 5 files changed, 159 insertions(+), 1 deletion(-)
 create mode 100644 drivers/soc/brcmstb/biuctrl.c
 create mode 100644 include/linux/soc/brcmstb/brcmstb.h

-- 
2.1.0

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [PATCH v2 1/3] Documentation: bindings: brcmstb: Document write-pairing
@ 2015-09-17 13:35 Rob Herring
  0 siblings, 0 replies; 25+ messages in thread
From: Rob Herring @ 2015-09-17 13:35 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Brian Norris,
	Gregory Fong,
	bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org

On Tue, Sep 15, 2015 at 1:14 PM, Florian Fainelli <f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Document the hif-cpubiuctrl node a bit more, and add a documentation
> entry for the optional "brcm,write-pairing" property.
>
> Signed-off-by: Florian Fainelli <f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

> ---
> Changes in v2:
>
> - added a description of what the BIU stands for and what write pairing is
> - fixed the compatible string description
>
>  .../devicetree/bindings/arm/bcm/brcm,brcmstb.txt     | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,brcmstb.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,brcmstb.txt
> index 430608ec09f0..8ac28eb4a5a1 100644
> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,brcmstb.txt
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,brcmstb.txt
> @@ -20,6 +20,25 @@ system control is required:
>      - compatible: "brcm,bcm<chip_id>-hif-cpubiuctrl", "syscon"
>      - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon"
>
> +hif-cpubiuctrl node
> +-------------------
> +SoCs with Broadcom Brahma15 ARM-based CPUs have a specific Bus Interface Unit
> +(BIU) block which controls and interfaces the CPU complex to the different
> +Memory Controller Ports (MCP), one per memory controller (MEMC). This BIU block
> +offers a feature called Write Pairing which consists in collapsing two adjacent
> +cache lines into a single (bursted) write transaction towards the memory
> +controller (MEMC) to maximize write bandwidth.
> +
> +Required properties:
> +
> +    - compatible: must be "brcm,bcm7445-hif-cpubiuctrl", "syscon"
> +
> +Optional properties:
> +
> +    - brcm,write-pairing:
> +       Boolean property, which when present indicates that the chip
> +       supports write-pairing.
> +
>  example:
>      rdb {
>          #address-cells = <1>;
> @@ -35,6 +54,7 @@ example:
>          hif_cpubiuctrl: syscon@3e2400 {
>              compatible = "brcm,bcm7445-hif-cpubiuctrl", "syscon";
>              reg = <0x3e2400 0x5b4>;
> +            brcm,write-pairing;
>          };
>
>          hif_continuation: syscon@452000 {
> --
> 2.1.0
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2015-09-18 19:23 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 18:14 [PATCH v2 0/3] ARM: brcmstb: Bus Interface Unit support Florian Fainelli
2015-09-15 18:14 ` Florian Fainelli
2015-09-15 18:14 ` [PATCH v2 1/3] Documentation: bindings: brcmstb: Document write-pairing Florian Fainelli
2015-09-15 18:14   ` Florian Fainelli
2015-09-17  6:09   ` Gregory Fong
2015-09-17  6:09     ` Gregory Fong
2015-09-17 17:28     ` Florian Fainelli
2015-09-17 17:28       ` Florian Fainelli
2015-09-15 18:14 ` [PATCH v2 2/3] soc: brcmstb: Add Bus Interface Unit control setup Florian Fainelli
2015-09-15 18:14   ` Florian Fainelli
2015-09-17  6:08   ` Gregory Fong
2015-09-17  6:08     ` Gregory Fong
2015-09-17 17:42     ` Florian Fainelli
2015-09-17 17:42       ` Florian Fainelli
2015-09-18 13:12       ` Gregory Fong
2015-09-18 13:12         ` Gregory Fong
2015-09-18 19:22   ` Florian Fainelli
2015-09-18 19:22     ` Florian Fainelli
2015-09-15 18:15 ` [PATCH v2 3/3] ARM: brcmstb: Setup BIU control registers during boot Florian Fainelli
2015-09-15 18:15   ` Florian Fainelli
2015-09-17  6:10   ` Gregory Fong
2015-09-17  6:10     ` Gregory Fong
2015-09-18 19:23   ` Florian Fainelli
2015-09-18 19:23     ` Florian Fainelli
  -- strict thread matches above, loose matches on Subject: below --
2015-09-17 13:35 [PATCH v2 1/3] Documentation: bindings: brcmstb: Document write-pairing Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.