Skip to content
Open
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
66 changes: 63 additions & 3 deletions Documentation/devicetree/bindings/gpu/apple,agx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ properties:
- apple,agx-t8132
- apple,agx-t8140
- apple,agx-t8142
- apple,agx-t8152
- items:
- enum:
- apple,agx-g17c
Expand Down Expand Up @@ -55,11 +56,11 @@ properties:

reg:
minItems: 1
maxItems: 2
maxItems: 4

reg-names:
minItems: 1
maxItems: 2
maxItems: 4

power-domains:
maxItems: 1
Expand Down Expand Up @@ -594,6 +595,7 @@ allOf:
- apple,agx-t8132
- apple,agx-t8140
- apple,agx-t8142
- apple,agx-t8152
then:
properties:
reg:
Expand Down Expand Up @@ -678,7 +680,65 @@ allOf:
- memory-region-names
- power-domains
- operating-points-v2
else:

- if:
properties:
compatible:
contains:
const: apple,agx-t8152
then:
properties:
reg:
items:
- description: GPU block MMIO registers
- description: SGX PSD service block
- description: GFX ASC PSD service block
- description: GFX1 ASC PSD service block
reg-names:
items:
- const: sgx
- const: psd-sgx
- const: psd-gfx-asc
- const: psd-gfx1-asc
mboxes:
items:
- description: GFX coprocessor mailbox
- description: GFX1 coprocessor mailbox
memory-region:
items:
- description: GPU MMU TTBs
- description: GPU MMU page tables
- description: Shared GPU MMU handoff structure
- description: Shared L2 page tables
- description: GFX firmware data
- description: GFX1 firmware data
- description: GFX firmware shared read-only data
- description: GFX1 firmware shared read-only data
memory-region-names:
items:
- const: ttbs
- const: pagetables
- const: handoff
- const: shared-l2
- const: gfx-data
- const: gfx1-data
- const: gfx-data-shared-ro
- const: gfx1-data-shared-ro
required:
- reg-names
- mboxes
- memory-region
- memory-region-names

- if:
not:
properties:
compatible:
contains:
enum:
- apple,agx-t8142
- apple,agx-t8152
then:
properties:
memory-region:
maxItems: 6
Expand Down
41 changes: 35 additions & 6 deletions Documentation/devicetree/bindings/mailbox/apple,ascwrap-v6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@ properties:
- apple,t8140-ascwrap-v6
- apple,t8142-ascwrap-v6
- apple,t6050-j775d-ascwrap-v6
- apple,t8152-gfx-ascwrap-v8

reg:
items:
- description: ASC wrapper registers
- description: Coprocessor vector-base register
minItems: 2
maxItems: 4

reg-names:
items:
- const: wrapper
- const: iop-vbar
minItems: 2
maxItems: 4

interrupts:
items:
Expand Down Expand Up @@ -75,6 +74,36 @@ allOf:
apple,firmware-role:
const: GFX

- if:
properties:
compatible:
contains:
const: apple,t8152-gfx-ascwrap-v8
then:
properties:
reg:
items:
- description: ASC wrapper registers
- description: Coprocessor vector-base register
- description: Post-office mailbox window
- description: PSD service block
reg-names:
items:
- const: wrapper
- const: iop-vbar
- const: mailbox
- const: psd
else:
properties:
reg:
items:
- description: ASC wrapper registers
- description: Coprocessor vector-base register
reg-names:
items:
- const: wrapper
- const: iop-vbar

additionalProperties: false

examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ properties:
- items:
- const: apple,t6050-pinctrl
- const: apple,t8132-pinctrl
- description:
The T8152 application-processor GPIO bank uses uncached T8140
register access. Board-specific reservations describe inaccessible pins.
The separate AOP GPIO bank retains its T8103-compatible access.
items:
- const: apple,t8152-pinctrl
- const: apple,t8140-pinctrl
- items:
# Do not add additional SoC to this list.
- enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ properties:
- apple,t8142-fpwm
- apple,t8132-fpwm
- apple,t8140-fpwm
- apple,t8152-fpwm
- apple,t6000-fpwm
- apple,t6020-fpwm
- apple,t6030-fpwm
Expand Down
Loading
Loading