From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC052C4338F for ; Fri, 13 Aug 2021 14:53:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B3739610CC for ; Fri, 13 Aug 2021 14:53:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240889AbhHMOxw (ORCPT ); Fri, 13 Aug 2021 10:53:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240925AbhHMOxs (ORCPT ); Fri, 13 Aug 2021 10:53:48 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACE6CC06129D; Fri, 13 Aug 2021 07:53:20 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id w6so5283885plg.9; Fri, 13 Aug 2021 07:53:20 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=k3VX3I7y9xb7wsw2EFMUi2KX7EoFTuOAW4MR3tKQ32Y=; b=W6dTLbS2kZ4IEaqFf5qQxhBorC51y4NKT0vystRq6gEP77e/wwqXPAYQhZ3Dd3PU3m p+/GxZgGj+07TRml06HBP/nRjzRe4TF5tnqyVZUVPQrhJh2JxQhdfVSlrH1/era6eg9+ 463RJGoWgEC+5K6SBfYWu5ahadZ9HIUQKalwSI7GamanDjiniex8QBa2EafK97WeQT5L C4eVTOTBCTRn8x2VAWx1wT3PDYxPC4BJfGxrLep61peGcYb3lxc4LER8ToxyZu2kunF5 qmWix9FrCfi7MwWiJx5HQb0u/+DVUnbJkdd7V+5wviLSJvKj32bE8AFbP6lg3UIYdPyI rKJQ== 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:mime-version:content-transfer-encoding; bh=k3VX3I7y9xb7wsw2EFMUi2KX7EoFTuOAW4MR3tKQ32Y=; b=kAjz7ABSyXvwnAdZ5/ebLG7GCD8xNkcTTy4AH8bo8Aybzq4UPvSQQLXz9B2pA8IHKs lK7NdDiQSJIGv3XaPMVQyXLkZMoULyMqD3cbGmQF0jidGsndv6cygYI9+te7xop3R8hS I9CFLumBMrbb04TV6uR7wKj0y8eCLeQzrrU9PzAqDK/vIJlK826ifO9tEyUFP1fL4DrH I4RKYN8zjCKuZpaGRp684m08LJSuKikIOrg6MCYbg2dLi5og9NXaIlTaUjdBv8MMRcX9 2qu1+uUaLcvSxmtqRlkxLD3tpW1h2nfA5+M8XzSI9PlslPLq1jgqWKVgc4n4dfRr/wEX Jrig== X-Gm-Message-State: AOAM532Eacwo3TM159gBJLDlp8G2j5B3wI+4/Ep+gqlcd6mUgroRHaoY bYjv2wnaMtPLTef0N5n8yQEaGtKUiRmg3Q== X-Google-Smtp-Source: ABdhPJw6wQsj4kt+smjAQRYch99Jnio62SXoFPayntKhJQ9/+Punvjmmuy86MWArbLpblmhFkOMTxw== X-Received: by 2002:a17:90a:7a89:: with SMTP id q9mr1884746pjf.122.1628866400252; Fri, 13 Aug 2021 07:53:20 -0700 (PDT) Received: from nj08008nbu.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id e12sm2524787pfc.214.2021.08.13.07.53.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Aug 2021 07:53:19 -0700 (PDT) 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, pony1.wu@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 v6 3/6] dt-bindings: display: add Unisoc's dpu bindings Date: Fri, 13 Aug 2021 22:52:59 +0800 Message-Id: <20210813145302.3933-4-kevin3.tang@gmail.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20210813145302.3933-1-kevin3.tang@gmail.com> References: <20210813145302.3933-1-kevin3.tang@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Rob Herring --- .../display/sprd/sprd,sharkl3-dpu.yaml | 77 +++++++++++++++++++ 1 file changed, 77 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 000000000..4ebea60b8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml @@ -0,0 +1,77 @@ +# 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 + + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + + clock-names: + items: + - const: clk_src_128m + - const: clk_src_384m + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + + 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.29.0