From patchwork Fri Jan 13 08:37:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13100263 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 F280FC61DB3 for ; Fri, 13 Jan 2023 08:37:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2220810E9AE; Fri, 13 Jan 2023 08:37:27 +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 5809710E9AF for ; Fri, 13 Jan 2023 08:37:24 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id o20so154654lfk.5 for ; Fri, 13 Jan 2023 00:37:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=89Zd6mgRw6i6pS7UmAmLfKTihhoi7hZ3v4ZY4evNfNU=; b=Md/c6o4xFP/rPyTe1JxNVDFfvvxKjrHwRmQThWtvoxAemn7Qw8PDih/X4Ij3SBmKTQ oOorr2DP3DubEBXYQL/WtT7gBPCMt27Ux5W7KJ7ebUV+ZjMJjrPxLqsvRexkwvYM5qHR Qjk+RbtTNyBgHucoN3BkReQ3KFIV7dbIgSJq+bn68jku+e5rcHuFPCkbPkNSou5OEMBT NnlUBaudHvINOiesk1gOQmJrNcarT8ZYvUxASFNNrW7SQU/4PaJYx4uh0fkrMk1I+5Zo ToBm8065LUIaLfVossiVto5Ljal1qU9nYZb0LhK0pqAgV+FYb5PT6uRRZnQ8/dGNZnke qFZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=89Zd6mgRw6i6pS7UmAmLfKTihhoi7hZ3v4ZY4evNfNU=; b=4YpK66/PuufICyVAuskUOITClETb4eUhMB6WlfRZkQF2RpTg18BxxMqpmR5EtEXSSm v6sWcnR9EG1K5cySP82galaJSj+BcxXZrfABDk049fVoaV2rqJA3QBh/lbP7tk8i/BvW vkEh/R/gtwJnW5b15Mbo+JiQ+U5AdbdAIAX9QyOBP4sNOjp7TraCGggrZ32ujo2KgHrI 6QeS9EYUr421vfFrnCPM47bcG9agE+aggdg8aAGUgk2LsYSm82nPudwG/qZ1Gvf/V7nu 1h1oodhrZl2VGEMLoLwtsebuF7XzyhiHumW1RAMzA5QiPopawsZN7XTlcDxWmOwZ9HtK O+wQ== X-Gm-Message-State: AFqh2kohiUKFQlgzKbItWb4+mis/ngIS2fC5oqSqcHUh/DyRfgE6QLOC yIB6zy+ZOdRgwoMEKhtZiFYO1Q== X-Google-Smtp-Source: AMrXdXsKRL8Wgn2I3YnZYNfAI4H1YVtupP4j3ohwao7d05G23ww7r7+efpyZW+XbzlG5m+TiV3Av2A== X-Received: by 2002:a05:6512:40f:b0:4ce:e95c:f2ff with SMTP id u15-20020a056512040f00b004cee95cf2ffmr790411lfk.18.1673599042611; Fri, 13 Jan 2023 00:37:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:37:22 -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 00/11] dt-bindings: display/msm: rework MDP5 and MDSS schema Date: Fri, 13 Jan 2023 10:37:09 +0200 Message-Id: <20230113083720.39224-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 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" Krzysztof asked me to merge all pending MDSS/MDP5/DPU patches to a single series to ease review and to let one to see the whole picture. This combines three series: MDP5 schema conversion, mdss/mdp renaming and addition of the "core" clock to the MDSS device node. Changes since v5: - Merged in the mdss/mdp node renaming and core clock series - Fixed the formatting of descriptions in qcom,mdp5 schema. Changes since v4: - Adjust qcom,mdss.yaml to follow the addition of per-SoC compatibles Changes since v3: - Drop MSM8998 completely, it conflicts with qcom,msm8998-dpu.yaml Changes since v2: - Fix MSM8998 compatible list: "qcom,msm8998-dpu", "msm,mdp5" to allow handling this device by either of the drivers. Changes since v1: - Renamed mdp@ to display-controller@ in the example (Krzysztof) - Extended ports description to mention possible ports (Krzysztof) - Fixed ports@ regexp to limit to just four ports (Krzysztof) - Included patches adding per-SoC compat strings to the schema and to dtsi files. Dmitry Baryshkov (11): dt-bindings: display/msm: convert MDP5 schema to YAML format dt-bindings: display/msm: add SoC-specific compats to qcom,mdp5.yaml dt-bindings: display/msm: add core clock to the mdss bindings dt-bindings: display/msm: rename mdss nodes to display-subsystem dt-bindings: display/msm: rename mdp nodes to display-controller ARM: dts: qcom-msm8974: add SoC specific compat string to mdp5 node arm64: dts: qcom: add SoC specific compat strings to mdp5 nodes arm64: dts: qcom: rename mdss nodes to display-subsystem ARM: dts: qcom-msm8974: rename mdss node to display-subsystem arm64: dts: qcom: rename mdp nodes to display-controller ARM: dts: qcom: rename mdp nodes to display-controller .../bindings/display/msm/dpu-common.yaml | 8 + .../devicetree/bindings/display/msm/mdp5.txt | 132 --------------- .../bindings/display/msm/mdss-common.yaml | 8 + .../bindings/display/msm/qcom,mdp5.yaml | 156 ++++++++++++++++++ .../bindings/display/msm/qcom,mdss.yaml | 51 ++++-- arch/arm/boot/dts/qcom-apq8064.dtsi | 2 +- arch/arm/boot/dts/qcom-msm8974.dtsi | 6 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 6 +- arch/arm64/boot/dts/qcom/msm8953.dtsi | 4 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 6 +- arch/arm64/boot/dts/qcom/sdm660.dtsi | 2 + arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- 15 files changed, 230 insertions(+), 163 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/msm/mdp5.txt create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml