Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26a84b3e authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Arnd Bergmann
Browse files

drivers: bus: add a new driver for omap-ocp2scp



Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of
creating all the devices that is connected to OCP2SCP. In the case of OMAP4,
USB2PHY is connected to ocp2scp.

This also includes device tree support for ocp2scp driver and
the documentation with device tree binding information is updated.

Acked-by: default avatarFelipe Balbi <balbi@ti.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 0d7614f0
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
* OMAP OCP2SCP - ocp interface to scp interface

properties:
- compatible : Should be "ti,omap-ocp2scp"
- #address-cells, #size-cells : Must be present if the device has sub-nodes
- ranges : the child address space are mapped 1:1 onto the parent address space
- ti,hwmods : must be "ocp2scp_usb_phy"

Sub-nodes:
All the devices connected to ocp2scp are described using sub-node to ocp2scp
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ menu "Device Drivers"

source "drivers/base/Kconfig"

source "drivers/bus/Kconfig"

source "drivers/connector/Kconfig"

source "drivers/mtd/Kconfig"
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@
# Rewritten to use lists instead of if-statements.
#

obj-y				+= bus/

# GPIO must come after pinctrl as gpios may need to mux pins etc
obj-y				+= pinctrl/
obj-y				+= gpio/

drivers/bus/Kconfig

0 → 100644
+15 −0
Original line number Diff line number Diff line
#
# Bus Devices
#

menu "Bus devices"

config OMAP_OCP2SCP
	tristate "OMAP OCP2SCP DRIVER"
	help
	  Driver to enable ocp2scp module which transforms ocp interface
	  protocol to scp protocol. In OMAP4, USB PHY is connected via
	  OCP2SCP and in OMAP5, both USB PHY and SATA PHY is connected via
	  OCP2SCP.

endmenu

drivers/bus/Makefile

0 → 100644
+5 −0
Original line number Diff line number Diff line
#
# Makefile for the bus drivers.
#

obj-$(CONFIG_OMAP_OCP2SCP)	+= omap-ocp2scp.o
Loading