Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2445952pxu; Mon, 7 Dec 2020 06:54:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkspD1kuESchs/2IzM3wGbtHfhBzvtc/W79eAhrHLP68HrpnddI+whimGkT5BD7NeU+CnR X-Received: by 2002:a50:fd88:: with SMTP id o8mr20550111edt.386.1607352874838; Mon, 07 Dec 2020 06:54:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607352874; cv=none; d=google.com; s=arc-20160816; b=knyDreutvmVYXgWryphtdrwgU3p/h7kz/Xyq8OOJ6J0z6OQzf8cvl9BQVgXZodsZOR AiVrkscAge2AzkABwqogUwZ3bcK6ln0YsrlbP6RdXFWH8CWHab462BJspvCoAHAeobY1 OVFUdGOaRaeJqLbn89j/LIFk3Ob6emybZiuwvBFB2ywyBTmFAay8wTEUFgskfZ43CjvB habGe0SkPb29790KflvHWLvyqs90fcDyPlkw9kr3dLhx5MzlBOBT9AQByyIR8fREM4NV QzLGc7M1E1LiPKF8U50cR/+w6OD/FGM7i5KDTS21BFmtVdCumlm+DpGBTJoWcjBsNoDr lgzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=Q+XDWKoV9MHFRTeqn/T5sJtop0zObfyxbDEIDUOub8M=; b=lBfT3hYyNRbnIWejYWGzPHpYp2NTyr4bNkO9xARSOJd9bH2eHktgZFfclJudZqvRE6 l13jKli1bRp5VEupSTJxiHYAmfCIWtq63+F5hudm6jwftfgTggZoFpxWzw38QA4aKCGx NPoNZ1ybZtAQBCT+ara4nLlS6hbXdZtJWlQM6xEA7L6LY44eQWx4YNZHhad5RtpSpZBl FHlBbdIqsS2cZMVJHZvoObBci5ieYwnAwPpLws3lYSW3STFcOGCZxXZ16W805twc4q77 5UwX9kGs2T+jR/gSNYWn9NOmHpD8Yjm/QtggNZJtL0bzU2c69PJXULWyi1qP5gh4AOrZ YviA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="a/t4WS+U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id hh17si7070755ejb.687.2020.12.07.06.54.11; Mon, 07 Dec 2020 06:54:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="a/t4WS+U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727022AbgLGOv1 (ORCPT + 99 others); Mon, 7 Dec 2020 09:51:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727010AbgLGOv0 (ORCPT ); Mon, 7 Dec 2020 09:51:26 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 694A1C061391; Mon, 7 Dec 2020 06:50:46 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id c79so10206592pfc.2; Mon, 07 Dec 2020 06:50:46 -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=Q+XDWKoV9MHFRTeqn/T5sJtop0zObfyxbDEIDUOub8M=; b=a/t4WS+UXOw4MusT8Kq3gn+Q4qwCLdI2ylQZsJMGgBF0XZuzKhh8A15IpnvNQEhmBf Jhch1zQqElf55Tv5lPhAWTwz4I7y95mdSxihEPRl3212uZU8JG+ibZBx2VHu17V9mmsv Z6z9RcCgA7yH/tklZLuiR3JM2mYlh7kLuC2BkwCgalqmYnTRCWZcTMmgiUQkZFE7uAn7 kA9H4D8+jZ/O7aPn/V8B2xTpNVeV+dwXXThZxUvLQ2UEFl9c+ExBeG1ZiuN+WkonXCyX MimL/5K0bdb9qX2EswgHkdTxvclM7mCLpMUkR+ZPT9x6YAFjj/uVVdzDc6zuw8aOvmIn kJyQ== 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=Q+XDWKoV9MHFRTeqn/T5sJtop0zObfyxbDEIDUOub8M=; b=fvCpEVf9gUFzF+GYNT7qWCH+f47M4sCpNDRfQ11X7++28kFgeCh6O9DMQoqC6MlGPZ +NFCw1pw9H2Nfk5zfTeLhoE2WCGRvTiy4o+IV/QYijW1eL8yHrQGWXnwtytl9WEsmMnG oxzf4VXhtMw0qaTAe8ISejdstByLrmmnwpoK59mrPfUBXTlK3VNAlcC+cYx9UIfQos5b TyNYVHT5IXdoMUJpEvcKqAdXg6tk1Q6MbYnUOx7yShVODNj8UME5ULyALqrQlWIe2CWu brE40kImYlWRjYUjbzEzkGyUpVZHkDsJUOto5yt99tsQndCbE8Y9YY7wcm0ycags2xKm 7NxQ== X-Gm-Message-State: AOAM530WIX4IKMqkQfumcw/Z8WWtk21aJTpNBSrvTc9QSV7qRabbFuGQ NaPCTfKadfBTWcnWaHvYExQVy1ikSmJI6A== X-Received: by 2002:a05:6a00:1684:b029:18b:665e:5211 with SMTP id k4-20020a056a001684b029018b665e5211mr16718994pfc.20.1607352646011; Mon, 07 Dec 2020 06:50:46 -0800 (PST) Received: from nj08008nbu.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id u25sm10360249pgl.68.2020.12.07.06.50.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Dec 2020 06:50:45 -0800 (PST) From: Kevin Tang To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com, kevin3.tang@gmail.com Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v1 3/6] dt-bindings: display: add Unisoc's dpu bindings Date: Mon, 7 Dec 2020 22:50:23 +0800 Message-Id: <1607352626-26088-4-git-send-email-kevin3.tang@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1607352626-26088-1-git-send-email-kevin3.tang@gmail.com> References: <1607352626-26088-1-git-send-email-kevin3.tang@gmail.com> 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: Chunyan Zhang Signed-off-by: Kevin Tang --- .../bindings/display/sprd/sprd,sharkl3-dpu.yaml | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml diff --git a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml new file mode 100644 index 0000000..a9052e1 --- /dev/null +++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml @@ -0,0 +1,83 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Unisoc Sharkl3 Display Processor Unit (DPU) + +maintainers: + - Kevin Tang + +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: + maxItems: 1 + description: A phandle to DPU power domain node. + + iommus: + maxItems: 1 + 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@63000000 { + compatible = "sprd,sharkl3-dpu"; + reg = <0x63000000 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