Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3457646ybl; Tue, 21 Jan 2020 00:52:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwVBUg8CCY7jBLOSZTY/QxcuAL5LmjkYPiLEPVI3SIqXlC+MDpBhqpVy04psF6/HrUFt8Mg X-Received: by 2002:aca:c68f:: with SMTP id w137mr2235371oif.179.1579596760271; Tue, 21 Jan 2020 00:52:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579596760; cv=none; d=google.com; s=arc-20160816; b=LTNjfvN8ARlxNgHkegzgWtkQuczmOU7rYDYWvTw93TVDcxZgWV4psSMtD/xv+LJNXQ bh34g5fplOmFCe37JF1apP2MsakSBwv6IIITBMHPLuWvI1p9tVL+ZhcFVEm/S9hAC3sB U54ieMKJulqmf4tg1l+aUdy50WW46NQQ/3M6WYC5iRZWTd49MV/MOS1JWITSVYvVaMQT a+QE93L7sbUYFD5lDNIuGSSffBJxxuieUdMoudLqOhANjTaDu8XG9LIBoJVrYbtWvBUC C/i26q1hlg/Ibu35gSXQ1XZRfMrkzByq2taRCmqhRBv9kgr+X6E6oYICq0ksKyHbDRZJ hqvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=9s/89tFhK8CsKwuJAyzex+lyypM4LteBbs7SvUHMAY4=; b=CeZoc3wxezZSBsydDFf03F9PK84oLk/WtpJ/kKIQb7mKltEqQMMEBMXMF6vstM75w2 wixifQ63geNrf5CH1xdxwkZcv3yB50Aj6ghGWiBXcvp+222AM9inUu0cQJ5iime6bLvW vRMxkjxBCKRvAOft4SrEsjbtkrdlNkQS0/siJJC2eDjXQRsm0kWwWLa1hCo9yrB4hJdR LfW6/yYGjCgETVSbpaoeQZhAfnI5sou8E7gtTp2BKit2ZGb6fk0pfGhTbFKNSSejdqrq pSX7IeBmbsrpJWfy1c0XZooel3r4+b8bYXlUiq4Ouy/0jvP36cqvtALdb7SHeQ1JYpnt waDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tt8utxli; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r202si19594454oie.247.2020.01.21.00.52.29; Tue, 21 Jan 2020 00:52:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tt8utxli; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729142AbgAUIvd (ORCPT + 99 others); Tue, 21 Jan 2020 03:51:33 -0500 Received: from mail-pg1-f176.google.com ([209.85.215.176]:35340 "EHLO mail-pg1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726920AbgAUIvc (ORCPT ); Tue, 21 Jan 2020 03:51:32 -0500 Received: by mail-pg1-f176.google.com with SMTP id l24so1121642pgk.2 for ; Tue, 21 Jan 2020 00:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9s/89tFhK8CsKwuJAyzex+lyypM4LteBbs7SvUHMAY4=; b=tt8utxlivBi46vyypQ0AjDfDNHASYlVHLEyQcJgCFQSxOaF/IGDxV1LRkt01PA94Md 0puZzgmn3/LFmAsdUmGqYVzAxl7CcHewfOB9ymG6nRJ9BwGI6t8HPYVBEfHZk8nRWiL1 ph2rdhKVTwbd9thyF+8D1Wsxfq9XNKFvFiG//DZj1bbT7l84HqhLcMuwpiEPHBlv2mjR LV3Q1e/Np98JnNa5o0rcVtnL/AXFKHmVonHZ/AK5tw0RfdBSmrCnoYXhAmM3PuVy8Yd2 RfnLw4gRxz9QzJGjAojzsLuW4V0i67+RGupWlCbFBjRhjcEPYSP1Bqv5ZNiiUf+CUmNT fw+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9s/89tFhK8CsKwuJAyzex+lyypM4LteBbs7SvUHMAY4=; b=quAqnhwiTGSvWzIbldPp+LtqhRBVE3wHrFopa6eFnmN3QgSkpXiYALjyq6mNEoljdu Qd4hw/N/4sdI11YYW+iS0wV5VUka/jVaoJiUC+nPpi9glJoAHMdDTchECgi4cqBEJLIp WGj4STGWA2iUz25CodTIQXpgyT5dm75HAm4UiwnmmcfGuxpPJBopfwbXI5olFT8uSJu/ mGEkXF9AjU5LmUhZvriZwiVryJQFCHVQSt/YiGSrTzuJdb6sZWnkZb6/aL5ckCPMZj10 9RpIeNpdeZoMtbyHnGB11Mcy3nJBpk0L/mCy2JdrbG9S8N1+yTAACB+NOw5U1j8gqgG7 30jQ== X-Gm-Message-State: APjAAAU07pfG5y3FkiG98qIlYJBXiUOPyojqweLQdgB798LwGAH+Sy1u dXsheaZSEtoHUTq/syTXlzQ= X-Received: by 2002:a62:e80a:: with SMTP id c10mr3438207pfi.91.1579596691547; Tue, 21 Jan 2020 00:51:31 -0800 (PST) Received: from nj08008nbu.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id 80sm42820957pfw.123.2020.01.21.00.51.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Jan 2020 00:51:31 -0800 (PST) From: Kevin Tang To: airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com, 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 v2 3/6] dt-bindings: display: add Unisoc's dpu bindings Date: Tue, 21 Jan 2020 16:50:59 +0800 Message-Id: <1579596662-15466-4-git-send-email-kevin3.tang@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1579596662-15466-1-git-send-email-kevin3.tang@gmail.com> References: <1579596662-15466-1-git-send-email-kevin3.tang@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kevin Tang 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 Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dpu.yaml | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/sprd/dpu.yaml diff --git a/Documentation/devicetree/bindings/display/sprd/dpu.yaml b/Documentation/devicetree/bindings/display/sprd/dpu.yaml new file mode 100644 index 0000000..7695d94 --- /dev/null +++ b/Documentation/devicetree/bindings/display/sprd/dpu.yaml @@ -0,0 +1,85 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/sprd/dpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Unisoc SoC Display Processor Unit (DPU) + +maintainers: + - David Airlie + - Daniel Vetter + - Rob Herring + - Mark Rutland + +description: | + 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. + +properties: + compatible: + const: sprd,sharkl3-dpu + + reg: + maxItems: 1 + description: + Physical base address and length of the DPU registers set + + interrupts: + maxItems: 1 + description: + The interrupt signal from DPU + + clocks: + minItems: 2 + + clock-names: + items: + - const: clk_src_128m + - const: clk_src_384m + + power-domains: + description: A phandle to DPU power domain node. + + iommus: + description: A phandle to DPU iommu node. + + port: + type: object + description: + A port node with endpoint definitions as defined in + Documentation/devicetree/bindings/media/video-interfaces.txt. + That port should be the output endpoint, usually output to + the associated DSI. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - port + +additionalProperties: false + +examples: + - | + #include + #include + dpu: dpu@0x63000000 { + compatible = "sprd,sharkl3-dpu"; + reg = <0x0 0x63000000 0x0 0x1000>; + interrupts = ; + clock-names = "clk_src_128m", + "clk_src_384m"; + + clocks = <&pll CLK_TWPLL_128M>, + <&pll CLK_TWPLL_384M>; + + dpu_port: port { + dpu_out: endpoint { + remote-endpoint = <&dsi_in>; + }; + }; + }; -- 2.7.4