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] [day] [month] [year] [list]
Message-ID: <20210308124452.c4svp52m77bnf3zk@pengutronix.de>
Date:   Mon, 8 Mar 2021 13:44:52 +0100
From:   Marco Felsch <m.felsch@...gutronix.de>
To:     Adrien Grassein <adrien.grassein@...il.com>
Cc:     devicetree@...r.kernel.org, festevam@...il.com,
        shawnguo@...nel.org, s.hauer@...gutronix.de,
        linux-kernel@...r.kernel.org, krzk@...nel.org, robh+dt@...nel.org,
        linux-imx@....com, kernel@...gutronix.de, catalin.marinas@....com,
        will@...nel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/1] arm64: dts: imx8mm-nitrogen-r2: add espi2 support

Hi Adrien,

On 21-03-08 13:39, Adrien Grassein wrote:
> Add the description for espi support.
> 
> Signed-off-by: Adrien Grassein <adrien.grassein@...il.com>
> Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
> ---
>  .../boot/dts/freescale/imx8mm-nitrogen-r2.dts | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts b/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts
> index 4f4cf7df5a5a..0c5949b40eeb 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts
> @@ -52,6 +52,19 @@ &A53_3 {
>  	cpu-supply = <&reg_buck3>;
>  };
>  
> +/* J15 */
> +&ecspi2 {
> +	assigned-clocks = <&clk IMX8MM_CLK_ECSPI2>;
> +	assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_40M>;
> +	assigned-clock-rates = <40000000>;
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_ecspi2>;
> +	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;

> +	#address-cells = <1>;
> +	#size-cells = <0>;

Nit: These two properties should be added to the base dtsi if not
already done.

Regards,
  Marco

> +	status = "okay";
> +};
> +
>  &fec1 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_fec1>;
> @@ -286,6 +299,15 @@ &iomuxc {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_hog>;
>  
> +	pinctrl_ecspi2: ecspi2grp {
> +		fsl,pins = <
> +			MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13	0x140
> +			MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO	0x19
> +			MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK	0x19
> +			MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI	0x19
> +		>;
> +	};
> +
>  	pinctrl_fec1: fec1grp {
>  		fsl,pins = <
>  			MX8MM_IOMUXC_ENET_MDC_ENET1_MDC			0x3
> -- 
> 2.25.1
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ