Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp176762ybg; Tue, 28 Jul 2020 03:09:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzIgYvdpyNwzVWsV6bfVuzJguMG4Git6+9wRf6s/AuzVAeK66EHrkljC6PVg2LPBZWxx6m X-Received: by 2002:a17:906:817:: with SMTP id e23mr23488030ejd.203.1595930954498; Tue, 28 Jul 2020 03:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595930954; cv=none; d=google.com; s=arc-20160816; b=eECMQ42m5gWP3VVK6mo2x7LFRUSqME0TjatwNMNe++Ew/6qSWAuYJ3l0+j8+ful5Tj Bf2/NxlxSaoMetAg0qPZoE68pcvb4TzE7ef00Sr4YAHpWn3PUx0VzBAyNFq36Vutz2ZD P43VqcdiZ6NX6sI+Q7Zeu0es1hOkewHGu5RrWE7qbB2CLnN7sF0L39GQwZ6OhoBnu775 BxTtEILjwMAejifMTkioQH2xWpGfECQw/JPkJo7Lv2/25Et1sokirXuXDkdMTjOfZwLi y6MwRBZkvB99T1ipnCDa5sGPv29uzBHibWwCiCs5rPxTQnWL7JHxgBOMwNTl/kdKDnfJ s11g== 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=9stfAM+ZdeHh3qDD2ZttFiTlZK9f5XlMjB7C2Y230oQ=; b=et7H6ZcGjO6Sy0UHN5mzyGoKpr/W4X987HLGDRNYokrMCfOHIU+Gkp3JfkvKGnhrD3 /PXfHRtkXsOXeg1zaUpkoxXmrbLPoCjGVWEM3d2EJroHZWiaTjkyEtIZTKRfjSMo3u4i 62k1PII7gA86qbT4XcaoBsHBaacPJ3nABVjC/Ndxqq9vaYJRbE+h9CQmOjXfo6+xDBoQ nz451CEQI2+B0Nd9R4X9CrIw6pokpMBKd0/sXOW9a56uR1ZprkWbrTBNB6S3QKhU9R4M NC83DXtRGZNPdtWrkMhWwGujl6J/Re/DuJk/w7HiIA9laptOZS5/uGtdGJX22v56bnHL FhXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IlCrX5i3; 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 y16si7653662ejk.128.2020.07.28.03.08.52; Tue, 28 Jul 2020 03:09:14 -0700 (PDT) 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=IlCrX5i3; 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 S1728579AbgG1KIS (ORCPT + 99 others); Tue, 28 Jul 2020 06:08:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728306AbgG1KIQ (ORCPT ); Tue, 28 Jul 2020 06:08:16 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA843C061794 for ; Tue, 28 Jul 2020 03:08:16 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id lw1so2520533pjb.1 for ; Tue, 28 Jul 2020 03:08:16 -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; bh=9stfAM+ZdeHh3qDD2ZttFiTlZK9f5XlMjB7C2Y230oQ=; b=IlCrX5i3kdsGXTRcTZEioU2wTVLe2QnYkzgYUSvcAqajkHC6du/RlolyPjSYi+1tGT bLy+oro58RsI/QMLRKJDDDdfTgTNYk9yTQ4rWqf0SqdKKVaC5Oz4/YPbZx1UQtfe5Hus ucKHTB3moUk2x76laFxN6Ol0+CZszRS8rMcCe9OPgBi4URomdBNfcJn1s35xo/N5FugY awzGx7Q2FO/fy8cGMcN74eUZ5Ay0dfPj9bYjy5Y0QCFnR80bqxsBMSDWHc2Ba0MvXHXb +21d7C5VfIMi17Ay55F37OxtxAbIuu3JXAlv4RUbST4wM8zQLwM+yzmaNt+i3Iub4Dcp PsUQ== 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=9stfAM+ZdeHh3qDD2ZttFiTlZK9f5XlMjB7C2Y230oQ=; b=OlSiysaHRp8MhUFoTE+KaFjNU8fZSi7ZsGACmys3qM9A81zs+vFtFhvxh9TvopAsAC FEuDt9maOa4BmNHlaDWvNBWjmzE6Fv23isr84okaVdm7x4PaUa0p56USTFxWp+p4jYml oWihTecYfqYIR6ciX09ouTUO3g/ZDZP9z9ovFY90ZHs9ZWJ+7SSZ6pByuXTyc6Z0l65K tvhaWm24CydbhnurJ/Un0XAFBGfvK6mlH5xS1/FE+KGZ+gjfGVRr1f5brH8yPa/wiktu xIwAUFMlddAm6q3tX3ePInuTMHJpZIY+AvoQ8LmyN9SARrNVpsDLahdUKFVD0Pit5xTO hdPg== X-Gm-Message-State: AOAM530x7TzTwDGeLQye4X7wG1aKho4ZTR0kufMLQQhKCebeMh8q+1iD 7SMHbap3SXYfejuD+NPe1Jc= X-Received: by 2002:a17:90a:eb17:: with SMTP id j23mr3532882pjz.151.1595930896191; Tue, 28 Jul 2020 03:08:16 -0700 (PDT) Received: from nj08008nbu.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id e76sm1704593pfh.108.2020.07.28.03.08.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2020 03:08:15 -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 Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH RFC v6 3/6] dt-bindings: display: add Unisoc's dpu bindings Date: Tue, 28 Jul 2020 18:07:56 +0800 Message-Id: <1595930879-2478-4-git-send-email-kevin3.tang@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1595930879-2478-1-git-send-email-kevin3.tang@gmail.com> References: <1595930879-2478-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: Chunyan Zhang Signed-off-by: Kevin Tang --- .../devicetree/bindings/display/sprd/dpu.yaml | 82 ++++++++++++++++++++++ 1 file changed, 82 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..54ba9b6f --- /dev/null +++ b/Documentation/devicetree/bindings/display/sprd/dpu.yaml @@ -0,0 +1,82 @@ +# 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: + - 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