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
65 changes: 65 additions & 0 deletions Documentation/devicetree/bindings/crypto/apple,aes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/crypto/apple,aes.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple AES engine

maintainers:
- Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>

description: |
AES hardware attached to the SIO DART. The register banks are the
engine, shared control and auxiliary control windows, in that order.

properties:
compatible:
oneOf:
- items:
- const: apple,t6041-aes
- const: apple,aes
- items:
- const: apple,t8140-aes
- const: apple,aes
- items:
- enum:
- apple,t8112-aes
- apple,t6020-aes
- apple,t6021-aes
- apple,t6022-aes
- const: apple,aes

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

interrupts:
maxItems: 1

power-domains:
maxItems: 1

iommus:
maxItems: 1

required:
- compatible
- reg
- interrupts
- power-domains
- iommus

allOf:
- if:
properties:
compatible:
contains:
enum: ['apple,t6041-aes', 'apple,t8140-aes']
then:
properties:
reg:
minItems: 3

additionalProperties: false
23 changes: 18 additions & 5 deletions Documentation/devicetree/bindings/display/apple,dcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ properties:
- enum: [disp-4, iop-vbar]
- const: iop-vbar

interrupts:
minItems: 7
maxItems: 16
description: Optional host display-engine interrupt sources.

mboxes:
maxItems: 1

Expand Down Expand Up @@ -414,6 +419,7 @@ allOf:
enum: ['apple,t6030-dcpext', 'apple,t8132-dcpext']
required:
- compatible
then: {}
else:
properties:
mux-controls:
Expand All @@ -423,11 +429,18 @@ allOf:
items:
pattern: '^(dp-xbar|typec[0-9]+)$'
- if:
not:
properties:
compatible:
contains:
enum: ['apple,t8132-dcp', 'apple,t8132-dcpext']
allOf:
- not:
properties:
compatible:
contains:
enum: ['apple,t8132-dcp', 'apple,t8132-dcpext']
- not:
properties:
status:
const: disabled
required:
- status
then:
required:
- apple,bw-scratch
Expand Down
41 changes: 41 additions & 0 deletions Documentation/devicetree/bindings/display/apple,dpin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/apple,dpin.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple DisplayPort tunnel ingress

maintainers:
- Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>

description: |
DisplayPort ingress registers and interrupt for a USB4 display tunnel.

properties:
compatible:
oneOf:
- items:
- const: apple,t6041-dpin
- const: apple,dpin
- items:
- enum:
- apple,t8112-dpin
- apple,t6020-dpin
- apple,t6021-dpin
- apple,t6022-dpin
- const: apple,dpin

reg:
maxItems: 1
description: Register apertures in hardware-description order.

interrupts:
maxItems: 1

required:
- compatible
- reg
- interrupts

additionalProperties: false
47 changes: 47 additions & 0 deletions Documentation/devicetree/bindings/dma/apple,pcie-piodma.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dma/apple,pcie-piodma.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple PCIe PIODMA engine

maintainers:
- Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>

description: |
PCIe auxiliary DMA register banks and completion interrupt. The stream
is distinct from the PCIe endpoint streams in the same DART.

properties:
compatible:
oneOf:
- items:
- const: apple,t6041-pcie-piodma
- const: apple,pcie-piodma
- items:
- enum:
- apple,t8112-pcie-piodma
- apple,t6020-pcie-piodma
- apple,t6021-pcie-piodma
- apple,t6022-pcie-piodma
- const: apple,pcie-piodma

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

interrupts:
maxItems: 1

iommus:
maxItems: 1

required:
- compatible
- reg
- interrupts
- iommus

additionalProperties: false
47 changes: 47 additions & 0 deletions Documentation/devicetree/bindings/dma/apple,pciec-piodma.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dma/apple,pciec-piodma.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple PCIe tunnel PIODMA engine

maintainers:
- Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>

description: |
PCIe tunnel auxiliary DMA register banks and completion interrupt. Its
stream is distinct from the tunnel endpoint streams in the same DART.

properties:
compatible:
oneOf:
- items:
- const: apple,t6041-pciec-piodma
- const: apple,pciec-piodma
- items:
- enum:
- apple,t8112-pciec-piodma
- apple,t6020-pciec-piodma
- apple,t6021-pciec-piodma
- apple,t6022-pciec-piodma
- const: apple,pciec-piodma

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

interrupts:
maxItems: 1

iommus:
maxItems: 1

required:
- compatible
- reg
- interrupts
- iommus

additionalProperties: false
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,33 @@ properties:
- items:
- const: apple,t8140-event-log
- const: apple,soc-event-log
- items:
- enum:
- apple,t8112-error-handler
- apple,t6020-error-handler
- apple,t6021-error-handler
- apple,t6022-error-handler
- const: apple,soc-error-handler
- items:
- enum:
- apple,t8112-event-log
- apple,t6020-event-log
- apple,t6021-event-log
- apple,t6022-event-log
- const: apple,soc-event-log

power-domains:
maxItems: 1
description: Power domain needed for the associated error-source registers.

interrupts:
minItems: 9
maxItems: 89
maxItems: 322

reg:
minItems: 25
maxItems: 25
description: |
T6041 per-source NI0 through NI6 status apertures, in interrupt order.
minItems: 16
maxItems: 255
description: Error or event source register apertures in hardware order.

required:
- compatible
Expand Down Expand Up @@ -88,6 +105,17 @@ allOf:
minItems: 9
maxItems: 9

- if:
properties:
compatible:
contains:
const: apple,t6041-error-handler
then:
properties:
reg:
minItems: 25
maxItems: 25

additionalProperties: false

examples:
Expand Down
38 changes: 38 additions & 0 deletions Documentation/devicetree/bindings/iio/light/apple,aop-als.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/light/apple,aop-als.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple AOP ambient light sensor service

maintainers:
- Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>

description: |
The service is supplied by the parent Always-On Processor. Firmware and
calibration handoff determine its availability. It has no independent
application-processor register window or interrupt.

select:
properties:
compatible:
contains:
enum:
- apple,t6020-aop-als
- apple,t8112-aop-als
required:
- compatible

properties:
compatible:
items:
- enum:
- apple,t6020-aop-als
- apple,t8112-aop-als
- const: apple,aop-als

required:
- compatible

additionalProperties: false
38 changes: 38 additions & 0 deletions Documentation/devicetree/bindings/iio/position/apple,aop-las.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/position/apple,aop-las.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple AOP lid angle sensor service

maintainers:
- Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>

description: |
The service is supplied by the parent Always-On Processor. Firmware and
calibration handoff determine its availability. It has no independent
application-processor register window or interrupt.

select:
properties:
compatible:
contains:
enum:
- apple,t6020-aop-las
- apple,t8112-aop-las
required:
- compatible

properties:
compatible:
items:
- enum:
- apple,t6020-aop-las
- apple,t8112-aop-las
- const: apple,aop-las

required:
- compatible

additionalProperties: false
Loading