|
|
Log in / Subscribe / Register

Add JH7110 MIPI DPHY TX support

From:  Shengyang Chen <shengyang.chen-AT-starfivetech.com>
To:  devicetree-AT-vger.kernel.org, linux-phy-AT-lists.infradead.org
Subject:  [PATCH v4 0/2] Add JH7110 MIPI DPHY TX support
Date:  Fri, 01 Mar 2024 09:24:04 +0800
Message-ID:  <20240301012406.92589-1-shengyang.chen@starfivetech.com>
Cc:  vkoul-AT-kernel.org, kishon-AT-kernel.org, robh+dt-AT-kernel.org, krzysztof.kozlowski+dt-AT-linaro.org, conor+dt-AT-kernel.org, p.zabel-AT-pengutronix.de, minda.chen-AT-starfivetech.com, changhuang.liang-AT-starfivetech.com, rogerq-AT-kernel.org, geert+renesas-AT-glider.be, keith.zhao-AT-starfivetech.com, shengyang.chen-AT-starfivetech.com, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

This patchset adds mipi dphy tx support for the StarFive JH7110 SoC.
It is used to transfer DSI data. The series has been tested on
the VisionFive 2 board.


change since v3:
- Rebased on tag v6.8-rc6.

patch 2:
- Lower case for hex value.
- Replace bit shifts operation with macro definitions.
- Drop delay in stf_dphy_hw_reset().
- Change variable declarations order in stf_dphy_configure().

v3: https://patchwork.kernel.org/project/linux-phy/cover/2024...


change since v2:
- Rebased on tag v6.8-rc3.

patch 2:
- Drop regulator operation.

v2: https://patchwork.kernel.org/project/linux-phy/cover/2024...


changes since v1:
- Rebased on tag v6.7.

patch 1:
- Drop 'dphy_'prefix.
- Drop DSI reset.
- Drop unnecessary resets.


patch 2:
- Changed the commit message.
- Use dev_err_probe() and PTR_ERR() in probing.
- Drop DSI reset operation.
- Drop unnecessary resets operation.
- Add configs in array for full support of the module
- Changed 'void *io_addr' to 'void __iomem *io_addr'.

v1: https://patchwork.kernel.org/project/linux-phy/cover/2023...


Shengyang Chen (2):
  dt-bindings: phy: Add starfive,jh7110-dphy-tx
  phy: starfive: Add mipi dphy tx support

 .../bindings/phy/starfive,jh7110-dphy-tx.yaml |  68 ++
 MAINTAINERS                                   |   7 +
 drivers/phy/starfive/Kconfig                  |  10 +
 drivers/phy/starfive/Makefile                 |   1 +
 drivers/phy/starfive/phy-jh7110-dphy-tx.c     | 702 ++++++++++++++++++
 5 files changed, 788 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-tx.yaml
 create mode 100644 drivers/phy/starfive/phy-jh7110-dphy-tx.c

-- 
2.17.1




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