Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions Documentation/devicetree/bindings/arm/cpus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,42 @@ description: |+
described below.

properties:
apple,firmware-cpu-id:
$ref: /schemas/types.yaml#/definitions/uint32
description:
Native Apple hardware-description CPU identifier. This is not a Linux
CPU index and can omit classification bits present in MPIDR_EL1.

apple,implementation-registers:
$ref: /schemas/types.yaml#/definitions/uint64-array
items:
- description: Physical base address
- description: Aperture length in bytes
description: |
CPU implementation register aperture associated with this CPU.
Cluster-shared views can overlap; describing them does not grant
access or specify register initialization or performance policy.

apple,acc-registers:
$ref: /schemas/types.yaml#/definitions/uint64-array
items:
- description: Physical base address
- description: Aperture length in bytes
description: |
cluster ACC register aperture associated with this CPU.
Cluster-shared views can overlap; describing them does not grant
access or specify register initialization or performance policy.

apple,cpm-registers:
$ref: /schemas/types.yaml#/definitions/uint64-array
items:
- description: Physical base address
- description: Aperture length in bytes
description: |
cluster CPM register aperture associated with this CPU.
Cluster-shared views can overlap; describing them does not grant
access or specify register initialization or performance policy.

reg:
maxItems: 1
description: >
Expand Down
19 changes: 14 additions & 5 deletions Documentation/devicetree/bindings/clock/apple,pmgr-clocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,23 @@ description: |
state and must not be represented as fixed clocks sampled at one boot.
The provider remains disabled until a generation-specific clock driver
can resolve selectors and coordinate ownership with firmware.
Selectors are scoped by the referenced PMGR; a dual-die platform has
one provider per die.

properties:
compatible:
items:
- enum:
- apple,t6041-pmgr-clocks
- apple,t8140-pmgr-clocks
- const: apple,pmgr-clocks
oneOf:
- items:
- enum:
- apple,t6041-pmgr-clocks
- apple,t8140-pmgr-clocks
- const: apple,pmgr-clocks
- items:
- const: apple,t8103-pmgr-clocks
- const: apple,pmgr-clocks
- items:
- const: apple,t6000-pmgr-clocks
- const: apple,pmgr-clocks

reg:
description: PMGR control apertures in hardware-description order.
Expand Down
42 changes: 38 additions & 4 deletions Documentation/devicetree/bindings/crypto/apple,aes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ maintainers:

description: |
AES hardware attached to the SIO DART. The register banks are the
engine, shared control and auxiliary control windows, in that order.
engine and shared control windows, with a third auxiliary window on
newer variants. T6000 uses both SIO translation banks for the same stream.

properties:
compatible:
Expand All @@ -22,11 +23,16 @@ properties:
- items:
- const: apple,t8140-aes
- const: apple,aes
- items:
- const: apple,t8103-aes
- const: apple,aes
- items:
- const: apple,t6000-aes
- const: apple,aes

reg:
minItems: 3
minItems: 2
maxItems: 3
description: Register apertures in hardware-description order.

interrupts:
minItems: 1
Expand All @@ -38,7 +44,7 @@ properties:

iommus:
minItems: 1
maxItems: 1
maxItems: 2

required:
- compatible
Expand All @@ -47,4 +53,32 @@ required:
- power-domains
- iommus

allOf:
- if:
properties:
compatible:
contains:
enum: ["apple,t8103-aes", "apple,t6000-aes"]
then:
properties:
reg:
maxItems: 2
else:
properties:
reg:
minItems: 3
- if:
properties:
compatible:
contains:
const: apple,t6000-aes
then:
properties:
iommus:
minItems: 2
else:
properties:
iommus:
maxItems: 1

additionalProperties: false
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/display/apple,dcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ properties:
- enum: [disp-2, iop-vbar]
- enum: [disp-3, iop-vbar]
- enum: [disp-4, iop-vbar]
- const: iop-vbar
- enum: [iop-vbar, coproc-aux]

mboxes:
maxItems: 1
Expand Down
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/display/apple,dpin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ properties:
- items:
- const: apple,t6041-dpin
- const: apple,dpin
- items:
- const: apple,t8103-dpin
- const: apple,dpin
- items:
- const: apple,t6000-dpin
- const: apple,dpin

reg:
minItems: 1
Expand Down
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/dma/apple,pciec-piodma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ properties:
- items:
- const: apple,t6041-pciec-piodma
- const: apple,pciec-piodma
- items:
- const: apple,t8103-pciec-piodma
- const: apple,pciec-piodma
- items:
- const: apple,t6000-pciec-piodma
- const: apple,pciec-piodma

reg:
minItems: 4
Expand Down
154 changes: 149 additions & 5 deletions Documentation/devicetree/bindings/edac/apple,soc-error-handler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ description: |
properties:
compatible:
oneOf:
- items:
- enum:
- apple,t8103-error-handler
- apple,t6000-error-handler
- apple,t6001-error-handler
- apple,t6002-error-handler
- const: apple,soc-error-handler
- items:
- enum:
- apple,t8103-event-log
- apple,t6000-event-log
- apple,t6001-event-log
- apple,t6002-event-log
- const: apple,soc-event-log
- items:
- const: apple,t6041-error-handler
- const: apple,soc-error-handler
Expand All @@ -32,13 +46,12 @@ properties:

interrupts:
minItems: 9
maxItems: 89
maxItems: 268

reg:
minItems: 25
maxItems: 25
description: |
T6041 per-source NI0 through NI6 status apertures, in interrupt order.
minItems: 1
maxItems: 205
description: Per-source status and event-log register apertures.

required:
- compatible
Expand All @@ -55,6 +68,9 @@ allOf:
interrupts:
minItems: 89
maxItems: 89
reg:
minItems: 25
maxItems: 25
required:
- reg
- if:
Expand Down Expand Up @@ -88,6 +104,134 @@ allOf:
minItems: 9
maxItems: 9

- if:
properties:
compatible:
contains:
const: apple,t8103-error-handler
then:
properties:
interrupts:
minItems: 11
maxItems: 11
reg:
minItems: 18
maxItems: 18
required:
- reg

- if:
properties:
compatible:
contains:
const: apple,t8103-event-log
then:
properties:
interrupts:
minItems: 16
maxItems: 16
reg:
minItems: 16
maxItems: 16
required:
- reg

- if:
properties:
compatible:
contains:
const: apple,t6000-error-handler
then:
properties:
interrupts:
minItems: 76
maxItems: 76
reg:
minItems: 55
maxItems: 55
required:
- reg

- if:
properties:
compatible:
contains:
const: apple,t6000-event-log
then:
properties:
interrupts:
minItems: 28
maxItems: 28
reg:
minItems: 28
maxItems: 28
required:
- reg

- if:
properties:
compatible:
contains:
const: apple,t6001-error-handler
then:
properties:
interrupts:
minItems: 127
maxItems: 127
reg:
minItems: 90
maxItems: 90
required:
- reg

- if:
properties:
compatible:
contains:
const: apple,t6001-event-log
then:
properties:
interrupts:
minItems: 28
maxItems: 28
reg:
minItems: 28
maxItems: 28
required:
- reg

- if:
properties:
compatible:
contains:
const: apple,t6002-error-handler
then:
properties:
interrupts:
minItems: 268
maxItems: 268
reg:
minItems: 205
maxItems: 205
required:
- reg

- if:
properties:
compatible:
contains:
const: apple,t6002-event-log
then:
properties:
interrupts:
minItems: 54
maxItems: 54
reg:
minItems: 54
maxItems: 54
required:
- reg

additionalProperties: false

examples:
Expand Down
Loading