|
|
Log in / Subscribe / Register

phy: intel: Add Keem Bay eMMC PHY support

From:  Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad-AT-intel.com>
To:  kishon-AT-ti.com, vkoul-AT-kernel.org, robh+dt-AT-kernel.org
Subject:  [PATCH v2 0/2] phy: intel: Add Keem Bay eMMC PHY support
Date:  Tue, 26 May 2020 13:04:50 +0800
Message-ID:  <20200526050452.8837-1-wan.ahmad.zainie.wan.mohamad@intel.com>
Cc:  linux-kernel-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, andriy.shevchenko-AT-intel.com, adrian.hunter-AT-intel.com, wan.ahmad.zainie.wan.mohamad-AT-intel.com
Archive-link:  Article

Hi.

The first part is to document DT bindings for Keem Bay eMMC PHY.

The second is the driver file, loosely based on phy-rockchip-emmc.c
and phy-intel-emmc.c. The latter is not being reused as there are
quite a number of differences i.e. registers offset, supported clock
rates, bitfield to set.

The patch was tested with Keem Bay evaluation module board.

Thank you.

Best regards,
Zainie

Changes since v1:
- Rework phy-keembay-emmc.c to make it similar to phy-intel-emmc.c.
- Use regmap_mmio, and remove reference to intel,syscon.
- Use node name phy@....
- Update license i.e. use dual license.


Wan Ahmad Zainie (2):
  dt-bindings: phy: intel: Add Keem Bay eMMC PHY bindings
  phy: intel: Add Keem Bay eMMC PHY support

 .../bindings/phy/intel,keembay-emmc-phy.yaml  |  45 +++
 drivers/phy/intel/Kconfig                     |   8 +
 drivers/phy/intel/Makefile                    |   1 +
 drivers/phy/intel/phy-keembay-emmc.c          | 321 ++++++++++++++++++
 4 files changed, 375 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/intel,keembay-emmc-phy.yaml
 create mode 100644 drivers/phy/intel/phy-keembay-emmc.c

-- 
2.17.1



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds