Skip to content

Commit 7361636

Browse files
committed
Merge branch 'for-4.12/dax' into libnvdimm-for-next
2 parents d5483fe + 1ef97fe commit 7361636

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+4759
-2054
lines changed

Documentation/DocBook/rapidio.tmpl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@
128128
</sect1>
129129
<sect1 id="Device_model_support"><title>Device model support</title>
130130
!Idrivers/rapidio/rio-driver.c
131-
</sect1>
132-
<sect1 id="Sysfs_support"><title>Sysfs support</title>
133-
!Idrivers/rapidio/rio-sysfs.c
134131
</sect1>
135132
<sect1 id="PPC32_support"><title>PPC32 support</title>
136133
!Iarch/powerpc/sysdev/fsl_rio.c
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
DT bindings for the Hitachi HD44780 Character LCD Controller
2+
3+
The Hitachi HD44780 Character LCD Controller is commonly used on character LCDs
4+
that can display one or more lines of text. It exposes an M6800 bus interface,
5+
which can be used in either 4-bit or 8-bit mode.
6+
7+
Required properties:
8+
- compatible: Must contain "hit,hd44780",
9+
- data-gpios: Must contain an array of either 4 or 8 GPIO specifiers,
10+
referring to the GPIO pins connected to the data signal lines DB0-DB7
11+
(8-bit mode) or DB4-DB7 (4-bit mode) of the LCD Controller's bus interface,
12+
- enable-gpios: Must contain a GPIO specifier, referring to the GPIO pin
13+
connected to the "E" (Enable) signal line of the LCD Controller's bus
14+
interface,
15+
- rs-gpios: Must contain a GPIO specifier, referring to the GPIO pin
16+
connected to the "RS" (Register Select) signal line of the LCD Controller's
17+
bus interface,
18+
- display-height: Height of the display, in character cells,
19+
- display-width: Width of the display, in character cells.
20+
21+
Optional properties:
22+
- rw-gpios: Must contain a GPIO specifier, referring to the GPIO pin
23+
connected to the "RW" (Read/Write) signal line of the LCD Controller's bus
24+
interface,
25+
- backlight-gpios: Must contain a GPIO specifier, referring to the GPIO pin
26+
used for enabling the LCD's backlight,
27+
- internal-buffer-width: Internal buffer width (default is 40 for displays
28+
with 1 or 2 lines, and display-width for displays with more than 2 lines).
29+
30+
Example:
31+
32+
auxdisplay {
33+
compatible = "hit,hd44780";
34+
35+
data-gpios = <&hc595 0 GPIO_ACTIVE_HIGH>,
36+
<&hc595 1 GPIO_ACTIVE_HIGH>,
37+
<&hc595 2 GPIO_ACTIVE_HIGH>,
38+
<&hc595 3 GPIO_ACTIVE_HIGH>;
39+
enable-gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
40+
rs-gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
41+
42+
display-height = <2>;
43+
display-width = <16>;
44+
};

Documentation/devicetree/bindings/fpga/fpga-region.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ Optional properties:
186186
otherwise full reconfiguration is done.
187187
- external-fpga-config : boolean, set if the FPGA has already been configured
188188
prior to OS boot up.
189+
- encrypted-fpga-config : boolean, set if the bitstream is encrypted
189190
- region-unfreeze-timeout-us : The maximum time in microseconds to wait for
190191
bridges to successfully become enabled after the region has been
191192
programmed.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Lattice iCE40 FPGA Manager
2+
3+
Required properties:
4+
- compatible: Should contain "lattice,ice40-fpga-mgr"
5+
- reg: SPI chip select
6+
- spi-max-frequency: Maximum SPI frequency (>=1000000, <=25000000)
7+
- cdone-gpios: GPIO input connected to CDONE pin
8+
- reset-gpios: Active-low GPIO output connected to CRESET_B pin. Note
9+
that unless the GPIO is held low during startup, the
10+
FPGA will enter Master SPI mode and drive SCK with a
11+
clock signal potentially jamming other devices on the
12+
bus until the firmware is loaded.
13+
14+
Example:
15+
fpga: fpga@0 {
16+
compatible = "lattice,ice40-fpga-mgr";
17+
reg = <0>;
18+
spi-max-frequency = <1000000>;
19+
cdone-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
20+
reset-gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
21+
};

0 commit comments

Comments
 (0)