Skip to content
Merged
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
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
51 changes: 31 additions & 20 deletions Documentation/devicetree/bindings/crypto/apple,aes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,20 @@ description: |

properties:
compatible:
oneOf:
- items:
- const: apple,t6041-aes
- const: apple,aes
- items:
- const: apple,t8140-aes
- const: apple,aes
- items:
- enum:
- apple,t6020-aes
- apple,t6021-aes
- apple,t6022-aes
- apple,t6030-aes
- apple,t6031-aes
- apple,t8112-aes
- apple,t8122-aes
- const: apple,aes
items:
- enum:
- apple,t6000-aes
- apple,t6020-aes
- apple,t6021-aes
- apple,t6022-aes
- apple,t6030-aes
- apple,t6031-aes
- apple,t6041-aes
- apple,t8103-aes
- apple,t8112-aes
- apple,t8122-aes
- apple,t8140-aes
- const: apple,aes

reg:
minItems: 2
Expand All @@ -45,7 +42,8 @@ properties:
maxItems: 1

iommus:
maxItems: 1
minItems: 1
maxItems: 2

required:
- compatible
Expand All @@ -60,22 +58,35 @@ allOf:
compatible:
contains:
enum:
- apple,t6000-aes
- apple,t6020-aes
- apple,t6021-aes
- apple,t6022-aes
- apple,t6030-aes
- apple,t6031-aes
- apple,t8103-aes
- apple,t8112-aes
- apple,t8122-aes
then:
properties:
reg:
minItems: 2
maxItems: 2
else:
properties:
reg:
minItems: 3
maxItems: 3
- if:
properties:
compatible:
contains:
const: apple,t6000-aes
then:
properties:
iommus:
minItems: 2
else:
properties:
iommus:
maxItems: 1

additionalProperties: false
27 changes: 13 additions & 14 deletions Documentation/devicetree/bindings/display/apple,dpin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,19 @@ description: |

properties:
compatible:
oneOf:
- items:
- const: apple,t6041-dpin
- const: apple,dpin
- items:
- enum:
- apple,t6020-dpin
- apple,t6021-dpin
- apple,t6022-dpin
- apple,t6030-dpin
- apple,t6031-dpin
- apple,t8112-dpin
- apple,t8122-dpin
- const: apple,dpin
items:
- enum:
- apple,t6000-dpin
- apple,t6020-dpin
- apple,t6021-dpin
- apple,t6022-dpin
- apple,t6030-dpin
- apple,t6031-dpin
- apple,t6041-dpin
- apple,t8103-dpin
- apple,t8112-dpin
- apple,t8122-dpin
- const: apple,dpin

reg:
maxItems: 1
Expand Down
27 changes: 13 additions & 14 deletions Documentation/devicetree/bindings/dma/apple,pciec-piodma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,19 @@ description: |

properties:
compatible:
oneOf:
- items:
- const: apple,t6041-pciec-piodma
- const: apple,pciec-piodma
- items:
- enum:
- apple,t6020-pciec-piodma
- apple,t6021-pciec-piodma
- apple,t6022-pciec-piodma
- apple,t6030-pciec-piodma
- apple,t6031-pciec-piodma
- apple,t8112-pciec-piodma
- apple,t8122-pciec-piodma
- const: apple,pciec-piodma
items:
- enum:
- apple,t6000-pciec-piodma
- apple,t6020-pciec-piodma
- apple,t6021-pciec-piodma
- apple,t6022-pciec-piodma
- apple,t6030-pciec-piodma
- apple,t6031-pciec-piodma
- apple,t6041-pciec-piodma
- apple,t8103-pciec-piodma
- apple,t8112-pciec-piodma
- apple,t8122-pciec-piodma
- const: apple,pciec-piodma

reg:
minItems: 4
Expand Down
161 changes: 149 additions & 12 deletions Documentation/devicetree/bindings/edac/apple,soc-error-handler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,37 @@ description: |
properties:
compatible:
oneOf:
- items:
- const: apple,t6041-error-handler
- const: apple,soc-error-handler
- items:
- const: apple,t8140-error-handler
- const: apple,soc-error-handler
- items:
- const: apple,t6041-event-log
- const: apple,soc-event-log
- items:
- const: apple,t8140-event-log
- const: apple,soc-event-log
- items:
- enum:
- apple,t6000-error-handler
- apple,t6001-error-handler
- apple,t6002-error-handler
- apple,t6020-error-handler
- apple,t6021-error-handler
- apple,t6022-error-handler
- apple,t6030-error-handler
- apple,t6031-error-handler
- apple,t6041-error-handler
- apple,t8103-error-handler
- apple,t8112-error-handler
- apple,t8122-error-handler
- apple,t8140-error-handler
- const: apple,soc-error-handler
- items:
- enum:
- apple,t6000-event-log
- apple,t6001-event-log
- apple,t6002-event-log
- apple,t6020-event-log
- apple,t6021-event-log
- apple,t6022-event-log
- apple,t6030-event-log
- apple,t6031-event-log
- apple,t6041-event-log
- apple,t8103-event-log
- apple,t8112-event-log
- apple,t8122-event-log
- apple,t8140-event-log
- const: apple,soc-event-log

power-domains:
Expand Down Expand Up @@ -227,6 +227,143 @@ allOf:
required:
- reg

- 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:
oneOf:
- properties:
interrupts:
minItems: 138
maxItems: 138
reg:
minItems: 104
maxItems: 104
- properties:
interrupts:
minItems: 130
maxItems: 130
reg:
minItems: 101
maxItems: 101
required:
- reg
- if:
properties:
compatible:
contains:
const: apple,t6002-event-log
then:
oneOf:
- properties:
interrupts:
minItems: 28
maxItems: 28
reg:
minItems: 28
maxItems: 28
- properties:
interrupts:
minItems: 26
maxItems: 26
reg:
minItems: 26
maxItems: 26
required:
- reg

additionalProperties: false

examples:
Expand Down
Loading
Loading