On Monday 18 May 2015 17:24:39 Loc Ho wrote:
> This patch adds documentation for the APM X-Gene SoC EDAC DTS binding.
> 
> Signed-off-by: Loc Ho <l...@apm.com>

This is starting to look pretty good. One final comment:

> +Example:
> +     csw: csw@7e200000 {
> +             compatible = "syscon";
> +             reg = <0x0 0x7e200000 0x0 0x1000>;
> +     };
> +
> +     mcba: mcba@7e700000 {
> +             compatible = "syscon";
> +             reg = <0x0 0x7e700000 0x0 0x1000>;
> +     };
> +
> +     mcbb: mcbb@7e720000 {
> +             compatible = "syscon";
> +             reg = <0x0 0x7e720000 0x0 0x1000>;
> +     };
> +
> +     efuse: efuse@1054a000 {
> +             compatible = "syscon";
> +             reg = <0x0 0x1054a000 0x0 0x20>;
> +     };

I think it would be helpful to assign a proper compatible string (in
addition o syscon, not replacing it) for each of these, just in case
we ever need to add a proper driver for one of them, or in case a
future chip uses an unmodified edac block with a slightly different
set of fuses or other registers that are referenced here.

        Arnd
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to