summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2013-06-26 15:27:45 +0530
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:15 +0900
commitad4acb45c549d5761e174e9312d6aad280afca1a (patch)
tree6f624ebbcb2e10582144cb8eb72e59dcc0430361 /drivers/Makefile
parent0bf7e823d9b453d2ca2566cd0ff31e0314d2cfc5 (diff)
downloadlinux-3.10-ad4acb45c549d5761e174e9312d6aad280afca1a.tar.gz
linux-3.10-ad4acb45c549d5761e174e9312d6aad280afca1a.tar.bz2
linux-3.10-ad4acb45c549d5761e174e9312d6aad280afca1a.zip
drivers: phy: add generic PHY framework
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 <kishon@ti.com> Tested-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 130abc1dfd6..46c99a1f1a9 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -8,6 +8,8 @@
obj-y += irqchip/
obj-y += bus/
+obj-$(CONFIG_GENERIC_PHY) += phy/
+
# GPIO must come after pinctrl as gpios may need to mux pins etc
obj-y += pinctrl/
obj-y += gpio/