Skip to content

Commit

Permalink
misc: Beaglebone capemanager
Browse files Browse the repository at this point in the history
A cape loader based on DT overlays and DT objects.

This is the beaglebone cape manager which allows capes to be automatically
probed and instantiated via means of a device tree overlay deduced from
the part-number and version contained on the cape's EEPROM.

The reference manual contains information about the specification
and the contents of the EEPROM.

http://beagleboard.org/static/beaglebone/latest/Docs/Hardware/BONE_SRM.pdf

Documentation about the workings of the cape manager is located
in Documentation/misc-devices/bone_capemgr.txt

This driver is using the nvmem framework interface to retrieve
the data stored on the baseboard and cape EEPROMs.

Signed-off-by: Pantelis Antoniou <[email protected]>
  • Loading branch information
pantoniou authored and RobertCNelson committed Jan 28, 2020
1 parent a66b59c commit 82a0428
Show file tree
Hide file tree
Showing 3 changed files with 1,896 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,16 @@ config PCI_ENDPOINT_TEST
Enable this configuration option to enable the host side test driver
for PCI Endpoint.

config BONE_CAPEMGR
tristate "Beaglebone cape manager"
depends on ARCH_OMAP2PLUS && OF
select EEPROM
select OF_OVERLAY
help
Say Y here to include support for automatic loading of
beaglebone capes. Select M to build as a module which
will be named bone_capemgr.

source "drivers/misc/c2port/Kconfig"
source "drivers/misc/eeprom/Kconfig"
source "drivers/misc/cb710/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/misc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ obj-y += ti-st/
obj-y += lis3lv02d/
obj-$(CONFIG_USB_SWITCH_FSA9480) += fsa9480.o
obj-$(CONFIG_ALTERA_STAPL) +=altera-stapl/
obj-$(CONFIG_BONE_CAPEMGR) += bone_capemgr.o
obj-$(CONFIG_INTEL_MEI) += mei/
obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci/
obj-$(CONFIG_LATTICE_ECP3_CONFIG) += lattice-ecp3-config.o
Expand Down
Loading

0 comments on commit 82a0428

Please sign in to comment.