[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGt4E5susQWWNZPbNh8AoWtK-4yu50VL=GqOw+_2w_FA+2V68Q@mail.gmail.com>
Date: Tue, 25 Apr 2017 12:29:40 -0700
From: Markus Mayer <markus.mayer@...adcom.com>
To: Rob Herring <robh+dt@...nel.org>
Cc: Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Mark Rutland <mark.rutland@....com>,
Florian Fainelli <f.fainelli@...il.com>,
Broadcom Kernel List <bcm-kernel-feedback-list@...adcom.com>,
Linux HWMON List <linux-hwmon@...r.kernel.org>,
Device Tree List <devicetree@...r.kernel.org>,
ARM Kernel List <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] dt/bindings: Add bindings for Broadcom STB DRAM Sensors
Hi Rob,
On 18 April 2017 at 13:17, Markus Mayer <code@...yer.net> wrote:
> From: Markus Mayer <mmayer@...adcom.com>
>
> Provide bindings for the Broadcom STB DDR PHY Front End (DPFE).
Would you be able to have a look at this binding? The driver won't be
upstreamed as hwmon driver (as per Guenter's comments). I am currently
converting the driver to a "soc" driver instead, but the proposed
binding remains unchanged.
If you have comments or suggestions, I would like to incorporate them
with the new series I will be sending out.
Thanks,
-Markus
> Signed-off-by: Markus Mayer <mmayer@...adcom.com>
> ---
> .../devicetree/bindings/hwmon/brcmstb-dpfe.txt | 68 ++++++++++++++++++++++
> 1 file changed, 68 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/brcmstb-dpfe.txt
>
> diff --git a/Documentation/devicetree/bindings/hwmon/brcmstb-dpfe.txt b/Documentation/devicetree/bindings/hwmon/brcmstb-dpfe.txt
> new file mode 100644
> index 0000000..3519197
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/brcmstb-dpfe.txt
> @@ -0,0 +1,68 @@
> +DDR PHY Front End (DPFE) for Broadcom STB
> +=========================================
> +
> +DPFE and the DPFE firmware provide an interface for the host CPU to
> +communicate with the DCPU, which resides inside the DDR PHY.
> +
> +There are three memory regions for interacting with the DCPU.
> +
> +The DCPU Register Space
> +-----------------------
> +
> +Required properties:
> + - compatible: must be one of brcm,bcm7271-dpfe-cpu, brcm,dpfe-cpu-v12.0.0.0
> + or brcm,dpfe-cpu
> + - reg: must reference the start address and length of the DCPU register
> + space
> +
> +Optional properties:
> + - cell-index: the index of the DPFE instance; will default to 0 if not set
> +
> +Example:
> + dpfe_cpu0: dpfe-cpu@...32000 {
> + compatible = "brcm,bcm7271-dpfe-cpu",
> + "brcm,dpfe-cpu-v12.0.0.0",
> + "brcm,dpfe-cpu";
> + reg = <0xf1132000 0x180>;
> + cell-index = <0>;
> + };
> +
> +The DCPU Data Memory Space
> +--------------------------
> +
> +Required properties:
> + - compatible: must be one of brcm,bcm7271-dpfe-dmem, brcm,dpfe-dmem-v12.0.0.0
> + or brcm,dpfe-dmem
> + - reg: must reference the start address and length of the DCPU DMEM space
> +
> +Optional properties:
> + - cell-index: the index of the DPFE instance; will default to 0 if not set
> +
> +Example:
> + dpfe_dmem0: dpfe-dmem@...34000 {
> + compatible = "brcm,bcm7271-dpfe-dmem",
> + "brcm,dpfe-dmem-v12.0.0.0",
> + "brcm,dpfe-dmem";
> + reg = <0xf1134000 0x1000>;
> + cell-index = <0>;
> + };
> +
> +The DCPU Instruction Memory Space
> +---------------------------------
> +
> +Required properties:
> + - compatible: must be one of brcm,bcm7271-dpfe-imem, brcm,dpfe-imem-v12.0.0.0
> + or brcm,dpfe-imem
> + - reg: must reference the start address and length of the DCPU IMEM space
> +
> +Optional properties:
> + - cell-index: the index of the DPFE instance; will default to 0 if not set
> +
> +Example:
> + dpfe_imem0: dpfe-imem@...38000 {
> + compatible = "brcm,bcm7271-dpfe-imem",
> + "brcm,dpfe-imem-v12.0.0.0",
> + "brcm,dpfe-imem";
> + reg = <0xf1138000 0x4000>;
> + cell-index = <0>;
> + };
> --
> 2.7.4
>
Powered by blists - more mailing lists