On 04/08/2016 07:00 AM, Chanwoo Choi wrote:
> This patch adds the NoCP (Network on Chip Probe) Device Tree node
> to measure the bandwidth of memory and g3d in Exynos542x SoC.
> 
> Signed-off-by: Chanwoo Choi <cw00.c...@samsung.com>
> ---
>  arch/arm/boot/dts/exynos5420.dtsi | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi 
> b/arch/arm/boot/dts/exynos5420.dtsi
> index 7b99cb58d82d..d80f3b66f017 100644
> --- a/arch/arm/boot/dts/exynos5420.dtsi
> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> @@ -294,6 +294,42 @@
>               };
>       };
>  
> +     nocp_mem0_0: nocp_mem0_0@10CA1000 {

The node name should describe general class of device, so:

        nocp_mem0_0: nocp@10CA1000 {
                ...
        }
?

> +             compatible = "samsung,exynos5420-nocp";
> +             reg = <0x10CA1000 0x200>;
> +             status = "disabled";
> +     };
> +
> +     nocp_mem0_1: nocp_mem0_1@10CA1400 {
> +             compatible = "samsung,exynos5420-nocp";
> +             reg = <0x10CA1400 0x200>;
> +             status = "disabled";
> +     };
> +
> +     nocp_mem0_2: nocp_mem0_2@10CA1800 {

Shouldn't it be nocp_mem1_0?

> +             compatible = "samsung,exynos5420-nocp";
> +             reg = <0x10CA1800 0x200>;
> +             status = "disabled";
> +     };
> +
> +     nocp_mem0_3: nocp_mem0_3@10CA1C00 {

Shouldn't it be nocp_mem1_1?


Best regards,
Krzysztof

Reply via email to