mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 09:04:51 +08:00
9bf3fc5007
- Add Krzysztof Kozlowski as co-maintainer for DT bindings providing much needed help. - DT schema validation now takes DTB files as input rather than intermediate YAML files. This decouples the validation from the source level syntax information. There's a bunch of schema fixes as a result of switching to DTB based validation which exposed some errors and incomplete schemas and examples. - Kbuild improvements to explicitly warn users running 'make dt_binding_check' on missing yamllint - Expand DT_SCHEMA_FILES kbuild variable to take just a partial filename or path instead of the full path to 1 file. - Convert various bindings to schema format: mscc,vsc7514-switch, multiple GNSS bindings, ahci-platform, i2c-at91, multiple UFS bindings, cortina,gemini-sata-bridge, cortina,gemini-ethernet, Atmel SHA, Atmel TDES, Atmel AES, armv7m-systick, Samsung Exynos display subsystem, nuvoton,npcm7xx-timer, samsung,s3c2410-i2c, zynqmp_dma, msm/mdp4, rda,8810pl-uart - New schemas for u-boot environment variable partition, TI clksel - New compatible strings for Renesas RZ/V2L SoC - Vendor prefixes for Xen, HPE, deprecated Synopsys, deprecated HiSilicon - Add/fix schemas for QEMU Arm 'virt' machine - Drop unused of_alias_get_alias_list() function - Add a script to check DT unittest EXPECT message output. Pass messages also now print by default at PR_INFO level to help test automation. -----BEGIN PGP SIGNATURE----- iQJEBAABCgAuFiEEktVUI4SxYhzZyEuo+vtdtY28YcMFAmI8s64QHHJvYmhAa2Vy bmVsLm9yZwAKCRD6+121jbxhwx3tD/4j56NE+aLkL636+I8tGFm3r+r6uLLT4SWh zDuiX3MP9OKfhJw43TjjURLwX5adBnG3nn505IXcAeiMRgEiciOpSa12w0mXyjMX QgVOcoaI3H2GBMEddJRo1PLTM/K5sYzZxAKLB827xoOk4mGNA0ZBAHvlB3W+yLE5 CE5yTaFoL4EMXuhWMtMrMlG1PQrbO3FpQ2DHBKrpxHPJmnHLk3c0YtMSTHGQnWbN AxT3S6RSsOLwLzZAXi2AlswqY82n5KtUf/RBrYi8rdr/xnIsCfMeXxafkP2Hyxkq L9RfKVn05c0LRtO1Eh8kYr+lmYmcWz/SIdJZXzpviIgE9MJapCAk0blBZ4S/FH0B EVGB1JkwCZFck6DBmkNJxAwR0iQOGWkJIkn6iBPNF0dHp58eE6adaXjhFH3uBEHk dXFaxPlvZ3P/Q2I/vmQ//m5tZMyjeCY2BlVYpkUJMOFfN26MIGHUmUlLnovLDqu4 lYgZG4V244uYzALLbURpbp+5dlPH/PL2gxvJJNqTS+/hXktQx1XnML4wD+xfJ4nT OY5DD7Z+KGBrdsMtxkFtIFvKD63E2gtAR5RZO0J/txlzhW7Wg6fJbhJZeRFhZKmN GAfud2s6rliyygByBL4ea50DSLLQpc/9HZtFmZ3NTILM6NbUR74sHt+1EZ1hee+M LaNsSscHuQ== =g1li -----END PGP SIGNATURE----- Merge tag 'devicetree-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux Pull devicetree updates from Rob Herring: - Add Krzysztof Kozlowski as co-maintainer for DT bindings providing much needed help. - DT schema validation now takes DTB files as input rather than intermediate YAML files. This decouples the validation from the source level syntax information. There's a bunch of schema fixes as a result of switching to DTB based validation which exposed some errors and incomplete schemas and examples. - Kbuild improvements to explicitly warn users running 'make dt_binding_check' on missing yamllint - Expand DT_SCHEMA_FILES kbuild variable to take just a partial filename or path instead of the full path to 1 file. - Convert various bindings to schema format: mscc,vsc7514-switch, multiple GNSS bindings, ahci-platform, i2c-at91, multiple UFS bindings, cortina,gemini-sata-bridge, cortina,gemini-ethernet, Atmel SHA, Atmel TDES, Atmel AES, armv7m-systick, Samsung Exynos display subsystem, nuvoton,npcm7xx-timer, samsung,s3c2410-i2c, zynqmp_dma, msm/mdp4, rda,8810pl-uart - New schemas for u-boot environment variable partition, TI clksel - New compatible strings for Renesas RZ/V2L SoC - Vendor prefixes for Xen, HPE, deprecated Synopsys, deprecated HiSilicon - Add/fix schemas for QEMU Arm 'virt' machine - Drop unused of_alias_get_alias_list() function - Add a script to check DT unittest EXPECT message output. Pass messages also now print by default at PR_INFO level to help test automation. * tag 'devicetree-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (96 commits) dt-bindings: kbuild: Make DT_SCHEMA_LINT a recursive variable dt-bindings: nvmem: add U-Boot environment variables binding dt-bindings: ufs: qcom: Add SM6350 compatible string dt-bindings: dmaengine: sifive,fu540-c000: include generic schema dt-bindings: gpio: pca95xx: drop useless consumer example Revert "of: base: Introduce of_alias_get_alias_list() to check alias IDs" dt-bindings: virtio,mmio: Allow setting devices 'dma-coherent' dt-bindings: gnss: Add two more chips dt-bindings: gnss: Rewrite sirfstar binding in YAML dt-bindings: gnss: Modify u-blox to use common bindings dt-bindings: gnss: Rewrite common bindings in YAML dt-bindings: ata: ahci-platform: Add rk3568-dwc-ahci compatible dt-bindings: ata: ahci-platform: Add power-domains property dt-bindings: ata: ahci-platform: Convert DT bindings to yaml dt-bindings: kbuild: Use DTB files for validation dt-bindings: kbuild: Pass DT_SCHEMA_FILES to dt-validate dt-bindings: Add QEMU virt machine compatible dt-bindings: arm: Convert QEMU fw-cfg to DT schema dt-bindings: i2c: at91: Add SAMA7G5 compatible strings list dt-bindings: i2c: convert i2c-at91 to json-schema ...
112 lines
3.4 KiB
YAML
112 lines
3.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/arm/pmu.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ARM Performance Monitor Units
|
|
|
|
maintainers:
|
|
- Mark Rutland <mark.rutland@arm.com>
|
|
- Will Deacon <will.deacon@arm.com>
|
|
|
|
description: |+
|
|
ARM cores often have a PMU for counting cpu and cache events like cache misses
|
|
and hits. The interface to the PMU is part of the ARM ARM. The ARM PMU
|
|
representation in the device tree should be done as under:-
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- apm,potenza-pmu
|
|
- apple,firestorm-pmu
|
|
- apple,icestorm-pmu
|
|
- arm,armv8-pmuv3 # Only for s/w models
|
|
- arm,arm1136-pmu
|
|
- arm,arm1176-pmu
|
|
- arm,arm11mpcore-pmu
|
|
- arm,cortex-a5-pmu
|
|
- arm,cortex-a7-pmu
|
|
- arm,cortex-a8-pmu
|
|
- arm,cortex-a9-pmu
|
|
- arm,cortex-a12-pmu
|
|
- arm,cortex-a15-pmu
|
|
- arm,cortex-a17-pmu
|
|
- arm,cortex-a32-pmu
|
|
- arm,cortex-a34-pmu
|
|
- arm,cortex-a35-pmu
|
|
- arm,cortex-a53-pmu
|
|
- arm,cortex-a55-pmu
|
|
- arm,cortex-a57-pmu
|
|
- arm,cortex-a65-pmu
|
|
- arm,cortex-a72-pmu
|
|
- arm,cortex-a73-pmu
|
|
- arm,cortex-a75-pmu
|
|
- arm,cortex-a76-pmu
|
|
- arm,cortex-a77-pmu
|
|
- arm,cortex-a78-pmu
|
|
- arm,cortex-a510-pmu
|
|
- arm,cortex-a710-pmu
|
|
- arm,cortex-x1-pmu
|
|
- arm,cortex-x2-pmu
|
|
- arm,neoverse-e1-pmu
|
|
- arm,neoverse-n1-pmu
|
|
- arm,neoverse-n2-pmu
|
|
- arm,neoverse-v1-pmu
|
|
- brcm,vulcan-pmu
|
|
- cavium,thunder-pmu
|
|
- nvidia,denver-pmu
|
|
- nvidia,carmel-pmu
|
|
- qcom,krait-pmu
|
|
- qcom,scorpion-pmu
|
|
- qcom,scorpion-mp-pmu
|
|
|
|
interrupts:
|
|
# Don't know how many CPUs, so no constraints to specify
|
|
description: 1 per-cpu interrupt (PPI) or 1 interrupt per core.
|
|
|
|
interrupt-affinity:
|
|
$ref: /schemas/types.yaml#/definitions/phandle-array
|
|
items:
|
|
maxItems: 1
|
|
description:
|
|
When using SPIs, specifies a list of phandles to CPU
|
|
nodes corresponding directly to the affinity of
|
|
the SPIs listed in the interrupts property.
|
|
|
|
When using a PPI, specifies a list of phandles to CPU
|
|
nodes corresponding to the set of CPUs which have
|
|
a PMU of this type signalling the PPI listed in the
|
|
interrupts property, unless this is already specified
|
|
by the PPI interrupt specifier itself (in which case
|
|
the interrupt-affinity property shouldn't be present).
|
|
|
|
This property should be present when there is more than
|
|
a single SPI.
|
|
|
|
qcom,no-pc-write:
|
|
type: boolean
|
|
description:
|
|
Indicates that this PMU doesn't support the 0xc and 0xd events.
|
|
|
|
secure-reg-access:
|
|
type: boolean
|
|
description:
|
|
Indicates that the ARMv7 Secure Debug Enable Register
|
|
(SDER) is accessible. This will cause the driver to do
|
|
any setup required that is only possible in ARMv7 secure
|
|
state. If not present the ARMv7 SDER will not be touched,
|
|
which means the PMU may fail to operate unless external
|
|
code (bootloader or security monitor) has performed the
|
|
appropriate initialisation. Note that this property is
|
|
not valid for non-ARMv7 CPUs or ARMv7 CPUs booting Linux
|
|
in Non-secure state.
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|
|
|
|
...
|