From patchwork Mon Jan 9 05:13:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13093026 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 1641DC678D5 for ; Mon, 9 Jan 2023 05:14:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229531AbjAIFOL (ORCPT ); Mon, 9 Jan 2023 00:14:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234198AbjAIFOG (ORCPT ); Mon, 9 Jan 2023 00:14:06 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3714BF45 for ; Sun, 8 Jan 2023 21:14:05 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id cf42so11299360lfb.1 for ; Sun, 08 Jan 2023 21:14:05 -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=6j3S7ZfZt79laxcOO2PFYBLa/Z6A+qmxeC1KDED7sL8=; b=oSyQG4xjghAFe5BeNAxkXrPHviyt2PqKW+Ydrulyja+wQRiM4a2yljXPu1wpgeZNI2 JNbmB7OxB6v9P1zX4ugqS249veH4ZksCgaWuaUX8O3vlyceDaziXumO3QZCPeUGukCqh LYjCQSZ8exPZaLvWl0KThLL38DK9mOEZSp0BHYiV/ksdUcPX1Xb59anr+34U82kNMOSj 37wfYHpHeLcmyQH0w7uq3zx3UU4XHbNefRv4BwV7meqaXP2sqwYJjIbR9Ar9GTSWCQ+F XYm7DWgr427XkQEC/DoSZiPYfiA3JYqrQneZgAlnXyHuvDSYZADt9onIq5m/duYMggzu RahA== 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=6j3S7ZfZt79laxcOO2PFYBLa/Z6A+qmxeC1KDED7sL8=; b=Qm4UJZagQ8M9xk1drJPN31mdbDH68p3mpdH538Xy8GzcqTDAwK4CPtT9fBkYfpGLdB qvbxbEbD4w0XMJvGpeJciW3WeSnY36jPla7HQCnCgdAEYMp0Im75IbrI/k/j/S00tuhO dY4u44BPzrF3TSsFEIn4Mf2yqbPHd4vrgIRRaSOcK/LzKc22M0vOF2wTWIAwvJV0MmQL nd/3JUQlE7I1sUC5PfGZWuWvpbTMSJzoTNi9El2IccOVykF/aWu3IZ7/l0uNrMMh3PV0 IOn0dbGPA93CIZudFHeQIi/DYoFidhYrj1Xb/6ulHGlrXB891qvnp4YXmylQEFxCn+Ua 21LA== X-Gm-Message-State: AFqh2kqYrqhQFtfWQRGgRaQx8a850jAFqwGEgt8B7tiAnnYfXiSuDjFP MgUDuV5LnZbZzcEzd08zWLOKzg== X-Google-Smtp-Source: AMrXdXu0isL5foK19ys8/rnpFm9CLtEupl4pSAdxmmS6kYIT5Rkrj89T3++VRmHu4Q/xP9vkzzEVCQ== X-Received: by 2002:ac2:5088:0:b0:4b5:688e:ee10 with SMTP id f8-20020ac25088000000b004b5688eee10mr18850976lfm.16.1673241244314; Sun, 08 Jan 2023 21:14:04 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id w4-20020a19c504000000b004b5812207dbsm1426880lfe.201.2023.01.08.21.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Jan 2023 21:14:03 -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 2/6] dt-bindings: display/msm: rename mdp nodes to display-controller Date: Mon, 9 Jan 2023 07:13:58 +0200 Message-Id: <20230109051402.317577-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230109051402.317577-1-dmitry.baryshkov@linaro.org> References: <20230109051402.317577-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 --- .../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 681d6ac48d33..cbe4d3597f26 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 47fde9b6779f..1a2f639f8a9a 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: @@ -180,8 +180,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";