Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1638822ybv; Fri, 21 Feb 2020 00:47:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwg17Vaz4oavNUYsjzBfEXQEMRPkn06nPKzMz6w+Uo3v/mz06I0vpKd2pYYMwJhr5hlNac4 X-Received: by 2002:a9d:6a90:: with SMTP id l16mr25539852otq.353.1582274867987; Fri, 21 Feb 2020 00:47:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582274867; cv=none; d=google.com; s=arc-20160816; b=SIfMfmWntNGKKMSreqxT8vGP0C/h0YG2ORI2KjWqUAMbBF5MkweyEleWqxCYTIEj7+ SHVYV459oMO58QA3OpDbpIKTUw+bA0FxyL/lWNpDhOR7TY4TGWMi2o/1HPsT2W2rTw3q IpH9SoVgzrtfdH3DqMlE4hBS9ZavfOMtFvDsE7SU0XOUZpwQXpBz9gxILQsUwbz62f1d ffGHKXYJTZWINgCuCi7IhwwjrMHEguSpsKtUoujBI+5H84HdLddjwzyncBLMztnCKPIB UKqRu5JF+OR8de/usbvGoYUkWuFOl7JRIxG4aGMbsozXuFjwmJ+gJp3eABTha5NGLPHy cOjQ== 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=G+tVbjKOqnZ7GcfYH9y6sadkd0RrHZ8E6NzlHpd63GgmbVYQgEl4mSxavVh98VYdW6 W4r4sQrp1zm43Uz1tEAKTR29nCuygWtGhPEmqL7XmKxCi99xjQb+wzFuGJRn1KgY1FJD 6XZH18IMcFtgqnkRaR7mNDrc6vXZDMCOsi3t3wMiCapY0nvhqZIqkVHIY3WzXRXLY1T8 yx0nbMpXQmme9cYGF2Yu+9ECkMxKzfG4KpI45bT/I2DpR5aW+AhdohO+s2zUtH4mTPVG Awwiknje9hbT3jcAwcgTlwf1FAanYNCWoxInB1m0Z0pgAm4eA/Elpi7vuxSTiI7mee6j 9NFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FYeq5fRl; 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 q189si500490oic.235.2020.02.21.00.47.35; Fri, 21 Feb 2020 00:47:47 -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=FYeq5fRl; 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 S1729644AbgBUIrG (ORCPT + 99 others); Fri, 21 Feb 2020 03:47:06 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39061 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728993AbgBUHtP (ORCPT ); Fri, 21 Feb 2020 02:49:15 -0500 Received: by mail-pg1-f194.google.com with SMTP id j15so560114pgm.6 for ; Thu, 20 Feb 2020 23:49:14 -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=FYeq5fRl/qH/XEUZDrffiETx7mSYEoysXSDKfoCD8vugyXXzbaSVd1+NbJutdsIDFJ 6TRvVT4c3trRe5JdG9v2FnfceZrgA1E+fgzWlQaKKLydgSE2Jxq0jRZxbc5pSswPrl0q kqI5ccN7TYTfChx6xQXGx7dNPwzqD1X1fPFblfem1I5UAxtmYALsjsYpkwqXUVuazDvq P2DEtqOVy7pNW4fVc3dBNTO+WxPswVMzQiHebeysHi2iHu8qiadOc6A1s8r4RANg3yF8 nuf2jqREWcFkLO9xpoFj5e3EN6g0huypZW3dq6HxbjEttngfOCGDyh/ChEfHAGXuGcvF d5ew== 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=ToEKs+gWv3kduRVbTuB/87+6wPejKfZDb6RlFPvA0mWVutagn+6FvR783S8251VG+r wC5j5WtxR4rZhw9sFM+pcGcfAKJguyBWMf8//fkt33WdI3K59ThLkkx8Won1fcdHHt/s qN1AVfrM0HCrFqpmwWuiBWP1HeLdxWYwzUe0zFaTNju7BFhT+s0ioY19voUaYHbK10dc Jc1sdkh3YHZhWep+u1xcKeB1LFpJnTdx0PKDX5HXdLrfLshD3yOsA3AxQZBkEAL2esru KodMbMM8l24HaxGL6DAHKiCJOD18DUvW8FROJkCkg7eRpCUbKH0jkCMD6pYjgNsipKqY 6ulg== X-Gm-Message-State: APjAAAUwb2y1KGS8GuwbOrdgjOEndF7FGCRbV/V3dR2RkcTeK7QCR2+r wSr6UF8yRkDofWRPAW/ftS8= X-Received: by 2002:a62:18c9:: with SMTP id 192mr35752390pfy.117.1582271354610; Thu, 20 Feb 2020 23:49:14 -0800 (PST) Received: from nj08008nbu.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id d1sm1444653pgj.79.2020.02.20.23.49.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Feb 2020 23:49:14 -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 v3 3/6] dt-bindings: display: add Unisoc's dpu bindings Date: Fri, 21 Feb 2020 15:48:53 +0800 Message-Id: <1582271336-3708-4-git-send-email-kevin3.tang@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1582271336-3708-1-git-send-email-kevin3.tang@gmail.com> References: <1582271336-3708-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