Skip to content

Commit 1c9f8df

Browse files
committed
Merge tag 'char-misc-6.6-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 char/misc and other small driver subsystem changes for 6.6-rc1. Stuff all over the place here, lots of driver updates and changes and new additions. Short summary is: - new IIO drivers and updates - Interconnect driver updates - fpga driver updates and additions - fsi driver updates - mei driver updates - coresight driver updates - nvmem driver updates - counter driver updates - lots of smaller misc and char driver updates and additions All of these have been in linux-next for a long time with no reported problems" * tag 'char-misc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (267 commits) nvmem: core: Notify when a new layout is registered nvmem: core: Do not open-code existing functions nvmem: core: Return NULL when no nvmem layout is found nvmem: core: Create all cells before adding the nvmem device nvmem: u-boot-env:: Replace zero-length array with DECLARE_FLEX_ARRAY() helper nvmem: sec-qfprom: Add Qualcomm secure QFPROM support dt-bindings: nvmem: sec-qfprom: Add bindings for secure qfprom dt-bindings: nvmem: Add compatible for QCM2290 nvmem: Kconfig: Fix typo "drive" -> "driver" nvmem: Explicitly include correct DT includes nvmem: add new NXP QorIQ eFuse driver dt-bindings: nvmem: Add t1023-sfp efuse support dt-bindings: nvmem: qfprom: Add compatible for MSM8226 nvmem: uniphier: Use devm_platform_get_and_ioremap_resource() nvmem: qfprom: do some cleanup nvmem: stm32-romem: Use devm_platform_get_and_ioremap_resource() nvmem: rockchip-efuse: Use devm_platform_get_and_ioremap_resource() nvmem: meson-mx-efuse: Convert to devm_platform_ioremap_resource() nvmem: lpc18xx_otp: Convert to devm_platform_ioremap_resource() nvmem: brcm_nvram: Use devm_platform_get_and_ioremap_resource() ...
2 parents 28a4f91 + 704e2c6 commit 1c9f8df

File tree

313 files changed

+20479
-2862
lines changed

Some content is hidden

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

313 files changed

+20479
-2862
lines changed

Documentation/ABI/stable/sysfs-bus-mhi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What: /sys/bus/mhi/devices/.../serialnumber
22
Date: Sept 2020
33
KernelVersion: 5.10
4-
Contact: Bhaumik Bhatt <[email protected]>
4+
55
Description: The file holds the serial number of the client device obtained
66
using a BHI (Boot Host Interface) register read after at least
77
one attempt to power up the device has been done. If read
@@ -12,7 +12,7 @@ Users: Any userspace application or clients interested in device info.
1212
What: /sys/bus/mhi/devices/.../oem_pk_hash
1313
Date: Sept 2020
1414
KernelVersion: 5.10
15-
Contact: Bhaumik Bhatt <[email protected]>
15+
1616
Description: The file holds the OEM PK Hash value of the endpoint device
1717
obtained using a BHI (Boot Host Interface) register read after
1818
at least one attempt to power up the device has been done. If

Documentation/ABI/testing/sysfs-bus-counter

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Description:
2222
phase clock.
2323

2424
What: /sys/bus/counter/devices/counterX/external_input_phase_clock_select_available
25-
KernelVersion: 6.4
26-
25+
KernelVersion: 6.4
26+
2727
Description:
28-
Discrete set of available values for the respective device
29-
configuration are listed in this file.
28+
Discrete set of available values for the respective device
29+
configuration are listed in this file.
3030

3131
What: /sys/bus/counter/devices/counterX/countY/count
3232
KernelVersion: 5.2

Documentation/ABI/testing/sysfs-bus-fsi-devices-sbefifo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Description:
77
by the driver. A value of 1 indicates that a timeout has
88
occurred and no transfers have completed since the timeout. A
99
value of 0 indicates that no timeout has occurred, or if one
10-
has, more recent transfers have completed successful.
10+
has, more recent transfers have completed successfully.

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,3 +2163,19 @@ Contact: [email protected]
21632163
Description:
21642164
An example format is 16-bytes, 2-digits-per-byte, HEX-string
21652165
representing the sensor unique ID number.
2166+
2167+
What: /sys/.../events/in_proximity_thresh_either_runningperiod
2168+
KernelVersion: 6.6
2169+
2170+
Description:
2171+
A running period of time (in seconds) for which
2172+
in_proximity_thresh_either_runningcount amount of conditions
2173+
must occur before an event is generated. If direction is not
2174+
specified then this period applies to both directions.
2175+
2176+
What: /sys/.../events/in_proximity_thresh_either_runningcount
2177+
KernelVersion: 6.6
2178+
2179+
Description:
2180+
Number of conditions that must occur, during a running
2181+
period, before an event is generated.

Documentation/ABI/testing/sysfs-bus-iio-filter-admv8818

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Description:
77

88
- auto -> Adjust bandpass filter to track changes in input clock rate.
99
- manual -> disable/unregister the clock rate notifier / input clock tracking.
10+
- bypass -> bypass low pass filter, high pass filter and disable/unregister
11+
the clock rate notifier
1012

1113
What: /sys/bus/iio/devices/iio:deviceX/filter_mode
1214
KernelVersion:

Documentation/admin-guide/dynamic-debug-howto.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,14 @@ The flags are::
216216
t Include thread ID, or <intr>
217217
m Include module name
218218
f Include the function name
219+
s Include the source file name
219220
l Include line number
220221

221222
For ``print_hex_dump_debug()`` and ``print_hex_dump_bytes()``, only
222223
the ``p`` flag has meaning, other flags are ignored.
223224

224-
Note the regexp ``^[-+=][flmpt_]+$`` matches a flags specification.
225-
To clear all flags at once, use ``=_`` or ``-flmpt``.
225+
Note the regexp ``^[-+=][fslmpt_]+$`` matches a flags specification.
226+
To clear all flags at once, use ``=_`` or ``-fslmpt``.
226227

227228

228229
Debug messages during Boot Process

Documentation/devicetree/bindings/extcon/maxim,max77843.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323

2424
connector:
2525
$ref: /schemas/connector/usb-connector.yaml#
26+
unevaluatedProperties: false
2627

2728
ports:
2829
$ref: /schemas/graph.yaml#/properties/ports

Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ properties:
2727
description: I2C slave address of the device. Usually 0x25 for SM5502
2828
and SM5703, 0x14 for SM5504.
2929

30+
connector:
31+
$ref: /schemas/connector/usb-connector.yaml#
32+
unevaluatedProperties: false
33+
3034
interrupts:
3135
maxItems: 1
3236

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/fsi/ibm,i2cr-fsi-master.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: IBM I2C Responder virtual FSI master
8+
9+
maintainers:
10+
- Eddie James <[email protected]>
11+
12+
description: |
13+
The I2C Responder (I2CR) is a an I2C device that's connected to an FSI CFAM
14+
(see fsi.txt). The I2CR translates I2C bus operations to FSI CFAM reads and
15+
writes or SCOM operations, thereby acting as an FSI master.
16+
17+
properties:
18+
compatible:
19+
enum:
20+
- ibm,i2cr-fsi-master
21+
22+
reg:
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- reg
28+
29+
additionalProperties: false
30+
31+
examples:
32+
- |
33+
i2c {
34+
#address-cells = <1>;
35+
#size-cells = <0>;
36+
37+
i2cr@20 {
38+
compatible = "ibm,i2cr-fsi-master";
39+
reg = <0x20>;
40+
};
41+
};
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/iio/adc/allwinner,sun20i-d1-gpadc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Allwinner D1 General Purpose ADC
8+
9+
maintainers:
10+
- Maksim Kiselev <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- allwinner,sun20i-d1-gpadc
16+
17+
"#io-channel-cells":
18+
const: 1
19+
20+
"#address-cells":
21+
const: 1
22+
23+
"#size-cells":
24+
const: 0
25+
26+
clocks:
27+
maxItems: 1
28+
29+
interrupts:
30+
maxItems: 1
31+
32+
reg:
33+
maxItems: 1
34+
35+
resets:
36+
maxItems: 1
37+
38+
patternProperties:
39+
"^channel@[0-9a-f]+$":
40+
$ref: adc.yaml
41+
type: object
42+
description:
43+
Represents the internal channels of the ADC.
44+
45+
properties:
46+
reg:
47+
items:
48+
minimum: 0
49+
maximum: 15
50+
51+
required:
52+
- reg
53+
54+
unevaluatedProperties: false
55+
56+
required:
57+
- "#io-channel-cells"
58+
- clocks
59+
- compatible
60+
- interrupts
61+
- reg
62+
- resets
63+
64+
additionalProperties: false
65+
66+
examples:
67+
- |
68+
#include <dt-bindings/clock/sun20i-d1-ccu.h>
69+
#include <dt-bindings/reset/sun20i-d1-ccu.h>
70+
#include <dt-bindings/interrupt-controller/irq.h>
71+
72+
gpadc: adc@2009000 {
73+
compatible = "allwinner,sun20i-d1-gpadc";
74+
reg = <0x2009000 0x400>;
75+
clocks = <&ccu CLK_BUS_GPADC>;
76+
resets = <&ccu RST_BUS_GPADC>;
77+
interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
78+
#io-channel-cells = <1>;
79+
80+
#address-cells = <1>;
81+
#size-cells = <0>;
82+
83+
channel@0 {
84+
reg = <0>;
85+
};
86+
87+
channel@1 {
88+
reg = <1>;
89+
};
90+
};
91+
...

0 commit comments

Comments
 (0)