From patchwork Thu Dec 8 00:54:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 632636 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 C7BC3C4708E for ; Thu, 8 Dec 2022 00:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229709AbiLHAzC (ORCPT ); Wed, 7 Dec 2022 19:55:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbiLHAzC (ORCPT ); Wed, 7 Dec 2022 19:55:02 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E08A84DF6 for ; Wed, 7 Dec 2022 16:55:01 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id b9so22794255ljr.5 for ; Wed, 07 Dec 2022 16:55:01 -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=WDR5TGPsNhjWsPBDgVfNtYEgkFBeujMENl7U3gpKJY0=; b=tY2d4VviSGal/QMy9Z8CDdTou7sz4oxGObjk1VhuO0dDlh07dZ/rj8gFNbZLpvolDr RsiekjR/3/s1q+hK6q5mLycMcIuBOX9nmO+86FAYo8GV462xgJU8JOXZz+KuI1lwsFqm nLlgUQiAa4BGZPDXR5CfiXcEXMOgZR43PMk0EDYRqrn/cRlJ6zy8n6c+p0nILDA3uWJq TBRKce7/qGf6r2l++J9vufs5OrlJm5MPo5V54ispGhcZy+202z4BMYTShMpl3EiJ5/0I HL5zScV3/d6utMGTzhyVtjnQzCmXvK8oFhDz/LvAAleKaUfktCjvkeoqTEK21fTQRosa xLTw== 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=WDR5TGPsNhjWsPBDgVfNtYEgkFBeujMENl7U3gpKJY0=; b=28ORt2lwxTHIUcmh3w0p+TtPrBPvfAmKwxR4CkF/4iMfXyv3CQFeZzEX4vJ3i3Jker SWcJtFro1/vJjuNSzu6K2Xx7UXZV5Zz2yYL0zMgn2LzR4L8cBmecfbUtBPOQKLGNdlV9 ZRhXZa/m2cE5u08cCqziAkhVtsQWSgI+NnRlX1+1XyK3lhexzMOlA207miRN8nZWSDD+ axlobN53sTI+PKjBHhC8qoMk+M7jhb44FgYOtTKPPaYduq0EYooEtcceIXXSlJGD3W2j 9/NBsvebcT15iTlBQKNh1a/uQrKV9Nd2vZ/mdGIpLvIIG7A+Bgj+Ocm4rsoicyuerN53 BvSQ== X-Gm-Message-State: ANoB5pnpINl2oqxhEfSPG1ryOBPWvrfbQBxnvUVJqOPknsT/k6+4+jO1 aWCZEtkHNg6DrM1vnsJ1xxuvNw== X-Google-Smtp-Source: AA0mqf7elxcLWQxq40/vt8Rf3Z6g2zKIwhLRkFfg9GZBlR3gUTfVmrB+lEcu5V+SRNewsNZOOhiTdg== X-Received: by 2002:a2e:8092:0:b0:279:da43:44bc with SMTP id i18-20020a2e8092000000b00279da4344bcmr8376466ljg.432.1670460899485; Wed, 07 Dec 2022 16:54:59 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id f27-20020a19381b000000b0049fff3f645esm3064159lfa.70.2022.12.07.16.54.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 16:54:59 -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 v2 0/4] dt-bindings: display/msm: convert MDP5 schema to YAML format Date: Thu, 8 Dec 2022 02:54:54 +0200 Message-Id: <20221208005458.328196-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch concludes the conversion of display/msm schema from txt files to YAML format. The per-SoC compat (new addition) is required to ease migrating platform support between mdp5 and dpu 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 (4): dt-bindings: display/msm: convert MDP5 schema to YAML format dt-bindings: display/msm: add SoC-specific compats to qcom,mdp5.yaml ARM: dts: qcom-msm8974: add SoC specific compat string to mdp5 node arm64: dts: qcom: add SoC specific compat strings to mdp5 nodes .../devicetree/bindings/display/msm/mdp5.txt | 132 --------------- .../bindings/display/msm/qcom,mdp5.yaml | 155 ++++++++++++++++++ arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 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 + 7 files changed, 161 insertions(+), 136 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/msm/mdp5.txt create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml