Message ID | 20221222210140.278077-1-marijn.suijten@somainline.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp162063wrn; Thu, 22 Dec 2022 13:05:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXt8lEAd9avCRR77AeWvwVjEBgzS8FRTzyrxIhKGgEcAKXLkA5jE8913Npje3R4CvqU8EvM4 X-Received: by 2002:a17:90a:af85:b0:223:f385:bb72 with SMTP id w5-20020a17090aaf8500b00223f385bb72mr7391855pjq.49.1671743111103; Thu, 22 Dec 2022 13:05:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671743111; cv=none; d=google.com; s=arc-20160816; b=tj9dTa87jMIzOym9LRRigDnwQC/4zZZsG17W6+XLWn76cAyhfwvPEBOHZ3IZPmkaVi 7/83Kcu+y8tAR7xtGYsR4uzXFMqTxVtdsEyIIrnLKmZd+Ta09NWt3plw/2uiEG6Cu80k KOqen/KcwsoZzi6bK0NWtQCyHCQaefmVp/+xeyKF+4M0SLvaPi0P7Pa8sanJIY5DxZLA tov82S77tOXcWNxgDRp1gZoyebmRKaOFBuJCG8CVQ3xdKhq30Skpk4EUtUU306TfJDJZ DfwzlUSO9Y1h/B54m8Hh+nF1+o6fnN3uYjYbG2yabJo8vtuaFwFv1U4L1b2+M7qTz1U4 0s6g== 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 :message-id:date:subject:cc:to:from; bh=etMSVjeGQsojiEjABkju4UtJdwDLP4Kzkmq6TUGGPvU=; b=A3H5WqeVMC1e+DCIwRlmqGXHn6maVwIFRbaiTVViUZSEgdfUE8CJkj9ShTmZcBAvXn 9AnmNeqPXh5iaE9wEE4tsUhfDQxo5aUNwk3rvEI9emGbtsqVNSThi5mvK2Ts/FhY4Uwn lcIHOO9EQP14lyl+VEGnK05AO8G43ZVD60fzSqgGsIUrPAv5yHR8XGLTKflsXOo454Ci 3MS18n6wbTykhqaTVKwfn3bxbMr3fI7mXgt4hZL0gsaEgsrwFqhDVnkUnDA6f3UDuasf 5W7EPcIxNNMeKT309XgGHrLeQcUB7YEwcycOLInyP4ceYLD2R6wnNku2gdzVJOPwfpwH LaiA== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020a63db44000000b00476e6407413si1787501pgi.15.2022.12.22.13.04.33; Thu, 22 Dec 2022 13:05:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229973AbiLVVB4 (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 22 Dec 2022 16:01:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbiLVVBy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Dec 2022 16:01:54 -0500 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [5.144.164.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4230162D2 for <linux-kernel@vger.kernel.org>; Thu, 22 Dec 2022 13:01:52 -0800 (PST) Received: from localhost.localdomain (94-209-172-39.cable.dynamic.v4.ziggo.nl [94.209.172.39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 2F6DC3F34C; Thu, 22 Dec 2022 22:01:50 +0100 (CET) From: Marijn Suijten <marijn.suijten@somainline.org> To: phone-devel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Martin Botka <martin.botka@somainline.org>, Jami Kettunen <jami.kettunen@somainline.org>, Marijn Suijten <marijn.suijten@somainline.org>, Bjorn Andersson <andersson@kernel.org>, Andy Gross <agross@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: qcom: dispcc-sm6125: Fix compatible string to match bindings Date: Thu, 22 Dec 2022 22:01:40 +0100 Message-Id: <20221222210140.278077-1-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752949704482138502?= X-GMAIL-MSGID: =?utf-8?q?1752949704482138502?= |
Series |
clk: qcom: dispcc-sm6125: Fix compatible string to match bindings
|
|
Commit Message
Marijn Suijten
Dec. 22, 2022, 9:01 p.m. UTC
According to generic rules the SoC name should be first:
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb: clock-controller@5f00000: compatible: 'oneOf' conditional failed, one must be fixed:
'qcom,dispcc-sm6125' does not match '^qcom,(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+-.*$'
And this is already reflected by the bindings submitted prior to the
addition of this driver. Any DTS following these rules will end up with
a non-probing driver because of this mismatch.
Fixes: 6e87c8f07407 ("clk: qcom: Add display clock controller driver for SM6125")
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
---
drivers/clk/qcom/dispcc-sm6125.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Il 22/12/22 22:01, Marijn Suijten ha scritto: > According to generic rules the SoC name should be first: > > arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb: clock-controller@5f00000: compatible: 'oneOf' conditional failed, one must be fixed: > 'qcom,dispcc-sm6125' does not match '^qcom,(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+-.*$' > > And this is already reflected by the bindings submitted prior to the > addition of this driver. Any DTS following these rules will end up with > a non-probing driver because of this mismatch. > > Fixes: 6e87c8f07407 ("clk: qcom: Add display clock controller driver for SM6125") > Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Since there's no devicetree that is currently using the wrong compatible, you are *not* breaking anything - hence fixing that issue without any regression. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
On Thu, 22 Dec 2022 22:01:40 +0100, Marijn Suijten wrote: > According to generic rules the SoC name should be first: > > arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb: clock-controller@5f00000: compatible: 'oneOf' conditional failed, one must be fixed: > 'qcom,dispcc-sm6125' does not match '^qcom,(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+-.*$' > > And this is already reflected by the bindings submitted prior to the > addition of this driver. Any DTS following these rules will end up with > a non-probing driver because of this mismatch. > > [...] Applied, thanks! [1/1] clk: qcom: dispcc-sm6125: Fix compatible string to match bindings commit: c045154c30f1cf8d96e3f32269c155b3706a1669 Best regards,
diff --git a/drivers/clk/qcom/dispcc-sm6125.c b/drivers/clk/qcom/dispcc-sm6125.c index b921456a2e0d..87b27053ddb6 100644 --- a/drivers/clk/qcom/dispcc-sm6125.c +++ b/drivers/clk/qcom/dispcc-sm6125.c @@ -667,7 +667,7 @@ static const struct qcom_cc_desc disp_cc_sm6125_desc = { }; static const struct of_device_id disp_cc_sm6125_match_table[] = { - { .compatible = "qcom,dispcc-sm6125" }, + { .compatible = "qcom,sm6125-dispcc" }, { } }; MODULE_DEVICE_TABLE(of, disp_cc_sm6125_match_table);