[PATCH 0/5] DT Overlay based cape manager for TI's Beaglebone

From: Pantelis Antoniou
Date: Mon Jan 07 2013 - 13:51:05 EST


Introducing a Device Tree overlay cape manager.

Using it it is possible to support the growing cape ecosystem for
the beaglebone, without having to hack a board file for each and
every cape plug combination.

It is possible to force load capes, and also possible to remove
them if need be (although precious few drivers support removal).

This patch is against the mainline kernel as of Jan 7 2013, top
of the tree: "5f243b9 Merge tag 'arm64-fixes' of \
git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch640"

You will need to have the DTC compiler patch which was posted seperately
to the DTC mailing list "dtc: Dynamic symbols & fixup support", as well
as the I2C accessor patch "i2c-EEPROM: In kernel memory accessor interface" I
posted earlier.

Note that not many interesting capes are supported in the mainline kernel,
since the drivers some time to land in mainline, but you can see an
example of a (almost) feature complete linux kernel at:

git://github.com/pantoniou/linux-bbxm.git branch not-capebus-v9


Pantelis Antoniou (5):
capemgr: Beaglebone DT overlay based cape manager
capemgr: Add beaglebone's cape driver bindings
capemgr: am335x-bone capemgr bindings
capemgr: firmware makefiles for DT objects
capemgr: Weather cape cape definition

.../devicetree/bindings/misc/capes-beaglebone.txt | 110 ++
arch/arm/boot/dts/am335x-bone.dts | 75 +-
arch/arm/mach-omap2/Kconfig | 2 +
drivers/misc/Kconfig | 2 +
drivers/misc/Makefile | 1 +
drivers/misc/cape/Kconfig | 5 +
drivers/misc/cape/Makefile | 5 +
drivers/misc/cape/beaglebone/Kconfig | 11 +
drivers/misc/cape/beaglebone/Makefile | 5 +
drivers/misc/cape/beaglebone/capemgr.c | 1835 ++++++++++++++++++++
firmware/Makefile | 12 +
firmware/capes/cape-bone-weather-00A0.dts | 66 +
12 files changed, 2128 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/misc/capes-beaglebone.txt
create mode 100644 drivers/misc/cape/Kconfig
create mode 100644 drivers/misc/cape/Makefile
create mode 100644 drivers/misc/cape/beaglebone/Kconfig
create mode 100644 drivers/misc/cape/beaglebone/Makefile
create mode 100644 drivers/misc/cape/beaglebone/capemgr.c
create mode 100644 firmware/capes/cape-bone-weather-00A0.dts

--
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/