From: Kevin Tang <kevin3.tang@gmail.com> To: airlied@linux.ie, daniel@ffwll.ch, kevin3.tang@gmail.com Cc: orsonzhai@gmail.com, baolin.wang@linaro.org, zhang.lyra@gmail.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH RFC 3/8] dt-bindings: display: add Unisoc's dpu bindings Date: Tue, 10 Dec 2019 16:36:30 +0800 [thread overview] Message-ID: <1575966995-13757-4-git-send-email-kevin3.tang@gmail.com> (raw) In-Reply-To: <1575966995-13757-1-git-send-email-kevin3.tang@gmail.com> From: Kevin Tang <kevin.tang@unisoc.com> DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai <orsonzhai@gmail.com> Cc: Baolin Wang <baolin.wang@linaro.org> Cc: Chunyan Zhang <zhang.lyra@gmail.com> Signed-off-by: Kevin Tang <kevin.tang@unisoc.com> --- .../devicetree/bindings/display/sprd/dpu.txt | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/sprd/dpu.txt diff --git a/Documentation/devicetree/bindings/display/sprd/dpu.txt b/Documentation/devicetree/bindings/display/sprd/dpu.txt new file mode 100644 index 0000000..25cbf8e --- /dev/null +++ b/Documentation/devicetree/bindings/display/sprd/dpu.txt @@ -0,0 +1,55 @@ +Unisoc SoC Display Processor Unit (DPU) +============================================================================ + +DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs +which transfers the image data from a video memory buffer to an internal +LCD interface. + +Required properties: + - compatible: value should be "sprd,display-processor"; + - reg: physical base address and length of the DPU registers set. + - interrupts: the interrupt signal from DPU. + - clocks: must include clock specifiers corresponding to entries in the + clock-names property. + - clock-names: list of clock names sorted in the same order as the clocks + property. + - dma-coherent: with this property, the dpu driver can allocate large and + continuous memorys. + - port: a port node with endpoint definitions as defined in document [1]. + +[1]: Documentation/devicetree/bindings/media/video-interfaces.txt. + +Optional Properties: + - iommus: a phandle to DPU iommu node. + - power-domains: a phandle to DPU power domain node. + + +Example: + +SoC specific DT entry: + + dpu: dpu@63000000 { + compatible = "sprd,display-processor"; + reg = <0x0 0x63000000 0x0 0x1000>; + interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "clk_src_128m", + "clk_src_153m6", + "clk_src_384m", + "clk_dpu_core", + "clk_dpu_dpi", + "clk_aon_apb_disp_eb"; + + clocks = <&clk_twpll_128m>, + <&clk_twpll_153m6>, + <&clk_twpll_384m>, + <&clk_dpu>, + <&clk_dpu_dpi>, + <&clk_aon_top_gates 2>; + + dma-coherent; + dpu_port: port { + dpu_out: endpoint { + remote-endpoint = <&dsi_in>; + }; + }; + }; \ No newline at end of file -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Kevin Tang <kevin3.tang@gmail.com> To: airlied@linux.ie, daniel@ffwll.ch, kevin3.tang@gmail.com Cc: orsonzhai@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, zhang.lyra@gmail.com, baolin.wang@linaro.org Subject: [PATCH RFC 3/8] dt-bindings: display: add Unisoc's dpu bindings Date: Tue, 10 Dec 2019 16:36:30 +0800 [thread overview] Message-ID: <1575966995-13757-4-git-send-email-kevin3.tang@gmail.com> (raw) In-Reply-To: <1575966995-13757-1-git-send-email-kevin3.tang@gmail.com> From: Kevin Tang <kevin.tang@unisoc.com> DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs which transfers the image data from a video memory buffer to an internal LCD interface. Cc: Orson Zhai <orsonzhai@gmail.com> Cc: Baolin Wang <baolin.wang@linaro.org> Cc: Chunyan Zhang <zhang.lyra@gmail.com> Signed-off-by: Kevin Tang <kevin.tang@unisoc.com> --- .../devicetree/bindings/display/sprd/dpu.txt | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/sprd/dpu.txt diff --git a/Documentation/devicetree/bindings/display/sprd/dpu.txt b/Documentation/devicetree/bindings/display/sprd/dpu.txt new file mode 100644 index 0000000..25cbf8e --- /dev/null +++ b/Documentation/devicetree/bindings/display/sprd/dpu.txt @@ -0,0 +1,55 @@ +Unisoc SoC Display Processor Unit (DPU) +============================================================================ + +DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs +which transfers the image data from a video memory buffer to an internal +LCD interface. + +Required properties: + - compatible: value should be "sprd,display-processor"; + - reg: physical base address and length of the DPU registers set. + - interrupts: the interrupt signal from DPU. + - clocks: must include clock specifiers corresponding to entries in the + clock-names property. + - clock-names: list of clock names sorted in the same order as the clocks + property. + - dma-coherent: with this property, the dpu driver can allocate large and + continuous memorys. + - port: a port node with endpoint definitions as defined in document [1]. + +[1]: Documentation/devicetree/bindings/media/video-interfaces.txt. + +Optional Properties: + - iommus: a phandle to DPU iommu node. + - power-domains: a phandle to DPU power domain node. + + +Example: + +SoC specific DT entry: + + dpu: dpu@63000000 { + compatible = "sprd,display-processor"; + reg = <0x0 0x63000000 0x0 0x1000>; + interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "clk_src_128m", + "clk_src_153m6", + "clk_src_384m", + "clk_dpu_core", + "clk_dpu_dpi", + "clk_aon_apb_disp_eb"; + + clocks = <&clk_twpll_128m>, + <&clk_twpll_153m6>, + <&clk_twpll_384m>, + <&clk_dpu>, + <&clk_dpu_dpi>, + <&clk_aon_top_gates 2>; + + dma-coherent; + dpu_port: port { + dpu_out: endpoint { + remote-endpoint = <&dsi_in>; + }; + }; + }; \ No newline at end of file -- 2.7.4 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-12-10 8:36 UTC|newest] Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-12-10 8:36 [PATCH RFC 0/8] Add Unisoc's drm kms module Kevin Tang 2019-12-10 8:36 ` Kevin Tang 2019-12-10 8:36 ` [PATCH RFC 1/8] dt-bindings: display: add Unisoc's drm master bindings Kevin Tang 2019-12-10 8:36 ` Kevin Tang 2019-12-13 9:42 ` Maxime Ripard 2019-12-13 9:42 ` Maxime Ripard 2019-12-10 8:36 ` [PATCH RFC 2/8] drm/sprd: add Unisoc's drm kms master Kevin Tang 2019-12-10 8:36 ` Kevin Tang 2019-12-10 10:32 ` Thomas Zimmermann 2019-12-10 10:32 ` Thomas Zimmermann 2019-12-10 12:38 ` tang pengchuan 2019-12-10 12:47 ` Thomas Zimmermann 2019-12-10 12:47 ` Thomas Zimmermann 2019-12-10 13:42 ` tang pengchuan 2019-12-11 3:00 ` tang pengchuan 2019-12-10 10:41 ` Daniel Vetter 2019-12-10 10:41 ` Daniel Vetter 2019-12-10 11:40 ` tang pengchuan 2019-12-10 16:06 ` Emil Velikov 2019-12-10 16:06 ` Emil Velikov 2019-12-10 22:01 ` Daniel Vetter 2019-12-10 22:01 ` Daniel Vetter 2019-12-10 8:36 ` Kevin Tang [this message] 2019-12-10 8:36 ` [PATCH RFC 3/8] dt-bindings: display: add Unisoc's dpu bindings Kevin Tang 2019-12-13 9:44 ` Maxime Ripard 2019-12-13 9:44 ` Maxime Ripard 2019-12-10 8:36 ` [PATCH RFC 4/8] drm/sprd: add Unisoc's drm display controller driver Kevin Tang 2019-12-10 8:36 ` Kevin Tang 2019-12-10 10:44 ` Thomas Zimmermann 2019-12-10 10:44 ` Thomas Zimmermann 2019-12-10 11:29 ` tang pengchuan 2019-12-10 11:32 ` tang pengchuan 2019-12-10 17:13 ` Emil Velikov 2019-12-10 17:13 ` Emil Velikov 2019-12-11 1:18 ` tang pengchuan 2019-12-11 11:46 ` Emil Velikov 2019-12-11 11:46 ` Emil Velikov 2019-12-10 8:36 ` [PATCH RFC 5/8] dt-bindings: display: add Unisoc's mipi dsi&dphy bindings Kevin Tang 2019-12-10 8:36 ` Kevin Tang 2019-12-13 9:46 ` Maxime Ripard 2019-12-13 9:46 ` Maxime Ripard 2019-12-10 8:36 ` [PATCH RFC 6/8] drm/sprd: add Unisoc's drm mipi dsi&dphy driver Kevin Tang 2019-12-10 8:36 ` Kevin Tang 2019-12-10 8:36 ` [PATCH RFC 7/8] dt-bindings: display: add Unisoc's generic mipi panel bindings Kevin Tang 2019-12-10 8:36 ` Kevin Tang 2019-12-13 9:48 ` Maxime Ripard 2019-12-13 9:48 ` Maxime Ripard 2019-12-10 8:36 ` [PATCH RFC 8/8] drm/sprd: add Unisoc's drm generic mipi panel driver Kevin Tang 2019-12-10 8:36 ` Kevin Tang 2019-12-10 18:54 ` [PATCH RFC 0/8] Add Unisoc's drm kms module Sam Ravnborg 2019-12-10 18:54 ` Sam Ravnborg 2019-12-12 14:29 ` tang pengchuan
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=1575966995-13757-4-git-send-email-kevin3.tang@gmail.com \ --to=kevin3.tang@gmail.com \ --cc=airlied@linux.ie \ --cc=baolin.wang@linaro.org \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=linux-kernel@vger.kernel.org \ --cc=orsonzhai@gmail.com \ --cc=zhang.lyra@gmail.com \ /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.