Document the CIX Sky1 DisplayPort transmitter. Each instance sits between one of the SoC display pipelines and a DisplayPort PHY, and exposes the DP register block together with the RCSU block used for the link setup.
The USB-C transmitters and the native DP/eDP transmitter use different RCSU layouts, described by "cix,sky1-usbdp" and "cix,sky1-dp". The controller is a DRM bridge. Its video input is linked through the OF graph, and the DisplayPort PHY is referenced through the generic PHY framework. Signed-off-by: Luo Liu <[email protected]> --- .../bindings/display/cix,sky1-dp.yaml | 99 +++++++++++++++++++ MAINTAINERS | 8 ++ 2 files changed, 107 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/cix,sky1-dp.yaml diff --git a/Documentation/devicetree/bindings/display/cix,sky1-dp.yaml b/Documentation/devicetree/bindings/display/cix,sky1-dp.yaml new file mode 100644 index 000000000000..ec6d02989b58 --- /dev/null +++ b/Documentation/devicetree/bindings/display/cix,sky1-dp.yaml @@ -0,0 +1,99 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/cix,sky1-dp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CIX Sky1 Trilinear DisplayPort Transmitter + +maintainers: + - Luo Liu <[email protected]> + +description: + Trilinear DisplayPort transmitter on CIX Sky1. The USB-C transmitters + and the native DP/eDP transmitter use different RCSU video-adapter + register offsets and bit layouts, so each has its own compatible. + +properties: + compatible: + oneOf: + - description: USB-C DisplayPort transmitter + const: cix,sky1-usbdp + - description: Native DP/eDP transmitter + const: cix,sky1-dp + + reg: + items: + - description: DisplayPort transmitter registers. + - description: RCSU video adapter registers used for link setup. + + reg-names: + items: + - const: dp + - const: rcsu + + interrupts: + maxItems: 1 + + clocks: + items: + - description: APB clock of the controller. + - description: Video clock of stream 0. + - description: Video clock of stream 1. + + clock-names: + items: + - const: apb + - const: vid0 + - const: vid1 + + resets: + maxItems: 1 + description: DisplayPort controller reset. + + phys: + maxItems: 1 + description: DisplayPort PHY the controller transmits through. + + port: + $ref: /schemas/graph.yaml#/properties/port + description: + Video input from the Mali D71 display pipeline (Komeda) that drives + this controller. The link to the sink is through phys (USB-C combo PHY + or the native DP PHY), not a second OF graph port on the DPTX. + +required: + - compatible + - reg + - reg-names + - interrupts + - clocks + - clock-names + - resets + - phys + - port + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + + dp0: dp@14064000 { + compatible = "cix,sky1-usbdp"; + reg = <0x14064000 0x4000>, + <0x14050000 0x400>; + reg-names = "dp", "rcsu"; + interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&dpc0_apb>, <&dpc0_vid0>, <&dpc0_vid1>; + clock-names = "apb", "vid0", "vid1"; + resets = <&dpc0_rst>; + phys = <&usbc0_dp_phy>; + + port { + dp0_0_in: endpoint { + remote-endpoint = <&dpu0_pipe0_out>; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 93abbb315065..e3557e931c94 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6522,6 +6522,14 @@ M: Satish Kharat <[email protected]> S: Supported F: drivers/infiniband/hw/usnic/ +CIX SKY1 DISPLAYPORT TRANSMITTER DRIVER +M: Luo Liu <[email protected]> +M: Wuyi Shen <[email protected]> +R: CIX Linux Kernel Upstream Group <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/devicetree/bindings/display/cix,sky1-dp.yaml + CLANG CONTEXT ANALYSIS M: Marco Elver <[email protected]> R: Bart Van Assche <[email protected]>
