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: <8e8d7e3fb497a3760bc0979457ae1bae77ecc561.camel@synopsys.com>
Date:   Fri, 5 Jul 2019 16:03:51 +0000
From:   Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>
To:     "linux-snps-arc@...ts.infradead.org" 
        <linux-snps-arc@...ts.infradead.org>
CC:     "Eugeniy.Paltsev@...opsys.com" <Eugeniy.Paltsev@...opsys.com>,
        "Vineet Gupta" <Vineet.Gupta1@...opsys.com>,
        Alexey Brodkin <Alexey.Brodkin@...opsys.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARC: [plat-hsdk]: enable DW SPI controller

Hi Vineet,

I guess you'll add this to 5.3, right?

On Fri, 2019-06-07 at 15:29 +0000, Alexey Brodkin wrote:
> Hi Eugeniy,
> 
> > -----Original Message-----
> > From: Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>
> > Sent: Friday, June 7, 2019 5:48 PM
> > To: linux-snps-arc@...ts.infradead.org; Vineet Gupta <vgupta@...opsys.com>
> > Cc: linux-kernel@...r.kernel.org; Alexey Brodkin <abrodkin@...opsys.com>; Eugeniy Paltsev
> > <Eugeniy.Paltsev@...opsys.com>
> > Subject: [PATCH] ARC: [plat-hsdk]: enable DW SPI controller
> > 
> > HSDK SoC has DW SPI controller. Enable it in preparation of
> > enabling on-board SPI peripherals.
> > 
> > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>
> 
> Adding Rob and...
> 
> Acked-by: Alexey Brodkin <abrodkin@...opsys.com>
> 
> >  arch/arc/boot/dts/hsdk.dts      | 14 ++++++++++++++
> >  arch/arc/configs/hsdk_defconfig |  3 +++
> >  2 files changed, 17 insertions(+)
> > 
> > diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
> > index e57b24dd02e7..42e1c961ba48 100644
> > --- a/arch/arc/boot/dts/hsdk.dts
> > +++ b/arch/arc/boot/dts/hsdk.dts
> > @@ -11,6 +11,7 @@
> >   */
> >  /dts-v1/;
> > 
> > +#include <dt-bindings/gpio/gpio.h>
> >  #include <dt-bindings/reset/snps,hsdk-reset.h>
> > 
> >  / {
> > @@ -233,6 +234,19 @@
> >  			dma-coherent;
> >  		};
> > 
> > +		spi0: spi@...00 {
> > +			compatible = "snps,dw-apb-ssi";
> > +			reg = <0x20000 0x100>;
> > +			#address-cells = <1>;
> > +			#size-cells = <0>;
> > +			interrupts = <16>;
> > +			num-cs = <2>;
> > +			reg-io-width = <4>;
> > +			clocks = <&input_clk>;
> > +			cs-gpios = <&creg_gpio 0 GPIO_ACTIVE_LOW>,
> > +				   <&creg_gpio 1 GPIO_ACTIVE_LOW>;
> > +		};
> > +
> >  		creg_gpio: gpio@...0 {
> >  			compatible = "snps,creg-gpio-hsdk";
> >  			reg = <0x14b0 0x4>;
> > diff --git a/arch/arc/configs/hsdk_defconfig b/arch/arc/configs/hsdk_defconfig
> > index 0c4411f50948..ccfa744fe755 100644
> > --- a/arch/arc/configs/hsdk_defconfig
> > +++ b/arch/arc/configs/hsdk_defconfig
> > @@ -46,6 +46,9 @@ CONFIG_SERIAL_8250_CONSOLE=y
> >  CONFIG_SERIAL_8250_DW=y
> >  CONFIG_SERIAL_OF_PLATFORM=y
> >  # CONFIG_HW_RANDOM is not set
> > +CONFIG_SPI=y
> > +CONFIG_SPI_DESIGNWARE=y
> > +CONFIG_SPI_DW_MMIO=y
> >  CONFIG_GPIOLIB=y
> >  CONFIG_GPIO_SYSFS=y
> >  CONFIG_GPIO_DWAPB=y
> > --
> > 2.21.0
-- 
 Eugeniy Paltsev

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ