From patchwork Fri Dec 23 02:10:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 636342 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 B1C2CC4332F for ; Fri, 23 Dec 2022 02:10:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235833AbiLWCKh (ORCPT ); Thu, 22 Dec 2022 21:10:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235814AbiLWCKf (ORCPT ); Thu, 22 Dec 2022 21:10:35 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB2F926139 for ; Thu, 22 Dec 2022 18:10:34 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id co23so3397597wrb.4 for ; Thu, 22 Dec 2022 18:10:34 -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=YZ5FGEbeDjrL2iWfMvLI1z2BArYg+1UZFUEu8QW81ho=; b=supY+mfnxqFaJyer79O9fEoRFD0NXuUOGQo44W5PWoNhbHjq2dkvvn/jk1ar+GfoXV hM1zc90iFahzKFcPibxs7mxx6RJrGOa4tilzUdevl2Zk9vJVD+FfqqB55um3QqBEW0xP wpDE9IBBxfV46QsGjq8wrBQWqd8NFv2LKFh7KGPXjzm1HUDO4MQ5XzAbjg8kDDCEVHQR WzhDvMb3nhDjqmCHvk/YcWPYGYw1wUbYkgwo88WyvD4p6t03yACJenWikkz+8fc44uNk 8b+lfBTZXK17n6oC+LKcTRg5ov1Jpqquzg/aXE4ThfC99pTrR5OmUOw9SgKUaZx2VRT4 XBlQ== 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=YZ5FGEbeDjrL2iWfMvLI1z2BArYg+1UZFUEu8QW81ho=; b=cwQiV1T/iAWn/ij45a+w6xQlT9UNkF4KmFadu1arbRrDel3EhXDT69mScPv+l0te6D uiqWbzjt61vjwsY3BGSMX9NVUg0eZuw8egEou4QdwlLtptM+KQfthULBDTXwMseKp65K YjDB9Y1E77P8TYWRV06gkSs/4I6yJbV6teYq1fv9U7UH+F8i4oF058jLfIh+jWt5O2Bz sHggqSzzk1w0lX1MFu/VC4VXhzASU80ynoFioHtNWYAne7qafCwfKAHwpdA4PhQjRviO SYdhFPAohZUwmG6ChpW5oqzP3IjjBdOaw6Irji2jLAo3p6tLOwkdeXElfhe7IGW6V6Z6 Oodg== X-Gm-Message-State: AFqh2koH9bZ+HKVrlVY/H+eoJyM2aQCcHkXhvVv97oECOhvCZTsXsv/H F/2ZDWmPg6XzvsVtzWlc3loTNsuIAWYZEbC25vs= X-Google-Smtp-Source: AMrXdXuEgXFTiwZz66Yi+3vrH5961pBWHMBNODkS/ydRMqAhyQ7UZ+RbgrVlhFyy4k9u1box64gbWQ== X-Received: by 2002:adf:ec05:0:b0:260:6dca:f239 with SMTP id x5-20020adfec05000000b002606dcaf239mr5260070wrn.22.1671761433188; Thu, 22 Dec 2022 18:10:33 -0800 (PST) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id j11-20020a5d452b000000b0022cc0a2cbecsm1849725wra.15.2022.12.22.18.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 18:10:32 -0800 (PST) From: Bryan O'Donoghue To: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, dianders@chromium.org, david@ixit.cz, krzysztof.kozlowski+dt@linaro.org, swboyd@chromium.org, konrad.dybcio@somainline.org, agross@kernel.org, andersson@kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org, Krzysztof Kozlowski Subject: [PATCH v6 04/18] dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC Date: Fri, 23 Dec 2022 02:10:11 +0000 Message-Id: <20221223021025.1646636-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221223021025.1646636-1-bryan.odonoghue@linaro.org> References: <20221223021025.1646636-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Currently we do not differentiate between the various users of the qcom,mdss-dsi-ctrl. The driver is flexible enough to operate from one compatible string but, the hardware does have some significant differences in the number of clocks. To facilitate documenting the clocks add the following compatible strings - qcom,apq8064-dsi-ctrl - qcom,msm8916-dsi-ctrl - qcom,msm8953-dsi-ctrl - qcom,msm8974-dsi-ctrl - qcom,msm8996-dsi-ctrl - qcom,msm8998-dsi-ctrl - qcom,sc7180-dsi-ctrl - qcom,sc7280-dsi-ctrl - qcom,sdm660-dsi-ctrl - qcom,sdm845-dsi-ctrl - qcom,sm8250-dsi-ctrl - qcom,qcm2290-dsi-ctrl Deprecate qcom,dsi-ctrl-6g-qcm2290 in favour of the desired format while we do so. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Bryan O'Donoghue --- .../display/msm/dsi-controller-main.yaml | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml index 6e2fd6e9fa7f0..98d54a7ee28d4 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -14,9 +14,27 @@ allOf: properties: compatible: - enum: - - qcom,mdss-dsi-ctrl - - qcom,dsi-ctrl-6g-qcm2290 + oneOf: + - items: + - enum: + - qcom,apq8064-dsi-ctrl + - qcom,msm8916-dsi-ctrl + - qcom,msm8953-dsi-ctrl + - qcom,msm8974-dsi-ctrl + - qcom,msm8996-dsi-ctrl + - qcom,msm8998-dsi-ctrl + - qcom,qcm2290-dsi-ctrl + - qcom,sc7180-dsi-ctrl + - qcom,sc7280-dsi-ctrl + - qcom,sdm660-dsi-ctrl + - qcom,sdm845-dsi-ctrl + - qcom,sm8250-dsi-ctrl + - const: qcom,mdss-dsi-ctrl + - items: + - enum: + - dsi-ctrl-6g-qcm2290 + - const: qcom,mdss-dsi-ctrl + deprecated: true reg: maxItems: 1 @@ -149,7 +167,7 @@ examples: #include dsi@ae94000 { - compatible = "qcom,mdss-dsi-ctrl"; + compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl"; reg = <0x0ae94000 0x400>; reg-names = "dsi_ctrl";