forked from grate-driver/linux
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'char-misc/char-misc-next'
# Conflicts: # Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml # drivers/bus/mhi/core/main.c # net/qrtr/mhi.c
- Loading branch information
Showing
167 changed files
with
8,845 additions
and
3,013 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
What: /sys/bus/spi/<dev>/update_firmware | ||
Date: Jul 2021 | ||
Contact: sebastian.reichel@collabora.com | ||
Description: Write 1 to this file to update the ACHC microcontroller | ||
firmware via the EzPort interface. For this the kernel | ||
will load "achc.bin" via the firmware API (so usually | ||
from /lib/firmware). The write will block until the FW | ||
has either been flashed successfully or an error occured. | ||
|
||
What: /sys/bus/spi/<dev>/reset | ||
Date: Jul 2021 | ||
Contact: sebastian.reichel@collabora.com | ||
Description: This file represents the microcontroller's reset line. | ||
1 means the reset line is asserted, 0 means it's not | ||
asserted. The file is read and writable. |
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
44 changes: 0 additions & 44 deletions
44
Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt
This file was deleted.
Oops, something went wrong.
89 changes: 89 additions & 0 deletions
89
Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
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,89 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/firmware/xilinx/xlnx,zynqmp-firmware.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Xilinx firmware driver | ||
|
||
maintainers: | ||
- Nava kishore Manne <nava.manne@xilinx.com> | ||
|
||
description: The zynqmp-firmware node describes the interface to platform | ||
firmware. ZynqMP has an interface to communicate with secure firmware. | ||
Firmware driver provides an interface to firmware APIs. Interface APIs | ||
can be used by any driver to communicate to PMUFW(Platform Management Unit). | ||
These requests include clock management, pin control, device control, | ||
power management service, FPGA service and other platform management | ||
services. | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- description: For implementations complying for Zynq Ultrascale+ MPSoC. | ||
const: xlnx,zynqmp-firmware | ||
|
||
- description: For implementations complying for Versal. | ||
const: xlnx,versal-firmware | ||
|
||
method: | ||
description: | | ||
The method of calling the PM-API firmware layer. | ||
Permitted values are. | ||
- "smc" : SMC #0, following the SMCCC | ||
- "hvc" : HVC #0, following the SMCCC | ||
$ref: /schemas/types.yaml#/definitions/string-array | ||
enum: | ||
- smc | ||
- hvc | ||
|
||
versal_fpga: | ||
$ref: /schemas/fpga/xlnx,versal-fpga.yaml# | ||
description: Compatible of the FPGA device. | ||
type: object | ||
|
||
zynqmp-aes: | ||
$ref: /schemas/crypto/xlnx,zynqmp-aes.yaml# | ||
description: The ZynqMP AES-GCM hardened cryptographic accelerator is | ||
used to encrypt or decrypt the data with provided key and initialization | ||
vector. | ||
type: object | ||
|
||
clock-controller: | ||
$ref: /schemas/clock/xlnx,versal-clk.yaml# | ||
description: The clock controller is a hardware block of Xilinx versal | ||
clock tree. It reads required input clock frequencies from the devicetree | ||
and acts as clock provider for all clock consumers of PS clocks.list of | ||
clock specifiers which are external input clocks to the given clock | ||
controller. | ||
type: object | ||
|
||
required: | ||
- compatible | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
versal-firmware { | ||
compatible = "xlnx,versal-firmware"; | ||
method = "smc"; | ||
versal_fpga: versal_fpga { | ||
compatible = "xlnx,versal-fpga"; | ||
}; | ||
xlnx_aes: zynqmp-aes { | ||
compatible = "xlnx,zynqmp-aes"; | ||
}; | ||
versal_clk: clock-controller { | ||
#clock-cells = <1>; | ||
compatible = "xlnx,versal-clk"; | ||
clocks = <&ref>, <&alt_ref>, <&pl_alt_ref>; | ||
clock-names = "ref", "alt_ref", "pl_alt_ref"; | ||
}; | ||
}; | ||
... |
33 changes: 33 additions & 0 deletions
33
Documentation/devicetree/bindings/fpga/xlnx,versal-fpga.yaml
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 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/fpga/xlnx,versal-fpga.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Xilinx Versal FPGA driver. | ||
|
||
maintainers: | ||
- Nava kishore Manne <nava.manne@xilinx.com> | ||
|
||
description: | | ||
Device Tree Versal FPGA bindings for the Versal SoC, controlled | ||
using firmware interface. | ||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- xlnx,versal-fpga | ||
|
||
required: | ||
- compatible | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
versal_fpga: versal_fpga { | ||
compatible = "xlnx,versal-fpga"; | ||
}; | ||
... |
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
This file was deleted.
Oops, something went wrong.
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,65 @@ | ||
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause | ||
# Copyright (C) 2021 GE Inc. | ||
# Copyright (C) 2021 Collabora Ltd. | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/misc/ge-achc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: GE Healthcare USB Management Controller | ||
|
||
description: | | ||
A device which handles data acquisition from compatible USB based peripherals. | ||
SPI is used for device management. | ||
Note: This device does not expose the peripherals as USB devices. | ||
maintainers: | ||
- Sebastian Reichel <sre@kernel.org> | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- const: ge,achc | ||
- const: nxp,kinetis-k20 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
vdd-supply: | ||
description: Digital power supply regulator on VDD pin | ||
|
||
vdda-supply: | ||
description: Analog power supply regulator on VDDA pin | ||
|
||
reg: | ||
items: | ||
- description: Control interface | ||
- description: Firmware programming interface | ||
|
||
reset-gpios: | ||
description: GPIO used for hardware reset. | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- reg | ||
- reset-gpios | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
spi { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
spi@1 { | ||
compatible = "ge,achc", "nxp,kinetis-k20"; | ||
reg = <1>, <0>; | ||
clocks = <&achc_24M>; | ||
reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; |
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 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/nvmem/nintendo-otp.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Nintendo Wii and Wii U OTP Device Tree Bindings | ||
|
||
description: | | ||
This binding represents the OTP memory as found on a Nintendo Wii or Wii U, | ||
which contains common and per-console keys, signatures and related data | ||
required to access peripherals. | ||
See https://wiiubrew.org/wiki/Hardware/OTP | ||
maintainers: | ||
- Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | ||
|
||
allOf: | ||
- $ref: "nvmem.yaml#" | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- nintendo,hollywood-otp | ||
- nintendo,latte-otp | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
otp@d8001ec { | ||
compatible = "nintendo,latte-otp"; | ||
reg = <0x0d8001ec 0x8>; | ||
}; | ||
... |
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
20 changes: 0 additions & 20 deletions
20
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.