lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 12 Dec 2017 01:05:40 +0900
From:   Masahiro Yamada <yamada.masahiro@...ionext.com>
To:     Keiji Hayashibara <hayashibara.keiji@...ionext.com>
Cc:     Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Russell King <linux@...linux.org.uk>,
        devicetree@...r.kernel.org,
        linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Masami Hiramatsu <masami.hiramatsu@...aro.org>,
        Jassi Brar <jaswinder.singh@...aro.org>,
        Kunihiko Hayashi <hayashi.kunihiko@...ionext.com>,
        Kiyoshi Owada <owada.kiyoshi@...ionext.com>
Subject: Re: [PATCH] arm: dts: uniphier: add efuse node for UniPhier 32bit SoC

2017-12-04 17:12 GMT+09:00 Keiji Hayashibara <hayashibara.keiji@...ionext.com>:
> Add efuse node for UniPhier LD4, Pro4, sLD8, Pro5 and PXs2.
> This efuse node is included in soc-glue.
>
> Signed-off-by: Keiji Hayashibara <hayashibara.keiji@...ionext.com>
> ---
>  arch/arm/boot/dts/uniphier-ld4.dtsi  | 18 ++++++++++++++++++
>  arch/arm/boot/dts/uniphier-pro4.dtsi | 23 +++++++++++++++++++++++
>  arch/arm/boot/dts/uniphier-pro5.dtsi | 33 +++++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/uniphier-pxs2.dtsi | 18 ++++++++++++++++++
>  arch/arm/boot/dts/uniphier-sld8.dtsi | 18 ++++++++++++++++++
>  5 files changed, 110 insertions(+)


Applied to linux-uniphier,
but please reconsider To: list next time.

This patch was addressed to Rob and Mark,
but they do not pick up platform DT patches.


You do not need to get Rob's Ack for a patch like this.


Binding is a contract between operation system and DT.

The binding for this
(Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt)
was approved by Rob and merged in the mainline.

Given that this patch follows the binding correctly,
it should be safe.

Thanks.



> diff --git a/arch/arm/boot/dts/uniphier-ld4.dtsi b/arch/arm/boot/dts/uniphier-ld4.dtsi
> index 01fc3e1..6883f3b 100644
> --- a/arch/arm/boot/dts/uniphier-ld4.dtsi
> +++ b/arch/arm/boot/dts/uniphier-ld4.dtsi
> @@ -273,6 +273,24 @@
>                         };
>                 };
>
> +               soc-glue@...00000 {
> +                       compatible = "socionext,uniphier-ld4-soc-glue-debug",
> +                                    "simple-mfd";
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       ranges = <0 0x5f900000 0x2000>;
> +
> +                       efuse@100 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x100 0x28>;
> +                       };
> +
> +                       efuse@130 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x130 0x8>;
> +                       };
> +               };
> +
>                 timer@...00200 {
>                         compatible = "arm,cortex-a9-global-timer";
>                         reg = <0x60000200 0x20>;
> diff --git a/arch/arm/boot/dts/uniphier-pro4.dtsi b/arch/arm/boot/dts/uniphier-pro4.dtsi
> index 7955c3a..150726b 100644
> --- a/arch/arm/boot/dts/uniphier-pro4.dtsi
> +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi
> @@ -294,6 +294,29 @@
>                         };
>                 };
>
> +               soc-glue@...00000 {
> +                       compatible = "socionext,uniphier-pro4-soc-glue-debug",
> +                                    "simple-mfd";
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       ranges = <0 0x5f900000 0x2000>;
> +
> +                       efuse@100 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x100 0x28>;
> +                       };
> +
> +                       efuse@130 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x130 0x8>;
> +                       };
> +
> +                       efuse@200 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x200 0x14>;
> +                       };
> +               };
> +
>                 aidet: aidet@...20000 {
>                         compatible = "socionext,uniphier-pro4-aidet";
>                         reg = <0x5fc20000 0x200>;
> diff --git a/arch/arm/boot/dts/uniphier-pro5.dtsi b/arch/arm/boot/dts/uniphier-pro5.dtsi
> index 6589b8a..f291dd6 100644
> --- a/arch/arm/boot/dts/uniphier-pro5.dtsi
> +++ b/arch/arm/boot/dts/uniphier-pro5.dtsi
> @@ -355,6 +355,39 @@
>                         };
>                 };
>
> +               soc-glue@...00000 {
> +                       compatible = "socionext,uniphier-pro5-soc-glue-debug",
> +                                    "simple-mfd";
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       ranges = <0 0x5f900000 0x2000>;
> +
> +                       efuse@100 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x100 0x28>;
> +                       };
> +
> +                       efuse@130 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x130 0x8>;
> +                       };
> +
> +                       efuse@200 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x200 0x28>;
> +                       };
> +
> +                       efuse@300 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x300 0x14>;
> +                       };
> +
> +                       efuse@400 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x400 0x8>;
> +                       };
> +               };
> +
>                 aidet: aidet@...20000 {
>                         compatible = "socionext,uniphier-pro5-aidet";
>                         reg = <0x5fc20000 0x200>;
> diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi
> index d82d6d8..8e54e87 100644
> --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi
> +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi
> @@ -375,6 +375,24 @@
>                         };
>                 };
>
> +               soc-glue@...00000 {
> +                       compatible = "socionext,uniphier-pxs2-soc-glue-debug",
> +                                    "simple-mfd";
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       ranges = <0 0x5f900000 0x2000>;
> +
> +                       efuse@100 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x100 0x28>;
> +                       };
> +
> +                       efuse@200 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x200 0x58>;
> +                       };
> +               };
> +
>                 aidet: aidet@...20000 {
>                         compatible = "socionext,uniphier-pxs2-aidet";
>                         reg = <0x5fc20000 0x200>;
> diff --git a/arch/arm/boot/dts/uniphier-sld8.dtsi b/arch/arm/boot/dts/uniphier-sld8.dtsi
> index 7188536..afafe7c 100644
> --- a/arch/arm/boot/dts/uniphier-sld8.dtsi
> +++ b/arch/arm/boot/dts/uniphier-sld8.dtsi
> @@ -277,6 +277,24 @@
>                         };
>                 };
>
> +               soc-glue@...00000 {
> +                       compatible = "socionext,uniphier-sld8-soc-glue-debug",
> +                                    "simple-mfd";
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       ranges = <0 0x5f900000 0x2000>;
> +
> +                       efuse@100 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x100 0x28>;
> +                       };
> +
> +                       efuse@200 {
> +                               compatible = "socionext,uniphier-efuse";
> +                               reg = <0x200 0x14>;
> +                       };
> +               };
> +
>                 timer@...00200 {
>                         compatible = "arm,cortex-a9-global-timer";
>                         reg = <0x60000200 0x20>;
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists