-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'omap-fixes-against-v3.17-rc3' of git://git.kernel.org/pub/…
…scm/linux/kernel/git/tmlind/linux-omap into fixes Merge "omap fixes against v3.17-rc3" from Tony Lindgren: Few fixes for omaps mostly for various devices to get them working properly on the new am437x and dra7 hardware for several devices such as I2C, NAND, DDR3 and USB. There's also a clock fix for omap3. And also included are two minor cosmetic fixes that are not stictly fixes for the new hardware support added recently to downgrade a GPMC warning into a debug statement, and fix the confusing comments for dra7-evm spi1 mux. Note that these are all .dts changes except for a GPMC change. * tag 'omap-fixes-against-v3.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (255 commits) ARM: dts: dra7-evm: Add vtt regulator support ARM: dts: dra7-evm: Fix spi1 mux documentation ARM: dts: am43x-epos-evm: Disable QSPI to prevent conflict with GPMC-NAND ARM: OMAP2+: gpmc: Don't complain if wait pin is used without r/w monitoring ARM: dts: am43xx-epos-evm: Don't use read/write wait monitoring ARM: dts: am437x-gp-evm: Don't use read/write wait monitoring ARM: dts: am437x-gp-evm: Use BCH16 ECC scheme instead of BCH8 ARM: dts: am43x-epos-evm: Use BCH16 ECC scheme instead of BCH8 ARM: dts: am4372: fix USB regs size ARM: dts: am437x-gp: switch i2c0 to 100KHz ARM: dts: dra7-evm: Fix 8th NAND partition's name ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency Linux 3.17-rc3 ... Signed-off-by: Kevin Hilman <khilman@linaro.org>
- Loading branch information
Showing
317 changed files
with
2,620 additions
and
1,293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
* Toshiba TC3589x multi-purpose expander | ||
|
||
The Toshiba TC3589x series are I2C-based MFD devices which may expose the | ||
following built-in devices: gpio, keypad, rotator (vibrator), PWM (for | ||
e.g. LEDs or vibrators) The included models are: | ||
|
||
- TC35890 | ||
- TC35892 | ||
- TC35893 | ||
- TC35894 | ||
- TC35895 | ||
- TC35896 | ||
|
||
Required properties: | ||
- compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893", | ||
"toshiba,tc35894", "toshiba,tc35895" or "toshiba,tc35896" | ||
- reg : I2C address of the device | ||
- interrupt-parent : specifies which IRQ controller we're connected to | ||
- interrupts : the interrupt on the parent the controller is connected to | ||
- interrupt-controller : marks the device node as an interrupt controller | ||
- #interrupt-cells : should be <1>, the first cell is the IRQ offset on this | ||
TC3589x interrupt controller. | ||
|
||
Optional nodes: | ||
|
||
- GPIO | ||
This GPIO module inside the TC3589x has 24 (TC35890, TC35892) or 20 | ||
(other models) GPIO lines. | ||
- compatible : must be "toshiba,tc3589x-gpio" | ||
- interrupts : interrupt on the parent, which must be the tc3589x MFD device | ||
- interrupt-controller : marks the device node as an interrupt controller | ||
- #interrupt-cells : should be <2>, the first cell is the IRQ offset on this | ||
TC3589x GPIO interrupt controller, the second cell is the interrupt flags | ||
in accordance with <dt-bindings/interrupt-controller/irq.h>. The following | ||
flags are valid: | ||
- IRQ_TYPE_LEVEL_LOW | ||
- IRQ_TYPE_LEVEL_HIGH | ||
- IRQ_TYPE_EDGE_RISING | ||
- IRQ_TYPE_EDGE_FALLING | ||
- IRQ_TYPE_EDGE_BOTH | ||
- gpio-controller : marks the device node as a GPIO controller | ||
- #gpio-cells : should be <2>, the first cell is the GPIO offset on this | ||
GPIO controller, the second cell is the flags. | ||
|
||
- Keypad | ||
This keypad is the same on all variants, supporting up to 96 different | ||
keys. The linux-specific properties are modeled on those already existing | ||
in other input drivers. | ||
- compatible : must be "toshiba,tc3589x-keypad" | ||
- debounce-delay-ms : debounce interval in milliseconds | ||
- keypad,num-rows : number of rows in the matrix, see | ||
bindings/input/matrix-keymap.txt | ||
- keypad,num-columns : number of columns in the matrix, see | ||
bindings/input/matrix-keymap.txt | ||
- linux,keymap: the definition can be found in | ||
bindings/input/matrix-keymap.txt | ||
- linux,no-autorepeat: do no enable autorepeat feature. | ||
- linux,wakeup: use any event on keypad as wakeup event. | ||
|
||
Example: | ||
|
||
tc35893@44 { | ||
compatible = "toshiba,tc35893"; | ||
reg = <0x44>; | ||
interrupt-parent = <&gpio6>; | ||
interrupts = <26 IRQ_TYPE_EDGE_RISING>; | ||
|
||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
|
||
tc3589x_gpio { | ||
compatible = "toshiba,tc3589x-gpio"; | ||
interrupts = <0>; | ||
|
||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
}; | ||
tc3589x_keypad { | ||
compatible = "toshiba,tc3589x-keypad"; | ||
interrupts = <6>; | ||
debounce-delay-ms = <4>; | ||
keypad,num-columns = <8>; | ||
keypad,num-rows = <8>; | ||
linux,no-autorepeat; | ||
linux,wakeup; | ||
linux,keymap = <0x0301006b | ||
0x04010066 | ||
0x06040072 | ||
0x040200d7 | ||
0x0303006a | ||
0x0205000e | ||
0x0607008b | ||
0x0500001c | ||
0x0403000b | ||
0x03040034 | ||
0x05020067 | ||
0x0305006c | ||
0x040500e7 | ||
0x0005009e | ||
0x06020073 | ||
0x01030039 | ||
0x07060069 | ||
0x050500d9>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.