summaryrefslogtreecommitdiff
path: root/drivers/phy/Makefile
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2013-08-13 16:49:01 +0530
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:35:18 +0900
commit0af22193f50d90cd15104c9582617ae92fd2273a (patch)
tree426d5ca69ae6c146622d2b8a83a30e9c579af739 /drivers/phy/Makefile
parentf2adc02c7e970c820e53f7b87fc397902a8ae5eb (diff)
downloadlinux-3.10-0af22193f50d90cd15104c9582617ae92fd2273a.tar.gz
linux-3.10-0af22193f50d90cd15104c9582617ae92fd2273a.tar.bz2
linux-3.10-0af22193f50d90cd15104c9582617ae92fd2273a.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 Cc: Tomasz Figa <t.figa@samsung.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Felipe Balbi <balbi@ti.com> Tested-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/phy/Makefile')
-rw-r--r--drivers/phy/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/phy/Makefile b/drivers/phy/Makefile
new file mode 100644
index 00000000000..9e9560fbb14
--- /dev/null
+++ b/drivers/phy/Makefile
@@ -0,0 +1,5 @@
+#
+# Makefile for the phy drivers.
+#
+
+obj-$(CONFIG_GENERIC_PHY) += phy-core.o