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
12 changes: 10 additions & 2 deletions Documentation/devicetree/bindings/crypto/apple,aes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ properties:
- const: apple,aes
- items:
- enum:
- apple,t8122-aes
- apple,t6020-aes
- apple,t6021-aes
- apple,t6022-aes
- apple,t6030-aes
- apple,t6031-aes
- apple,t8112-aes
- apple,t8122-aes
- const: apple,aes

reg:
Expand Down Expand Up @@ -56,9 +60,13 @@ allOf:
compatible:
contains:
enum:
- apple,t8122-aes
- apple,t6020-aes
- apple,t6021-aes
- apple,t6022-aes
- apple,t6030-aes
- apple,t6031-aes
- apple,t8112-aes
- apple,t8122-aes
then:
properties:
reg:
Expand Down
22 changes: 17 additions & 5 deletions Documentation/devicetree/bindings/display/apple,dcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ properties:
- enum: [disp-5, iop-vbar]
- const: iop-vbar

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

mboxes:
maxItems: 1

Expand Down Expand Up @@ -429,11 +434,18 @@ allOf:
items:
pattern: '^(dp-xbar|typec[0-9]+)$'
- if:
not:
properties:
compatible:
contains:
enum: ['apple,t6031-dcp', 'apple,t8132-dcp', 'apple,t8132-dcpext']
allOf:
- not:
properties:
compatible:
contains:
enum: ['apple,t6031-dcp', 'apple,t8132-dcp', 'apple,t8132-dcpext']
- not:
properties:
status:
const: disabled
required:
- status
then:
required:
- apple,bw-scratch
Expand Down
6 changes: 5 additions & 1 deletion Documentation/devicetree/bindings/display/apple,dpin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ properties:
- const: apple,dpin
- items:
- enum:
- apple,t8122-dpin
- apple,t6020-dpin
- apple,t6021-dpin
- apple,t6022-dpin
- apple,t6030-dpin
- apple,t6031-dpin
- apple,t8112-dpin
- apple,t8122-dpin
- const: apple,dpin

reg:
Expand Down
6 changes: 5 additions & 1 deletion Documentation/devicetree/bindings/dma/apple,pcie-piodma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ properties:
- const: apple,pcie-piodma
- items:
- enum:
- apple,t8122-pcie-piodma
- apple,t6020-pcie-piodma
- apple,t6021-pcie-piodma
- apple,t6022-pcie-piodma
- apple,t6030-pcie-piodma
- apple,t6031-pcie-piodma
- apple,t8112-pcie-piodma
- apple,t8122-pcie-piodma
- const: apple,pcie-piodma

reg:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ properties:
- const: apple,pciec-piodma
- items:
- enum:
- apple,t8122-pciec-piodma
- 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

reg:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,40 @@ properties:
- const: apple,soc-event-log
- items:
- enum:
- apple,t8122-error-handler
- apple,t6020-error-handler
- apple,t6021-error-handler
- apple,t6022-error-handler
- apple,t6030-error-handler
- apple,t6031-error-handler
- apple,t8112-error-handler
- apple,t8122-error-handler
- const: apple,soc-error-handler
- items:
- enum:
- apple,t8122-event-log
- apple,t6020-event-log
- apple,t6021-event-log
- apple,t6022-event-log
- apple,t6030-event-log
- apple,t6031-event-log
- apple,t8112-event-log
- apple,t8122-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: 159
maxItems: 322

reg:
minItems: 10
maxItems: 123
description: Status apertures in hardware-description order; native access requires qualification.

power-domains:
maxItems: 1
maxItems: 255
description: |
Status apertures in hardware-description order. T6041 uses qualified
per-source NI status apertures in interrupt order. Native register
access on other variants requires separate qualification.

required:
- compatible
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
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/apple,t6041-isp.yaml#
$id: http://devicetree.org/schemas/media/apple,isp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple T604x Image Signal Processor
title: Apple Image Signal Processor

maintainers:
- Jonathan Goyvaerts <jonathan.goyvaerts@gmail.com>

description:
The T604x ISP controls the attached camera sensor and processes its frames
through firmware the bootloader loads. The firmware segments are described
as reserved memory mapped at the addresses the firmware runs them at. The
host exchanges commands and image buffers through three DART instances.
The ISP controls the attached camera sensor and processes its frames using
a coprocessor. The host exchanges commands and image buffers through three
DART instances. The memory handoff identifies either the allocation heap or
separate firmware text, data and heap regions.

select:
properties:
compatible:
contains:
const: apple,t6041-isp
enum: ['apple,t6020-isp', 'apple,t6041-isp', 'apple,t8112-isp']
required:
- compatible

properties:
compatible:
items:
- const: apple,t6041-isp
- enum:
- apple,t6020-isp
- apple,t6041-isp
- apple,t8112-isp
- const: apple,isp

reg:
Expand All @@ -53,27 +56,20 @@ properties:
- description: Third ISP DART stream

power-domains:
items:
- description: ISP system domain
- description: ISP CPU domain
- description: ISP FE domain
- description: ISP DPRX domain
- description: ISP secure domain
- description: ISP BE domain
- description: ISP CLR domain
- description: Camera sensor domain
minItems: 7
maxItems: 16
description: Register-backed power domains required by the ISP.

memory-region:
items:
- description: Firmware text loaded by the bootloader
- description: Firmware data loaded by the bootloader
- description: Firmware main memory window; host allocations follow it
minItems: 1
maxItems: 3
description: Firmware memory and the host allocation heap.

memory-region-names:
minItems: 1
maxItems: 3
items:
- const: text
- const: data
- const: heap
enum: [text, data, heap]

apple,dart-vm-size:
$ref: /schemas/types.yaml#/definitions/uint64
Expand Down Expand Up @@ -142,11 +138,58 @@ required:
- interrupts
- iommus
- power-domains
- memory-region
- memory-region-names
- apple,dart-vm-size
- apple,platform-id
- sensor-presets

allOf:
- if:
properties:
compatible:
contains:
const: apple,t6041-isp
then:
properties:
power-domains:
items:
- description: ISP system domain
- description: ISP CPU domain
- description: ISP FE domain
- description: ISP DPRX domain
- description: ISP secure domain
- description: ISP BE domain
- description: ISP CLR domain
- description: Camera sensor domain
memory-region:
minItems: 3
memory-region-names:
items:
- const: text
- const: data
- const: heap
required:
- memory-region
- memory-region-names
- apple,platform-id
- sensor-presets
else:
properties:
memory-region:
maxItems: 1
memory-region-names:
items:
- const: heap
- if:
not:
properties:
status:
const: disabled
required:
- status
then:
required:
- memory-region
- memory-region-names
- apple,platform-id
- sensor-presets

additionalProperties: false

Expand Down
Loading
Loading