From patchwork Wed Jan 18 04:12:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 644269 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 07BE8C004D4 for ; Wed, 18 Jan 2023 04:12:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229550AbjAREMw (ORCPT ); Tue, 17 Jan 2023 23:12:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjAREMu (ORCPT ); Tue, 17 Jan 2023 23:12:50 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 813E753E5F for ; Tue, 17 Jan 2023 20:12:49 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id qx13so21886130ejb.13 for ; Tue, 17 Jan 2023 20:12:49 -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=GIyuJnQD498muXVqSb8DedJYfl5A4JrvBcZkaYGB5JM=; b=YFkqeAcAiFVwaUiZH+QhFxq6iOrOnKPJoAaer4DjvNMBst6aMt3dhhhHxsq7wQlv67 1c7z1wk+/VNMj2rIzHihNz0AYVleQbn3+l6UR7t+YhFe3uO/Qq/FCTRXmAeFIp2tRIeJ /J/Y7vYjdi6dHlzFd8/Vd1FWPSkVBYeq8/RoNj1BVYBiC8JCfO1y5eI87VDfe4va4xcT 1n/O3e4SIvJY65eHCJDJ+RXIfYP71DsQ+R1QA2l9obBXJEyqGfCRxncP6m4hlRU4Fe9L sqhDEN4+EGfaR6Q/e+gOpiez8CfZHkirFglp2e0/tnpcUDcANEIQgaVhQaaj9tCKig+m 2+Cg== 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=GIyuJnQD498muXVqSb8DedJYfl5A4JrvBcZkaYGB5JM=; b=6hgMH6tE0nLErjHYUGy2hjXTvCAtICCM1ff+J+hgAoCS9MYel31hUjTj/V/EHG5bPN fg6roC0N0OrwG1M5WdDWn+f19YXu5LhxiJ+QEZbkXaVKvM5bKI+O41EyPS5wLRLApmuC tU1Nvr9Xf9OnUQqp0zBSGibN1Z+UzddnBD4w7E0FRBm9SLrXStldqL6hWUCtIXFMFyAW rlJzixyncmloijS3iVvQhK0nN3fUAnzkcpq61XbP3T85O6r8oest6WHzQjOt4sp830SZ kLQcK8e+mhnDniUNBAdZhqCG0aPtETraM17sn4jtCXC6EEINBK3U4qt+TRX+53nFn4yT r0+Q== X-Gm-Message-State: AFqh2kojixVduIOBORtzNJlzi/JgNo7t5OzsYoR7GidDJU6xRYP5bswz ZQz/9d06W27Tcgvg+zbV27c6wQ== X-Google-Smtp-Source: AMrXdXvOt533A3OI/xj5g7SBPehNuG3/BkHWvbsgSYiSiB203N2XrDqddr3Bqy8RqxrML0sx94UNaw== X-Received: by 2002:a17:906:3e0f:b0:7c0:dac7:36ea with SMTP id k15-20020a1709063e0f00b007c0dac736eamr1335969eji.66.1674015168098; Tue, 17 Jan 2023 20:12:48 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id hp24-20020a1709073e1800b008720c458bd4sm2314100ejc.3.2023.01.17.20.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 20:12:47 -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, Rob Herring Subject: [PATCH v7 02/11] dt-bindings: display/msm: add SoC-specific compats to qcom,mdp5.yaml Date: Wed, 18 Jan 2023 06:12:34 +0200 Message-Id: <20230118041243.1720520-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230118041243.1720520-1-dmitry.baryshkov@linaro.org> References: <20230118041243.1720520-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. Reviewed-by: Rob Herring Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/qcom,mdp5.yaml | 17 ++++++++++++++++- .../bindings/display/msm/qcom,mdss.yaml | 3 ++- 2 files changed, 18 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 7479cd96fdec..d09842db3825 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml @@ -88,7 +88,8 @@ patternProperties: type: object properties: compatible: - const: qcom,mdp5 + contains: + const: qcom,mdp5 "^dsi@[1-9a-f][0-9a-f]*$": type: object