Skip to content

Commit bafb076

Browse files
committed
Merge tag 'char-misc-4.14-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 char/misc driver update for 4.14-rc1. Lots of different stuff in here, it's been an active development cycle for some reason. Highlights are: - updated binder driver, this brings binder up to date with what shipped in the Android O release, plus some more changes that happened since then that are in the Android development trees. - coresight updates and fixes - mux driver file renames to be a bit "nicer" - intel_th driver updates - normal set of hyper-v updates and changes - small fpga subsystem and driver updates - lots of const code changes all over the driver trees - extcon driver updates - fmc driver subsystem upadates - w1 subsystem minor reworks and new features and drivers added - spmi driver updates Plus a smattering of other minor driver updates and fixes. All of these have been in linux-next with no reported issues for a while" * tag 'char-misc-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (244 commits) ANDROID: binder: don't queue async transactions to thread. ANDROID: binder: don't enqueue death notifications to thread todo. ANDROID: binder: Don't BUG_ON(!spin_is_locked()). ANDROID: binder: Add BINDER_GET_NODE_DEBUG_INFO ioctl ANDROID: binder: push new transactions to waiting threads. ANDROID: binder: remove proc waitqueue android: binder: Add page usage in binder stats android: binder: fixup crash introduced by moving buffer hdr drivers: w1: add hwmon temp support for w1_therm drivers: w1: refactor w1_slave_show to make the temp reading functionality separate drivers: w1: add hwmon support structures eeprom: idt_89hpesx: Support both ACPI and OF probing mcb: Fix an error handling path in 'chameleon_parse_cells()' MCB: add support for SC31 to mcb-lpc mux: make device_type const char: virtio: constify attribute_group structures. Documentation/ABI: document the nvmem sysfs files lkdtm: fix spelling mistake: "incremeted" -> "incremented" perf: cs-etm: Fix ETMv4 CONFIGR entry in perf.data file nvmem: include linux/err.h from header ...
2 parents 44b1671 + 3a6430c commit bafb076

175 files changed

Lines changed: 9572 additions & 3121 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
What: /sys/bus/nvmem/devices/.../nvmem
2+
Date: July 2015
3+
KernelVersion: 4.2
4+
Contact: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
5+
Description:
6+
This file allows user to read/write the raw NVMEM contents.
7+
Permissions for write to this file depends on the nvmem
8+
provider configuration.
9+
10+
ex:
11+
hexdump /sys/bus/nvmem/devices/qfprom0/nvmem
12+
13+
0000000 0000 0000 0000 0000 0000 0000 0000 0000
14+
*
15+
00000a0 db10 2240 0000 e000 0c00 0c00 0000 0c00
16+
0000000 0000 0000 0000 0000 0000 0000 0000 0000
17+
...
18+
*
19+
0001000

‎Documentation/ABI/testing/sysfs-bus-thunderbolt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Contact: thunderbolt-software@lists.01.org
4545
Description: When a devices supports Thunderbolt secure connect it will
4646
have this attribute. Writing 32 byte hex string changes
4747
authorization to use the secure connection method instead.
48+
Writing an empty string clears the key and regular connection
49+
method can be used again.
4850

4951
What: /sys/bus/thunderbolt/devices/.../device
5052
Date: Sep 2017
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
What: /sys/bus/pci/drivers/altera-cvp/chkcfg
2+
Date: May 2017
3+
Kernel Version: 4.13
4+
Contact: Anatolij Gustschin <agust@denx.de>
5+
Description:
6+
Contains either 1 or 0 and controls if configuration
7+
error checking in altera-cvp driver is turned on or
8+
off.

‎Documentation/admin-guide/devices.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3081,3 +3081,8 @@
30813081
1 = /dev/osd1 Second OSD Device
30823082
...
30833083
255 = /dev/osd255 256th OSD Device
3084+
3085+
384-511 char RESERVED FOR DYNAMIC ASSIGNMENT
3086+
Character devices that request a dynamic allocation of major
3087+
number will take numbers starting from 511 and downward,
3088+
once the 234-254 range is full.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ its hardware characteristcs.
3434
- Embedded Trace Macrocell (version 4.x):
3535
"arm,coresight-etm4x", "arm,primecell";
3636

37-
- Qualcomm Configurable Replicator (version 1.x):
38-
"qcom,coresight-replicator1x", "arm,primecell";
37+
- Coresight programmable Replicator :
38+
"arm,coresight-dynamic-replicator", "arm,primecell";
3939

4040
- System Trace Macrocell:
4141
"arm,coresight-stm", "arm,primecell"; [1]
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ChromeOS EC USB Type-C cable and accessories detection
2+
3+
On ChromeOS systems with USB Type C ports, the ChromeOS Embedded Controller is
4+
able to detect the state of external accessories such as display adapters
5+
or USB devices when said accessories are attached or detached.
6+
7+
The node for this device must be under a cros-ec node like google,cros-ec-spi
8+
or google,cros-ec-i2c.
9+
10+
Required properties:
11+
- compatible: Should be "google,extcon-usbc-cros-ec".
12+
- google,usb-port-id: Specifies the USB port ID to use.
13+
14+
Example:
15+
cros-ec@0 {
16+
compatible = "google,cros-ec-i2c";
17+
18+
...
19+
20+
extcon {
21+
compatible = "google,extcon-usbc-cros-ec";
22+
google,usb-port-id = <0>;
23+
};
24+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Altera Passive Serial SPI FPGA Manager
2+
3+
Altera FPGAs support a method of loading the bitstream over what is
4+
referred to as "passive serial".
5+
The passive serial link is not technically SPI, and might require extra
6+
circuits in order to play nicely with other SPI slaves on the same bus.
7+
8+
See https://www.altera.com/literature/hb/cyc/cyc_c51013.pdf
9+
10+
Required properties:
11+
- compatible: Must be one of the following:
12+
"altr,fpga-passive-serial",
13+
"altr,fpga-arria10-passive-serial"
14+
- reg: SPI chip select of the FPGA
15+
- nconfig-gpios: config pin (referred to as nCONFIG in the manual)
16+
- nstat-gpios: status pin (referred to as nSTATUS in the manual)
17+
18+
Optional properties:
19+
- confd-gpios: confd pin (referred to as CONF_DONE in the manual)
20+
21+
Example:
22+
fpga: fpga@0 {
23+
compatible = "altr,fpga-passive-serial";
24+
spi-max-frequency = <20000000>;
25+
reg = <0>;
26+
nconfig-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;
27+
nstat-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
28+
confd-gpios = <&gpio4 12 GPIO_ACTIVE_LOW>;
29+
};
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Xilinx LogiCORE Partial Reconfig Decoupler Softcore
2+
3+
The Xilinx LogiCORE Partial Reconfig Decoupler manages one or more
4+
decouplers / fpga bridges.
5+
The controller can decouple/disable the bridges which prevents signal
6+
changes from passing through the bridge. The controller can also
7+
couple / enable the bridges which allows traffic to pass through the
8+
bridge normally.
9+
10+
The Driver supports only MMIO handling. A PR region can have multiple
11+
PR Decouplers which can be handled independently or chained via decouple/
12+
decouple_status signals.
13+
14+
Required properties:
15+
- compatible : Should contain "xlnx,pr-decoupler-1.00" followed by
16+
"xlnx,pr-decoupler"
17+
- regs : base address and size for decoupler module
18+
- clocks : input clock to IP
19+
- clock-names : should contain "aclk"
20+
21+
Optional properties:
22+
- bridge-enable : 0 if driver should disable bridge at startup
23+
1 if driver should enable bridge at startup
24+
Default is to leave bridge in current state.
25+
26+
See Documentation/devicetree/bindings/fpga/fpga-region.txt for generic bindings.
27+
28+
Example:
29+
fpga-bridge@100000450 {
30+
compatible = "xlnx,pr-decoupler-1.00",
31+
"xlnx-pr-decoupler";
32+
regs = <0x10000045 0x10>;
33+
clocks = <&clkc 15>;
34+
clock-names = "aclk";
35+
bridge-enable = <0>;
36+
};

‎Documentation/devicetree/bindings/vendor-prefixes.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ kosagi Sutajio Ko-Usagi PTE Ltd.
175175
kyo Kyocera Corporation
176176
lacie LaCie
177177
lantiq Lantiq Semiconductor
178+
lattice Lattice Semiconductor
178179
lego LEGO Systems A/S
179180
lenovo Lenovo Group Ltd.
180181
lg LG Corporation

‎Documentation/devicetree/bindings/xilinx.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@
281281
capabilities of the underlying ICAP hardware
282282
differ between different families. May be
283283
'virtex2p', 'virtex4', or 'virtex5'.
284+
- compatible : should contain "xlnx,xps-hwicap-1.00.a" or
285+
"xlnx,opb-hwicap-1.00.b".
284286

285287
vi) Xilinx Uart 16550
286288

0 commit comments

Comments
 (0)