Skip to content

Commit ba1dc7f

Browse files
committed
Merge tag 'char-misc-5.15-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 driver changes for 5.15-rc1. Lots of different driver subsystems are being updated in here, notably: - mhi subsystem update - fpga subsystem update - coresight/hwtracing subsystem update - interconnect subsystem update - nvmem subsystem update - parport drivers update - phy subsystem update - soundwire subsystem update and there are some other char/misc drivers being updated as well: - binder driver additions - new misc drivers - lkdtm driver updates - mei driver updates - sram driver updates - other minor driver updates. Note, there are no habanalabs driver updates in this pull request, that will probably come later before -rc1 is out in a different request. All of these have been in linux-next for a while with no reported problems" * tag 'char-misc-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (169 commits) Revert "bus: mhi: Add inbound buffers allocation flag" misc/pvpanic: fix set driver data VMCI: fix NULL pointer dereference when unmapping queue pair char: mware: fix returnvar.cocci warnings parport: remove non-zero check on count soundwire: cadence: do not extend reset delay soundwire: intel: conditionally exit clock stop mode on system suspend soundwire: intel: skip suspend/resume/wake when link was not started soundwire: intel: fix potential race condition during power down phy: qcom-qmp: Add support for SM6115 UFS phy dt-bindings: phy: qcom,qmp: Add SM6115 UFS PHY bindings phy: qmp: Provide unique clock names for DP clocks lkdtm: remove IDE_CORE_CP crashpoint lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ coresight: Replace deprecated CPU-hotplug functions. Documentation: coresight: Add documentation for CoreSight config coresight: syscfg: Add initial configfs support coresight: config: Add preloaded configurations coresight: etm4x: Add complex configuration handlers to etmv4 coresight: etm-perf: Update to activate selected configuration ...
2 parents 9e9fb76 + 0dc3ad3 commit ba1dc7f

File tree

180 files changed

+9448
-3020
lines changed

Some content is hidden

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

180 files changed

+9448
-3020
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
What: /sys/bus/spi/<dev>/update_firmware
2+
Date: Jul 2021
3+
4+
Description: Write 1 to this file to update the ACHC microcontroller
5+
firmware via the EzPort interface. For this the kernel
6+
will load "achc.bin" via the firmware API (so usually
7+
from /lib/firmware). The write will block until the FW
8+
has either been flashed successfully or an error occured.
9+
10+
What: /sys/bus/spi/<dev>/reset
11+
Date: Jul 2021
12+
13+
Description: This file represents the microcontroller's reset line.
14+
1 means the reset line is asserted, 0 means it's not
15+
asserted. The file is read and writable.

Documentation/admin-guide/binderfs.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,16 @@ that the `rm() <rm_>`_ tool can be used to delete them. Note that the
7272
``binder-control`` device cannot be deleted since this would make the binderfs
7373
instance unusable. The ``binder-control`` device will be deleted when the
7474
binderfs instance is unmounted and all references to it have been dropped.
75+
76+
Binder features
77+
---------------
78+
79+
Assuming an instance of binderfs has been mounted at ``/dev/binderfs``, the
80+
features supported by the binder driver can be located under
81+
``/dev/binderfs/features/``. The presence of individual files can be tested
82+
to determine whether a particular feature is supported by the driver.
83+
84+
Example::
85+
86+
cat /dev/binderfs/features/oneway_spam_detection
87+
1

Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt

Lines changed: 0 additions & 44 deletions
This file was deleted.
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/firmware/xilinx/xlnx,zynqmp-firmware.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Xilinx firmware driver
8+
9+
maintainers:
10+
- Nava kishore Manne <[email protected]>
11+
12+
description: The zynqmp-firmware node describes the interface to platform
13+
firmware. ZynqMP has an interface to communicate with secure firmware.
14+
Firmware driver provides an interface to firmware APIs. Interface APIs
15+
can be used by any driver to communicate to PMUFW(Platform Management Unit).
16+
These requests include clock management, pin control, device control,
17+
power management service, FPGA service and other platform management
18+
services.
19+
20+
properties:
21+
compatible:
22+
oneOf:
23+
- description: For implementations complying for Zynq Ultrascale+ MPSoC.
24+
const: xlnx,zynqmp-firmware
25+
26+
- description: For implementations complying for Versal.
27+
const: xlnx,versal-firmware
28+
29+
method:
30+
description: |
31+
The method of calling the PM-API firmware layer.
32+
Permitted values are.
33+
- "smc" : SMC #0, following the SMCCC
34+
- "hvc" : HVC #0, following the SMCCC
35+
36+
$ref: /schemas/types.yaml#/definitions/string-array
37+
enum:
38+
- smc
39+
- hvc
40+
41+
versal_fpga:
42+
$ref: /schemas/fpga/xlnx,versal-fpga.yaml#
43+
description: Compatible of the FPGA device.
44+
type: object
45+
46+
zynqmp-aes:
47+
$ref: /schemas/crypto/xlnx,zynqmp-aes.yaml#
48+
description: The ZynqMP AES-GCM hardened cryptographic accelerator is
49+
used to encrypt or decrypt the data with provided key and initialization
50+
vector.
51+
type: object
52+
53+
clock-controller:
54+
$ref: /schemas/clock/xlnx,versal-clk.yaml#
55+
description: The clock controller is a hardware block of Xilinx versal
56+
clock tree. It reads required input clock frequencies from the devicetree
57+
and acts as clock provider for all clock consumers of PS clocks.list of
58+
clock specifiers which are external input clocks to the given clock
59+
controller.
60+
type: object
61+
62+
required:
63+
- compatible
64+
65+
additionalProperties: false
66+
67+
examples:
68+
- |
69+
versal-firmware {
70+
compatible = "xlnx,versal-firmware";
71+
method = "smc";
72+
73+
versal_fpga: versal_fpga {
74+
compatible = "xlnx,versal-fpga";
75+
};
76+
77+
xlnx_aes: zynqmp-aes {
78+
compatible = "xlnx,zynqmp-aes";
79+
};
80+
81+
versal_clk: clock-controller {
82+
#clock-cells = <1>;
83+
compatible = "xlnx,versal-clk";
84+
clocks = <&ref>, <&alt_ref>, <&pl_alt_ref>;
85+
clock-names = "ref", "alt_ref", "pl_alt_ref";
86+
};
87+
};
88+
89+
...
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/fpga/xlnx,versal-fpga.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Xilinx Versal FPGA driver.
8+
9+
maintainers:
10+
- Nava kishore Manne <[email protected]>
11+
12+
description: |
13+
Device Tree Versal FPGA bindings for the Versal SoC, controlled
14+
using firmware interface.
15+
16+
properties:
17+
compatible:
18+
items:
19+
- enum:
20+
- xlnx,versal-fpga
21+
22+
required:
23+
- compatible
24+
25+
additionalProperties: false
26+
27+
examples:
28+
- |
29+
versal_fpga: versal_fpga {
30+
compatible = "xlnx,versal-fpga";
31+
};
32+
33+
...

Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ properties:
1818
compatible:
1919
enum:
2020
- qcom,sc7180-osm-l3
21+
- qcom,sc8180x-osm-l3
2122
- qcom,sdm845-osm-l3
2223
- qcom,sm8150-osm-l3
2324
- qcom,sm8250-epss-l3

Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ properties:
4949
- qcom,sc7280-mmss-noc
5050
- qcom,sc7280-nsp-noc
5151
- qcom,sc7280-system-noc
52+
- qcom,sc8180x-aggre1-noc
53+
- qcom,sc8180x-aggre2-noc
54+
- qcom,sc8180x-camnoc-virt
55+
- qcom,sc8180x-compute-noc
56+
- qcom,sc8180x-config-noc
57+
- qcom,sc8180x-dc-noc
58+
- qcom,sc8180x-gem-noc
59+
- qcom,sc8180x-ipa-virt
60+
- qcom,sc8180x-mc-virt
61+
- qcom,sc8180x-mmss-noc
62+
- qcom,sc8180x-system-noc
5263
- qcom,sdm845-aggre1-noc
5364
- qcom,sdm845-aggre2-noc
5465
- qcom,sdm845-config-noc

Documentation/devicetree/bindings/misc/ge-achc.txt

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2+
# Copyright (C) 2021 GE Inc.
3+
# Copyright (C) 2021 Collabora Ltd.
4+
%YAML 1.2
5+
---
6+
$id: http://devicetree.org/schemas/misc/ge-achc.yaml#
7+
$schema: http://devicetree.org/meta-schemas/core.yaml#
8+
9+
title: GE Healthcare USB Management Controller
10+
11+
description: |
12+
A device which handles data acquisition from compatible USB based peripherals.
13+
SPI is used for device management.
14+
15+
Note: This device does not expose the peripherals as USB devices.
16+
17+
maintainers:
18+
- Sebastian Reichel <[email protected]>
19+
20+
properties:
21+
compatible:
22+
items:
23+
- const: ge,achc
24+
- const: nxp,kinetis-k20
25+
26+
clocks:
27+
maxItems: 1
28+
29+
vdd-supply:
30+
description: Digital power supply regulator on VDD pin
31+
32+
vdda-supply:
33+
description: Analog power supply regulator on VDDA pin
34+
35+
reg:
36+
items:
37+
- description: Control interface
38+
- description: Firmware programming interface
39+
40+
reset-gpios:
41+
description: GPIO used for hardware reset.
42+
maxItems: 1
43+
44+
required:
45+
- compatible
46+
- clocks
47+
- reg
48+
- reset-gpios
49+
50+
additionalProperties: false
51+
52+
examples:
53+
- |
54+
#include <dt-bindings/gpio/gpio.h>
55+
spi {
56+
#address-cells = <1>;
57+
#size-cells = <0>;
58+
59+
spi@1 {
60+
compatible = "ge,achc", "nxp,kinetis-k20";
61+
reg = <1>, <0>;
62+
clocks = <&achc_24M>;
63+
reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
64+
};
65+
};
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/nvmem/nintendo-otp.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Nintendo Wii and Wii U OTP Device Tree Bindings
8+
9+
description: |
10+
This binding represents the OTP memory as found on a Nintendo Wii or Wii U,
11+
which contains common and per-console keys, signatures and related data
12+
required to access peripherals.
13+
14+
See https://wiiubrew.org/wiki/Hardware/OTP
15+
16+
maintainers:
17+
- Emmanuel Gil Peyrot <[email protected]>
18+
19+
allOf:
20+
- $ref: "nvmem.yaml#"
21+
22+
properties:
23+
compatible:
24+
enum:
25+
- nintendo,hollywood-otp
26+
- nintendo,latte-otp
27+
28+
reg:
29+
maxItems: 1
30+
31+
required:
32+
- compatible
33+
- reg
34+
35+
unevaluatedProperties: false
36+
37+
examples:
38+
- |
39+
otp@d8001ec {
40+
compatible = "nintendo,latte-otp";
41+
reg = <0x0d8001ec 0x8>;
42+
};
43+
44+
...

0 commit comments

Comments
 (0)