-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backmerging to bring in the xe shrinker from drm-next. Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
- Loading branch information
Showing
1,230 changed files
with
28,183 additions
and
14,209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
Documentation/devicetree/bindings/display/apple,h7-display-pipe-mipi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/display/apple,h7-display-pipe-mipi.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Apple pre-DCP display controller MIPI interface | ||
|
||
maintainers: | ||
- Sasha Finkelstein <fnkl.kernel@gmail.com> | ||
|
||
description: | ||
The MIPI controller part of the pre-DCP Apple display controller | ||
|
||
allOf: | ||
- $ref: dsi-controller.yaml# | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- apple,t8112-display-pipe-mipi | ||
- apple,t8103-display-pipe-mipi | ||
- const: apple,h7-display-pipe-mipi | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
power-domains: | ||
maxItems: 1 | ||
|
||
ports: | ||
$ref: /schemas/graph.yaml#/properties/ports | ||
|
||
properties: | ||
port@0: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: Input port. Always connected to the primary controller | ||
|
||
port@1: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: Output MIPI DSI port to the panel | ||
|
||
required: | ||
- port@0 | ||
- port@1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- ports | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
dsi@28200000 { | ||
compatible = "apple,t8103-display-pipe-mipi", "apple,h7-display-pipe-mipi"; | ||
reg = <0x28200000 0xc000>; | ||
power-domains = <&ps_dispdfr_mipi>; | ||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
port@0 { | ||
reg = <0>; | ||
dfr_adp_out_mipi: endpoint { | ||
remote-endpoint = <&dfr_adp_out_mipi>; | ||
}; | ||
}; | ||
port@1 { | ||
reg = <1>; | ||
dfr_panel_in: endpoint { | ||
remote-endpoint = <&dfr_mipi_out_panel>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
... |
88 changes: 88 additions & 0 deletions
88
Documentation/devicetree/bindings/display/apple,h7-display-pipe.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/display/apple,h7-display-pipe.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Apple pre-DCP display controller | ||
|
||
maintainers: | ||
- Sasha Finkelstein <fnkl.kernel@gmail.com> | ||
|
||
description: | ||
A secondary display controller used to drive the "touchbar" on | ||
certain Apple laptops. | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- apple,t8112-display-pipe | ||
- apple,t8103-display-pipe | ||
- const: apple,h7-display-pipe | ||
|
||
reg: | ||
items: | ||
- description: Primary register block, controls planes and blending | ||
- description: | ||
Contains other configuration registers like interrupt | ||
and FIFO control | ||
|
||
reg-names: | ||
items: | ||
- const: be | ||
- const: fe | ||
|
||
power-domains: | ||
description: | ||
Phandles to pmgr entries that are needed for this controller to turn on. | ||
Aside from that, their specific functions are unknown | ||
maxItems: 2 | ||
|
||
interrupts: | ||
items: | ||
- description: Unknown function | ||
- description: Primary interrupt. Vsync events are reported via it | ||
|
||
interrupt-names: | ||
items: | ||
- const: be | ||
- const: fe | ||
|
||
iommus: | ||
maxItems: 1 | ||
|
||
port: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: Output port. Always connected to apple,h7-display-pipe-mipi | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- port | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/apple-aic.h> | ||
display-pipe@28200000 { | ||
compatible = "apple,t8103-display-pipe", "apple,h7-display-pipe"; | ||
reg = <0x28200000 0xc000>, | ||
<0x28400000 0x4000>; | ||
reg-names = "be", "fe"; | ||
power-domains = <&ps_dispdfr_fe>, <&ps_dispdfr_be>; | ||
interrupt-parent = <&aic>; | ||
interrupts = <AIC_IRQ 502 IRQ_TYPE_LEVEL_HIGH>, | ||
<AIC_IRQ 506 IRQ_TYPE_LEVEL_HIGH>; | ||
interrupt-names = "be", "fe"; | ||
iommus = <&displaydfr_dart 0>; | ||
port { | ||
dfr_adp_out_mipi: endpoint { | ||
remote-endpoint = <&dfr_mipi_in_adp>; | ||
}; | ||
}; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.