Skip to content

Commit bf373e4

Browse files
committed
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 ...
2 parents 8ca154e + 89ab97d commit bf373e4

File tree

144 files changed

+4012
-3576
lines changed

Some content is hidden

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

144 files changed

+4012
-3576
lines changed

Documentation/devicetree/bindings/arm/cpus.yaml

Lines changed: 146 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ maintainers:
1010
- Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
1111

1212
description: |+
13-
The device tree allows to describe the layout of CPUs in a system through
14-
the "cpus" node, which in turn contains a number of subnodes (ie "cpu")
15-
defining properties for every cpu.
13+
The device tree allows to describe the layout of CPUs in a system through the
14+
"cpus" node, which in turn contains a number of subnodes (ie "cpu") defining
15+
properties for every cpu.
1616
1717
Bindings for CPU nodes follow the Devicetree Specification, available from:
1818
@@ -41,45 +41,40 @@ description: |+
4141
properties:
4242
reg:
4343
maxItems: 1
44-
description: |
45-
Usage and definition depend on ARM architecture version and
46-
configuration:
44+
description: >
45+
Usage and definition depend on ARM architecture version and configuration:
4746
48-
On uniprocessor ARM architectures previous to v7
49-
this property is required and must be set to 0.
47+
On uniprocessor ARM architectures previous to v7 this property is required
48+
and must be set to 0.
5049
51-
On ARM 11 MPcore based systems this property is
52-
required and matches the CPUID[11:0] register bits.
50+
On ARM 11 MPcore based systems this property is required and matches the
51+
CPUID[11:0] register bits.
5352
54-
Bits [11:0] in the reg cell must be set to
55-
bits [11:0] in CPU ID register.
53+
Bits [11:0] in the reg cell must be set to bits [11:0] in CPU ID register.
5654
5755
All other bits in the reg cell must be set to 0.
5856
59-
On 32-bit ARM v7 or later systems this property is
60-
required and matches the CPU MPIDR[23:0] register
61-
bits.
57+
On 32-bit ARM v7 or later systems this property is required and matches
58+
the CPU MPIDR[23:0] register bits.
6259
63-
Bits [23:0] in the reg cell must be set to
64-
bits [23:0] in MPIDR.
60+
Bits [23:0] in the reg cell must be set to bits [23:0] in MPIDR.
6561
6662
All other bits in the reg cell must be set to 0.
6763
68-
On ARM v8 64-bit systems this property is required
69-
and matches the MPIDR_EL1 register affinity bits.
64+
On ARM v8 64-bit systems this property is required and matches the
65+
MPIDR_EL1 register affinity bits.
7066
7167
* If cpus node's #address-cells property is set to 2
7268
73-
The first reg cell bits [7:0] must be set to
74-
bits [39:32] of MPIDR_EL1.
69+
The first reg cell bits [7:0] must be set to bits [39:32] of
70+
MPIDR_EL1.
7571
76-
The second reg cell bits [23:0] must be set to
77-
bits [23:0] of MPIDR_EL1.
72+
The second reg cell bits [23:0] must be set to bits [23:0] of
73+
MPIDR_EL1.
7874
7975
* If cpus node's #address-cells property is set to 1
8076
81-
The reg cell bits [23:0] must be set to bits [23:0]
82-
of MPIDR_EL1.
77+
The reg cell bits [23:0] must be set to bits [23:0] of MPIDR_EL1.
8378
8479
All other bits in the reg cells must be set to 0.
8580
@@ -273,103 +268,122 @@ properties:
273268
description:
274269
The DT specification defines this as 64-bit always, but some 32-bit Arm
275270
systems have used a 32-bit value which must be supported.
276-
Required for systems that have an "enable-method"
277-
property value of "spin-table".
278271

279272
cpu-idle-states:
280273
$ref: /schemas/types.yaml#/definitions/phandle-array
281274
items:
282275
maxItems: 1
283-
description: |
284-
List of phandles to idle state nodes supported
285-
by this cpu (see ./idle-states.yaml).
276+
description:
277+
List of phandles to idle state nodes supported by this cpu (see
278+
./idle-states.yaml).
286279

287280
capacity-dmips-mhz:
288281
description:
289282
u32 value representing CPU capacity (see ../cpu/cpu-capacity.txt) in
290-
DMIPS/MHz, relative to highest capacity-dmips-mhz
291-
in the system.
283+
DMIPS/MHz, relative to highest capacity-dmips-mhz in the system.
292284

293285
cci-control-port: true
294286

295287
dynamic-power-coefficient:
296288
$ref: /schemas/types.yaml#/definitions/uint32
297-
description:
298-
A u32 value that represents the running time dynamic
299-
power coefficient in units of uW/MHz/V^2. The
300-
coefficient can either be calculated from power
289+
description: >
290+
A u32 value that represents the running time dynamic power coefficient in
291+
units of uW/MHz/V^2. The coefficient can either be calculated from power
301292
measurements or derived by analysis.
302293
303-
The dynamic power consumption of the CPU is
304-
proportional to the square of the Voltage (V) and
305-
the clock frequency (f). The coefficient is used to
294+
The dynamic power consumption of the CPU is proportional to the square of
295+
the Voltage (V) and the clock frequency (f). The coefficient is used to
306296
calculate the dynamic power as below -
307297
308298
Pdyn = dynamic-power-coefficient * V^2 * f
309299
310300
where voltage is in V, frequency is in MHz.
311301
302+
interconnects:
303+
minItems: 1
304+
maxItems: 3
305+
306+
nvmem-cells:
307+
maxItems: 1
308+
309+
nvmem-cell-names:
310+
const: speed_grade
311+
312312
performance-domains:
313313
maxItems: 1
314-
description:
315-
List of phandles and performance domain specifiers, as defined by
316-
bindings of the performance domain provider. See also
317-
dvfs/performance-domain.yaml.
318314

319315
power-domains:
320-
description:
321-
List of phandles and PM domain specifiers, as defined by bindings of the
322-
PM domain provider (see also ../power_domain.txt).
316+
minItems: 1
317+
maxItems: 2
323318

324319
power-domain-names:
325320
description:
326-
A list of power domain name strings sorted in the same order as the
327-
power-domains property.
328-
329321
For PSCI based platforms, the name corresponding to the index of the PSCI
330322
PM domain provider, must be "psci". For SCMI based platforms, the name
331323
corresponding to the index of an SCMI performance domain provider, must be
332324
"perf".
325+
minItems: 1
326+
maxItems: 2
327+
items:
328+
enum: [ psci, perf, cpr ]
333329

334-
qcom,saw:
335-
$ref: /schemas/types.yaml#/definitions/phandle
336-
description: |
337-
Specifies the SAW* node associated with this CPU.
330+
resets:
331+
maxItems: 1
338332

339-
Required for systems that have an "enable-method" property
340-
value of "qcom,kpss-acc-v1" or "qcom,kpss-acc-v2"
333+
arm-supply:
334+
deprecated: true
335+
description: Use 'cpu-supply' instead
341336

342-
* arm/msm/qcom,saw2.txt
337+
cpu0-supply:
338+
deprecated: true
339+
description: Use 'cpu-supply' instead
343340

344-
qcom,acc:
341+
mem-supply: true
342+
343+
proc-supply:
344+
deprecated: true
345+
description: Use 'cpu-supply' instead
346+
347+
sram-supply:
348+
deprecated: true
349+
description: Use 'mem-supply' instead
350+
351+
mediatek,cci:
345352
$ref: /schemas/types.yaml#/definitions/phandle
346-
description: |
347-
Specifies the ACC* node associated with this CPU.
353+
description: Link to Mediatek Cache Coherent Interconnect
348354

349-
Required for systems that have an "enable-method" property
350-
value of "qcom,kpss-acc-v1", "qcom,kpss-acc-v2", "qcom,msm8226-smp" or
351-
"qcom,msm8916-smp".
355+
qcom,saw:
356+
$ref: /schemas/types.yaml#/definitions/phandle
357+
description:
358+
Specifies the SAW node associated with this CPU.
352359

353-
* arm/msm/qcom,kpss-acc.txt
360+
qcom,acc:
361+
$ref: /schemas/types.yaml#/definitions/phandle
362+
description:
363+
Specifies the ACC node associated with this CPU.
364+
365+
qcom,freq-domain:
366+
description: Specifies the QCom CPUFREQ HW associated with the CPU.
367+
$ref: /schemas/types.yaml#/definitions/phandle-array
368+
maxItems: 1
354369

355370
rockchip,pmu:
356371
$ref: /schemas/types.yaml#/definitions/phandle
357-
description: |
372+
description: >
358373
Specifies the syscon node controlling the cpu core power domains.
359374
360-
Optional for systems that have an "enable-method"
361-
property value of "rockchip,rk3066-smp"
362-
While optional, it is the preferred way to get access to
363-
the cpu-core power-domains.
375+
Optional for systems that have an "enable-method" property value of
376+
"rockchip,rk3066-smp". While optional, it is the preferred way to get
377+
access to the cpu-core power-domains.
364378
365379
secondary-boot-reg:
366380
$ref: /schemas/types.yaml#/definitions/uint32
367-
description: |
381+
description: >
368382
Required for systems that have an "enable-method" property value of
369383
"brcm,bcm11351-cpu-method", "brcm,bcm23550" or "brcm,bcm-nsp-smp".
370384
371-
This includes the following SoCs: |
372-
BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664, BCM23550
385+
This includes the following SoCs:
386+
BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664, BCM23550,
373387
BCM58522, BCM58525, BCM58535, BCM58622, BCM58623, BCM58625, BCM88312
374388
375389
The secondary-boot-reg property is a u32 value that specifies the
@@ -378,22 +392,66 @@ properties:
378392
formed by encoding the target CPU id into the low bits of the
379393
physical start address it should jump to.
380394
381-
if:
382-
# If the enable-method property contains one of those values
383-
properties:
384-
enable-method:
385-
contains:
386-
enum:
387-
- brcm,bcm11351-cpu-method
388-
- brcm,bcm23550
389-
- brcm,bcm-nsp-smp
390-
# and if enable-method is present
391-
required:
392-
- enable-method
393-
394-
then:
395-
required:
396-
- secondary-boot-reg
395+
thermal-idle:
396+
type: object
397+
398+
allOf:
399+
- $ref: /schemas/cpu.yaml#
400+
- $ref: /schemas/opp/opp-v1.yaml#
401+
- if:
402+
# If the enable-method property contains one of those values
403+
properties:
404+
enable-method:
405+
contains:
406+
enum:
407+
- brcm,bcm11351-cpu-method
408+
- brcm,bcm23550
409+
- brcm,bcm-nsp-smp
410+
# and if enable-method is present
411+
required:
412+
- enable-method
413+
then:
414+
required:
415+
- secondary-boot-reg
416+
- if:
417+
properties:
418+
enable-method:
419+
enum:
420+
- spin-table
421+
- renesas,r9a06g032-smp
422+
required:
423+
- enable-method
424+
then:
425+
required:
426+
- cpu-release-addr
427+
- if:
428+
properties:
429+
enable-method:
430+
enum:
431+
- qcom,kpss-acc-v1
432+
- qcom,kpss-acc-v2
433+
- qcom,msm8226-smp
434+
- qcom,msm8916-smp
435+
required:
436+
- enable-method
437+
then:
438+
required:
439+
- qcom,acc
440+
- qcom,saw
441+
else:
442+
if:
443+
# 2 Qualcomm platforms bootloaders need qcom,acc and qcom,saw yet use
444+
# "spin-table" or "psci" enable-methods. Disallowing the properties for
445+
# all other CPUs is the best we can do as there's not any way to
446+
# distinguish these Qualcomm platforms.
447+
not:
448+
properties:
449+
compatible:
450+
const: arm,cortex-a53
451+
then:
452+
properties:
453+
qcom,acc: false
454+
qcom,saw: false
397455

398456
required:
399457
- device_type
@@ -403,7 +461,7 @@ required:
403461
dependencies:
404462
rockchip,pmu: [enable-method]
405463

406-
additionalProperties: true
464+
unevaluatedProperties: false
407465

408466
examples:
409467
- |
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/arm/freescale/fsl,imx51-m4if.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale Multi Master Multi Memory Interface (M4IF) and Tigerp module
8+
9+
description: collect the imx devices, which only have compatible and reg property
10+
11+
maintainers:
12+
- Frank Li <Frank.Li@nxp.com>
13+
14+
properties:
15+
compatible:
16+
oneOf:
17+
- enum:
18+
- fsl,imx51-m4if
19+
- fsl,imx51-tigerp
20+
- fsl,imx51-aipstz
21+
- fsl,imx53-aipstz
22+
- fsl,imx7d-pcie-phy
23+
- items:
24+
- const: fsl,imx53-tigerp
25+
- const: fsl,imx51-tigerp
26+
27+
reg:
28+
maxItems: 1
29+
30+
required:
31+
- compatible
32+
- reg
33+
34+
additionalProperties: false
35+
36+
examples:
37+
- |
38+
m4if@83fd8000 {
39+
compatible = "fsl,imx51-m4if";
40+
reg = <0x83fd8000 0x1000>;
41+
};

Documentation/devicetree/bindings/arm/freescale/m4if.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)