Re: [PATCH v9 1/8] drivers: phy: add generic PHY framework
From: Jingoo Han <hidden>
Date: 2013-06-28 03:27:21
Also in:
linux-omap, lkml
On Wed, 26 Jun 2013 17:17:29 +0530, Kishon Vijay Abraham Iwrote:
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY provider* with the framework. PHY drivers should create the PHY by passing id and ops like init, exit, power_on and power_off. This framework is also pm runtime enabled. The documentation for the generic PHY framework is added in Documentation/phy.txt and the documentation for dt binding can be found at Documentation/devicetree/bindings/phy/phy-bindings.txt Signed-off-by: Kishon Vijay Abraham I <redacted> Tested-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: Jingoo Han <redacted> It looks great to me! I tested this General PHY framework with Exynos5250 eDP. It works properly. I will share the patch 'Generic PHY driver for the Exynos SoC DP PHY', soon. Thanks. Best regards, Jingoo Han
--- .../devicetree/bindings/phy/phy-bindings.txt | 66 +++ Documentation/phy.txt | 129 +++++ MAINTAINERS | 7 + drivers/Kconfig | 2 + drivers/Makefile | 2 + drivers/phy/Kconfig | 13 + drivers/phy/Makefile | 5 + drivers/phy/phy-core.c | 544 ++++++++++++++++++++ include/linux/phy/phy.h | 344 +++++++++++++ 9 files changed, 1112 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-bindings.txt create mode 100644 Documentation/phy.txt create mode 100644 drivers/phy/Kconfig create mode 100644 drivers/phy/Makefile create mode 100644 drivers/phy/phy-core.c create mode 100644 include/linux/phy/phy.h