forked from torvalds/linux
-
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 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/gregkh/char-misc Pull char/misc driver updates from Greg KH: "Here is the big set of new char/misc driver drivers and features for 4.12-rc1. There's lots of new drivers added this time around, new firmware drivers from Google, more auxdisplay drivers, extcon drivers, fpga drivers, and a bunch of other driver updates. Nothing major, except if you happen to have the hardware for these drivers, and then you will be happy :) All of these have been in linux-next for a while with no reported issues" * tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (136 commits) firmware: google memconsole: Fix return value check in platform_memconsole_init() firmware: Google VPD: Fix return value check in vpd_platform_init() goldfish_pipe: fix build warning about using too much stack. goldfish_pipe: An implementation of more parallel pipe fpga fr br: update supported version numbers fpga: region: release FPGA region reference in error path fpga altera-hps2fpga: disable/unprepare clock on error in alt_fpga_bridge_probe() mei: drop the TODO from samples firmware: Google VPD sysfs driver firmware: Google VPD: import lib_vpd source files misc: lkdtm: Add volatile to intentional NULL pointer reference eeprom: idt_89hpesx: Add OF device ID table misc: ds1682: Add OF device ID table misc: tsl2550: Add OF device ID table w1: Remove unneeded use of assert() and remove w1_log.h w1: Use kernel common min() implementation uio_mf624: Align memory regions to page size and set correct offsets uio_mf624: Refactor memory info initialization uio: Allow handling of non page-aligned memory regions hangcheck-timer: Fix typo in comment ...
- Loading branch information
Showing
166 changed files
with
8,064 additions
and
3,259 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
45 changes: 45 additions & 0 deletions
45
Documentation/devicetree/bindings/auxdisplay/hit,hd44780.txt
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,45 @@ | ||
DT bindings for the Hitachi HD44780 Character LCD Controller | ||
|
||
The Hitachi HD44780 Character LCD Controller is commonly used on character LCDs | ||
that can display one or more lines of text. It exposes an M6800 bus interface, | ||
which can be used in either 4-bit or 8-bit mode. | ||
|
||
Required properties: | ||
- compatible: Must contain "hit,hd44780", | ||
- data-gpios: Must contain an array of either 4 or 8 GPIO specifiers, | ||
referring to the GPIO pins connected to the data signal lines DB0-DB7 | ||
(8-bit mode) or DB4-DB7 (4-bit mode) of the LCD Controller's bus interface, | ||
- enable-gpios: Must contain a GPIO specifier, referring to the GPIO pin | ||
connected to the "E" (Enable) signal line of the LCD Controller's bus | ||
interface, | ||
- rs-gpios: Must contain a GPIO specifier, referring to the GPIO pin | ||
connected to the "RS" (Register Select) signal line of the LCD Controller's | ||
bus interface, | ||
- display-height-chars: Height of the display, in character cells, | ||
- display-width-chars: Width of the display, in character cells. | ||
|
||
Optional properties: | ||
- rw-gpios: Must contain a GPIO specifier, referring to the GPIO pin | ||
connected to the "RW" (Read/Write) signal line of the LCD Controller's bus | ||
interface, | ||
- backlight-gpios: Must contain a GPIO specifier, referring to the GPIO pin | ||
used for enabling the LCD's backlight, | ||
- internal-buffer-width: Internal buffer width (default is 40 for displays | ||
with 1 or 2 lines, and display-width-chars for displays with more than 2 | ||
lines). | ||
|
||
Example: | ||
|
||
auxdisplay { | ||
compatible = "hit,hd44780"; | ||
|
||
data-gpios = <&hc595 0 GPIO_ACTIVE_HIGH>, | ||
<&hc595 1 GPIO_ACTIVE_HIGH>, | ||
<&hc595 2 GPIO_ACTIVE_HIGH>, | ||
<&hc595 3 GPIO_ACTIVE_HIGH>; | ||
enable-gpios = <&hc595 4 GPIO_ACTIVE_HIGH>; | ||
rs-gpios = <&hc595 5 GPIO_ACTIVE_HIGH>; | ||
|
||
display-height-chars = <2>; | ||
display-width-chars = <16>; | ||
}; |
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,33 @@ | ||
COREBOOT firmware information | ||
|
||
The device tree node to communicate the location of coreboot's memory-resident | ||
bookkeeping structures to the kernel. Since coreboot itself cannot boot a | ||
device-tree-based kernel (yet), this node needs to be inserted by a | ||
second-stage bootloader (a coreboot "payload"). | ||
|
||
Required properties: | ||
- compatible: Should be "coreboot" | ||
- reg: Address and length of the following two memory regions, in order: | ||
1.) The coreboot table. This is a list of variable-sized descriptors | ||
that contain various compile- and run-time generated firmware | ||
parameters. It is identified by the magic string "LBIO" in its first | ||
four bytes. | ||
See coreboot's src/commonlib/include/commonlib/coreboot_tables.h for | ||
details. | ||
2.) The CBMEM area. This is a downward-growing memory region used by | ||
coreboot to dynamically allocate data structures that remain resident. | ||
It may or may not include the coreboot table as one of its members. It | ||
is identified by a root node descriptor with the magic number | ||
0xc0389481 that resides in the topmost 8 bytes of the area. | ||
See coreboot's src/include/imd.h for details. | ||
|
||
Example: | ||
firmware { | ||
ranges; | ||
|
||
coreboot { | ||
compatible = "coreboot"; | ||
reg = <0xfdfea000 0x264>, | ||
<0xfdfea000 0x16000>; | ||
} | ||
}; |
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,12 @@ | ||
Altera Arria10 Partial Reconfiguration IP | ||
|
||
Required properties: | ||
- compatible : should contain "altr,a10-pr-ip" | ||
- reg : base address and size for memory mapped io. | ||
|
||
Example: | ||
|
||
fpga_mgr: fpga-mgr@ff20c000 { | ||
compatible = "altr,a10-pr-ip"; | ||
reg = <0xff20c000 0x10>; | ||
}; |
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
21 changes: 21 additions & 0 deletions
21
Documentation/devicetree/bindings/fpga/lattice-ice40-fpga-mgr.txt
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,21 @@ | ||
Lattice iCE40 FPGA Manager | ||
|
||
Required properties: | ||
- compatible: Should contain "lattice,ice40-fpga-mgr" | ||
- reg: SPI chip select | ||
- spi-max-frequency: Maximum SPI frequency (>=1000000, <=25000000) | ||
- cdone-gpios: GPIO input connected to CDONE pin | ||
- reset-gpios: Active-low GPIO output connected to CRESET_B pin. Note | ||
that unless the GPIO is held low during startup, the | ||
FPGA will enter Master SPI mode and drive SCK with a | ||
clock signal potentially jamming other devices on the | ||
bus until the firmware is loaded. | ||
|
||
Example: | ||
fpga: fpga@0 { | ||
compatible = "lattice,ice40-fpga-mgr"; | ||
reg = <0>; | ||
spi-max-frequency = <1000000>; | ||
cdone-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; | ||
reset-gpios = <&gpio 22 GPIO_ACTIVE_LOW>; | ||
}; |
44 changes: 44 additions & 0 deletions
44
Documentation/devicetree/bindings/fpga/xilinx-slave-serial.txt
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,44 @@ | ||
Xilinx Slave Serial SPI FPGA Manager | ||
|
||
Xilinx Spartan-6 FPGAs support a method of loading the bitstream over | ||
what is referred to as "slave serial" interface. | ||
The slave serial link is not technically SPI, and might require extra | ||
circuits in order to play nicely with other SPI slaves on the same bus. | ||
|
||
See https://www.xilinx.com/support/documentation/user_guides/ug380.pdf | ||
|
||
Required properties: | ||
- compatible: should contain "xlnx,fpga-slave-serial" | ||
- reg: spi chip select of the FPGA | ||
- prog_b-gpios: config pin (referred to as PROGRAM_B in the manual) | ||
- done-gpios: config status pin (referred to as DONE in the manual) | ||
|
||
Example for full FPGA configuration: | ||
|
||
fpga-region0 { | ||
compatible = "fpga-region"; | ||
fpga-mgr = <&fpga_mgr_spi>; | ||
#address-cells = <0x1>; | ||
#size-cells = <0x1>; | ||
}; | ||
|
||
spi1: spi@10680 { | ||
compatible = "marvell,armada-xp-spi", "marvell,orion-spi"; | ||
pinctrl-0 = <&spi0_pins>; | ||
pinctrl-names = "default"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
cell-index = <1>; | ||
interrupts = <92>; | ||
clocks = <&coreclk 0>; | ||
status = "okay"; | ||
|
||
fpga_mgr_spi: fpga-mgr@0 { | ||
compatible = "xlnx,fpga-slave-serial"; | ||
spi-max-frequency = <60000000>; | ||
spi-cpha; | ||
reg = <0>; | ||
done-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; | ||
prog_b-gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; |
6 changes: 5 additions & 1 deletion
6
Documentation/devicetree/bindings/nvmem/allwinner,sunxi-sid.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Freescale i.MX IC Identification Module (IIM) device tree bindings | ||
|
||
This binding represents the IC Identification Module (IIM) found on | ||
i.MX25, i.MX27, i.MX31, i.MX35, i.MX51 and i.MX53 SoCs. | ||
|
||
Required properties: | ||
- compatible: should be one of | ||
"fsl,imx25-iim", "fsl,imx27-iim", | ||
"fsl,imx31-iim", "fsl,imx35-iim", | ||
"fsl,imx51-iim", "fsl,imx53-iim", | ||
- reg: Should contain the register base and length. | ||
- interrupts: Should contain the interrupt for the IIM | ||
- clocks: Should contain a phandle pointing to the gated peripheral clock. | ||
|
||
Example: | ||
|
||
iim: iim@63f98000 { | ||
compatible = "fsl,imx53-iim", "fsl,imx27-iim"; | ||
reg = <0x63f98000 0x4000>; | ||
interrupts = <69>; | ||
clocks = <&clks IMX5_CLK_IIM_GATE>; | ||
}; |
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.