[RFC 0/5] ARM: Add Cross Trigger Interface driver
Jon Hunter
jon-hunter at ti.com
Thu Dec 13 08:43:03 EST 2012
Adds AMBA driver for ARM Coresight Cross Trigger Interface (CTI) driver
and device-tree binding for CTI module.
I have tested the driver on an OMAP4430 device and include the relevant
patches needed to enable CTI on OMAP4 devices for reference.
I would like to get some feedback on the binding, CTI APIs and usage of
the APB clock for OMAP4. I have seen that there has been some recent
discussion around adding other coresight drivers for ARM devices [1]
and so it would be also good to align on the appropriate location for
coresight drivers in general.
This series is based on the ARM-SOC for-next branch and Will Deacon's
patch for the CTI lock registers [2].
[1] http://article.gmane.org/gmane.linux.ports.arm.kernel/204591/match=coresight+bus
[2] http://article.gmane.org/gmane.linux.ports.arm.kernel/200199/match=fix+manipulation+debug+lock+register
Jon Hunter (5):
ARM: CORESIGHT: Add generic lock/unlock helpers
ARM: dts: Add Cross Trigger Interface binding
ARM: CTI: Convert CTI helpers to AMBA bus driver
ARM: dts: OMAP4: Add CTI nodes
ARM: OMAP4: Add AMBA APB Clock
Documentation/devicetree/bindings/arm/cti.txt | 32 +++
arch/arm/boot/dts/omap4.dtsi | 23 ++
arch/arm/include/asm/cti.h | 163 --------------
arch/arm/include/asm/hardware/coresight.h | 16 +-
arch/arm/mach-omap2/cclock44xx_data.c | 1 +
drivers/Kconfig | 2 +
drivers/amba/Kconfig | 20 ++
drivers/amba/Makefile | 1 +
drivers/amba/cti.c | 284 +++++++++++++++++++++++++
include/linux/amba/cti.h | 82 +++++++
10 files changed, 453 insertions(+), 171 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm/cti.txt
delete mode 100644 arch/arm/include/asm/cti.h
create mode 100644 drivers/amba/Kconfig
create mode 100644 drivers/amba/cti.c
create mode 100644 include/linux/amba/cti.h
--
1.7.10.4
More information about the devicetree-discuss
mailing list