Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3391829rwb; Mon, 16 Jan 2023 07:26:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXtrsk4kx3QwNkK8NdIui7iS/ZNLpqXiJV9HrT03Gpu0cb7Zrzlg7qsceehLQgk63X9ZwNb/ X-Received: by 2002:a17:90a:d703:b0:229:4999:5c3a with SMTP id y3-20020a17090ad70300b0022949995c3amr9220775pju.3.1673882816827; Mon, 16 Jan 2023 07:26:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673882816; cv=none; d=google.com; s=arc-20160816; b=HSx6iRahxyvZTaFJw/oE9nWxQnnBW/qamoLsvwn33AJkppCYt0h0wz80TJRhC2Pzgf BxQrFBxfuakBzXcWuJf684h/x+nJUZTfcrZBSQImm8cMFu7tha8pT8H4pWAH05dKzDvE NrzjVeSbiCW4/eWdhhqj3mUINQcxP20t8XpvV0vEDtXZFkDKH8HLPaIWDnnsDxkb/Yyr atVIIb4gKWGwfhzlS/vMoeSruFlqOUpihH3IQvKH4hJcXG45RiJ9P187A8ooBXTAYse0 eerN3bi23ekutG9Nzk/fv+lzD69xebC4eq2BoEdu+rwJyBML/A85K2fyRPQKBSAl/kI3 yBKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ipy7aLx0VwQlNfAPQLDup1F5SBfWJdQz4FY6bwFHuGc=; b=ICfRYJBsuqL+t4IZi4jZ7W9WtqiaJdk8Szh5/sHhHyp0UGToBM0PL5PRwmq9OcUE3y 53xlazmFzmxqXUfVQ1G4XkmgT/aH7AUoRBtaSMe7leR2QUnctaBG5mDzb4qGCKYXV9A1 CGpSIrrmcmmpxVVzMXeWqYzDlRuPowutmnpkZ74VBN9MoA1Z4TbP21Rbq9ib7VtDbWpI kQL0maO06+eyNDkrgGHxdngQ9HfhSS5kumbS8jRNyDR8waajN69mMR+YvkBCjLwtYnXd pjDXorRtTcFZU3JmxO5NTuZLhyB8YAlebJVu4iIS5uuk9jHOxUq0hcOcvAivZcYRWVGo Lwbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S2uwb2b8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h18-20020a63df52000000b0047f3b677affsi27467126pgj.274.2023.01.16.07.26.50; Mon, 16 Jan 2023 07:26:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S2uwb2b8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbjAPPYR (ORCPT + 50 others); Mon, 16 Jan 2023 10:24:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229871AbjAPPXn (ORCPT ); Mon, 16 Jan 2023 10:23:43 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA91823644 for ; Mon, 16 Jan 2023 07:21:33 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id bk16so27782156wrb.11 for ; Mon, 16 Jan 2023 07:21:33 -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=ipy7aLx0VwQlNfAPQLDup1F5SBfWJdQz4FY6bwFHuGc=; b=S2uwb2b8BLVVzGbiBGjRSt09lvDYJKv/MTgNZb6TDZSThobAD5VuERDnzC8F9cOSlp 0GiBxIXYNJXIDrm8ryJeSxUN4MyVCEvi6vQYdDLsZNvU4h7nrj1GNBOmE8wqQTZmLx8P 1HulAz0E1H4ERGEdGc977PynVl3uL4N1uJMMPjT/T4kQIX+okN0dTGyKD/gdy/lsrG4V 3cYBA6N+nGdr6Bfa6+28K7WZYYCVXnE9v/K7Dm8I9vccXGCZz61+LwlZwJ9uxRRMvTG6 lIKRLVlHTAg7Azg6EYzg6QSv47lK25qI24/Qq8UxELibZzMNFpMIAB5pP2k1ouVJGVDE wsyQ== 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=ipy7aLx0VwQlNfAPQLDup1F5SBfWJdQz4FY6bwFHuGc=; b=hf3UyQUCa0JzxKk0EZh3/ThCk3PBxv3oo/lWL3xYDGxLuMz4pk7uvwBFqw09gsTN5i FNNjx5AP4evcUd1jFRQnwIWfrIKrinzawavWbzUYIQAxeiD+GsXNwpVFq9hoqkmjE6l4 e7Ac9jj5A8o9OIgGS08+xd+j2TbiAmEcM0tY4pNPaPrxh+VdkmJnRCNkRv1aZo75IWaU hQCbPkiciGyPSrMUs65b38lvNOW9aFjC3oS/TEoJuD/I7dr935fFIc9/KRKSLq/DtvNO H9UIVwcLISl8O95OATdngTBPq39FM9IQNzdLoJwxV5zlG0RzleoVzgFRLmfAGpbWv+E9 5btA== X-Gm-Message-State: AFqh2ko/Aua9MDHne8tGc3U1CaKuDiavhFKJBvcn1nDT3Vhl6kPuPSpP +03oxKT/pk69CoaRn4qdgrG0Cg== X-Received: by 2002:adf:e987:0:b0:2bb:e891:1829 with SMTP id h7-20020adfe987000000b002bbe8911829mr22933080wrm.4.1673882492423; Mon, 16 Jan 2023 07:21:32 -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 u18-20020adff892000000b002bded7da2b8sm6874686wrp.102.2023.01.16.07.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 07:21: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 v7 1/4] dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC Date: Mon, 16 Jan 2023 15:21:25 +0000 Message-Id: <20230116152128.909646-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230116152128.909646-1-bryan.odonoghue@linaro.org> References: <20230116152128.909646-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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,sm8150-dsi-ctrl - qcom,sm8250-dsi-ctrl - qcom,sm8350-dsi-ctrl - qcom,sm8450-dsi-ctrl - qcom,sm8550-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 | 30 ++++++++++++++++--- 1 file changed, 26 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..35668caa190c4 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -14,9 +14,31 @@ 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,sm8150-dsi-ctrl + - qcom,sm8250-dsi-ctrl + - qcom,sm8350-dsi-ctrl + - qcom,sm8450-dsi-ctrl + - qcom,sm8550-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 +171,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"; -- 2.38.1