From patchwork Fri Jan 13 08:37:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100270 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7DBBEC54EBE for ; Fri, 13 Jan 2023 08:37:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B31E610E9C4; Fri, 13 Jan 2023 08:37:41 +0000 (UTC) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by gabe.freedesktop.org (Postfix) with ESMTPS id D18BC10E9AF for ; Fri, 13 Jan 2023 08:37:25 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id bf43so32115938lfb.6 for ; Fri, 13 Jan 2023 00:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PuuV5qgQd4Fgkeunhvdr07DY11Pz1HgjuVIDnSta5VY=; b=P3ZqPL8IERqprJ05nefCOxrXXsRbjfraaJ2J3K99BEf2yB8oBzWfpNaA2B4mZnmNzn boThwJ4e0ZPlg5XEFXMPoQIUXzackVVlWgduSmHKSppZdw2AMSL7d9RCHIROfPHbnIs/ BQsjmbZCuZ/axxau4qaHdj14j34JhpUYUwq+PkLIcw7I/0oNV84hpYGYB0CRwhUaFxlJ OZONd4vvv+lLr5l6zjmkazCI8a+rJbVyKnVCK6Q444NjygXHrXKaAi5OWxaqbY0o/Ksf +HYUvHh4FBuhiKjqtegDvC1fwo8u439ZLP3gIEXPmBtbNQbhY+a0D2G7uvJlB2r7A4ye T4tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PuuV5qgQd4Fgkeunhvdr07DY11Pz1HgjuVIDnSta5VY=; b=ZP5bkCcAGEQuPommpHjJuDyvEkWKu6iLExv6kFidlgVDwNcHe2KUJlOTqpsR9JTLoG 7cphyWBpCnHxNsBPIqFhBoMbcStvn4yZqMXyvWeqDdUycsC11eevhArO8+vBMaUydMsq x8e5qnFGBVvA3LVqXXhPE6yqCmSjsKW0S7LpI151c0hnkrYMnsoCnp+pxcOfGsxAsdy+ rM6l5BHeUymuMZAao35JXEg5UnY7dLBo4K6oKfMSg7UAF1ViZ7d6UsnzGkR45klfcAmU /ALhl+aZ8hJEChnO6iy+DPAcIDQ+L3Tc3tYsNTj4C76yCa4Q4/tfv5zepJnqb0XSxl5a x+iw== X-Gm-Message-State: AFqh2kps017kpn3Y/0yPnvodXrH5ygCoIbWMKQBNVWxdflHlU7meolw+ PcXCDUDgv94qSrnVTQbqOmkm6A== X-Google-Smtp-Source: AMrXdXv0o0M6JB3Tnt/2KB08GcXj7B7SyVfKrhhuoyFsml6j+I/UFUjTc9BEmuElMCq5Pw/hIjLuyA== X-Received: by 2002:a05:6512:12d5:b0:4d1:3b7c:286c with SMTP id p21-20020a05651212d500b004d13b7c286cmr327637lfg.41.1673599044067; Fri, 13 Jan 2023 00:37:24 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:23 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 01/11] dt-bindings: display/msm: convert MDP5 schema to YAML format Date: Fri, 13 Jan 2023 10:37:10 +0200 Message-Id: <20230113083720.39224-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert the mdp5.txt into the yaml format. Changes to the existing (txt) schema: - MSM8996 has additional "iommu" clock, define it separately - Add new properties used on some of platforms: - interconnects, interconnect-names - iommus - power-domains - operating-points-v2, opp-table Signed-off-by: Dmitry Baryshkov Reviewed-by: Rob Herring --- .../devicetree/bindings/display/msm/mdp5.txt | 132 ----------------- .../bindings/display/msm/qcom,mdp5.yaml | 138 ++++++++++++++++++ 2 files changed, 138 insertions(+), 132 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/msm/mdp5.txt create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml diff --git a/Documentation/devicetree/bindings/display/msm/mdp5.txt b/Documentation/devicetree/bindings/display/msm/mdp5.txt deleted file mode 100644 index 65d03c58dee6..000000000000 --- a/Documentation/devicetree/bindings/display/msm/mdp5.txt +++ /dev/null @@ -1,132 +0,0 @@ -Qualcomm adreno/snapdragon MDP5 display controller - -Description: - -This is the bindings documentation for the MDP5 display -controller found in SoCs like MSM8974, APQ8084, MSM8916, MSM8994 and MSM8996. - -MDP5: -Required properties: -- compatible: - * "qcom,mdp5" - MDP5 -- reg: Physical base address and length of the controller's registers. -- reg-names: The names of register regions. The following regions are required: - * "mdp_phys" -- interrupts: Interrupt line from MDP5 to MDSS interrupt controller. -- clocks: device clocks. See ../clocks/clock-bindings.txt for details. -- clock-names: the following clocks are required. -- * "bus" -- * "iface" -- * "core" -- * "vsync" -- ports: contains the list of output ports from MDP. These connect to interfaces - that are external to the MDP hardware, such as HDMI, DSI, EDP etc (LVDS is a - special case since it is a part of the MDP block itself). - - Each output port contains an endpoint that describes how it is connected to an - external interface. These are described by the standard properties documented - here: - Documentation/devicetree/bindings/graph.txt - Documentation/devicetree/bindings/media/video-interfaces.txt - - The availability of output ports can vary across SoC revisions: - - For MSM8974 and APQ8084: - Port 0 -> MDP_INTF0 (eDP) - Port 1 -> MDP_INTF1 (DSI1) - Port 2 -> MDP_INTF2 (DSI2) - Port 3 -> MDP_INTF3 (HDMI) - - For MSM8916: - Port 0 -> MDP_INTF1 (DSI1) - - For MSM8994 and MSM8996: - Port 0 -> MDP_INTF1 (DSI1) - Port 1 -> MDP_INTF2 (DSI2) - Port 2 -> MDP_INTF3 (HDMI) - -Optional properties: -- clock-names: the following clocks are optional: - * "lut" - * "tbu" - * "tbu_rt" - -Example: - -/ { - ... - - mdss: mdss@1a00000 { - compatible = "qcom,mdss"; - reg = <0x1a00000 0x1000>, - <0x1ac8000 0x3000>; - reg-names = "mdss_phys", "vbif_phys"; - - power-domains = <&gcc MDSS_GDSC>; - - clocks = <&gcc GCC_MDSS_AHB_CLK>, - <&gcc GCC_MDSS_AXI_CLK>, - <&gcc GCC_MDSS_VSYNC_CLK>; - clock-names = "iface", - "bus", - "vsync" - - interrupts = <0 72 0>; - - interrupt-controller; - #interrupt-cells = <1>; - - #address-cells = <1>; - #size-cells = <1>; - ranges; - - mdp: mdp@1a01000 { - compatible = "qcom,mdp5"; - reg = <0x1a01000 0x90000>; - reg-names = "mdp_phys"; - - interrupt-parent = <&mdss>; - interrupts = <0 0>; - - clocks = <&gcc GCC_MDSS_AHB_CLK>, - <&gcc GCC_MDSS_AXI_CLK>, - <&gcc GCC_MDSS_MDP_CLK>, - <&gcc GCC_MDSS_VSYNC_CLK>; - clock-names = "iface", - "bus", - "core", - "vsync"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - mdp5_intf1_out: endpoint { - remote-endpoint = <&dsi0_in>; - }; - }; - }; - }; - - dsi0: dsi@1a98000 { - ... - ports { - ... - port@0 { - reg = <0>; - dsi0_in: endpoint { - remote-endpoint = <&mdp5_intf1_out>; - }; - }; - ... - }; - ... - }; - - dsi_phy0: dsi-phy@1a98300 { - ... - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml new file mode 100644 index 000000000000..5e3cd7abf046 --- /dev/null +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml @@ -0,0 +1,138 @@ +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/msm/qcom,mdp5.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Adreno/Snapdragon Mobile Display controller (MDP5) + +description: + MDP5 display controller found in SoCs like MSM8974, APQ8084, MSM8916, MSM8994 + and MSM8996. + +maintainers: + - Dmitry Baryshkov + - Rob Clark + +properties: + compatible: + const: qcom,mdp5 + + reg: + maxItems: 1 + + reg-names: + items: + - const: mdp_phys + + interrupts: + maxItems: 1 + + clocks: + minItems: 4 + maxItems: 7 + + clock-names: + oneOf: + - minItems: 4 + items: + - const: iface + - const: bus + - const: core + - const: vsync + - const: lut + - const: tbu + - const: tbu_rt + #MSM8996 has additional iommu clock + - items: + - const: iface + - const: bus + - const: core + - const: iommu + - const: vsync + + interconnects: + minItems: 1 + items: + - description: Interconnect path from mdp0 (or a single mdp) port to the data bus + - description: Interconnect path from mdp1 port to the data bus + - description: Interconnect path from rotator port to the data bus + + interconnect-names: + minItems: 1 + items: + - const: mdp0-mem + - const: mdp1-mem + - const: rotator-mem + + iommus: + items: + - description: apps SMMU with the Stream-ID mask for Hard-Fail port0 + + power-domains: + maxItems: 1 + + operating-points-v2: true + opp-table: + type: object + + ports: + $ref: /schemas/graph.yaml#/properties/ports + description: > + Contains the list of output ports from DPU device. These ports + connect to interfaces that are external to the DPU hardware, + such as DSI, DP etc. MDP5 devices support up to 4 ports: + one or two DSI ports, HDMI and eDP. + + patternProperties: + "^port@[0-3]+$": + $ref: /schemas/graph.yaml#/properties/port + + # at least one port is required + required: + - port@0 + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + - ports + +additionalProperties: false + +examples: + - | + #include + #include + display-controller@1a01000 { + compatible = "qcom,mdp5"; + reg = <0x1a01000 0x90000>; + reg-names = "mdp_phys"; + + interrupt-parent = <&mdss>; + interrupts = <0>; + + clocks = <&gcc GCC_MDSS_AHB_CLK>, + <&gcc GCC_MDSS_AXI_CLK>, + <&gcc GCC_MDSS_MDP_CLK>, + <&gcc GCC_MDSS_VSYNC_CLK>; + clock-names = "iface", + "bus", + "core", + "vsync"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + endpoint { + remote-endpoint = <&dsi0_in>; + }; + }; + }; + }; +... From patchwork Fri Jan 13 08:37:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100264 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 377A2C61DB3 for ; Fri, 13 Jan 2023 08:37:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DC9C210E9AF; Fri, 13 Jan 2023 08:37:30 +0000 (UTC) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5701110E9AF for ; Fri, 13 Jan 2023 08:37:27 +0000 (UTC) Received: by mail-lf1-x132.google.com with SMTP id bp15so32089141lfb.13 for ; Fri, 13 Jan 2023 00:37:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iBWElJ3IO67Fk9CmbUWfHwt0KiBiWiS5gZEar60mfps=; b=g/+yuEL6fT4FmzQHSpsjF7hhcrvpH76maUTxBOx85ZRxdMFI+OoBFWsWvvXvmk+2+q axfl5cWEgQ8i5nzIaAZum4hgGIN2FOzdtTZpETk7ZQnM3LYcVcy6TfUj+oV0QfpA2057 ZNFGgeR2pb+qxuLqUbry3ggfcOizkomPTx5J8R7EqE1Rq5dUGhT91mX7cbnArnau4vBg 3RyLsOqGq/Eof9HonFjOxJpXYGK5U0QTRNtQzjA9YTdxjO3CS8czWlSbbkByGnmkVMtb VQbyHU5nqGlPW8a5eDbQfKmt/iACi8huK8+fjLASgJeAVER/iFc4yTL0yuh66vTRRL9w 3//Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iBWElJ3IO67Fk9CmbUWfHwt0KiBiWiS5gZEar60mfps=; b=hgQ6mQVMtww4b/YKU+84EbXg5KpPi4qi2R4BSGtJIu9NNUfj2S/ORAbwmWEB+XJLqb MmgYu5hUdAndlK5HQtHhoV5yFO7rCU7cN1zcEHmNPvc+0RKAsAGnj2cnTgOBhWkCzco8 bzDNPhG5iW+SE5u/tUE18ffx0/TSLxR92bblVZPcO1xveV2WPHUazwBaq8/IQGBv5PnG YlYsEiEMj0jQ63Tn7D4uidtGk6bX3fTj1I9axGtBv5nul9Y7WM1zkHOsnrD06OWtYKG8 2eDkMqnioJgJaF/R/BRM6ZgdZF1b31oy3reHDOi2TqpGFYh45n7/qvlnZByjIX7PCHXA kIbA== X-Gm-Message-State: AFqh2kq78sgAJqe3D7dh1e3K+OBtW3ZASQXW03Da34hO91YcCj63DR6y Q7pw5YrIieBS1UA2qtIHQUu5zg== X-Google-Smtp-Source: AMrXdXvhqdjho1hb0ITp61WnfeZYyLq21vI1S0xY0BraWfvdnKrO+ElBFknIu3FOaap+8aeu0jMcZA== X-Received: by 2002:a05:6512:400d:b0:4cc:79ed:782b with SMTP id br13-20020a056512400d00b004cc79ed782bmr7668534lfb.19.1673599045576; Fri, 13 Jan 2023 00:37:25 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:25 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 02/11] dt-bindings: display/msm: add SoC-specific compats to qcom, mdp5.yaml Date: Fri, 13 Jan 2023 10:37:11 +0200 Message-Id: <20230113083720.39224-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add platform-specific compatible entries to the qcom,mdp5.yaml to allow distinguishing between various platforms. Signed-off-by: Dmitry Baryshkov Reviewed-by: Rob Herring --- .../bindings/display/msm/qcom,mdp5.yaml | 17 ++++++++++++++++- .../bindings/display/msm/qcom,mdss.yaml | 6 +++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml index 5e3cd7abf046..cb7bf48c3a58 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml @@ -16,7 +16,22 @@ maintainers: properties: compatible: - const: qcom,mdp5 + oneOf: + - const: qcom,mdp5 + deprecated: true + - items: + - enum: + - qcom,apq8084-mdp5 + - qcom,msm8916-mdp5 + - qcom,msm8917-mdp5 + - qcom,msm8953-mdp5 + - qcom,msm8974-mdp5 + - qcom,msm8976-mdp5 + - qcom,msm8994-mdp5 + - qcom,msm8996-mdp5 + - qcom,sdm630-mdp5 + - qcom,sdm660-mdp5 + - const: qcom,mdp5 reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml index ba0460268731..dcde34ffc8d0 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml @@ -88,7 +88,11 @@ patternProperties: type: object properties: compatible: - const: qcom,mdp5 + oneOf: + - const: qcom,mdp5 + - items: + - {} + - const: qcom,mdp5 "^dsi@[1-9a-f][0-9a-f]*$": type: object From patchwork Fri Jan 13 08:37:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100266 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 19816C61DB3 for ; Fri, 13 Jan 2023 08:37:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2DCF110E9B9; Fri, 13 Jan 2023 08:37:38 +0000 (UTC) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by gabe.freedesktop.org (Postfix) with ESMTPS id ACB8210E9AF for ; Fri, 13 Jan 2023 08:37:28 +0000 (UTC) Received: by mail-lf1-x130.google.com with SMTP id bq39so32153147lfb.0 for ; Fri, 13 Jan 2023 00:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=s8TVxtJdg2h5XhTVxxFJGPtkt+HMuIyEWNXdD88o9m4=; b=WfLmaKYQeSGM9P6tgCLJkezq5ShsNyq9wnzM+A2likM44ed+GQUTQYYEBBoIu0t5P6 uY8ochmFRZy29qcuZsochkJkS9vHL+BnKXA6FO35ossjWLEDrM7/dtVmIf94epwLlu0W X52Fj2LdxeMD00uBC+c0TxFMdA/i+eGac9D8GQKLaGWILayk9VzMclTF3Sn7yHeW04F1 NafYhdiwGHm76sW2tdMk+77uDhjwCnIHgu4TcD3gnsJv9Dg0//+VfHpjEZB/c/NbT0QU ZT88012E52zl3ZQ7n/1wfuuwcekcFmeCtXwoNdP62AU/1tmcfOaPY0wxUTtU2DkMWzIV A1uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s8TVxtJdg2h5XhTVxxFJGPtkt+HMuIyEWNXdD88o9m4=; b=U3YFXafTDTWDZ8WrpTC3wH+AmVH1EhEJFoJ8mski9b1WBY5RLksQFKvfEq+lQiNOB6 u57C+0bi5EgtIK2WF0DeKmVZvefrSkTJsFTzfo+s3MgqwMOsACjyFloCe85M50QmaQKH aActOqYO674lPcggNwfUIqxCA4wdh53g+47q602Gdn5+5UOwX5vFsmvIkIKraxvQvXhE 16BZ0X9bpxalpybPw20h+MabqGsLBsgN5bs8cqsTeEoKqyPgtzgNdoadLst1Uj2Uhfj0 c9gBtlUX/STMFPOo2PNDyDghfJonEXKjUug1FvoiX4VEG/OX6E6deRv+435i6VTEtPuB iACA== X-Gm-Message-State: AFqh2kqR3Ubt9yHRIuBVwxpME2M2dpZ9wxlCq7NVM0U01wxajeFUSK4c VBjevSrBsD8cQG0dOQ2sCuRvXg== X-Google-Smtp-Source: AMrXdXtB2YEHCAdS50P4fV1zUDlLyBdhXucLwdD3JaKYcIdl+ECMK511wK8DblpGZs+KW/iRZpeBJg== X-Received: by 2002:a19:f514:0:b0:4b5:61e8:8934 with SMTP id j20-20020a19f514000000b004b561e88934mr20438626lfb.64.1673599047061; Fri, 13 Jan 2023 00:37:27 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:26 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 03/11] dt-bindings: display/msm: add core clock to the mdss bindings Date: Fri, 13 Jan 2023 10:37:12 +0200 Message-Id: <20230113083720.39224-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add (optional) core clock to the mdss bindings to let the MDSS driver access harware registers before MDP driver probes. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/qcom,mdss.yaml | 34 ++++++++++++++----- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml index dcde34ffc8d0..6948ae3ac7bc 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml @@ -45,17 +45,11 @@ properties: clocks: minItems: 1 - items: - - description: Display abh clock - - description: Display axi clock - - description: Display vsync clock + maxItems: 4 clock-names: minItems: 1 - items: - - const: iface - - const: bus - - const: vsync + maxItems: 4 "#address-cells": const: 1 @@ -69,6 +63,30 @@ properties: items: - description: MDSS_CORE reset +oneOf: + - properties: + clocks: + minItems: 3 + maxItems: 4 + + clock-names: + minItems: 3 + items: + - const: iface + - const: bus + - const: vsync + - const: core + - properties: + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + items: + - const: iface + - const: core + required: - compatible - reg From patchwork Fri Jan 13 08:37:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100268 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85A38C678D6 for ; Fri, 13 Jan 2023 08:37:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 35AAF10E9BB; Fri, 13 Jan 2023 08:37:39 +0000 (UTC) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5851910E9AF for ; Fri, 13 Jan 2023 08:37:30 +0000 (UTC) Received: by mail-lf1-x134.google.com with SMTP id cf42so32138836lfb.1 for ; Fri, 13 Jan 2023 00:37:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yuJMrsipL0mKmACZqifash1MyLzKAd9cIeUIIshG2lY=; b=Tp65qKwABUL0Bh/AYaL4q/+FeNz4kL7AnAQqbZ2Sb2wru2o2rQKaqrEBYXwGT77+2c LZvuVS/dxy3OBHZuJqFSU5xY4pwUIdsNQr4KoxuxVr9pysw4gprSt7hVI1k30lTqY6+E 9GPwyjveWCwMTFFdxIIhtKGKXnvf7lFrPQCj6XJKu4u55B7iYyoNHwRcRNclyLtDNTzT Y7zMfpXWkCaxotdCfZO9mcaPihI7xa02n2SW6sG4qReNRUvtWB0raq3bjM2mZIPG33t2 032aduBxehfJx91QrHM7ZC0lZu7sKVh0CZkBeMceyPD54CGESCxjal1OqXIRFG6/1Aas 5nPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yuJMrsipL0mKmACZqifash1MyLzKAd9cIeUIIshG2lY=; b=1YcYJw1e3FApG3j1/1+9l7GgSHbUBBHNefkFBX/sUfv0fDMWhx5yWhhnmK3BSo9l18 J4++7iiIkY1qL2aXTlD344TxmbyJKe2L1JXY1bBwZ43tnOulFbivcnkbYXrLW6xs/gk7 Gabyxx2Q1ELjLeGRraO7lISQYvh5Vn5jFXsZqkg7EHoGIk7cYM1Eiye4wn6EN72687eZ KlfhhUL5uch8+qi69XX5YihbCjUU0DdmbtV3uqUHRiwamLy04IUg9/5dU1HdNiDujRSL /UTmxHhU1UUxT6t7LipBwqDamfa1l82nnZOYXUv96wryxWiANrhTgJXIoj4B6hdu9ZMr pAiQ== X-Gm-Message-State: AFqh2krdLwYicZG1Trw65lNN/MNgXJneSoHD/s9TWRZbfRie8hM8/blB AtvFhpz+gs0zQAgvDxwvSFiwOYjA10YWLF/nLVA= X-Google-Smtp-Source: AMrXdXvb3ZphCNsLO2P8Nf+Zc2ormFq80P/cEXjLZKWfjACOcqidT2kZjBZPP0kKTEFDKzPmoFl9+g== X-Received: by 2002:a05:6512:e89:b0:4b5:b7be:136b with SMTP id bi9-20020a0565120e8900b004b5b7be136bmr23947543lfb.69.1673599048640; Fri, 13 Jan 2023 00:37:28 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:28 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 04/11] dt-bindings: display/msm: rename mdss nodes to display-subsystem Date: Fri, 13 Jan 2023 10:37:13 +0200 Message-Id: <20230113083720.39224-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Follow the 'generic names' rule and rename mdss nodes to display-subsystem. Signed-off-by: Dmitry Baryshkov --- .../devicetree/bindings/display/msm/mdss-common.yaml | 8 ++++++++ .../devicetree/bindings/display/msm/qcom,mdss.yaml | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/mdss-common.yaml b/Documentation/devicetree/bindings/display/msm/mdss-common.yaml index 59f17ac898aa..ccd7d6417523 100644 --- a/Documentation/devicetree/bindings/display/msm/mdss-common.yaml +++ b/Documentation/devicetree/bindings/display/msm/mdss-common.yaml @@ -15,7 +15,15 @@ description: Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like DPU display controller, DSI and DP interfaces etc. +# Do not select this by default, otherwise it is also selected for qcom,mdss +# devices. +select: + false + properties: + $nodename: + pattern: "^display-subsystem@[0-9a-f]+$" + reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml index 6948ae3ac7bc..6fda819f0189 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml @@ -15,6 +15,9 @@ description: encapsulates sub-blocks like MDP5, DSI, HDMI, eDP, etc. properties: + $nodename: + pattern: "^display-subsystem@[0-9a-f]+$" + compatible: enum: - qcom,mdss @@ -159,7 +162,7 @@ examples: - | #include #include - mdss@1a00000 { + display-subsystem@1a00000 { compatible = "qcom,mdss"; reg = <0x1a00000 0x1000>, <0x1ac8000 0x3000>; From patchwork Fri Jan 13 08:37:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100265 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D402C677F1 for ; Fri, 13 Jan 2023 08:37:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 338A510E9B2; Fri, 13 Jan 2023 08:37:36 +0000 (UTC) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 83BC910E9B3 for ; Fri, 13 Jan 2023 08:37:30 +0000 (UTC) Received: by mail-lf1-x136.google.com with SMTP id v25so32065956lfe.12 for ; Fri, 13 Jan 2023 00:37:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8vjftwjhD4kJUBhEbIXBGxN3hN3yT4gTPCKO2c+I+EQ=; b=Ov+CMBjcq9K8JUg//pZnc7mlcW9/B3/2qXzmx0NvvRnoe780UdUZZArlzWXkcVKbxC FPUtDs3b92b+pu+dxiGUHAUgH5druo5bMSihb/O0MUQGZzGluMVX8ngTmVNU3JGcqq9n MGn777cXnxfkVNL05NzJwxWwIFEA0frBHmOrN19A+uKf1NTxnJc2drpCDu7NJLfbi33f 0Kq9/SdjV+Nrat74Mjz+wn/A8rdxHgoVGntR1IL7gqM3VN1BFZCTJBC3ydT+sn01QJ6j FRBg+F1MeIKMaMTYSr0e46TL4e5sGDZpeq11E/VnqMuNXrFpiDl3Pcmg5ZEi/8hGObx1 FRoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8vjftwjhD4kJUBhEbIXBGxN3hN3yT4gTPCKO2c+I+EQ=; b=IGjiHcKByrWdmUAJO/R9cM/fYruuRY2nOsavcW92w/sTFVp4coyjFpIQSPLGCtDL/m h+IVYAQWPNHH1Li2IWYcCinIDa+PbmEIcNh1/7IL/2/VLTVL89Y0NbxHUv+qqfJXtrS+ 7jFu/A7Tf6VmDu+j4j2F9hOs/AMAP0bXdw6c2KypMFxs5FnwUCxraPh0ODHokhTjytHo DAU+vkbBnKdAcDt0xux+s9coNadKHEYaEvqRRvGuYbyGvoWBnZlKUbgOtwMpf0bsHdME FzOgf+s0wvnxjaz12OTXdZt7P5JfOaxsnYCdWJgGt+eSQe+U18F21Emu+lcx9vCOZ7B9 Or3Q== X-Gm-Message-State: AFqh2kq3VyLfrmo2dSgPudIXxZZNBfHczIAEvYRnHlH77oZkIuoRO6Xv bNvqSj6MdocMyPrqQlsQkLoaeg== X-Google-Smtp-Source: AMrXdXsv7gBk2XhBFShtLjM0EV3+ZNyVziizBg7ippowT1dR/iKA3FyF6YutZ2UW3P7gVBerA6SVoQ== X-Received: by 2002:a05:6512:6d6:b0:4b4:9068:2c0b with SMTP id u22-20020a05651206d600b004b490682c0bmr32935732lff.2.1673599050084; Fri, 13 Jan 2023 00:37:30 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:29 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 05/11] dt-bindings: display/msm: rename mdp nodes to display-controller Date: Fri, 13 Jan 2023 10:37:14 +0200 Message-Id: <20230113083720.39224-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Follow the 'generic names' rule and rename mdp nodes to display-controller. Signed-off-by: Dmitry Baryshkov Reviewed-by: Rob Herring --- .../devicetree/bindings/display/msm/dpu-common.yaml | 8 ++++++++ .../devicetree/bindings/display/msm/qcom,mdp5.yaml | 3 +++ .../devicetree/bindings/display/msm/qcom,mdss.yaml | 6 +++--- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/dpu-common.yaml b/Documentation/devicetree/bindings/display/msm/dpu-common.yaml index 870158bb2aa0..3f953aa5e694 100644 --- a/Documentation/devicetree/bindings/display/msm/dpu-common.yaml +++ b/Documentation/devicetree/bindings/display/msm/dpu-common.yaml @@ -13,7 +13,15 @@ maintainers: description: | Common properties for QCom DPU display controller. +# Do not select this by default, otherwise it is also selected for all +# display-controller@ nodes +select: + false + properties: + $nodename: + pattern: '^display-controller@[0-9a-f]+$' + interrupts: maxItems: 1 diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml index cb7bf48c3a58..ef461ad6ce4a 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml @@ -33,6 +33,9 @@ properties: - qcom,sdm660-mdp5 - const: qcom,mdp5 + $nodename: + pattern: '^display-controller@[0-9a-f]+$' + reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml index 6fda819f0189..7685d3406dc7 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml @@ -105,7 +105,7 @@ required: - ranges patternProperties: - "^mdp@[1-9a-f][0-9a-f]*$": + "^display-controller@[1-9a-f][0-9a-f]*$": type: object properties: compatible: @@ -186,8 +186,8 @@ examples: #size-cells = <1>; ranges; - mdp@1a01000 { - compatible = "qcom,mdp5"; + display-controller@1a01000 { + compatible = "qcom,msm8916-mdp5", "qcom,mdp5"; reg = <0x01a01000 0x89000>; reg-names = "mdp_phys"; From patchwork Fri Jan 13 08:37:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100269 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE060C54EBD for ; Fri, 13 Jan 2023 08:37:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 89D3F10E9BF; Fri, 13 Jan 2023 08:37:40 +0000 (UTC) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3391210E9B5 for ; Fri, 13 Jan 2023 08:37:33 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id g13so32119598lfv.7 for ; Fri, 13 Jan 2023 00:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hLJMlwIE2ivCM5iNS4Yl4cLBMQjZouDwHRiiDzcW0CY=; b=am7RllIibc+4w5K4PgGtPzH98gavdp+XAnkoTcKSphbyuEveEVTFguX7mGPiSFjZ1s H/Af6MZHaAxbXS896sBuSK6z8wmewuUO5vPLYn+FeuEcKV19/qqjJRdzzwdx6LPQqicg apl2HxJ3DUEGrrydUTA+elfCpkBC8u0xOIDcDcX1+M+M1EIPCTH2i9R0qd4A9W3+O1ZI R5JVszRpmVTdVTXQhUbo7l1rZWwBheIQ6DF2lZJ3je0ItK25Og7pRUJ/QfgXp4DMNqDS c0Mx2HgyvuniOO0tK1XQ4a6GZE+XwAsbGFFYPOyK8cqbWdzxII6/3Wd5f0kSS74V9rMZ VNUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hLJMlwIE2ivCM5iNS4Yl4cLBMQjZouDwHRiiDzcW0CY=; b=QIUIgkBalZZI34D2DG+IydJzBGiMKO57puYU+zY3nljZmVWoyw77SqHl5PAjRPi6CV 2OlNijsXB+DCvnGGoqilV8PDK17Eb3gK71Nvk5mijLDRW5ZLuYmcMhuR1TBZZNMnIieN 5JeEBUSybkMYSwoAzKfJ2jlro4sW3nxa8NnOSTPJtEtunoGBPUaCKwO4vGyx7J3ZzMZx 4X2fF0UM9VzbgSYIlnpqJhbwg966xnlaNk/xE1q2b4RERD2gox5wVjgKU2a2JLwZUudV OwIbjQvMZbeLnAdKRcmwV6L1GXdIcT1H6aL9Xr75w6gv280cEePqpvqoRaISdV/mWpfY RBXw== X-Gm-Message-State: AFqh2kqARTGNWFUAFmCF+D8Z0DxPQywwvVU03m5R1IpZNFbIhatp6/pC 719H3CMpbQTG8oheIXBv9V8wPg== X-Google-Smtp-Source: AMrXdXvMzCtBw7xkuMvF9lviswazfUgh4vuKBTBKu8bOtElTX6ETEDv711lEA2TMVSbhPLifcOGYYg== X-Received: by 2002:a05:6512:3482:b0:4d1:5baf:8453 with SMTP id v2-20020a056512348200b004d15baf8453mr171156lfr.11.1673599051591; Fri, 13 Jan 2023 00:37:31 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:31 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 06/11] ARM: dts: qcom-msm8974: add SoC specific compat string to mdp5 node Date: Fri, 13 Jan 2023 10:37:15 +0200 Message-Id: <20230113083720.39224-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add SoC-specific compat string to the MDP5 device node to ease distinguishing between various platforms. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 3226507a6f09..1d8b8870b990 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1578,7 +1578,7 @@ mdss: mdss@fd900000 { ranges; mdp: mdp@fd900000 { - compatible = "qcom,mdp5"; + compatible = "qcom,msm8974-mdp5", "qcom,mdp5"; reg = <0xfd900100 0x22000>; reg-names = "mdp_phys"; From patchwork Fri Jan 13 08:37:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100267 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 844CDC54EBD for ; Fri, 13 Jan 2023 08:37:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6AC3D10E9BC; Fri, 13 Jan 2023 08:37:39 +0000 (UTC) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 93B8610E9B5 for ; Fri, 13 Jan 2023 08:37:33 +0000 (UTC) Received: by mail-lf1-x136.google.com with SMTP id v25so32066128lfe.12 for ; Fri, 13 Jan 2023 00:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZAxGWhkR+sGLWasNMFlzZesjFzaUZpYkAtY7w3ETX04=; b=QHVcxOKdLZ663y8qMHMt8b+YIOuayY5GZX90/S0jOruZSithZMPQinIn+nMP52VNbu dm2UMlEDAFL4J7967dZ9Zlw8HaCJ3Ohn3muP42SQqCWm3RxSLFZoCt+QKfQ7lTjCclKi VBtTfR95BYf2dGXtI2b1Tte6ijmVRYIF5NdruTCEsM+qsIn50YL6fVpfkniRqmcwPABy SrKn5ObEUwZhNb5nJsI8cc6r3IPBra5pWrsv28eoagKaPGfnZYEpsCBfDh581rtgc+LJ GU9LgsKAtaLPrtq2hoNhNHUJHiPVhrUP5uSdBc2OQE2hdjY5rzpoXMJ1bPCrZbIKYp5g uzyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZAxGWhkR+sGLWasNMFlzZesjFzaUZpYkAtY7w3ETX04=; b=CoABddAFaNufNUibnxkBI1r1zJwg3NWsmtkb1maA7js+wtNBYWvmS+EVfNnjqHdMn3 tio3Kk+ySUYmBoZrQoORtNqfQqVVWfWC7g0/5itpPSYA/KCeUATlgrjF0fkWojFXhMAJ BibCV5KzN7gt15bneyE47cU46qLZQJEt7YlxmjfkTf9a2GoycjqCd7immsHDYmcgKWOP JOLR+Pa49F5oRR4G4PvJ7Bez79U3e0rxZ+wDuYl1lwC/SnFMycsvRK2XPsEep+oA2Hpp ljrtMQENifdoRwB3uCLni+g2Yzp26TPFit9gZv1SLcHOW9Cqn2zhSI8yp2g67qNCrgxh gWOQ== X-Gm-Message-State: AFqh2kpK3geSoqWn0C8cRePXk3fCFj+Mz0a11rTPTPPU68gztsfLoo8D zvLVD32p/LTRJvnBnjj9GQ7vgA== X-Google-Smtp-Source: AMrXdXvFFP1XOuKfc2DLTQZwZQC8/8KcNqEVn3VpCMy3Jrqn/JuRW/LXX/8KpyMMcbjdR4KyFu78WQ== X-Received: by 2002:a05:6512:10c3:b0:4b6:e64c:aec6 with SMTP id k3-20020a05651210c300b004b6e64caec6mr27180183lfg.63.1673599053166; Fri, 13 Jan 2023 00:37:33 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:32 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 07/11] arm64: dts: qcom: add SoC specific compat strings to mdp5 nodes Date: Fri, 13 Jan 2023 10:37:16 +0200 Message-Id: <20230113083720.39224-8-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add SoC-specific compat string to the MDP5 device nodes to ease distinguishing between various platforms. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm660.dtsi | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index cf248e10660b..68cdf255c474 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -989,7 +989,7 @@ mdss: mdss@1a00000 { ranges; mdp: mdp@1a01000 { - compatible = "qcom,mdp5"; + compatible = "qcom,msm8916-mdp5", "qcom,mdp5"; reg = <0x01a01000 0x89000>; reg-names = "mdp_phys"; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index f4da50b2c007..df5871847778 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -933,7 +933,7 @@ mdss: mdss@900000 { status = "disabled"; mdp: mdp@901000 { - compatible = "qcom,mdp5"; + compatible = "qcom,msm8996-mdp5", "qcom,mdp5"; reg = <0x00901000 0x90000>; reg-names = "mdp_phys"; diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index e08ead06d4d3..d1542335be74 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1498,7 +1498,7 @@ mdss: mdss@c900000 { status = "disabled"; mdp: mdp@c901000 { - compatible = "qcom,mdp5"; + compatible = "qcom,sdm630-mdp5", "qcom,mdp5"; reg = <0x0c901000 0x89000>; reg-names = "mdp_phys"; diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qcom/sdm660.dtsi index d6908aa4c6e1..f0f27fc12c18 100644 --- a/arch/arm64/boot/dts/qcom/sdm660.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi @@ -142,6 +142,8 @@ &gpucc { }; &mdp { + compatible = "qcom,sdm660-mdp5", "qcom,mdp5"; + ports { port@1 { reg = <1>; From patchwork Fri Jan 13 08:37:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100271 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DFDCEC54EBD for ; Fri, 13 Jan 2023 08:37:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F5E910E9C3; Fri, 13 Jan 2023 08:37:44 +0000 (UTC) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6221510E9B7 for ; Fri, 13 Jan 2023 08:37:36 +0000 (UTC) Received: by mail-lf1-x131.google.com with SMTP id b3so32113543lfv.2 for ; Fri, 13 Jan 2023 00:37:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RPHiREyaiZ++Q90QN1f0Tj1eoFwLzSQv1YWOQn6JI2E=; b=oz+Elk6sdjtlCVgkguKyFjXTPd0capMKVeTI6iigjeQOPGek7Ta0mbVRjzT6GoAImT TY4upUfV6gv9uBGFLZc0OuINJHUp3CnZJG9I8UU3fRDwxU8X3G+V3370QOX1CssKrarg P8piEFBJbjenVtIKozj7cTlcdaLbSboZogwM6vfZPyXeoSMNVOU29QQsJBq7wqsxnl/c ZyqUkwHVvIpdZGUX6BUjrSF/to6WSSRSzPddbUkGMY+YNf4nm/0DvbeYkJhm60gUpmeh xiPZ2a+qQyDf5NQqSiWfWamCO2eu4G3L3UHHStUOJz+gCgY0/mLWdjhFjV+xNDX/oAu/ W0JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RPHiREyaiZ++Q90QN1f0Tj1eoFwLzSQv1YWOQn6JI2E=; b=bEVVsW2V0gGB8aDRwgXfHREEYPeYyiqJ8+z/ARGuzl2wxJXHIkZ2K7ktOHqGKnAT8n 4Hnl4qJ6pU9W/W2c2/qVVh9H6UCobw1/r+efsBBoWZntJ38UHaSIN5zqeBF8N//MDQ3t y+tVzSvLYu+kIKZjgkwAdw/tEFsjVbf0EiNos4ioEb+jiYOTKUtuXnD16BrWbUNLKX3f sGxChOFjTWmbCGPLxOfG9pkuSCMjPsZIl4LyK5LTQjDPgKbXox9UupChlkvO0GE6QCHK Rrkt0GYq74E/xoRdbG+sZOxT3WO64K3ASCQO/9NUCBtwXDsPsRaJ86IyaYa6Pl0zrj4W ZYxg== X-Gm-Message-State: AFqh2kq+TqBIEbpk51osYtD4Q6foxloTWD+WxofkhmdztaOlhxnhxgh1 gfxNqNKmkD651q/4abAj7jHD+g== X-Google-Smtp-Source: AMrXdXsmHFXzfkdvEldBf2wWtYsJ4YkZ+e/XRh8ko/KRhlkqEHV+D+GEtH4kTkTfj75FVSAQxACBdw== X-Received: by 2002:a05:6512:2526:b0:4a4:68b9:66e1 with SMTP id be38-20020a056512252600b004a468b966e1mr20255049lfb.44.1673599054770; Fri, 13 Jan 2023 00:37:34 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:34 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 08/11] arm64: dts: qcom: rename mdss nodes to display-subsystem Date: Fri, 13 Jan 2023 10:37:17 +0200 Message-Id: <20230113083720.39224-9-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Follow the schema change and rename mdss nodes to generic name 'display-subsystem'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 68cdf255c474..b688df272207 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -963,7 +963,7 @@ tcsr: syscon@1937000 { reg = <0x01937000 0x30000>; }; - mdss: mdss@1a00000 { + mdss: display-subsystem@1a00000 { status = "disabled"; compatible = "qcom,mdss"; reg = <0x01a00000 0x1000>, diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index 068eac8dc97f..9d4b785409b1 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -670,7 +670,7 @@ tcsr_phy_clk_scheme_sel: syscon@193f044 { reg = <0x193f044 0x4>; }; - mdss: mdss@1a00000 { + mdss: display-subsystem@1a00000 { compatible = "qcom,mdss"; reg = <0x1a00000 0x1000>, diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index df5871847778..1be9a92fc8c1 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -906,7 +906,7 @@ mmcc: clock-controller@8c0000 { <825000000>; }; - mdss: mdss@900000 { + mdss: display-subsystem@900000 { compatible = "qcom,mdss"; reg = <0x00900000 0x1000>, diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 7846edce6ae9..3b53d911a51f 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -2922,7 +2922,7 @@ camcc: clock-controller@ad00000 { #power-domain-cells = <1>; }; - mdss: mdss@ae00000 { + mdss: display-subsystem@ae00000 { compatible = "qcom,sc7180-mdss"; reg = <0 0x0ae00000 0 0x1000>; reg-names = "mdss"; diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index d1542335be74..2ca2f75f2aa7 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1470,7 +1470,7 @@ opp-262500000 { }; }; - mdss: mdss@c900000 { + mdss: display-subsystem@c900000 { compatible = "qcom,mdss"; reg = <0x0c900000 0x1000>, <0x0c9b0000 0x1040>; diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0f1cb2c8addd..72c5ec84d3ef 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4414,7 +4414,7 @@ clock_camcc: clock-controller@ad00000 { clock-names = "bi_tcxo"; }; - mdss: mdss@ae00000 { + mdss: display-subsystem@ae00000 { compatible = "qcom,sdm845-mdss"; reg = <0 0x0ae00000 0 0x1000>; reg-names = "mdss"; diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index a4ce9cf14d9c..dabed46f04a7 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3970,7 +3970,7 @@ camcc: clock-controller@ad00000 { #power-domain-cells = <1>; }; - mdss: mdss@ae00000 { + mdss: display-subsystem@ae00000 { compatible = "qcom,sm8250-mdss"; reg = <0 0x0ae00000 0 0x1000>; reg-names = "mdss"; From patchwork Fri Jan 13 08:37:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100273 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BDE4CC54EBE for ; Fri, 13 Jan 2023 08:37:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A62BF10E9C2; Fri, 13 Jan 2023 08:37:50 +0000 (UTC) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1655D10E9B7 for ; Fri, 13 Jan 2023 08:37:38 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id b3so32113628lfv.2 for ; Fri, 13 Jan 2023 00:37:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FCTRKHtFgYaHbPtkSUZRRjr3CHS5tb40ajhOyrJkC74=; b=GV2IkpaEE5wINYClQCW8wkutrbrq7NWwCJlD7BoC/PxfOBqE9K2m5bFOMWmTXitF// p/iD4pacX1FpdFX0bEAtOI3WSpu96iQe4ksNWSQimCe5UeR4Xs5eW2TpVZXC1ssnESGv s91d/ZvAZ5eusLcE8pONCRsVFcL2Tqu8rbjogSjDMEQFHEdp/k+DwYP91J4TjTWhtPha 1u8+GZQyyP3e/UjaVZesHzlPOzcYCMfU8KNg2pDw/kSGrKsAnCCeZArFEy+gHtm1bUCg C26pXI6ZR/JfA5rgcSugaRu7prscELZONXVOVIfoaEyyakwdZywQIblvKErCjkduUhQE GuQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FCTRKHtFgYaHbPtkSUZRRjr3CHS5tb40ajhOyrJkC74=; b=g7vRh/Qn/Enz8IeAjh0qbBqRfye5mbcG4ycyGgCvrHXOIZ2fF8byTbkbYkPcfD3TF7 bbtwKwJCOvb+v5m9cXRv78SVKw8MraHPB2GC8Pq8eS+ieuRJoafqMOOrYs/IJcrc6bZ0 yYLq7gs/pvWHC6OrxrasRbY8oWVsq4Rj4LJfBe8VDk//MSezTniyXJvWCrsF6VudUJwQ Am1mqa/0KS5syLSEcvXoqzYLNvKKzYiAmfttywpH9oNsH2lQDARu28VJW+BGrw+fnxKL bWrvqpixMz0MiCfhUNECqSOs8RegARHJ4DZslSBP+PpSE05AjDrMsnjN/CMAq009bIlG M7Cg== X-Gm-Message-State: AFqh2kqmWokH8MUFxkGRINqWDJU9KuJvnfHm6vKFJ5tZcHNhshwFRS+w NjRjBbO7uJ1n/89hkPx4F4tNDg== X-Google-Smtp-Source: AMrXdXtGgF+DSrc/gjCX9/C/GYXrvH5S+P5vQLT16mtsr95X7PYDpdyjhraUcHtMLXiAl6j2Jj7rAw== X-Received: by 2002:a05:6512:3f1e:b0:4c0:91d0:e7ab with SMTP id y30-20020a0565123f1e00b004c091d0e7abmr25889004lfa.28.1673599056463; Fri, 13 Jan 2023 00:37:36 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:36 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 09/11] ARM: dts: qcom-msm8974: rename mdss node to display-subsystem Date: Fri, 13 Jan 2023 10:37:18 +0200 Message-Id: <20230113083720.39224-10-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Follow the schema change and rename mdss node to generic name 'display-subsystem'. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 1d8b8870b990..2e46a8b6bb14 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1554,7 +1554,7 @@ mmcc: clock-controller@fd8c0000 { "edp_vco_div"; }; - mdss: mdss@fd900000 { + mdss: display-subsystem@fd900000 { compatible = "qcom,mdss"; reg = <0xfd900000 0x100>, <0xfd924000 0x1000>; reg-names = "mdss_phys", "vbif_phys"; From patchwork Fri Jan 13 08:37:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100272 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02FC8C61DB3 for ; Fri, 13 Jan 2023 08:37:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A63DA10E9BA; Fri, 13 Jan 2023 08:37:49 +0000 (UTC) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 720D110E9BA for ; Fri, 13 Jan 2023 08:37:40 +0000 (UTC) Received: by mail-lf1-x12e.google.com with SMTP id d30so27194219lfv.8 for ; Fri, 13 Jan 2023 00:37:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ygam0JtyGSNqoL4zyLZHudwzPBEZFe3ZjPaOEcOI9x8=; b=InN2T44q2+2QlbqDPvQDP5dFLI3SPGsIZuCrAFLih5Mn10C/HPbykwwdX2TAuQQpI7 B3aWoPh+RyI5e5CHkfS64U6+sAZ9UdLCSleL8kumsDRmz1HM1i5Wf9n/j6z+tpTOkXnA jD9erakVtIAzAJysuorCZ9R8d4DyHowvKUUBHRJndh+Iv+sArIU5TmYtQ79oqZLpZe0p KKjAXjmVsMekZPCH8Lyrf7jPdqmsuGEHA9ypdkz1iE+6qCtuqG3tzCdLZj57oBrrrNkV EhnRfu/tvujR3VBf2UGvbPR2MM9c76C206r5UKexFxsS1gttZnvV+DH4K921E99k8w3A OeAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ygam0JtyGSNqoL4zyLZHudwzPBEZFe3ZjPaOEcOI9x8=; b=CIbXiABTUHAdnsH0iP0k9IIRBhx3A4g1Qr4jGwzVbBy1CL95uSEjzp0QTqqldBzluX FnBEX/iKne+sNustn/MOB1jmudg9dKP+o6vLtd5NAMP5xj61t5aA57+Pa41yKftu65lz JumWNOIs7HnkGGrCxBe4IPvSGYTqpeXAr17kI3+Cqb3b4V11h0Ju/+MOyM+TmktYrmLx jWk+SI1Ug1xK4eUbDu6of3edsbiEEHAyKqSpfuR/fjxhGTBmWlmK+vjY3mNfZHZ85w9/ gyGn3DlM7lt6VeWYZq4WagfpQSRm9oqqwB4w9TA9+/lirrgUwz4oxkhAPB0X+kDblhOW 9pJA== X-Gm-Message-State: AFqh2kqZShqVLqrbH9wPRztvxzByqypni/bYW9tmKzM81XUxdDOp2/La j4kdMrJo3v38woUcHqlxu3eVbg== X-Google-Smtp-Source: AMrXdXuf1vf2Ydl1TyNZ/2incZgzsnd0vwxj+MNY81XQB2uiaCvgUWIpD5RbZZYPnQZH0qiwzOPnGg== X-Received: by 2002:a05:6512:318d:b0:4b5:70e0:f2e6 with SMTP id i13-20020a056512318d00b004b570e0f2e6mr5754158lfe.24.1673599058652; Fri, 13 Jan 2023 00:37:38 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:38 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 10/11] arm64: dts: qcom: rename mdp nodes to display-controller Date: Fri, 13 Jan 2023 10:37:19 +0200 Message-Id: <20230113083720.39224-11-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Follow the schema change and rename mdp nodes to generic name 'display-controller'. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index b688df272207..027eb99340e2 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -988,7 +988,7 @@ mdss: display-subsystem@1a00000 { #size-cells = <1>; ranges; - mdp: mdp@1a01000 { + mdp: display-controller@1a01000 { compatible = "qcom,msm8916-mdp5", "qcom,mdp5"; reg = <0x01a01000 0x89000>; reg-names = "mdp_phys"; diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index 9d4b785409b1..4e17bc9f8167 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -699,7 +699,7 @@ mdss: display-subsystem@1a00000 { status = "disabled"; - mdp: mdp@1a01000 { + mdp: display-controller@1a01000 { compatible = "qcom,msm8953-mdp5", "qcom,mdp5"; reg = <0x1a01000 0x89000>; reg-names = "mdp_phys"; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 1be9a92fc8c1..50cc6f125557 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -932,7 +932,7 @@ mdss: display-subsystem@900000 { status = "disabled"; - mdp: mdp@901000 { + mdp: display-controller@901000 { compatible = "qcom,msm8996-mdp5", "qcom,mdp5"; reg = <0x00901000 0x90000>; reg-names = "mdp_phys"; diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 2ca2f75f2aa7..5827cda270a0 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1497,7 +1497,7 @@ mdss: display-subsystem@c900000 { ranges; status = "disabled"; - mdp: mdp@c901000 { + mdp: display-controller@c901000 { compatible = "qcom,sdm630-mdp5", "qcom,mdp5"; reg = <0x0c901000 0x89000>; reg-names = "mdp_phys"; From patchwork Fri Jan 13 08:37:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100274 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 593ACC54EBE for ; Fri, 13 Jan 2023 08:38:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C35010E9B0; Fri, 13 Jan 2023 08:38:07 +0000 (UTC) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7ED9A10E9BD for ; Fri, 13 Jan 2023 08:37:41 +0000 (UTC) Received: by mail-lf1-x12e.google.com with SMTP id d30so27194342lfv.8 for ; Fri, 13 Jan 2023 00:37:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vfkoFa2aWXIMsvEye5R5adifXz0BMNct0gxornememI=; b=AoAqetfS3RLSABRWAprBoSvGGLyiZySm4fIcetmApEPKeEHb9Xb+CUSZd4monuRWN3 cv5N99BpPaHPXosXS9WhmAbXBtgyIC6L7RyZhzV6M+GmZW+viutz8TDEsm65YTurvDJo Q6uVHe5eaP+gbVMRA5W9XCvMdh9kLaJGWR12rzYbN7AA/pZbg41VnQDe0DvG1qpaCK4q jhhzqL6HhHAOspmYHEvbaBJQO/WeV+a8y+Ho+fSMtN5uzgyl+opY4O5iHAnor+MOSWcv /1Fmj7mfg4DW3mnCq5K23O+r30+VvXB3t6KNbSSTYgyAO3bJpoIqKUnwbwiNeB8LU/eB Uuuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vfkoFa2aWXIMsvEye5R5adifXz0BMNct0gxornememI=; b=CqO802guc22zCQnD9T6VMRzkbo1tfWzmIUatcJFhNa3DuAA90Hc4OgWRAuByPznTxM CBhE9JTJV/cA3/s/qRft7DTj8pqO1Vp08o+1k/Z+IL9shr0Tw1iDgDxyQvDMJnxMgyxQ FBXmcS8MfhGJ0US7If83ZRw0W0s+KBCr+GD44AmYF4w4zNILQWBXGxjje8cb1pUb8xBA WDkR23trPtIQclrQnbQUptk0YVQilmZutbWwIR7CDdVoOWwHPeUb2nt4MiokFUHiAofa 71G3bJusGGvegEY9+zNlm2Bq4Mb6UDW+yKS9tijUhstCuT1PNpLKV6v1fum1JOB1SD0B 7R3A== X-Gm-Message-State: AFqh2koi9FZEsS9X57Bkyw2oKny+UZt6G5WWgoPEX5GhmK+hvRzWTI6J 7r3L/EtoCsleW+GCLo/DxQflMw== X-Google-Smtp-Source: AMrXdXv50Vl5IXHjr9MKDidF5CnW105R55HzZ4q3U0nm6Zs3daEjfdbXxBNi+8HL79VJDe0zZLBeJg== X-Received: by 2002:ac2:4bcb:0:b0:4bb:8d56:d859 with SMTP id o11-20020ac24bcb000000b004bb8d56d859mr23664966lfq.6.1673599061082; Fri, 13 Jan 2023 00:37:41 -0800 (PST) Received: from eriador.lumag.spb.ru ([194.204.33.9]) by smtp.gmail.com with ESMTPSA id o6-20020a05651205c600b004994117b0fdsm3748038lfo.281.2023.01.13.00.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:40 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v6 11/11] ARM: dts: qcom: rename mdp nodes to display-controller Date: Fri, 13 Jan 2023 10:37:20 +0200 Message-Id: <20230113083720.39224-12-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> References: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Follow the schema change and rename mdp nodes to generic name 'display-controller'. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-apq8064.dtsi | 2 +- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index e045edeb5736..95705703fe8f 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -1493,7 +1493,7 @@ hdmi_phy: phy@4a00400 { status = "disabled"; }; - mdp: mdp@5100000 { + mdp: display-controller@5100000 { compatible = "qcom,mdp4"; reg = <0x05100000 0xf0000>; interrupts = ; diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 2e46a8b6bb14..3c725ada52c0 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1577,7 +1577,7 @@ mdss: display-subsystem@fd900000 { #size-cells = <1>; ranges; - mdp: mdp@fd900000 { + mdp: display-controller@fd900000 { compatible = "qcom,msm8974-mdp5", "qcom,mdp5"; reg = <0xfd900100 0x22000>; reg-names = "mdp_phys";