mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

Add bindings for a secondary display controller present on certain Apple laptops. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Neal Gompa <neal@gompa.dev> Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250224-adpdrm-v8-1-cccf96710f0f@gmail.com Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
84 lines
1.8 KiB
YAML
84 lines
1.8 KiB
YAML
# 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>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
...
|