mbox series

[0/5] exynos-ufs: Add support for UFS HCI

Message ID 20200306150529.3370-1-alim.akhtar@samsung.com (mailing list archive)
Headers show
Series exynos-ufs: Add support for UFS HCI | expand

Message

Alim Akhtar March 6, 2020, 3:05 p.m. UTC
This patch-set introduces UFS (Universal Flash Storage) host controller support
for Samsung family SoC. Mostly, it consists of UFS PHY and host specific driver.

patch 1/5: define devicetree bindings for UFS PHY
patch 2/5: Adds UFS PHY driver
patch 3/5: define devicetree bindings for UFS HCI 
patch 4/5: Adds Samsung UFS HCI driver
patch 5/5: Enabled UFS on exynos7 platform

Note: This series is based on Linux-5.6-rc2 
      In past there was couple of attempt to upstream this driver, but
      it didn't went upstream for some or other reason.

Alim Akhtar (5):
  dt-bindings: phy: Document Samsung UFS PHY bindings
  phy: samsung-ufs: add UFS PHY driver for samsung SoC
  Documentation: devicetree: ufs: Add DT bindings for exynos UFS host
    controller
  scsi: ufs-exynos: add UFS host support for Exynos SoCs
  arm64: dts: Add node for ufs exynos7

 .../bindings/phy/samsung,ufs-phy.yaml         |   60 +
 .../devicetree/bindings/ufs/ufs-exynos.txt    |  104 ++
 .../boot/dts/exynos/exynos7-espresso.dts      |   16 +
 arch/arm64/boot/dts/exynos/exynos7.dtsi       |   56 +-
 drivers/phy/samsung/Kconfig                   |    9 +
 drivers/phy/samsung/Makefile                  |    1 +
 drivers/phy/samsung/phy-exynos7-ufs.h         |   85 +
 drivers/phy/samsung/phy-samsung-ufs.c         |  311 ++++
 drivers/phy/samsung/phy-samsung-ufs.h         |  100 ++
 drivers/scsi/ufs/Kconfig                      |   12 +
 drivers/scsi/ufs/Makefile                     |    1 +
 drivers/scsi/ufs/ufs-exynos.c                 | 1399 +++++++++++++++++
 drivers/scsi/ufs/ufs-exynos.h                 |  268 ++++
 drivers/scsi/ufs/unipro.h                     |   41 +
 include/linux/phy/phy-samsung-ufs.h           |   70 +
 15 files changed, 2531 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
 create mode 100644 Documentation/devicetree/bindings/ufs/ufs-exynos.txt
 create mode 100644 drivers/phy/samsung/phy-exynos7-ufs.h
 create mode 100644 drivers/phy/samsung/phy-samsung-ufs.c
 create mode 100644 drivers/phy/samsung/phy-samsung-ufs.h
 create mode 100644 drivers/scsi/ufs/ufs-exynos.c
 create mode 100644 drivers/scsi/ufs/ufs-exynos.h
 create mode 100644 include/linux/phy/phy-samsung-ufs.h

Comments

Alim Akhtar March 13, 2020, 12:54 a.m. UTC | #1
Ping!!!


On Fri, Mar 6, 2020 at 8:40 PM Alim Akhtar <alim.akhtar@samsung.com> wrote:
>
> This patch-set introduces UFS (Universal Flash Storage) host controller support
> for Samsung family SoC. Mostly, it consists of UFS PHY and host specific driver.
>
> patch 1/5: define devicetree bindings for UFS PHY
> patch 2/5: Adds UFS PHY driver
> patch 3/5: define devicetree bindings for UFS HCI
> patch 4/5: Adds Samsung UFS HCI driver
> patch 5/5: Enabled UFS on exynos7 platform
>
> Note: This series is based on Linux-5.6-rc2
>       In past there was couple of attempt to upstream this driver, but
>       it didn't went upstream for some or other reason.
>
> Alim Akhtar (5):
>   dt-bindings: phy: Document Samsung UFS PHY bindings
>   phy: samsung-ufs: add UFS PHY driver for samsung SoC
>   Documentation: devicetree: ufs: Add DT bindings for exynos UFS host
>     controller
>   scsi: ufs-exynos: add UFS host support for Exynos SoCs
>   arm64: dts: Add node for ufs exynos7
>
>  .../bindings/phy/samsung,ufs-phy.yaml         |   60 +
>  .../devicetree/bindings/ufs/ufs-exynos.txt    |  104 ++
>  .../boot/dts/exynos/exynos7-espresso.dts      |   16 +
>  arch/arm64/boot/dts/exynos/exynos7.dtsi       |   56 +-
>  drivers/phy/samsung/Kconfig                   |    9 +
>  drivers/phy/samsung/Makefile                  |    1 +
>  drivers/phy/samsung/phy-exynos7-ufs.h         |   85 +
>  drivers/phy/samsung/phy-samsung-ufs.c         |  311 ++++
>  drivers/phy/samsung/phy-samsung-ufs.h         |  100 ++
>  drivers/scsi/ufs/Kconfig                      |   12 +
>  drivers/scsi/ufs/Makefile                     |    1 +
>  drivers/scsi/ufs/ufs-exynos.c                 | 1399 +++++++++++++++++
>  drivers/scsi/ufs/ufs-exynos.h                 |  268 ++++
>  drivers/scsi/ufs/unipro.h                     |   41 +
>  include/linux/phy/phy-samsung-ufs.h           |   70 +
>  15 files changed, 2531 insertions(+), 2 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
>  create mode 100644 Documentation/devicetree/bindings/ufs/ufs-exynos.txt
>  create mode 100644 drivers/phy/samsung/phy-exynos7-ufs.h
>  create mode 100644 drivers/phy/samsung/phy-samsung-ufs.c
>  create mode 100644 drivers/phy/samsung/phy-samsung-ufs.h
>  create mode 100644 drivers/scsi/ufs/ufs-exynos.c
>  create mode 100644 drivers/scsi/ufs/ufs-exynos.h
>  create mode 100644 include/linux/phy/phy-samsung-ufs.h
>
> --
> 2.17.1
>


--
Regards,
Alim
Krzysztof Kozlowski March 13, 2020, 8:23 a.m. UTC | #2
On Fri, Mar 13, 2020 at 06:24:17AM +0530, Alim Akhtar wrote:
> Ping!!!

Hi,

Please use the get_maintainers script to get list of Cc addresses. The
DTS patch for example misses the samsung-soc mailing list therefore it
is not in the patchwork. Patches to ARM/ARM64 Samsung SoC tree go from
patchwork:
https://patchwork.kernel.org/project/linux-samsung-soc/list/

Best regards,
Krzysztof

> 
> 
> On Fri, Mar 6, 2020 at 8:40 PM Alim Akhtar <alim.akhtar@samsung.com> wrote:
> >
> > This patch-set introduces UFS (Universal Flash Storage) host controller support
> > for Samsung family SoC. Mostly, it consists of UFS PHY and host specific driver.
> >
> > patch 1/5: define devicetree bindings for UFS PHY
> > patch 2/5: Adds UFS PHY driver
> > patch 3/5: define devicetree bindings for UFS HCI
> > patch 4/5: Adds Samsung UFS HCI driver
> > patch 5/5: Enabled UFS on exynos7 platform
> >
> > Note: This series is based on Linux-5.6-rc2
> >       In past there was couple of attempt to upstream this driver, but
> >       it didn't went upstream for some or other reason.
> >
> > Alim Akhtar (5):
> >   dt-bindings: phy: Document Samsung UFS PHY bindings
> >   phy: samsung-ufs: add UFS PHY driver for samsung SoC
> >   Documentation: devicetree: ufs: Add DT bindings for exynos UFS host
> >     controller
> >   scsi: ufs-exynos: add UFS host support for Exynos SoCs
> >   arm64: dts: Add node for ufs exynos7
> >
> >  .../bindings/phy/samsung,ufs-phy.yaml         |   60 +
> >  .../devicetree/bindings/ufs/ufs-exynos.txt    |  104 ++
> >  .../boot/dts/exynos/exynos7-espresso.dts      |   16 +
> >  arch/arm64/boot/dts/exynos/exynos7.dtsi       |   56 +-
> >  drivers/phy/samsung/Kconfig                   |    9 +
> >  drivers/phy/samsung/Makefile                  |    1 +
> >  drivers/phy/samsung/phy-exynos7-ufs.h         |   85 +
> >  drivers/phy/samsung/phy-samsung-ufs.c         |  311 ++++
> >  drivers/phy/samsung/phy-samsung-ufs.h         |  100 ++
> >  drivers/scsi/ufs/Kconfig                      |   12 +
> >  drivers/scsi/ufs/Makefile                     |    1 +
> >  drivers/scsi/ufs/ufs-exynos.c                 | 1399 +++++++++++++++++
> >  drivers/scsi/ufs/ufs-exynos.h                 |  268 ++++
> >  drivers/scsi/ufs/unipro.h                     |   41 +
> >  include/linux/phy/phy-samsung-ufs.h           |   70 +
> >  15 files changed, 2531 insertions(+), 2 deletions(-)
> >  create mode 100644 Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> >  create mode 100644 Documentation/devicetree/bindings/ufs/ufs-exynos.txt
> >  create mode 100644 drivers/phy/samsung/phy-exynos7-ufs.h
> >  create mode 100644 drivers/phy/samsung/phy-samsung-ufs.c
> >  create mode 100644 drivers/phy/samsung/phy-samsung-ufs.h
> >  create mode 100644 drivers/scsi/ufs/ufs-exynos.c
> >  create mode 100644 drivers/scsi/ufs/ufs-exynos.h
> >  create mode 100644 include/linux/phy/phy-samsung-ufs.h
> >
> > --
> > 2.17.1
> >
> 
> 
> --
> Regards,
> Alim
Alim Akhtar March 13, 2020, 8:54 a.m. UTC | #3
Hello Krzysztof 

> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: 13 March 2020 13:54
> To: Alim Akhtar <alim.akhtar@gmail.com>
> Cc: Alim Akhtar <alim.akhtar@samsung.com>; robh+dt <robh+dt@kernel.org>;
> devicetree@vger.kernel.org; linux-scsi@vger.kernel.org; Avri Altman
> <avri.altman@wdc.com>; Martin K. Petersen <martin.petersen@oracle.com>;
> Kiwoong Kim <kwmad.kim@samsung.com>; Stanley Chu
> <stanley.chu@mediatek.com>; Can Guo <cang@codeaurora.org>
> Subject: Re: [PATCH 0/5] exynos-ufs: Add support for UFS HCI
> 
> On Fri, Mar 13, 2020 at 06:24:17AM +0530, Alim Akhtar wrote:
> > Ping!!!
> 
> Hi,
> 
> Please use the get_maintainers script to get list of Cc addresses. The DTS patch
> for example misses the samsung-soc mailing list therefore it is not in the
> patchwork. Patches to ARM/ARM64 Samsung SoC tree go from
> patchwork:
> https://patchwork.kernel.org/project/linux-samsung-soc/list/
> 
Thanks for pointing that out, sure will add relevant CC and mailing lists. Request you to have a look on the patches.

> Best regards,
> Krzysztof
> 
> >
> >
> > On Fri, Mar 6, 2020 at 8:40 PM Alim Akhtar <alim.akhtar@samsung.com>
> wrote:
> > >
> > > This patch-set introduces UFS (Universal Flash Storage) host
> > > controller support for Samsung family SoC. Mostly, it consists of UFS PHY
> and host specific driver.
> > >
> > > patch 1/5: define devicetree bindings for UFS PHY patch 2/5: Adds
> > > UFS PHY driver patch 3/5: define devicetree bindings for UFS HCI
> > > patch 4/5: Adds Samsung UFS HCI driver patch 5/5: Enabled UFS on
> > > exynos7 platform
> > >
> > > Note: This series is based on Linux-5.6-rc2
> > >       In past there was couple of attempt to upstream this driver, but
> > >       it didn't went upstream for some or other reason.
> > >
> > > Alim Akhtar (5):
> > >   dt-bindings: phy: Document Samsung UFS PHY bindings
> > >   phy: samsung-ufs: add UFS PHY driver for samsung SoC
> > >   Documentation: devicetree: ufs: Add DT bindings for exynos UFS host
> > >     controller
> > >   scsi: ufs-exynos: add UFS host support for Exynos SoCs
> > >   arm64: dts: Add node for ufs exynos7
> > >
> > >  .../bindings/phy/samsung,ufs-phy.yaml         |   60 +
> > >  .../devicetree/bindings/ufs/ufs-exynos.txt    |  104 ++
> > >  .../boot/dts/exynos/exynos7-espresso.dts      |   16 +
> > >  arch/arm64/boot/dts/exynos/exynos7.dtsi       |   56 +-
> > >  drivers/phy/samsung/Kconfig                   |    9 +
> > >  drivers/phy/samsung/Makefile                  |    1 +
> > >  drivers/phy/samsung/phy-exynos7-ufs.h         |   85 +
> > >  drivers/phy/samsung/phy-samsung-ufs.c         |  311 ++++
> > >  drivers/phy/samsung/phy-samsung-ufs.h         |  100 ++
> > >  drivers/scsi/ufs/Kconfig                      |   12 +
> > >  drivers/scsi/ufs/Makefile                     |    1 +
> > >  drivers/scsi/ufs/ufs-exynos.c                 | 1399 +++++++++++++++++
> > >  drivers/scsi/ufs/ufs-exynos.h                 |  268 ++++
> > >  drivers/scsi/ufs/unipro.h                     |   41 +
> > >  include/linux/phy/phy-samsung-ufs.h           |   70 +
> > >  15 files changed, 2531 insertions(+), 2 deletions(-)  create mode
> > > 100644 Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > >  create mode 100644
> > > Documentation/devicetree/bindings/ufs/ufs-exynos.txt
> > >  create mode 100644 drivers/phy/samsung/phy-exynos7-ufs.h
> > >  create mode 100644 drivers/phy/samsung/phy-samsung-ufs.c
> > >  create mode 100644 drivers/phy/samsung/phy-samsung-ufs.h
> > >  create mode 100644 drivers/scsi/ufs/ufs-exynos.c  create mode
> > > 100644 drivers/scsi/ufs/ufs-exynos.h  create mode 100644
> > > include/linux/phy/phy-samsung-ufs.h
> > >
> > > --
> > > 2.17.1
> > >
> >
> >
> > --
> > Regards,
> > Alim