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: 642146 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B7C5C677F1 for ; Fri, 13 Jan 2023 08:37:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232730AbjAMIh2 (ORCPT ); Fri, 13 Jan 2023 03:37:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231416AbjAMIh1 (ORCPT ); Fri, 13 Jan 2023 03:37:27 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB11A1C921 for ; Fri, 13 Jan 2023 00:37:25 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id m6so32084719lfj.11 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=aU7v06O3tN/rE2Dpir+LddtQX/IeqzhYvMSt1Ml9HN322CnJe8E5Fvh/AmDjA+nuR6 q3VT3SzCWtwwCDeX4LW7/49mR98IO6cuAhlb7BO5vhxQ1klP0H2y4OMy8+ATc7FINHbO a4DZhWVX5DxTM/hFa/BYPDwO0v9c4lo1yhBXa/apKX2FLhawM3hnKMmphNG0J2Tneott /fFlc5Xf+GVMkWlvHIl3OqZAqZGpMHETu0JAo80VGU663/tbgZ5lwtiyIbffd7SyZeNU Ohc4TrKj3jZd1z+y+TK6iBavlK9CcGKzgfWbs+nhDxs/VHqP4l0s3+mCgnaT4HqX0om2 KM6g== X-Gm-Message-State: AFqh2kocKJCLoMZJBkryIx5Mt4UTpq9EqLpLzQ8Mr4JYE71cEz1cQqaC qwpnWqvDLWKkVMeT1bQQImgJug== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642723 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D91CC54EBD for ; Fri, 13 Jan 2023 08:37:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232226AbjAMIha (ORCPT ); Fri, 13 Jan 2023 03:37:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235477AbjAMIh2 (ORCPT ); Fri, 13 Jan 2023 03:37:28 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33D723FA24 for ; Fri, 13 Jan 2023 00:37:27 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id v25so32065735lfe.12 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=acfjoD9xNML8TKCoPREc6qjjXdWYlipgr5CknDNQo8FIvbF8B2YwthEq3UAWKRf/1W 7PxaIahTScXvtAGiVMLuzghsCSWaLBzhovo/37xpcBw3Q3ShLa1h2O4rlTdP3JK/WkCA HgrO/sfxkatJW9T+mFe2ptWoJnCgfK41QEP2qJA5IzNi9l5SnQdcB0F5DZT//HT4hbd3 IVj8UCX90kCJ3U2ix7obctFncZokSgXVJr7dzap7DOHNYq89IB5D427TyH2gYHWtzjRL /1TLifC6jqyoLLgFxiMGHiHk5v185fwpBTxOttToLmV6Lmu/UlKCuVm3WwNzTcfQbzHQ HbHg== X-Gm-Message-State: AFqh2krPy18lt5qoI77OzZmzITNBJCbcnUxSA2jFLjYwjaDQEyAJhrlx I155ynygRwyd020W8FtpfZkSDA== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642145 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDFB5C677F1 for ; Fri, 13 Jan 2023 08:37:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235477AbjAMIhb (ORCPT ); Fri, 13 Jan 2023 03:37:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240048AbjAMIh3 (ORCPT ); Fri, 13 Jan 2023 03:37:29 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C268FDF06 for ; Fri, 13 Jan 2023 00:37:28 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id j17so32135057lfr.3 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=qEyuN8YZHPYlgou+nICOmwZB5SDCdC7+DxZTt3Z6CdNHp0mZ0jj85M271OIVn749tZ dRq3gtqPxS8T+fXDeOeFevBruNy3+4A8rTDyUGzDmiiqpB2kCGqZPNWkxLAktYZrdnC2 KrHYuaRzC6L1TGhjFT/4Dhw1/Aui2Xq9y/phcg09InhWcyiVA/pc7D/4l2IF78hzUf15 anp/iG+LvO6vERz57HkKC4x4sboUUMHcZfQjkERlCXhNV0qohn3VXeY90VU+2uug74KS xdF8ifdhonhVi+K/AVrydVe8d6duE1BO5ZIs26Ix7Lqm+WTRCB4CIR2CdrS5g7B6wAp2 +pZA== X-Gm-Message-State: AFqh2kqUMpbIuUywNpc7YsJswW6G3vKgnPSkMvvHJtwjHtJWilM4F5z3 ooVgD2BDteeOEXSbBrJxLAkEEg== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642722 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2182BC678D6 for ; Fri, 13 Jan 2023 08:37:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbjAMIhc (ORCPT ); Fri, 13 Jan 2023 03:37:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240371AbjAMIhb (ORCPT ); Fri, 13 Jan 2023 03:37:31 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 436261C921 for ; Fri, 13 Jan 2023 00:37:30 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id b3so32113211lfv.2 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=ol49FQVakqQ/2Vy8riYAy+n5pCN5kLOy266k9RoMsk0vE+SYj98v5F4pe6ryDr/30P EtH8xQtPfZFhSTd93gIgVtOR5hRvybwnfioMEDjplyq1wlRu5GJrPwcg4rPIh+iz/QDg Jk1qjkdpEIQlrcEIaAUWjN/t7sUTY9NmrLQzz9laD8aIMz+dgM7T8p6UAK9eCb0rIUw0 w8qRyHX2mr4IffatReOP8S2C8wJDZBDLNKdOhXvN1RVvbnBDFDd1V5jI5buYBSeu9pNU FnMKK6rscK9qyTOSVa6AGelOpimseFM8Herz8FPIk3E6FJSXj4rJ9ieiYue6temjuWmY 05mQ== X-Gm-Message-State: AFqh2kpwxMLA9mcWrYza0lWJImU1XyxTsMJA1S/6s027MU0iyv4QukPI Cx+WFognbTxAeuxNDlfX9xegBg== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642144 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BA19C61DB3 for ; Fri, 13 Jan 2023 08:37:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240492AbjAMIhd (ORCPT ); Fri, 13 Jan 2023 03:37:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240048AbjAMIhc (ORCPT ); Fri, 13 Jan 2023 03:37:32 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7C3A65AF6 for ; Fri, 13 Jan 2023 00:37:31 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id g13so32119505lfv.7 for ; Fri, 13 Jan 2023 00:37:31 -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=Mrpd3Pw33IgeE96xndsUlxS1159Tycl+NALoypWCwAjlE5nKN4vPFJMSZgpjTeQbJI Rnq7VGNQ/FsX/7K0w9IlhDqscln2oZ+NZ2Vppc4YELTuZ5yNyFT5S+ktXDuYTmTDD24U y/Gbwep9CdWGIlVLh/HcpwhXAU8Xz7qTbgxrYAO8lAP+SksGh5+GyOtB0V4W1rzhqR33 Sjj2YfjVASQFNTbrtSfaZX3V2144hA7o5rHnaQBWdHr+etnCIxfngrk4UT9dVDYyLCpH y1uIGea9N323cRuGCp0c9R2JS/4q0VM+CINT/psgbEU11HGIk7JpInMkWFUFFt5Ut2tL HHMw== X-Gm-Message-State: AFqh2kqA+bVEALcWnLwZFkkwUv44qBHGkeHCVi+RhnrvF0aZubeF+VDb CO41CvOoJA0RBEZEbljDTMTosA== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642721 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3320AC54EBD for ; Fri, 13 Jan 2023 08:37:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231416AbjAMIhf (ORCPT ); Fri, 13 Jan 2023 03:37:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240323AbjAMIhd (ORCPT ); Fri, 13 Jan 2023 03:37:33 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06068671B4 for ; Fri, 13 Jan 2023 00:37:32 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id f34so32086027lfv.10 for ; Fri, 13 Jan 2023 00:37:31 -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=wCSQfOx/NxQpdl5ziw32cW3CQNN7RtCEC3xJKCJs5pQdSQlk5emKNbKuaWSXb4YjQE DxhCLL2z21FTq6l/xtsPIjkXJH+UpQI/1MPWEwTNaTYuM8WrAgIJXp6CQndMQ+wboD/Z 2Bgv0V7NDDf6HSEOw0cbnMEJfQtN6s8k5yFOFAW/ucTaMK90Y4c0FzMlLcqxJ89oxe5g 0fl98teN/LSip5LAi5V5UWEQDLJIuVqJLwBUVDTHszqzhvl2OQ3xDuMw2Iq4PHjxP7U1 d9kjc7RwidZkeq9ORAUw+ZAB4XAUSo4yVyE5q/aazRyNHqvi99bUORC0MtwQ9kNLjDAi +K6g== X-Gm-Message-State: AFqh2kqsM91w0iz89nU/Tx9N6521e5Cpge2FdsWPrGSj44jtda9sWoRo awADCNV0xztkL2ejmeLA9qj9xg== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642143 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59FC8C678D7 for ; Fri, 13 Jan 2023 08:37:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240292AbjAMIhh (ORCPT ); Fri, 13 Jan 2023 03:37:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240570AbjAMIhe (ORCPT ); Fri, 13 Jan 2023 03:37:34 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9174F65AF6 for ; Fri, 13 Jan 2023 00:37:33 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id g13so32119683lfv.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=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=7ev+pLAlgpjJcsJe9PR6h0Br5UEX1vyIoyAZkT3eV3T43hDM45YIgdARiW0YD5Aoog qtjfR/irbjcsa7jxaDcdmZN6u7+y3geygbcwy0+1IGDiPBHDPcr+hne467PWIGIb7gKX Bjjxm4+paUVIT4RM7KBXhIi2C68ptjGpVYkJCYEByxG1vadOopWir0VhJaDogUje2jkd wpVxFtD1m+NZFaT2mS3gcfxDsqWWWTSBW/RxjITjCu6wunkDf2QuZlRSTGpLJUfmRjnV MQEBFjX7FuBkwFJN5Y9xZBjONAXAPFpZKd5wrbh2d5larp4himib0Oy1ZkDgckwvq17H VcpQ== X-Gm-Message-State: AFqh2kqOX5psvS1ha0JD1Eh83rAMWXa1NXtQJrpAK/YEhN8IhVvfV+De yPjvwcRzTB/uWxadcXJ1PMNcmw== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642720 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CACA3C677F1 for ; Fri, 13 Jan 2023 08:37:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239903AbjAMIhk (ORCPT ); Fri, 13 Jan 2023 03:37:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240559AbjAMIhh (ORCPT ); Fri, 13 Jan 2023 03:37:37 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60DFF69B0E for ; Fri, 13 Jan 2023 00:37:36 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id cf42so32139207lfb.1 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=umFtteu3AFLHqGQ0TObCDX6zwskmDenZH67AtFU7Nfm00URWx7UabJkj0e+EmBJX/h Uke1cxsiXcFhCXjxwcN4r/I3BuDEhV9QLwiYGxdqkgrqgeWqjU39dr/8n3ThL+/XB+gK DrF7gldutQhmLB6I+xLlFLSTW6b3AOAxvgrg2FJY3ErW9wTT/U9qkFoNISEwY1e7j+EE qxCvN7+xv3tsMRkt0ZlinLtj7dReObMfKj8ugUaebYWtq8SVmZp78wqamE+mBAH6Joks DrOXP/7JBfj1ufPlQ/XqBzawcjLgMe3a1gPMWgqGa3P8FuYyvnWOwLJyWJLI6H8mgM4/ 14ig== X-Gm-Message-State: AFqh2kpE6JDsCOgPBDS6/2bqy3BBxYExCE7x/pX6QdZJ8KsV4A33Cw2W N/3ME0de/zQ6KWtORMPEGmCazg== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642142 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AA9CC61DB3 for ; Fri, 13 Jan 2023 08:37:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240573AbjAMIhl (ORCPT ); Fri, 13 Jan 2023 03:37:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240371AbjAMIhi (ORCPT ); Fri, 13 Jan 2023 03:37:38 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 113D7676FC for ; Fri, 13 Jan 2023 00:37:38 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id bq39so32153659lfb.0 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=lYuzuxhW60+468ZpKdHzsV4QJ81N0f4lXLft85nAZXsm6nrjSKOCwys9LqxNMQabX6 WIRMVuo0rlFBGNw6HXkBIDzPrI+m/hnAk6K+RD+a6iVOZAtpE0c5tbc4tw1t1Q5JAMGe BvfGIpMV55ouAaZnbjhqq5DsmomucqHkLJ3zuKkeamGCgy0OmefK/r7q8r77cp2tH+GS GHQ20V8fn0WCNhjLzwqSYMZU2Mz2gzZehZ4iXK8TFBKrIyhINi6Lj9nUdqN8YBYqfU3Y cPVz9gZTa+nYCDj6qK7RLlOBs8BlEq/uHAxUEHYxaox7tPTL8NkZLEMjZdN4vn8HakWd GzJg== X-Gm-Message-State: AFqh2kodQcVZPzrtGujeFMIEWMQXecWNfjYxclrNnfa2LUsM3E35Kqjz aeSaetqLrph9XqopTMW1hCNxCw== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642719 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10910C54EBD for ; Fri, 13 Jan 2023 08:37:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238783AbjAMIhp (ORCPT ); Fri, 13 Jan 2023 03:37:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240570AbjAMIhl (ORCPT ); Fri, 13 Jan 2023 03:37:41 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A3E7559E0 for ; Fri, 13 Jan 2023 00:37:40 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id y25so32091131lfa.9 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=N857GOMCbjhh1VcJrS3JKQsQyV2Ehi6HFVSiDp+V49hOD78wEgpf4Od1LAn0kfXuiR DuDRPoq6SgZg3htsOEfUrlOYM2bTAnr8YS5JEcQ5FGh4Fzc0EP2rQ5HZyGEQKv/S06+o Byk7N7SaIMtdp1BjmLmFRRon7vgzJDCMcypk78rcYgppjZOign4JdMuIcCDHeq8a7xbB kIuv/UUHkUjgYaDf3l+gcFna13jUSZBxHbioNzRKfxJ5zaAWuCK0BFHXbQgLr0Cib8TK FBpuU3s5x/R6Bw3Arrlce5vBSQ5J24RylGYbn5F8nGP+XIfywEZqZwA2s+/i82B50ew1 cTiQ== X-Gm-Message-State: AFqh2krB3TzQjz6VhaPHip4eNL/MH4RVv0uyaenvgx2nmsn8nfaGQtzW uYZ6c3+M+GHwuP4q0NA2WFCPsg== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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: 642141 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66E2EC61DB3 for ; Fri, 13 Jan 2023 08:37:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240691AbjAMIhr (ORCPT ); Fri, 13 Jan 2023 03:37:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240722AbjAMIho (ORCPT ); Fri, 13 Jan 2023 03:37:44 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C36CC69B0E for ; Fri, 13 Jan 2023 00:37:42 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id j17so32135774lfr.3 for ; Fri, 13 Jan 2023 00:37:42 -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=fjpvVEYslI5xyjqy46qCwImfM0azEkfQGey+kCwpWx/Ws6W2zIkAdHk6Fixamb5gZv GsILoy7pbSCEPX8GjPHQdeiSyj+iERKGfrtxG//7hElHrRRIKNWlcWKVjnY4MHf1WpTt U6cjNw5fendKB7Ft+Rsl1t69gRhj7qv0mpafM5Yt+bvRrUATNRfxWBu0sf55eVPbLRD3 qBOvBOsPhEH1KW067aTb3sEZ7SKzUT5ERL83XQ7VNpTDylUVClc91yekOZsJLftqtUx6 KvaqXX0RWmHqf5gpZyRuR4rLqlJBqEF5pgcwDaFGHAa6HD1f53lVwt6xELJqgLlXQMWY 1XCg== X-Gm-Message-State: AFqh2krmdh9PTh/zZwdukemOlLyoEmumGvpki//W4DPiCpaUU1nOCZ18 vnVgc97xYLWZIW8Z3dHmSagxSw== 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 Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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";