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

Update 4.1 Kernel to 4.1.6 #41

Closed
wants to merge 93 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
d95b5d5
Revert "spi: spidev: Warn loudly if instantiated from DT as "spidev""
RobertCNelson Jun 1, 2015
5464b75
backport: mediatek: mt7601u: from v4.2-rc3
RobertCNelson Jul 20, 2015
66401e6
trusty: gcc-4.8 (4.8.2-19ubuntu1) has fix
RobertCNelson Nov 12, 2014
001f1e1
Making the uio pruss driver work
eliasbakken Apr 9, 2015
4cc579c
Cleaned up error reporting
eliasbakken Apr 10, 2015
227e087
scripts/dtc: Update to upstream version overlays
RobertCNelson Jul 6, 2015
c69bfe1
regmap: Introduce regmap_get_max_register
Srinivas-Kandagatla May 21, 2015
ce6dcda
regmap: Introduce regmap_get_reg_stride
Srinivas-Kandagatla May 21, 2015
2e30f87
ARM: dts: Beaglebone i2c definitions
pantoniou May 13, 2015
e281755
i2c: Mark instantiated device nodes with OF_POPULATE
pantoniou Jan 24, 2015
8fa2bf1
nvmem: Add a simple NVMEM framework for nvmem providers
Srinivas-Kandagatla Jul 20, 2015
5e7bd4f
nvmem: Add a simple NVMEM framework for consumers
Srinivas-Kandagatla Jul 20, 2015
440f884
nvmem: Add nvmem_device based consumer apis.
Srinivas-Kandagatla Jul 20, 2015
4becb80
nvmem: Add bindings for simple nvmem framework
Srinivas-Kandagatla Jul 20, 2015
00fcaee
Documentation: nvmem: add nvmem api level and how-to doc
Srinivas-Kandagatla Jul 20, 2015
014d042
nvmem: qfprom: Add Qualcomm QFPROM support.
Srinivas-Kandagatla Jul 20, 2015
c347507
nvmem: qfprom: Add bindings for qfprom
Srinivas-Kandagatla Jul 20, 2015
dd5f8d1
nvmem: sunxi: Move the SID driver to the nvmem framework
mripard Jul 20, 2015
a21c173
configfs: Implement binary attributes (v4)
pantoniou Jun 12, 2014
92080f1
OF: DT-Overlay configfs interface (v5)
pantoniou Dec 4, 2013
68b109b
gitignore: Ignore DTB files
pantoniou Feb 21, 2014
38d98a2
arm: omap: Proper cleanups for omap_device
pantoniou Aug 5, 2013
36b780a
serial: omap: Fix port line number without aliases
pantoniou Nov 6, 2014
5873f67
tty: omap-serial: Fix up platform data alloc
pantoniou Dec 9, 2013
732a7e5
ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used
pantoniou Dec 6, 2014
8d881dc
of: Custom printk format specifier for device node
pantoniou Jan 20, 2015
b5f4a9a
of: overlay: kobjectify overlay objects
pantoniou Mar 15, 2015
0b6a84c
of: overlay: global sysfs enable attribute
pantoniou Mar 17, 2015
eebaa53
of: overlay: add per overlay sysfs attributes
pantoniou Apr 23, 2015
0f88832
Documentation: ABI: /sys/firmware/devicetree/overlays
pantoniou Mar 17, 2015
755452d
i2c: nvmem: at24: Provide an EEPROM framework interface
pantoniou May 12, 2015
84065f6
misc: Beaglebone capemanager
pantoniou May 6, 2015
ef58bc0
doc: misc: Beaglebone capemanager documentation
pantoniou May 13, 2015
78a261f
doc: dt: beaglebone cape manager bindings.
pantoniou May 12, 2015
c026614
doc: ABI: bone_capemgr sysfs API
pantoniou May 12, 2015
f6d179e
MAINTAINERS: Beaglebone capemanager maintainer
pantoniou May 13, 2015
0e8e210
arm: dts: Enable beaglebone cape-manager
pantoniou May 12, 2015
1402184
gcl: Fix resource linking
pantoniou Jun 12, 2015
43b895a
of: overlay: Implement indirect target support
pantoniou May 21, 2015
5f2ee08
of: unittest: Add indirect overlay target test
pantoniou May 21, 2015
5dddf8f
doc: dt: Document the indirect overlay method.
pantoniou Jun 12, 2015
9925a85
of: overlay: Introduce target root capability.
pantoniou Jun 12, 2015
7668bde
of: unittest: Unit-tests for target root overlays.
pantoniou Jun 12, 2015
ed7999e
doc: dt: Document the target root overlay method
pantoniou Jun 12, 2015
f36785b
of: dynamic: Add __of_node_dupv()
pantoniou Jun 10, 2015
8d2e106
of: changesets: Introduce changeset helper methods
pantoniou Jun 10, 2015
ad0b71c
RFC: Device overlay manager (PCI/USB + DT)
pantoniou May 21, 2015
27158e5
hack: bbb enable 1ghz operation
RobertCNelson Sep 4, 2014
f2fced1
dts: am335x-bone-common: fixup leds to match 3.8
RobertCNelson Aug 27, 2014
a83b928
arm: dts: am335x-bone-common: add collision and carrier sense pinmux
spatton-ti Jan 5, 2015
1618e6f
add: am335x-bonegreen
RobertCNelson May 21, 2015
57fbac8
add overlay dtb
RobertCNelson May 21, 2015
6407761
cape: Argus UPS cape support
jdal Jun 16, 2014
b7f0745
Added support for Replicape
eliasbakken Apr 10, 2015
e8f0673
ARM: dts: am335x-boneblack: enable wl1835mod cape support
eyalreizer May 5, 2015
605d598
BeagleBone pinmux helper
pantoniou Dec 28, 2012
ef7014a
pinmux-helper: Add runtime configuration capability
pantoniou Mar 6, 2013
1ca87c8
pinmux-helper: Switch to using kmalloc
pantoniou Mar 7, 2013
51343d8
gpio: Introduce GPIO OF helper
pantoniou Jun 4, 2013
dd83b00
Add dir-changeable property to gpio-of-helper
cdsteinkuehler Jan 26, 2014
4332aa6
am33xx.dtsi: add ocp label
Sep 4, 2014
ed2eab6
beaglebone: added expansion header to dtb
Sep 4, 2014
60dc82b
bone-pinmux-helper: Add support for "mode" device-tree parameter The …
cdsteinkuehler Sep 16, 2014
6962136
pinmux-helper: add P8_37_pinmux & P8_38_pinmux
RobertCNelson Sep 19, 2014
aba5ac8
pinmux-helper: hdmi
cdsteinkuehler Sep 28, 2014
516ab80
pinmux-helper: can1
dasGringuen Oct 5, 2014
7c35783
Remove CONFIG_EXPERIMENTAL dependency on CONFIG_GPIO_OF_HELPER as CON…
twam Nov 12, 2014
1949e21
pinmux-helper: add P9_19_pinmux & P9_20_pinmux
RobertCNelson Dec 5, 2014
d466568
gpio-of-helper: idr_alloc
RobertCNelson Jun 2, 2015
6c32305
Provides a sysfs interface to the eQEP hardware on the AM33XX series …
teknoman117 Dec 2, 2013
5c2079e
tieqep.c: devres: remove devm_request_and_ioremap()
RobertCNelson Jun 5, 2015
39529f5
sync: am335x-peripheral/pinmux
RobertCNelson Jul 24, 2015
5b8510e
auto generated: capes: add dtbs to makefile
RobertCNelson Jul 16, 2015
064ec2b
cpsw: Add support for byte queue limits
Jun 11, 2014
83baa13
cpsw: napi polling of 64 is good for gigE - less good for 100mbit
Jun 12, 2014
a078a73
cpsw: search for phy
May 19, 2015
746da72
add am33x firmware
RobertCNelson Jul 1, 2015
7e3d2e7
quiet: 8250_omap.c use pr_info over pr_err
RobertCNelson Jul 16, 2015
087f6f4
HACK: drm/fb_helper: enable panning support
DarrenEtheridge Jul 24, 2014
a8741f3
HACK: drm/tilcdc: add vsync callback for use in omaplfb for gpu
DarrenEtheridge Jul 11, 2014
8056be5
ARM: OMAP2+: Use pdata-quirks for sgx deassert_hardreset
DarrenEtheridge Jul 25, 2014
6d6de52
ARM: dts: am33xx: add DT node for gpu
DarrenEtheridge Jul 18, 2014
d91be73
arm: Export cache flush management symbols when !MULTI_CACHE
pantoniou Jan 3, 2013
739920d
packaging: sync builddeb changes
RobertCNelson Jun 25, 2015
097f328
4.1.3-ti-r6 patchset
RobertCNelson Jul 24, 2015
d0ce07e
4.1.3-ti-r6 bb.org_defconfig
RobertCNelson Jul 24, 2015
b35425d
Added initial mhb_defconfig
zebaz Jul 27, 2015
3211ae3
Added device tree overlays and makedts script
zebaz Jul 28, 2015
299cead
Booting device tree configuration
zebaz Jul 29, 2015
87aff9e
Added custom am33xx declaration for USB
zebaz Jul 29, 2015
47e2f34
USB host mode working now on both USB0 and USB1
zebaz Jul 29, 2015
1ca5705
Changed LED pin GPIO banks to base 0 (4.1 device tree) instead of bas…
zebaz Jul 29, 2015
cf166bd
Added missing RTC configuration, fixing poweroff state issue
zebaz Aug 5, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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.

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.

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."

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
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>;
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Required properties:
- compatible: "allwinner,sun4i-a10-sid" or "allwinner,sun7i-a20-sid"
- reg: Should contain registers location and length

= Data cells =
Are child nodes of qfprom, bindings of which as described in
bindings/nvmem/nvmem.txt

Example for sun4i:
sid@01c23800 {
compatible = "allwinner,sun4i-a10-sid";
Expand Down
80 changes: 80 additions & 0 deletions Documentation/devicetree/bindings/nvmem/nvmem.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
= NVMEM(Non Volatile Memory) Data Device Tree Bindings =

This binding is intended to represent the location of hardware
configuration data stored in NVMEMs like eeprom, efuses and so on.

On a significant proportion of boards, the manufacturer has stored
some data on NVMEM, for the OS to be able to retrieve these information
and act upon it. Obviously, the OS has to know about where to retrieve
these data from, and where they are stored on the storage device.

This document is here to document this.

= Data providers =
Contains bindings specific to provider drivers and data cells as children
of this node.

Optional properties:
read-only: Mark the provider as read only.

= Data cells =
These are the child nodes of the provider which contain data cell
information like offset and size in nvmem provider.

Required properties:
reg: specifies the offset in byte within the storage device.

Optional properties:

bits: Is pair of bit location and number of bits, which specifies offset
in bit and number of bits within the address range specified by reg property.
Offset takes values from 0-7.

For example:

/* Provider */
qfprom: qfprom@00700000 {
...

/* Data cells */
tsens_calibration: calib@404 {
reg = <0x404 0x10>;
};

tsens_calibration_bckp: calib_bckp@504 {
reg = <0x504 0x11>;
bits = <6 128>
};

pvs_version: pvs-version@6 {
reg = <0x6 0x2>
bits = <7 2>
};

speed_bin: speed-bin@c{
reg = <0xc 0x1>;
bits = <2 3>;

};
...
};

= Data consumers =
Are device nodes which consume nvmem data cells/providers.

Required-properties:
nvmem-cells: list of phandle to the nvmem data cells.
nvmem-cell-names: names for the each nvmem-cells specified. Required if
nvmem-cells is used.

Optional-properties:
nvmem : list of phandles to nvmem providers.
nvmem-names: names for the each nvmem provider. required if nvmem is used.

For example:

tsens {
...
nvmem-cells = <&tsens_calibration>;
nvmem-cell-names = "calibration";
};
35 changes: 35 additions & 0 deletions Documentation/devicetree/bindings/nvmem/qfprom.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
= Qualcomm QFPROM device tree bindings =

This binding is intended to represent QFPROM which is found in most QCOM SOCs.

Required properties:
- compatible: should be "qcom,qfprom"
- reg: Should contain registers location and length

= Data cells =
Are child nodes of qfprom, bindings of which as described in
bindings/nvmem/nvmem.txt

Example:

qfprom: qfprom@00700000 {
compatible = "qcom,qfprom";
reg = <0x00700000 0x8000>;
...
/* Data cells */
tsens_calibration: calib@404 {
reg = <0x4404 0x10>;
};
};


= Data consumers =
Are device nodes which consume nvmem data cells.

For example:

tsens {
...
nvmem-cells = <&tsens_calibration>;
nvmem-cell-names = "calibration";
};
Loading