Skip to content

Commit b3cdda2

Browse files
committed
Merge tag 'dt-for-linus' of git://git.secretlab.ca/git/linux
Pull device tree changes from Grant Likely: "All around device tree changes destined for v3.8. Aside from the documentation updates the highlights in this branch include: - Kbuild changes for using CPP with .dts files - locking fix from preempt_rt patchset - include DT alias names in device uevent - Selftest bugfixes and improvements - New function for counting phandles stanzas in a property - constify argument to of_node_full_name() - Various bug fixes This tree did also contain a commit to use platform_device_add instead of open-coding the device add code, but it caused problems with amba devices and needed to be reverted." * tag 'dt-for-linus' of git://git.secretlab.ca/git/linux: (23 commits) Revert "of: use platform_device_add" kbuild: limit dtc+cpp include path gpio: Make of_count_named_gpios() use new of_count_phandle_with_args() of: Create function for counting number of phandles in a property of/base: Clean up exit paths for of_parse_phandle_with_args() of/selftest: Use selftest() macro throughout of/selftest: Fix GPIOs selftest to cover the 7th case of: fix recursive locking in of_get_next_available_child() documentation/devicetree: Fix a typo in exynos-dw-mshc.txt OF: convert devtree lock from rw_lock to raw spinlock of/exynos_g2d: Add Bindings for exynos G2D driver kbuild: create a rule to run the pre-processor on *.dts files input: Extend matrix-keypad device tree binding devicetree: Move NS2 LEDs binding into LEDs directory of: use platform_device_add powerpc/5200: Fix size to request_mem_region() call documentation/devicetree: Fix typos of: add 'const' to of_node_full_name parameter of: Output devicetree alias names in uevent DT: add vendor prefixes for Renesas and Toshiba ...
2 parents 3aad3f0 + 02bbde7 commit b3cdda2

35 files changed

Lines changed: 444 additions & 227 deletions

File tree

‎Documentation/devicetree/bindings/arm/atmel-aic.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Required properties:
44
- compatible: Should be "atmel,<chip>-aic"
55
- interrupt-controller: Identifies the node as an interrupt controller.
66
- interrupt-parent: For single AIC system, it is an empty property.
7-
- #interrupt-cells: The number of cells to define the interrupts. It sould be 3.
7+
- #interrupt-cells: The number of cells to define the interrupts. It should be 3.
88
The first cell is the IRQ number (aka "Peripheral IDentifier" on datasheet).
99
The second cell is used to specify flags:
1010
bits[3:0] trigger type and level flags:

‎Documentation/devicetree/bindings/arm/gic.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Main node required properties:
4242

4343
Optional
4444
- interrupts : Interrupt source of the parent interrupt controller on
45-
secondary GICs, or VGIC maintainance interrupt on primary GIC (see
45+
secondary GICs, or VGIC maintenance interrupt on primary GIC (see
4646
below).
4747

4848
- cpu-offset : per-cpu offset within the distributor and cpu interface
@@ -74,7 +74,7 @@ Required properties:
7474
virtual interface control register base and size. The 2nd additional
7575
region is the GIC virtual cpu interface register base and size.
7676

77-
- interrupts : VGIC maintainance interrupt.
77+
- interrupts : VGIC maintenance interrupt.
7878

7979
Example:
8080

‎Documentation/devicetree/bindings/arm/omap/omap.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ Boards:
3939
- OMAP3 Tobi with Overo : Commercial expansion board with daughter board
4040
compatible = "ti,omap3-tobi", "ti,omap3-overo", "ti,omap3"
4141

42-
- OMAP4 SDP : Software Developement Board
42+
- OMAP4 SDP : Software Development Board
4343
compatible = "ti,omap4-sdp", "ti,omap4430"
4444

4545
- OMAP4 PandaBoard : Low cost community board
4646
compatible = "ti,omap4-panda", "ti,omap4430"
4747

48-
- OMAP3 EVM : Software Developement Board for OMAP35x, AM/DM37x
48+
- OMAP3 EVM : Software Development Board for OMAP35x, AM/DM37x
4949
compatible = "ti,omap3-evm", "ti,omap3"
5050

51-
- AM335X EVM : Software Developement Board for AM335x
51+
- AM335X EVM : Software Development Board for AM335x
5252
compatible = "ti,am335x-evm", "ti,am33xx", "ti,omap3"
5353

5454
- AM335X Bone : Low cost community board
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Samsung 2D Graphic Accelerator using DRM frame work
2+
3+
Samsung FIMG2D is a graphics 2D accelerator which supports Bit Block Transfer.
4+
We set the drawing-context registers for configuring rendering parameters and
5+
then start rendering.
6+
This driver is for SOCs which contain G2D IPs with version 4.1.
7+
8+
Required properties:
9+
-compatible:
10+
should be "samsung,exynos-g2d-41".
11+
-reg:
12+
physical base address of the controller and length
13+
of memory mapped region.
14+
-interrupts:
15+
interrupt combiner values.
16+
17+
Example:
18+
g2d {
19+
compatible = "samsung,exynos-g2d-41";
20+
reg = <0x10850000 0x1000>;
21+
interrupts = <0 91 0>;
22+
};

‎Documentation/devicetree/bindings/input/lpc32xx-key.txt‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
NXP LPC32xx Key Scan Interface
22

3+
This binding is based on the matrix-keymap binding with the following
4+
changes:
5+
36
Required Properties:
47
- compatible: Should be "nxp,lpc3220-key"
58
- reg: Physical base address of the controller and length of memory mapped
69
region.
710
- interrupts: The interrupt number to the cpu.
8-
- keypad,num-rows: Number of rows and columns, e.g. 1: 1x1, 6: 6x6
9-
- keypad,num-columns: Must be equal to keypad,num-rows since LPC32xx only
10-
supports square matrices
1111
- nxp,debounce-delay-ms: Debounce delay in ms
1212
- nxp,scan-delay-ms: Repeated scan period in ms
1313
- linux,keymap: the key-code to be reported when the key is pressed
1414
and released, see also
1515
Documentation/devicetree/bindings/input/matrix-keymap.txt
1616

17+
Note: keypad,num-rows and keypad,num-columns are required, and must be equal
18+
since LPC32xx only supports square matrices
19+
1720
Example:
1821

1922
key@40050000 {

‎Documentation/devicetree/bindings/input/matrix-keymap.txt‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Required properties:
99
row << 24 | column << 16 | key-code
1010

1111
Optional properties:
12+
Properties for the number of rows and columns are optional because some
13+
drivers will use fixed values for these.
14+
- keypad,num-rows: Number of row lines connected to the keypad controller.
15+
- keypad,num-columns: Number of column lines connected to the keypad
16+
controller.
17+
1218
Some users of this binding might choose to specify secondary keymaps for
1319
cases where there is a modifier key such as a Fn key. Proposed names
1420
for said properties are "linux,fn-keymap" or with another descriptive
@@ -17,3 +23,5 @@ word for the modifier other from "Fn".
1723
Example:
1824
linux,keymap = < 0x00030012
1925
0x0102003a >;
26+
keypad,num-rows = <2>;
27+
keypad,num-columns = <8>;

‎Documentation/devicetree/bindings/input/omap-keypad.txt‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,16 @@ A key can be placed at each intersection of a unique row and a unique column.
66
The keypad controller can sense a key-press and key-release and report the
77
event using a interrupt to the cpu.
88

9+
This binding is based on the matrix-keymap binding with the following
10+
changes:
11+
12+
keypad,num-rows and keypad,num-columns are required.
13+
914
Required SoC Specific Properties:
1015
- compatible: should be one of the following
1116
- "ti,omap4-keypad": For controllers compatible with omap4 keypad
1217
controller.
1318

14-
Required Board Specific Properties, in addition to those specified by
15-
the shared matrix-keyboard bindings:
16-
- keypad,num-rows: Number of row lines connected to the keypad
17-
controller.
18-
19-
- keypad,num-columns: Number of column lines connected to the
20-
keypad controller.
21-
2219
Optional Properties specific to linux:
2320
- linux,keypad-no-autorepeat: do no enable autorepeat feature.
2421

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
This binding is based on the matrix-keymap binding with the following
2+
changes:
3+
4+
keypad,num-rows and keypad,num-columns are required.
15

26
Required properties:
37
- compatible: "ti,tca8418"
48
- reg: the I2C address
59
- interrupts: IRQ line number, should trigger on falling edge
6-
- keypad,num-rows: The number of rows
7-
- keypad,num-columns: The number of columns
810
- linux,keymap: Keys definitions, see keypad-matrix.
File renamed without changes.

‎Documentation/devicetree/bindings/mips/cavium/dma-engine.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* DMA Engine.
22

33
The Octeon DMA Engine transfers between the Boot Bus and main memory.
4-
The DMA Engine will be refered to by phandle by any device that is
4+
The DMA Engine will be referred to by phandle by any device that is
55
connected to it.
66

77
Properties:

0 commit comments

Comments
 (0)