mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

DT Bindings: - Convert all remaining interrupt-controller bindings to DT schema - Convert Rockchip CDN-DP and Freescale TCON, M4IF, TigerP, LDB, PPC PMC, imx-drm, and ftm-quaddec to DT schema - Add bindings for fsl,vf610-pit, fsl,ls1021a-wdt, sgx,vz89te, maxim,max30208, ti,lp8864, and fairphone,fp5-sndcard - Add top-level constraints for renesas,vsp1 and renesas,fcp - Add missing constraint in amlogic,pinctrl-a4 'group' nodes - Adjust the allowed properties for dwc3-xilinx, sony,imx219, pci-iommu, and renesas,dsi - Add EcoNet vendor prefix - Fix the reserved-memory.yaml in fsl,qman-fqd - Drop obsolete numa.txt and cpu-topology.txt which are schemas in dtschema now - Drop Renesas RZ/N1S bindings - Ensure Arm cpu nodes don't allow undocumented properties. Add all the properties which are in use and undocumented. Drop the Mediatek cpufreq binding which is not a binding, but just what DT properties the driver uses. - Add compatibles for Renesas RZ/G3E and RZ/V2N Mali Bifrost GPU - Update documentation on defining child nodes with separate schemas - Add bindings to PSCI MAINTAINERS entry DT core: - Add new functions to simplify driver handling of 'memory-region' properties. Users to be added next cycle. - Simplify of_dma_set_restricted_buffer() to use of_for_each_phandle() - Add missing unlock on error in unittest_data_add() -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEktVUI4SxYhzZyEuo+vtdtY28YcMFAmg3L7IACgkQ+vtdtY28 YcPHew//dSH7WHwx+AwQag8svrBZbx+GrGqZlyGEGJYmF2o9TJ8d7tDCS5oPGNoV TObns4F1DQuX7YVrke5tYIiFMyWUmu+f8CSHg9a4Ifo+Gf5QqEhzxe1CfW6Y7VZv EIRrlCcW8VpTBuphsJMp6TLYof/mSBj4Ma1fRgp0H3CF0h1I5bM07jMCol+7fwT9 0ZMEOiFOFx0HeOBVCmPvfETX1+gflnlTD+aULJwYky2Tzj6FLLWNTf94ca2iMjCd A4g9lJTaasRukL1RiHYoQYECgh57f3VMPRxI5wNPPVF7r3cHL7pjGzEt2vOkFDWC xNkIsNPrCu14He17vrh6XrNn1KMIOkLtE9yCcysE2OgdlOXfdfN6Ryz4gm1BPaFo ZDNZgs840r3gcQXjvCnSMq/Wxnwrka+x5vVT9VbDTV+1NWgFTpQZXqfiukxnuATa K0X8hW7pWatNhmT11rIfcp7WUIs0bpJ+J03ptzmYsvH4qyZpzpMZvbBoAZ9RA+E1 dEFr7ISxhC4LlzjafqluUtBdaxKEAk8alzA9Z/OTKxDB+IiFTqztqIP3wSSApyhw GBdRy8iC1zU7/TbdmAVDtrT1+xvqH5On1DsjU8y96O/2dR9OKT/6Tv1ozPkcssDV EIeAZycS+6cFeusRxySMrOeGFQ0LiU2Qj/e9ugm07g+HMgY5jbI= =gMwN -----END PGP SIGNATURE----- Merge tag 'devicetree-for-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux Pull devicetree updates from Rob Herring: "DT Bindings: - Convert all remaining interrupt-controller bindings to DT schema - Convert Rockchip CDN-DP and Freescale TCON, M4IF, TigerP, LDB, PPC PMC, imx-drm, and ftm-quaddec to DT schema - Add bindings for fsl,vf610-pit, fsl,ls1021a-wdt, sgx,vz89te, maxim,max30208, ti,lp8864, and fairphone,fp5-sndcard - Add top-level constraints for renesas,vsp1 and renesas,fcp - Add missing constraint in amlogic,pinctrl-a4 'group' nodes - Adjust the allowed properties for dwc3-xilinx, sony,imx219, pci-iommu, and renesas,dsi - Add EcoNet vendor prefix - Fix the reserved-memory.yaml in fsl,qman-fqd - Drop obsolete numa.txt and cpu-topology.txt which are schemas in dtschema now - Drop Renesas RZ/N1S bindings - Ensure Arm cpu nodes don't allow undocumented properties. Add all the properties which are in use and undocumented. Drop the Mediatek cpufreq binding which is not a binding, but just what DT properties the driver uses. - Add compatibles for Renesas RZ/G3E and RZ/V2N Mali Bifrost GPU - Update documentation on defining child nodes with separate schemas - Add bindings to PSCI MAINTAINERS entry DT core: - Add new functions to simplify driver handling of 'memory-region' properties. Users to be added next cycle. - Simplify of_dma_set_restricted_buffer() to use of_for_each_phandle() - Add missing unlock on error in unittest_data_add()" * tag 'devicetree-for-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (87 commits) dt-bindings: timer: Add fsl,vf610-pit.yaml dt-bindings: gpu: mali-bifrost: Add compatible for RZ/G3E SoC ASoC: dt-bindings: qcom,sm8250: Add Fairphone 5 sound card dt-bindings: arm/cpus: Allow 2 power-domains entries dt-bindings: usb: dwc3-xilinx: allow dma-coherent media: dt-bindings: sony,imx219: Allow props from video-interface-devices dt-bindings: soundwire: qcom: Document v2.1.0 version of IP block dt-bindings: watchdog: fsl-imx-wdt: add compatible string fsl,ls1021a-wdt dt-bindings: pinctrl: amlogic,pinctrl-a4: Add missing constraint on allowed 'group' node properties dt-bindings: display: rockchip: Convert cdn-dp-rockchip.txt to yaml dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller dt-bindings: trivial-devices: Add VZ89TE to trivial media: dt-bindings: renesas,vsp1: add top-level constraints media: dt-bindings: renesas,fcp: add top-level constraints dt-bindings: trivial-devices: Add Maxim max30208 dt-bindings: soc: fsl,qman-fqd: Fix reserved-memory.yaml reference dt-bindings: interrupt-controller: Convert ti,omap-intc-irq to DT schema dt-bindings: interrupt-controller: Convert ti,omap4-wugen-mpu to DT schema dt-bindings: interrupt-controller: Convert ti,keystone-irq to DT schema dt-bindings: interrupt-controller: Convert technologic,ts4800-irqc to DT schema ...
205 lines
4.9 KiB
YAML
205 lines
4.9 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Synopsys DesignWare AMBA 2.0 Synchronous Serial Interface
|
|
|
|
maintainers:
|
|
- Mark Brown <broonie@kernel.org>
|
|
|
|
allOf:
|
|
- $ref: spi-controller.yaml#
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- mscc,ocelot-spi
|
|
- mscc,jaguar2-spi
|
|
then:
|
|
properties:
|
|
reg:
|
|
minItems: 2
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- baikal,bt1-sys-ssi
|
|
then:
|
|
properties:
|
|
mux-controls:
|
|
maxItems: 1
|
|
required:
|
|
- mux-controls
|
|
else:
|
|
required:
|
|
- interrupts
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
const: amd,pensando-elba-spi
|
|
then:
|
|
required:
|
|
- amd,pensando-elba-syscon
|
|
else:
|
|
properties:
|
|
amd,pensando-elba-syscon: false
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- description: Generic DW SPI Controller
|
|
enum:
|
|
- snps,dw-apb-ssi
|
|
- snps,dwc-ssi-1.01a
|
|
- description: Microchip Sparx5 SoC SPI Controller
|
|
const: microchip,sparx5-spi
|
|
- description: Amazon Alpine SPI Controller
|
|
const: amazon,alpine-dw-apb-ssi
|
|
- description: Vendor controllers which use snps,dw-apb-ssi as fallback
|
|
items:
|
|
- enum:
|
|
- mscc,ocelot-spi
|
|
- mscc,jaguar2-spi
|
|
- renesas,rzn1-spi
|
|
- sophgo,sg2042-spi
|
|
- thead,th1520-spi
|
|
- const: snps,dw-apb-ssi
|
|
- description: Intel Keem Bay SPI Controller
|
|
const: intel,keembay-ssi
|
|
- description: Intel Mount Evans Integrated Management Complex SPI Controller
|
|
const: intel,mountevans-imc-ssi
|
|
- description: AMD Pensando Elba SoC SPI Controller
|
|
const: amd,pensando-elba-spi
|
|
- description: Baikal-T1 SPI Controller
|
|
const: baikal,bt1-ssi
|
|
- description: Baikal-T1 System Boot SPI Controller
|
|
const: baikal,bt1-sys-ssi
|
|
- description: Canaan Kendryte K210 SoS SPI Controller
|
|
const: canaan,k210-spi
|
|
- description: Renesas RZ/N1 SPI Controller
|
|
items:
|
|
- const: renesas,r9a06g032-spi # RZ/N1D
|
|
- const: renesas,rzn1-spi # RZ/N1
|
|
|
|
reg:
|
|
minItems: 1
|
|
items:
|
|
- description: DW APB SSI controller memory mapped registers
|
|
- description: SPI MST region map or directly mapped SPI ROM
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 1
|
|
items:
|
|
- description: SPI Controller reference clock source
|
|
- description: APB interface clock source
|
|
|
|
clock-names:
|
|
minItems: 1
|
|
items:
|
|
- const: ssi_clk
|
|
- const: pclk
|
|
|
|
resets:
|
|
maxItems: 1
|
|
|
|
reset-names:
|
|
const: spi
|
|
|
|
reg-io-width:
|
|
description: I/O register width (in bytes) implemented by this device
|
|
default: 4
|
|
enum: [ 2, 4 ]
|
|
|
|
num-cs:
|
|
default: 4
|
|
minimum: 1
|
|
maximum: 4
|
|
|
|
dmas:
|
|
items:
|
|
- description: TX DMA Channel
|
|
- description: RX DMA Channel
|
|
|
|
dma-names:
|
|
items:
|
|
- const: tx
|
|
- const: rx
|
|
|
|
rx-sample-delay-ns:
|
|
default: 0
|
|
description: |
|
|
Default value of the rx-sample-delay-ns property.
|
|
This value will be used if the property is not explicitly defined
|
|
for a SPI slave device.
|
|
|
|
SPI Rx sample delay offset, unit is nanoseconds.
|
|
The delay from the default sample time before the actual sample of the
|
|
rxd input signal occurs. The "rx_sample_delay" is an optional feature
|
|
of the designware controller, and the upper limit is also subject to
|
|
controller configuration.
|
|
|
|
amd,pensando-elba-syscon:
|
|
$ref: /schemas/types.yaml#/definitions/phandle-array
|
|
description:
|
|
Block address to control SPI chip-selects. The Elba SoC system controller
|
|
provides an interface to override the native DWC SSI CS control.
|
|
|
|
patternProperties:
|
|
"^.*@[0-9a-f]+$":
|
|
type: object
|
|
additionalProperties: true
|
|
|
|
properties:
|
|
reg:
|
|
minimum: 0
|
|
maximum: 3
|
|
|
|
unevaluatedProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- "#address-cells"
|
|
- "#size-cells"
|
|
- clocks
|
|
|
|
examples:
|
|
- |
|
|
spi@fff00000 {
|
|
compatible = "snps,dw-apb-ssi";
|
|
reg = <0xfff00000 0x1000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <0 154 4>;
|
|
clocks = <&spi_m_clk>;
|
|
num-cs = <2>;
|
|
cs-gpios = <&gpio0 13 0>,
|
|
<&gpio0 14 0>;
|
|
rx-sample-delay-ns = <3>;
|
|
flash@1 {
|
|
compatible = "spi-nand";
|
|
reg = <1>;
|
|
rx-sample-delay-ns = <7>;
|
|
};
|
|
};
|
|
- |
|
|
spi@1f040100 {
|
|
compatible = "baikal,bt1-sys-ssi";
|
|
reg = <0x1f040100 0x900>,
|
|
<0x1c000000 0x1000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
mux-controls = <&boot_mux>;
|
|
clocks = <&ccu_sys>;
|
|
clock-names = "ssi_clk";
|
|
};
|
|
...
|