Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2802101pxk; Sun, 27 Sep 2020 23:32:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOpR2SSnXgz7w6Mw2bwzlsl+t5CKAAepf9LlDIeuza8tXmUOYQZpp179+++XWvjLz1RoQX X-Received: by 2002:a17:907:213b:: with SMTP id qo27mr187289ejb.441.1601274721781; Sun, 27 Sep 2020 23:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601274721; cv=none; d=google.com; s=arc-20160816; b=QHvsgdBw5JIVjyvVbgroWt4b99wbtvYs2G9sNw4AFYeYNDtJqmxwgHizm7HRqRDGnF vUmh6PFMwxmFAIt7yHR08demQdm+rxy+kS3rMfN0wbYhr1CZPD6Zf0g6ezfi7HQHi4DN RLV1cbVjBdiI8peX7+nXDS3UWwsNsyeVwyfjdipsdxCX2DOfxmlEfbypiawpI0FYluJF kg3pY98IHHN4U0ahU7jOOcfBnzzO/jZDO/nj+QbMIOp6JLeOOTqIBY4AUMxYrcjVe6X+ E/ALT9rR3w5Ur9wjhrcNer2zvGFSyioJ9Bz8c+2IE0Bgc9vyccUwbRJDeztLHxbEDpsq hHNw== 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=dpkNk9YltVAY63g2nofiwaj/byf6XXtmodzYhSGCnXs=; b=HzzYLuERf52bnZ0NrU+Z6wZMLMz43SWBptf+6amPGhYi6Wop8PU9TYG9hqWwC/PS9n l+8wNJXsUfBviN+Ot5OyHVHNIgZS3juHorwV99lNZcruMi+mGY+RQpYNsRoz5Tjx9QyQ NzATQ1D5BW2pj9tYkh06wPBr2XxxLpGae3L1tvXz4kXeqScmylTFR3MtStndX2j/vcKp AkCWSj/T+3ulH+eMqpSkF+57Dgpi2Uo/ZS6vmHBuai3t2VE3scRSgneb12FESU/M1h4s DF3p3btfBU2MXhMA92lsDtF/4oA0mx6M2l8FtHl6Zb377vxFaV/BWZfyp+fnmT+A6A8t OPLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AcuW8gR2; 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 f6si7564740edj.365.2020.09.27.23.31.39; Sun, 27 Sep 2020 23:32:01 -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=AcuW8gR2; 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 S1726588AbgI1G2C (ORCPT + 99 others); Mon, 28 Sep 2020 02:28:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725290AbgI1G2B (ORCPT ); Mon, 28 Sep 2020 02:28:01 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8853C0613CE for ; Sun, 27 Sep 2020 23:28:01 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id q4so21530pjh.5 for ; Sun, 27 Sep 2020 23:28:01 -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=dpkNk9YltVAY63g2nofiwaj/byf6XXtmodzYhSGCnXs=; b=AcuW8gR2SnqEkikx4G6DRGDvFTTkSsUu53QPV1fLpLYX/bPpffiOiSg0fzP6EPu+hp 9+NaLvDTXj23Vig48QrgYFJN+RgB3cxQSfRfuQuqxjrUI190O6g2jPnkjxAOy6cSs0N/ wfmuwsurlupReYN1Vvdx59xbyphKWrHqoLPjl0uQWKxfeYH/aTpP0gXaxW5KUaD1hbFr E1zw47XKvxyKpFHW8GhLnJtrddYV501wKjFfF3dYVcuIjCRSRyg218UzHjhfZGBomPdr LHk/68mH4WVv5PaXUleP0npTjxwwO2qfFviClaAxsPHMj7OzPAnivt9MWfgquZM/wDxH ZxgQ== 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=dpkNk9YltVAY63g2nofiwaj/byf6XXtmodzYhSGCnXs=; b=p38M9Q/5N4iGAom94/tasXc5Zadbp4ioC/shDwFru9GMvy3oVFR0U18tka0zPKDl2y 9QufzC8fbc/BfRcFEJ1nAaaneF+s1g74z/diHq+cv/julDBAUm3JK+NEanEaRVfI1lgE Y4+zcUJ9pnFg3ez31F3xoxtld0W10X1LxxskdMZd3BOc2tzw6qCSzR3gc/eLeIq62Sbv kmPWyf83erOf/VZyMMM1T3NcQJyQuqcMAGU0To5O5p1TRamhKG2QEFKS4UztDj7OHz2Y VHDnykbTNTbBVFOtVS+CExEE72YhQjVEI8mK+wjm8qD7Fe9sLpe3Jzt+b9LYdSkTWxRK /WGw== X-Gm-Message-State: AOAM532rOfUAF6BSyY62wW9LVo3cNJOj6jlU5W8WNWd4tMRJumfBLjvS 2Q+xcACNOyxFs9YCByhx/zM= X-Received: by 2002:a17:90a:ba06:: with SMTP id s6mr6020pjr.13.1601274481241; Sun, 27 Sep 2020 23:28:01 -0700 (PDT) Received: from nj08008nbu.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id il14sm5712509pjb.54.2020.09.27.23.27.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Sep 2020 23:28:00 -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 v7 3/6] dt-bindings: display: add Unisoc's dpu bindings Date: Mon, 28 Sep 2020 14:27:37 +0800 Message-Id: <1601274460-7866-4-git-send-email-kevin3.tang@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1601274460-7866-1-git-send-email-kevin3.tang@gmail.com> References: <1601274460-7866-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. RFC v7: - Fix DTC unit name warnings - Fix the problem of maintainers 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