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: 642724 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 A7B51C54EBE for ; Fri, 13 Jan 2023 08:37:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231342AbjAMIh0 (ORCPT ); Fri, 13 Jan 2023 03:37:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230258AbjAMIhZ (ORCPT ); Fri, 13 Jan 2023 03:37:25 -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 3CE7C1C921 for ; Fri, 13 Jan 2023 00:37:24 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id f34so32085544lfv.10 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=tK1kqm7RBAPDiQSK5SL9qKDaUd7CRkNkwMQmVO8VBrntp3lnFk10Z5Ortwc3GtQ0io rWaBs8DLnnHyKHeYqHxG/YVekRLrAjBFelMqTyWhiMPfsanq36wjpVCNopY8A7kWGFAj DFu+EmDWBkwbcVXqzJjTiJj35AezL301v32lVFVaCCklNppdmBsc88GCD5tFMZOhxG2E l12Bmxj/HzEJsMedD9WWALTZLW92d2+eN+1591bx/WqHVL/Urw0x1nSQ2o31zBfuYPgL tPJLa69z5m3VpVGBjezJFYIF8ihRrAJVSnjpelKeFfX0EMB/j1zaKsESmGlJyiKUMWAx nrtg== X-Gm-Message-State: AFqh2koVt2a4dAo8EAyFg+cBdqb8DQBNQeHOeCrTPGFid3UlCWnazuNx Mc7eu8OrS/UgnN1hx37Apeie8A== 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 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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