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
17 changes: 14 additions & 3 deletions Documentation/devicetree/bindings/mux/apple,display-crossbar.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) AND GPL-2.0-only
%YAML 1.2
---
$id: http://devicetree.org/schemas/mux/apple,display-crossbar.yaml#
Expand All @@ -11,8 +11,8 @@ maintainers:

description:
Routes display pipelines to the DisplayPort transmitters and inputs
of an Apple Type-C PHY. Each crossbar exposes three mux controls,
selected by the consumer's mux specifier.
of an Apple Type-C PHY. Older layouts expose three mux controls; the T8142/T6050 layout
exposes five. The consumer selects an output using the mux specifier.

allOf:
- $ref: mux-controller.yaml#
Expand All @@ -24,10 +24,21 @@ properties:
- apple,t8112-display-crossbar
- apple,t6000-display-crossbar
- apple,t6020-display-crossbar
- apple,t8142-display-crossbar
- apple,t6050-display-crossbar

reg:
maxItems: 1

power-domains:
minItems: 2
maxItems: 2

power-domain-names:
items:
- const: usb-aon
- const: common

'#mux-control-cells':
const: 1

Expand Down
107 changes: 107 additions & 0 deletions Documentation/devicetree/bindings/phy/apple,t6050-dp-phy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/apple,t6050-dp-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple T6050 fixed DisplayPort PHY

maintainers:
- Dj <hey@djdev.me>

description: |
Fixed four-lane DisplayPort PHY for the HDMI bridge path. It supports
RBR through HBR3 without spread-spectrum clocking. All register resources,
power domains and board tunables are supplied by the boot producer.

properties:
compatible:
const: apple,t6050-dp-phy

reg:
minItems: 6
maxItems: 6

reg-names:
items:
- const: core
- const: reset
- const: fabric
- const: axi2af
- const: lioa
- const: common-cfg

'#phy-cells':
const: 0

power-domains:
minItems: 3
maxItems: 3

power-domain-names:
items:
- const: usb-aon
- const: common
- const: wrapper

apple,tunable-axi2af:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

apple,tunable-fabric:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

apple,tunable-common-cfg:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

apple,tunable-lioa:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

apple,tunable-lane0-rx-clock:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

apple,tunable-lane1-rx-clock:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

apple,tunable-lane0-rx-eq:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

apple,tunable-lane1-rx-eq:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

apple,tunable-auspll:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: Offset, mask and value tuples within the named bank

patternProperties:
'^apple,dp-training-table(-rbr|-hbr|-hbr2|-hbr3)?$':
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 16
maxItems: 16
description: Drive presets indexed by voltage swing times four plus pre-emphasis

required:
- compatible
- reg
- reg-names
- '#phy-cells'
- power-domains
- power-domain-names
- apple,tunable-axi2af
- apple,tunable-fabric
- apple,tunable-common-cfg
- apple,tunable-lioa
- apple,tunable-lane0-rx-clock
- apple,tunable-lane1-rx-clock
- apple,tunable-lane0-rx-eq
- apple,tunable-lane1-rx-eq
- apple,tunable-auspll

additionalProperties: false
3 changes: 3 additions & 0 deletions arch/arm64/configs/aurora-apif.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ CONFIG_INPUT_MISC=y
CONFIG_INPUT_MACSMC_INPUT=y
CONFIG_HWMON=y
CONFIG_SENSORS_MACSMC_HWMON=y
CONFIG_PHY_APPLE_T6050_DP=y
CONFIG_MULTIPLEXER=y
CONFIG_MUX_APPLE_DPXBAR=y
Loading