Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inv_mpu9250 added #78

Open
wants to merge 148 commits into
base: 4.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
31169b9
merge: aufs4-kbuild
RobertCNelson Mar 24, 2016
2a9c7fa
merge: aufs4-base
RobertCNelson Mar 24, 2016
5e420c4
merge: aufs4-mmap
RobertCNelson Mar 24, 2016
aa7cb12
merge: aufs4-standalone
RobertCNelson Mar 24, 2016
9603532
merge: aufs4
RobertCNelson Mar 24, 2016
5a9dbde
aufs: call mutex.owner only when DEBUG_MUTEXES or MUTEX_SPIN_ON_OWNER…
Sep 16, 2015
a3dc01a
merge: CONFIG_PREEMPT_RT Patch Set
RobertCNelson Mar 8, 2016
a0372e3
Revert "spi: spidev: Warn loudly if instantiated from DT as "spidev""
RobertCNelson Jun 1, 2015
eeec107
backport: mediatek: mt7601u: from v4.2-rc3
RobertCNelson Jul 20, 2015
63f2dca
net: phy: vitesse: add support for VSC8601
mansr Nov 12, 2015
9b874d8
backports: fbtft
RobertCNelson Mar 24, 2016
5ab19d0
fix sleep33xx.S: for thumb2
RobertCNelson Jan 15, 2016
ee98a0b
fix sleep43xx.S: for thumb2
RobertCNelson Jan 15, 2016
a0d939a
fix ti-emif-sram-pm.S: for thumb2
RobertCNelson Jan 15, 2016
0c778bc
net/wireless: SanCloud wifi: issue when associating with an SSID when…
RobertCNelson Mar 8, 2016
877cb2b
Bug Fix: TTY buffer overrun
Pillar1989 Mar 24, 2016
0d87b39
am57xx-beagle-x15: cmem
RobertCNelson Dec 23, 2015
ac09cf2
Added DT bindings for DebugSS
May 1, 2015
00b0350
Making the uio pruss driver work
eliasbakken Apr 9, 2015
974f47f
Cleaned up error reporting
eliasbakken Apr 10, 2015
8fe4df4
Fix remoteproc to work with the PRU GNU Binutils port
dinuxbg Oct 11, 2015
ab3493f
ARM: samples seccomp no -m32
RobertCNelson Oct 30, 2015
182d0d4
scripts/dtc: Update to upstream version overlays
RobertCNelson Jul 6, 2015
f313ffe
regmap: Introduce regmap_get_max_register
Srinivas-Kandagatla May 21, 2015
2394b2b
regmap: Introduce regmap_get_reg_stride
Srinivas-Kandagatla May 21, 2015
74cebf2
ARM: dts: Beaglebone i2c definitions
pantoniou May 13, 2015
8c171ce
i2c: Mark instantiated device nodes with OF_POPULATE
pantoniou Jan 24, 2015
02d3770
nvmem: Add a simple NVMEM framework for nvmem providers
Srinivas-Kandagatla Jul 27, 2015
70ca51d
nvmem: Add a simple NVMEM framework for consumers
Srinivas-Kandagatla Jul 27, 2015
eb09f48
nvmem: Add nvmem_device based consumer apis.
Srinivas-Kandagatla Jul 27, 2015
61a26fb
nvmem: Add bindings for simple nvmem framework
Srinivas-Kandagatla Jul 27, 2015
76d5683
Documentation: nvmem: add nvmem api level and how-to doc
Srinivas-Kandagatla Jul 27, 2015
1f2107a
nvmem: qfprom: Add Qualcomm QFPROM support.
Srinivas-Kandagatla Jul 27, 2015
d4d38ca
nvmem: qfprom: Add bindings for qfprom
Srinivas-Kandagatla Jul 27, 2015
62a0d08
nvmem: sunxi: Move the SID driver to the nvmem framework
mripard Jul 27, 2015
19eef5c
nvmem: Add DT binding documentation for Vybrid OCOTP driver
SanchayanMaity Sep 30, 2015
cf2b9e4
nvmem: Add Vybrid OCOTP support
SanchayanMaity Sep 30, 2015
f695dd5
nvmem: Add i.MX6 OCOTP device tree binding documentation
pH5 Sep 30, 2015
3354d41
nvmem: imx-ocotp: Add i.MX6 OCOTP driver
pH5 Sep 30, 2015
dfef503
nvmem: add binding for mxs-ocotp
lategoodbye Sep 30, 2015
08a0de2
nvmem: add driver for ocotp in i.MX23 and i.MX28
lategoodbye Sep 30, 2015
3b63ad1
nvmem: rockchip-efuse: describe the usage of eFuse
ZhengShunQian Sep 30, 2015
1bd8fec
nvmem: Adding bindings for rockchip-efuse
ZhengShunQian Sep 30, 2015
f71dc48
nvmem: rockchip_efuse_regmap_config can be static
intel-lab-lkp Sep 30, 2015
1e3658b
nvmem: core: fix the out-of-range leak in read/write()
ZhengShunQian Sep 30, 2015
e03b64c
nvmem: core: Handle shift bits in-place if cell->nbits is non-zero
AxelLin Sep 30, 2015
ac383d8
nvmem: core: Fix memory leak in nvmem_cell_write
AxelLin Sep 30, 2015
1fffa28
nvmem: sunxi: Check for memory allocation failure
mripard Sep 30, 2015
e2439d0
nvmem: make default user binary file root-access only
Srinivas-Kandagatla Aug 11, 2015
605c8c8
nvmem: set the size for the nvmem binary file.
Srinivas-Kandagatla Aug 11, 2015
4a70eac
nvmem: add permission flags in nvmem_config
Srinivas-Kandagatla Aug 11, 2015
1169737
nvmem: fix permissions of readonly nvmem binattr
mvduin Oct 5, 2015
fb56622
configfs: Implement binary attributes (v4)
pantoniou Jun 12, 2014
969117a
OF: DT-Overlay configfs interface (v5)
pantoniou Dec 4, 2013
149acbd
gitignore: Ignore DTB files
pantoniou Feb 21, 2014
c95f6fa
arm: omap: Proper cleanups for omap_device
pantoniou Aug 5, 2013
f94e4b4
serial: omap: Fix port line number without aliases
pantoniou Nov 6, 2014
6d40d6f
tty: omap-serial: Fix up platform data alloc
pantoniou Dec 9, 2013
dcfbc93
ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used
pantoniou Dec 6, 2014
cb8ae0d
of: Custom printk format specifier for device node
pantoniou Jan 20, 2015
58c3f4d
of: overlay: kobjectify overlay objects
pantoniou Mar 15, 2015
027b630
of: overlay: global sysfs enable attribute
pantoniou Mar 17, 2015
495760b
of: overlay: add per overlay sysfs attributes
pantoniou Apr 23, 2015
95483e8
Documentation: ABI: /sys/firmware/devicetree/overlays
pantoniou Mar 17, 2015
aebb140
i2c: nvmem: at24: Provide an EEPROM framework interface
pantoniou May 12, 2015
0cdbe63
misc: Beaglebone capemanager
pantoniou May 6, 2015
113ab6c
doc: misc: Beaglebone capemanager documentation
pantoniou May 13, 2015
131f5b7
doc: dt: beaglebone cape manager bindings.
pantoniou May 12, 2015
b95dbbc
doc: ABI: bone_capemgr sysfs API
pantoniou May 12, 2015
b1b71a5
MAINTAINERS: Beaglebone capemanager maintainer
pantoniou May 13, 2015
a98608c
arm: dts: Enable beaglebone cape-manager
pantoniou May 12, 2015
6abaf6b
of: overlay: Implement indirect target support
pantoniou May 21, 2015
084ef54
of: unittest: Add indirect overlay target test
pantoniou May 21, 2015
02b4e41
doc: dt: Document the indirect overlay method.
pantoniou Jun 12, 2015
c7bccd9
of: overlay: Introduce target root capability.
pantoniou Jun 12, 2015
ce56294
of: unittest: Unit-tests for target root overlays.
pantoniou Jun 12, 2015
f41241f
doc: dt: Document the target root overlay method
pantoniou Jun 12, 2015
807a339
of: dynamic: Add __of_node_dupv()
pantoniou Jun 10, 2015
1cd5f7b
of: changesets: Introduce changeset helper methods
pantoniou Jun 10, 2015
cac05ee
RFC: Device overlay manager (PCI/USB + DT)
pantoniou May 21, 2015
dfa476c
hack: bbb enable 1ghz operation
RobertCNelson Sep 4, 2014
0b4666f
dts: am335x-bone-common: fixup leds to match 3.8
RobertCNelson Aug 27, 2014
1067ad4
arm: dts: am335x-bone-common: add collision and carrier sense pinmux
spatton-ti Jan 5, 2015
a94d7d1
add: am335x-bonegreen
RobertCNelson May 21, 2015
b7e6ed0
add overlay dtb
RobertCNelson May 21, 2015
218bc69
am335x-bone-common: cpsw no longer need to define both slaves
RobertCNelson Sep 19, 2015
adca4ef
am335x-bone-common: drop 0x1a0 from mmc
RobertCNelson Sep 29, 2015
1f92fec
tps65217: Enable KEY_POWER press on AC loss / PWR_BUT
RobertCNelson Oct 26, 2015
a33d1be
cape: Argus UPS cape support
jdal Jun 16, 2014
f6cc122
Added support for Replicape
eliasbakken Apr 10, 2015
d55b1a8
ARM: dts: am335x-boneblack: enable wl1835mod cape support
eyalreizer May 5, 2015
d7ce11d
bb: audio cape
RobertCNelson Mar 9, 2016
998b151
BeagleBone pinmux helper
pantoniou Dec 28, 2012
74b8214
pinmux-helper: Add runtime configuration capability
pantoniou Mar 6, 2013
35acc43
pinmux-helper: Switch to using kmalloc
pantoniou Mar 7, 2013
abab0b1
gpio: Introduce GPIO OF helper
pantoniou Jun 4, 2013
5e7621a
Add dir-changeable property to gpio-of-helper
cdsteinkuehler Jan 26, 2014
eb0b41d
am33xx.dtsi: add ocp label
Sep 4, 2014
911a314
beaglebone: added expansion header to dtb
Sep 4, 2014
55357a1
bone-pinmux-helper: Add support for "mode" device-tree parameter The …
cdsteinkuehler Sep 16, 2014
ed2a3e1
pinmux-helper: add P8_37_pinmux & P8_38_pinmux
RobertCNelson Sep 19, 2014
f3542de
pinmux-helper: hdmi
cdsteinkuehler Sep 28, 2014
974e729
pinmux-helper: can1
dasGringuen Oct 5, 2014
5604806
Remove CONFIG_EXPERIMENTAL dependency on CONFIG_GPIO_OF_HELPER as CON…
twam Nov 12, 2014
638d27d
pinmux-helper: add P9_19_pinmux & P9_20_pinmux
RobertCNelson Dec 5, 2014
d018e74
gpio-of-helper: idr_alloc
RobertCNelson Jun 2, 2015
8ef8ca4
Provides a sysfs interface to the eQEP hardware on the AM33XX series …
teknoman117 Dec 2, 2013
bfd6aae
tieqep.c: devres: remove devm_request_and_ioremap()
RobertCNelson Jun 5, 2015
b1cb994
tieqep cleanup
liftoff-sr Dec 21, 2015
1ce8f2a
drm/tilcdc: Remove tilcdc slave support for tda998x driver
Feb 24, 2015
8b24ffc
drm/tilcdc: Add support for external tda998x encoder
Feb 10, 2015
4bf0b30
drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding s…
Feb 18, 2015
1abbb2d
gpu: drm: i2c: add alternative adv7511 driver with audio support
Sep 10, 2015
504e78c
gpu: drm: i2c: adihdmi: componentize driver and huge reformat/cleanup
ohporter Nov 6, 2015
5e030f2
ARM: dts: am335x-boneblack: Use new binding for HDMI
May 8, 2015
930fe04
ARM: dts: add Arrow BeagleBone Black Industrial dts
ohporter Nov 3, 2015
661f075
ARM: dts: Add support for Olimex AM3352-SOM
vinifr Dec 6, 2015
de59551
am335x-olimex-som: no regulator for voltdm
RobertCNelson Dec 21, 2015
34cd3b7
update am335x-bonegreen-wl1835.dtsi
Pillar1989 Jan 18, 2016
0d1fbe2
add beaglebone green wireless
Pillar1989 Jan 17, 2016
72a0649
bbgw: switch from gpio-hog back to regulator-gpio for wl_en
RobertCNelson Mar 3, 2016
1673642
bbgw: mmc3: edma change in ti-v4.1.x
RobertCNelson Mar 4, 2016
df466d8
Update am335x-bonegreen-wireless.dts
Pillar1989 Mar 4, 2016
88912d1
add: sancloud beaglebone enhanced
RobertCNelson Mar 1, 2016
fe3a3bc
sancloud: rename as: am335x-sancloud-bbe.dts
RobertCNelson Mar 8, 2016
e12f351
Added driver and device tree for CTAG face2|4 Audio Card
henrix Feb 27, 2016
ab66daa
Added support for higher sampling rates in AD193X driver. Added Devic…
henrix Feb 27, 2016
45f27a1
Added support for AD193X and CTAG face2|4 Audio Card in configuration…
henrix Feb 27, 2016
6d176c4
Modified ASOC platform driver for McASP to use asynchronous sampling …
henrix Feb 27, 2016
77b6bab
Changed descriptions in files belonging to CTAG face2|4 Audio Card
henrix Feb 27, 2016
c27884d
add: black version of ctag-face, (pass uboot: cape=ctag-face)
RobertCNelson Mar 3, 2016
e02a97c
add: jtag clock pinmux
RobertCNelson Mar 3, 2016
14471a7
wl18xx-R8.6_SP1
RobertCNelson Mar 18, 2016
21aab70
wireless: import: acc1340
RobertCNelson Mar 22, 2016
ea82233
sync: am335x-peripheral/pinmux
RobertCNelson Mar 3, 2016
8380ebb
auto generated: capes: add dtbs to makefile
RobertCNelson Mar 9, 2016
7177a5e
cpsw: search for phy
May 19, 2015
fd82be6
add am33x firmware
RobertCNelson Sep 9, 2015
c862b74
quiet: 8250_omap.c use pr_info over pr_err
RobertCNelson Jul 16, 2015
e1bff31
quiet: topology.c use pr_info over pr_err (missing clock-frequency pr…
RobertCNelson Oct 16, 2015
1761007
quiet: vgaarb use pr_info over pr_err
RobertCNelson Oct 19, 2015
2867452
quiet: arch/arm/mach-omap2/voltage.c: legacy harmless
RobertCNelson Oct 20, 2015
6c05156
quiet: drivers/gpu/drm/tilcdc/tilcdc_crtc.c: dev_info over dev_err
RobertCNelson Feb 11, 2016
0d31040
packaging: sync builddeb changes
RobertCNelson Nov 11, 2015
359c9f1
4.1.18-ti-rt-r55 patchset
RobertCNelson Mar 24, 2016
b372c8b
4.1.18-ti-rt-r55 bb.org_defconfig
RobertCNelson Mar 24, 2016
3b3df86
inv_mpu9250 added
klekkala Mar 26, 2016
fe4ec67
mpu.h in /include/linux
klekkala May 2, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,7 @@ all.config

# Kdevelop4
*.kdev4

# dtb objects
*.dtb
*.dtbo
50 changes: 50 additions & 0 deletions Documentation/ABI/testing/debugfs-aufs
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
What: /debug/aufs/si_<id>/
Date: March 2009
Contact: J. R. Okajima <[email protected]>
Description:
Under /debug/aufs, a directory named si_<id> is created
per aufs mount, where <id> is a unique id generated
internally.

What: /debug/aufs/si_<id>/plink
Date: Apr 2013
Contact: J. R. Okajima <[email protected]>
Description:
It has three lines and shows the information about the
pseudo-link. The first line is a single number
representing a number of buckets. The second line is a
number of pseudo-links per buckets (separated by a
blank). The last line is a single number representing a
total number of psedo-links.
When the aufs mount option 'noplink' is specified, it
will show "1\n0\n0\n".

What: /debug/aufs/si_<id>/xib
Date: March 2009
Contact: J. R. Okajima <[email protected]>
Description:
It shows the consumed blocks by xib (External Inode Number
Bitmap), its block size and file size.
When the aufs mount option 'noxino' is specified, it
will be empty. About XINO files, see the aufs manual.

What: /debug/aufs/si_<id>/xino0, xino1 ... xinoN
Date: March 2009
Contact: J. R. Okajima <[email protected]>
Description:
It shows the consumed blocks by xino (External Inode Number
Translation Table), its link count, block size and file
size.
When the aufs mount option 'noxino' is specified, it
will be empty. About XINO files, see the aufs manual.

What: /debug/aufs/si_<id>/xigen
Date: March 2009
Contact: J. R. Okajima <[email protected]>
Description:
It shows the consumed blocks by xigen (External Inode
Generation Table), its block size and file size.
If CONFIG_AUFS_EXPORT is disabled, this entry will not
be created.
When the aufs mount option 'noxino' is specified, it
will be empty. About XINO files, see the aufs manual.
31 changes: 31 additions & 0 deletions Documentation/ABI/testing/sysfs-aufs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
What: /sys/fs/aufs/si_<id>/
Date: March 2009
Contact: J. R. Okajima <[email protected]>
Description:
Under /sys/fs/aufs, a directory named si_<id> is created
per aufs mount, where <id> is a unique id generated
internally.

What: /sys/fs/aufs/si_<id>/br0, br1 ... brN
Date: March 2009
Contact: J. R. Okajima <[email protected]>
Description:
It shows the abolute path of a member directory (which
is called branch) in aufs, and its permission.

What: /sys/fs/aufs/si_<id>/brid0, brid1 ... bridN
Date: July 2013
Contact: J. R. Okajima <[email protected]>
Description:
It shows the id of a member directory (which is called
branch) in aufs.

What: /sys/fs/aufs/si_<id>/xi_path
Date: March 2009
Contact: J. R. Okajima <[email protected]>
Description:
It shows the abolute path of XINO (External Inode Number
Bitmap, Translation Table and Generation Table) file
even if it is the default path.
When the aufs mount option 'noxino' is specified, it
will be empty. About XINO files, see the aufs manual.
63 changes: 63 additions & 0 deletions Documentation/ABI/testing/sysfs-devices-platform-bone_capemgr
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
What: /sys/devices/platform/bone_capemgr/slots
Date: May 2015
KernelVersion: 4.0
Contact: Pantelis Antoniou <[email protected]>
Description:
READ:
Describe the state of all the slots of the beaglebone capemgr.
Each line of the output describes a slot:
The slot format is as following:
<slot-id>: [P-][F-][O-][l-][L-][D-] \
<overlay-id> <board-name>,<version>,
<manufacturer>,<part-number>

Where the flags are:
P: Slot has been probed
F: Slot has failed probing (i.e. no EEPROM detected)
O: Slot has been overridden by the user
l: Slot is current loading
L: Slot has completed loading and is ready
D: Slot has been disabled

Example:
0: P---L- -1 BeagleBone RS232 CAPE,00A1,Beagleboardtoys,BB-BONE-SERL-03
1: PF---- -1
2: PF---- -1
3: PF---- -1

WRITE:
Writing a string of the form <part-number>[:version] issues a request to
load a firmware blob containing an overlay. The name of the firmware blob
is <part-number>-[version|00A0].dtbo. This act is defined as a slot override.

Writing a negative slot id removes the slot if it was an overridden one, or
unloads a slot that was probed.

What: /sys/devices/platform/bone_capemgr/baseboard/<eeprom-field>
Date: May 2015
KernelVersion: 4.0
Contact: Pantelis Antoniou <[email protected]>
Description: Contains the probed base board EEPROM field; one of:
board-name - board-name as stored in cape EEPROM
dc-supplied - whether the cape draws or supplies DC
eeprom-format-revision - EEPROM format rev, only 00A0 supported
header - header; should be 'aa 55 33 ee'
manufacturer - manufacturer string
part-number - part-number of the cape
serial-number - serial number of the cape
version - version of the cape, i.e. 00A0
number-of-pins - displayed but ignored
pin-usage - displayed but ignored
sys-5v - displayed but ignored
vdd-3v3exp - displayed but ignored
vdd-5v - displayed but ignored
What: /sys/devices/platform/bone_capemgr/slot-<n>/<eeprom-field>
Date: May 2015
KernelVersion: 4.0
Contact: Pantelis Antoniou <[email protected]>
Description: Contains the probed cape's EEPROM field; the field is one of:
board-name - baseboard name i.e. A335BNLT
header - header; should be 'aa 55 33 ee'
revision - baseboard revision
serial-number - baseboard serial number
config-option - displayed but ignored
22 changes: 0 additions & 22 deletions Documentation/ABI/testing/sysfs-driver-sunxi-sid

This file was deleted.

34 changes: 34 additions & 0 deletions Documentation/ABI/testing/sysfs-firmware-devicetree-overlays
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
What: /sys/firmware/devicetree/overlays/
Date: March 2015
Contact: Pantelis Antoniou <[email protected]>
Description:
This directory contains the applied device tree overlays of
the running system, as directories of the overlay id.

enable: The master enable switch, by default is 1, and when
set to 0 it cannot be re-enabled for security reasons.

The discussion about this switch takes place in:
http://comments.gmane.org/gmane.linux.drivers.devicetree/101871

Kees Cook:
"Coming from the perspective of drawing a bright line between
kernel and the root user (which tends to start with disabling
kernel module loading), I would say that there at least needs
to be a high-level one-way "off" switch for the interface so
that systems that have this interface can choose to turn it off
during initial boot, etc."

What: /sys/firmware/devicetree/overlays/<id>
Date: March 2015
Contact: Pantelis Antoniou <[email protected]>
Description:
Each directory represents an applied overlay, containing
the following attribute files.

targets: A file containing the list of targets of each overlay
with each line containing a target.

can_remove: The attribute set to 1 means that the overlay can
be removed, while 0 means that the overlay is being
overlapped therefore removal is prohibited.
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/arm/omap/omap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Optional properties:
- ti,no-reset-on-init: When present, the module should not be reset at init
- ti,no-idle-on-init: When present, the module should not be idled at init
- ti,no-idle: When present, the module is never allowed to idle.
- ti,deassert-hard-reset: list of hwmod and hardware reset line name pairs
(ascii strings) to be deasserted upon device instantiation.


Example:

Expand Down
18 changes: 0 additions & 18 deletions Documentation/devicetree/bindings/drm/tilcdc/slave.txt

This file was deleted.

27 changes: 27 additions & 0 deletions Documentation/devicetree/bindings/drm/tilcdc/tilcdc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Optional properties:
- max-pixelclock: The maximum pixel clock that can be supported
by the lcd controller in KHz.

Optional nodes:

- port/ports: to describe a connection to an external encoder. The
binding follows Documentation/devicetree/bindings/graph.txt and
suppors a single port with a single endpoint.

Example:

fb: fb@4830e000 {
Expand All @@ -26,4 +32,25 @@ Example:
interrupt-parent = <&intc>;
interrupts = <36>;
ti,hwmods = "lcdc";

port {
lcdc_0: endpoint@0 {
remote-endpoint = <&hdmi_0>;
};
};
};

tda19988: tda19988 {
compatible = "nxp,tda998x";
reg = <0x70>;

pinctrl-names = "default", "off";
pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>;

port {
hdmi_0: endpoint@0 {
remote-endpoint = <&lcdc_0>;
};
};
};
111 changes: 111 additions & 0 deletions Documentation/devicetree/bindings/misc/bone_capemgr.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
* Beaglebone cape manager driver

Required properties:
- compatible: "ti,bone-capemgr"
- eeprom: phandle to the EEPROM baseboard.
The EEPROM framework interface is use to obtain the data.

Required children nodes:

- baseboardmaps: Contains nodes, which each of the them defines a mapping from
the baseboard EEPROM board-name ID to a DT friendly compatible
string.

- board-name: The baseboard EEPROM board name, i.e. A335BONE for the
original beaglebone white.
- compatible-name: The DT friendly compatible string to be used for matching
compatible capes, i.e. "ti,beaglebone"


- nvmem-cells: Defines the phandles of the nvmem cells of the baseboard and the
slots.
- nvmem-cells: Defines the names of the nvmem cells. Required to have at
least a baseboard cell name.

- #slots: Defines how many slots are there.

- Example of a beaglebone cape-manager:

bone_capemgr {
compatible = "ti,bone-capemgr";
status = "okay";

nvmem-cell = <&baseboard_data
&cape0_data &cape1_data &cape2_data &cape3_data>;
nvmem-cell-names = "baseboard", "slot0", "slot1", "slot2", "slot3";

#slots = <4>;

/* map board revisions to compatible definitions */
baseboardmaps {
baseboard_beaglebone: board@0 {
board-name = "A335BONE";
compatible-name = "ti,beaglebone";
};

baseboard_beaglebone_black: board@1 {
board-name = "A335BNLT";
compatible-name = "ti,beaglebone-black";
};
};
};

The format of the cape to be loaded is in a standard overlay format with
the following root properties that are interpreted by the cape manager:

Required properties:
- compatible: Should be compatible to the baseboard according to the
baseboard map value, i.e. "ti,beaglebone".
- part-numer: Should contain the part-number as stored in the EEPROM.
- version: Should contain a list of all the version that are supported
by the single cape dtbo, i.e. "00A1".

Optional properties:
- exclusive-use: A string list which state the resources this cape requires.
No processing or matching to anything regarding the internal
kernel state is performed; it's purpose is to guard against
conflicts with other capes.
- priority: A priority to be assigned when loading a cape. A lower value
has higher priority. The purpose of the priority is to control
which cape is loaded first in case of a conflict.

- Example of a serial cape:

/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";

/* identification */
part-number = "BB-BONE-SERL-03";
version = "00A1";

/* state the resources this cape uses */
exclusive-use =
/* the pin header uses */
"P9.21", /* uart2_txd */
"P9.22", /* uart2_rxd */
/* the hardware ip uses */
"uart2";

fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
bb_uart2_pins: pinmux_bb_uart2_pins {
pinctrl-single,pins = <
0x150 0x21 /* spi0_sclk.uart2_rxd | MODE1 */
0x154 0x01 /* spi0_d0.uart2_txd | MODE1 */
>;
};
};
};

fragment@1 {
target = <&uart2>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&bb_uart2_pins>;
};
};
};
Loading