From: Biju Das <biju.das.jz@bp.renesas.com> To: Biju Das <biju.das.jz@bp.renesas.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: Biju Das <biju.das.au@gmail.com>, devicetree@vger.kernel.org, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com>, Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Fabrizio Castro <fabrizio.castro.jz@renesas.com>, Jacopo Mondi <jacopo.mondi@ideasonboard.com> Subject: [PATCH v15 1/5] dt-bindings: display: Document Renesas RZ/G2L DU bindings Date: Tue, 28 Nov 2023 10:51:25 +0000 [thread overview] Message-ID: <20231128105129.161121-2-biju.das.jz@bp.renesas.com> (raw) In-Reply-To: <20231128105129.161121-1-biju.das.jz@bp.renesas.com> The RZ/G2L LCD controller is composed of Frame Compression Processor (FCPVD), Video Signal Processor (VSPD), and Display Unit (DU). The DU module supports the following hardware features − Display Parallel Interface (DPI) and MIPI LINK Video Interface − Display timing master − Generates video timings − Selecting the polarity of output DCLK, HSYNC, VSYNC, and DE − Supports Progressive − Input data format (from VSPD): RGB888, RGB666 − Output data format: same as Input data format − Supporting Full HD (1920 pixels x 1080 lines) for MIPI-DSI Output − Supporting WXGA (1280 pixels x 800 lines) for Parallel Output This patch documents the DU module found on RZ/G2L LCDC. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> --- v14->v15: * No change. v13->v14: * No change. v12->v13: * No change. v11->v12: * Dropped quotes in ref handle for renesas,vsps property. * Retained tags as it is trivial change. v10->v11: * No change v9->v10: * Added Rb tag from Laurent * Updated the commit description. * Updated description of the port by dropping the text "specified in Documentation/devicetree/bindings/graph.txt." * Dropped empty endpoint from example. v8->v9: * No change v7->v8: * No change v6->v7: * No change v5->v6: * No change. v4->v5: * Added Rb tag from Rob. v3->v4: * Changed compatible name from renesas,du-r9a07g044->renesas,r9a07g044-du * started using same compatible for RZ/G2{L,LC} v3: New patch --- .../bindings/display/renesas,rzg2l-du.yaml | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml diff --git a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml new file mode 100644 index 000000000000..c0ad194c538d --- /dev/null +++ b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml @@ -0,0 +1,121 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/renesas,rzg2l-du.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/G2L Display Unit (DU) + +maintainers: + - Biju Das <biju.das.jz@bp.renesas.com> + - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> + +description: | + These DT bindings describe the Display Unit embedded in the Renesas RZ/G2L + and RZ/V2L SoCs. + +properties: + compatible: + enum: + - renesas,r9a07g044-du # RZ/G2{L,LC} + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Main clock + - description: Register access clock + - description: Video clock + + clock-names: + items: + - const: aclk + - const: pclk + - const: vclk + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + description: | + The connections to the DU output video ports are modeled using the OF + graph bindings. The number of ports and their assignment are + model-dependent. Each port shall have a single endpoint. + + patternProperties: + "^port@[0-1]$": + $ref: /schemas/graph.yaml#/properties/port + unevaluatedProperties: false + + required: + - port@0 + + unevaluatedProperties: false + + renesas,vsps: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + items: + - description: phandle to VSP instance that serves the DU channel + - description: Channel index identifying the LIF instance in that VSP + description: + A list of phandle and channel index tuples to the VSPs that handle the + memory interfaces for the DU channels. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + - power-domains + - ports + - renesas,vsps + +additionalProperties: false + +examples: + # RZ/G2L DU + - | + #include <dt-bindings/clock/r9a07g044-cpg.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + + display@10890000 { + compatible = "renesas,r9a07g044-du"; + reg = <0x10890000 0x10000>; + interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>, + <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>, + <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>; + clock-names = "aclk", "pclk", "vclk"; + resets = <&cpg R9A07G044_LCDC_RESET_N>; + power-domains = <&cpg>; + + renesas,vsps = <&vspd0 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + endpoint { + remote-endpoint = <&dsi0_in>; + }; + }; + port@1 { + reg = <1>; + }; + }; + }; + +... -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Biju Das <biju.das.jz@bp.renesas.com> To: Biju Das <biju.das.jz@bp.renesas.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Jacopo Mondi <jacopo.mondi@ideasonboard.com>, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Fabrizio Castro <fabrizio.castro.jz@renesas.com>, Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>, Biju Das <biju.das.au@gmail.com>, Rob Herring <robh@kernel.org> Subject: [PATCH v15 1/5] dt-bindings: display: Document Renesas RZ/G2L DU bindings Date: Tue, 28 Nov 2023 10:51:25 +0000 [thread overview] Message-ID: <20231128105129.161121-2-biju.das.jz@bp.renesas.com> (raw) In-Reply-To: <20231128105129.161121-1-biju.das.jz@bp.renesas.com> The RZ/G2L LCD controller is composed of Frame Compression Processor (FCPVD), Video Signal Processor (VSPD), and Display Unit (DU). The DU module supports the following hardware features − Display Parallel Interface (DPI) and MIPI LINK Video Interface − Display timing master − Generates video timings − Selecting the polarity of output DCLK, HSYNC, VSYNC, and DE − Supports Progressive − Input data format (from VSPD): RGB888, RGB666 − Output data format: same as Input data format − Supporting Full HD (1920 pixels x 1080 lines) for MIPI-DSI Output − Supporting WXGA (1280 pixels x 800 lines) for Parallel Output This patch documents the DU module found on RZ/G2L LCDC. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> --- v14->v15: * No change. v13->v14: * No change. v12->v13: * No change. v11->v12: * Dropped quotes in ref handle for renesas,vsps property. * Retained tags as it is trivial change. v10->v11: * No change v9->v10: * Added Rb tag from Laurent * Updated the commit description. * Updated description of the port by dropping the text "specified in Documentation/devicetree/bindings/graph.txt." * Dropped empty endpoint from example. v8->v9: * No change v7->v8: * No change v6->v7: * No change v5->v6: * No change. v4->v5: * Added Rb tag from Rob. v3->v4: * Changed compatible name from renesas,du-r9a07g044->renesas,r9a07g044-du * started using same compatible for RZ/G2{L,LC} v3: New patch --- .../bindings/display/renesas,rzg2l-du.yaml | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml diff --git a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml new file mode 100644 index 000000000000..c0ad194c538d --- /dev/null +++ b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml @@ -0,0 +1,121 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/renesas,rzg2l-du.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/G2L Display Unit (DU) + +maintainers: + - Biju Das <biju.das.jz@bp.renesas.com> + - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> + +description: | + These DT bindings describe the Display Unit embedded in the Renesas RZ/G2L + and RZ/V2L SoCs. + +properties: + compatible: + enum: + - renesas,r9a07g044-du # RZ/G2{L,LC} + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Main clock + - description: Register access clock + - description: Video clock + + clock-names: + items: + - const: aclk + - const: pclk + - const: vclk + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + description: | + The connections to the DU output video ports are modeled using the OF + graph bindings. The number of ports and their assignment are + model-dependent. Each port shall have a single endpoint. + + patternProperties: + "^port@[0-1]$": + $ref: /schemas/graph.yaml#/properties/port + unevaluatedProperties: false + + required: + - port@0 + + unevaluatedProperties: false + + renesas,vsps: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + items: + - description: phandle to VSP instance that serves the DU channel + - description: Channel index identifying the LIF instance in that VSP + description: + A list of phandle and channel index tuples to the VSPs that handle the + memory interfaces for the DU channels. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + - power-domains + - ports + - renesas,vsps + +additionalProperties: false + +examples: + # RZ/G2L DU + - | + #include <dt-bindings/clock/r9a07g044-cpg.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + + display@10890000 { + compatible = "renesas,r9a07g044-du"; + reg = <0x10890000 0x10000>; + interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>, + <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>, + <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>; + clock-names = "aclk", "pclk", "vclk"; + resets = <&cpg R9A07G044_LCDC_RESET_N>; + power-domains = <&cpg>; + + renesas,vsps = <&vspd0 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + endpoint { + remote-endpoint = <&dsi0_in>; + }; + }; + port@1 { + reg = <1>; + }; + }; + }; + +... -- 2.25.1
next prev parent reply other threads:[~2023-11-28 10:51 UTC|newest] Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-11-28 10:51 [PATCH v15 0/5] Add RZ/{G2L,G2LC} and RZ/V2L Display Unit support Biju Das 2023-11-28 10:51 ` Biju Das 2023-11-28 10:51 ` Biju Das [this message] 2023-11-28 10:51 ` [PATCH v15 1/5] dt-bindings: display: Document Renesas RZ/G2L DU bindings Biju Das 2023-11-28 10:51 ` [PATCH v15 2/5] dt-bindings: display: renesas, rzg2l-du: Document RZ/V2L " Biju Das 2023-11-28 10:51 ` [PATCH v15 2/5] dt-bindings: display: renesas,rzg2l-du: " Biju Das 2023-11-28 10:51 ` [PATCH v15 3/5] drm: renesas: Add RZ/G2L DU Support Biju Das 2023-11-28 10:51 ` Biju Das 2023-12-13 15:47 ` Maxime Ripard 2023-12-13 15:47 ` Maxime Ripard 2023-12-13 15:48 ` Maxime Ripard 2023-12-13 15:48 ` Maxime Ripard 2023-12-13 15:50 ` Laurent Pinchart 2023-12-13 15:50 ` Laurent Pinchart 2023-12-13 16:11 ` Geert Uytterhoeven 2023-12-13 16:11 ` Geert Uytterhoeven 2023-12-13 16:46 ` Biju Das 2023-12-13 16:46 ` Biju Das 2023-12-14 15:24 ` Biju Das 2023-12-14 15:24 ` Biju Das 2023-12-14 18:35 ` Biju Das 2023-12-14 18:35 ` Biju Das 2023-12-14 20:50 ` Biju Das 2023-12-14 20:50 ` Biju Das 2023-12-15 7:47 ` Biju Das 2023-12-15 7:47 ` Biju Das 2023-12-15 9:24 ` Maxime Ripard 2023-12-15 9:24 ` Maxime Ripard 2023-12-15 11:19 ` Biju Das 2023-12-15 11:19 ` Biju Das 2023-12-15 9:22 ` Maxime Ripard 2023-12-15 9:22 ` Maxime Ripard 2023-12-15 10:23 ` Maxime Ripard 2023-12-15 10:23 ` Maxime Ripard 2023-12-15 11:37 ` Biju Das 2023-12-15 11:37 ` Biju Das 2023-12-15 12:58 ` Maxime Ripard 2023-12-15 12:58 ` Maxime Ripard 2023-12-15 13:52 ` Biju Das 2023-12-15 13:52 ` Biju Das 2023-12-15 14:18 ` Maxime Ripard 2023-12-15 14:18 ` Maxime Ripard 2023-12-15 14:55 ` Biju Das 2023-12-15 14:55 ` Biju Das 2023-12-15 14:58 ` Biju Das 2023-12-15 14:58 ` Biju Das 2024-01-04 14:17 ` Biju Das 2024-01-04 14:17 ` Biju Das 2024-01-10 19:38 ` Laurent Pinchart 2024-01-10 19:38 ` Laurent Pinchart 2024-01-11 9:31 ` Biju Das 2024-01-11 9:31 ` Biju Das 2023-12-15 14:19 ` Biju Das 2023-12-15 14:19 ` Biju Das 2023-12-15 14:23 ` Maxime Ripard 2023-12-15 14:23 ` Maxime Ripard 2023-12-15 14:42 ` Biju Das 2023-12-15 14:42 ` Biju Das 2023-12-15 13:25 ` Biju Das 2023-12-15 13:25 ` Biju Das 2023-12-15 14:24 ` Maxime Ripard 2023-12-15 14:24 ` Maxime Ripard 2024-01-04 14:34 ` Biju Das 2024-01-04 14:34 ` Biju Das 2024-01-10 16:14 ` Maxime Ripard 2024-01-10 16:14 ` Maxime Ripard 2024-01-10 17:58 ` Laurent Pinchart 2024-01-10 17:58 ` Laurent Pinchart 2023-11-28 10:51 ` [PATCH v15 4/5] MAINTAINERS: Update entries for Renesas DRM drivers Biju Das 2023-11-28 10:51 ` Biju Das 2023-11-28 11:05 ` Geert Uytterhoeven 2023-11-28 11:05 ` Geert Uytterhoeven 2023-11-28 10:51 ` [PATCH v15 5/5] MAINTAINERS: Create entry for Renesas RZ " Biju Das 2023-11-28 10:51 ` Biju Das 2023-12-11 12:10 ` [PATCH v15 0/5] Add RZ/{G2L, G2LC} and RZ/V2L Display Unit support Biju Das 2023-12-11 12:10 ` [PATCH v15 0/5] Add RZ/{G2L,G2LC} " Biju Das 2024-02-21 16:24 ` Maxime Ripard
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231128105129.161121-2-biju.das.jz@bp.renesas.com \ --to=biju.das.jz@bp.renesas.com \ --cc=airlied@gmail.com \ --cc=biju.das.au@gmail.com \ --cc=conor+dt@kernel.org \ --cc=daniel@ffwll.ch \ --cc=devicetree@vger.kernel.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=fabrizio.castro.jz@renesas.com \ --cc=geert+renesas@glider.be \ --cc=jacopo.mondi@ideasonboard.com \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=laurent.pinchart+renesas@ideasonboard.com \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=maarten.lankhorst@linux.intel.com \ --cc=magnus.damm@gmail.com \ --cc=mripard@kernel.org \ --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \ --cc=robh+dt@kernel.org \ --cc=tzimmermann@suse.de \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.