lkml.org 
[lkml]   [2013]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] DT Overlay based cape manager for TI's Beaglebone
Date
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



\
 
 \ /
  Last update: 2013-01-07 20:21    [W:0.104 / U:10.800 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site