From patchwork Tue Mar 7 01:22:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 65190 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2177667wrd; Mon, 6 Mar 2023 17:30:32 -0800 (PST) X-Google-Smtp-Source: AK7set9fxiQTo7Yl41MZ602EGVmjNVMTx2UmJvHNGdY9kd/4P94XJ+/I9Fot34C9efP1ANSN5g38 X-Received: by 2002:a05:6a20:1447:b0:cd:87ef:3f33 with SMTP id a7-20020a056a20144700b000cd87ef3f33mr16443332pzi.29.1678152632430; Mon, 06 Mar 2023 17:30:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678152632; cv=none; d=google.com; s=arc-20160816; b=y7y7UsDm43ZfPR+G13Oc1LoNab+/h0A0IRoQtHy85B9vxYZt9B6xxX0Dhaj6QYCTod 97Zk1r270wD/Zg8r3mkNoaIVB0z2jP5nQSHLjJmvXff3ziDsxwlyPm2uNsTJKSj/D7gt MX8hsKdabg/pihicdSVPHnOIu3NKOPo27smXcftnELmC7j9LXP5WpNM7THXVq/5Awm6w LRGzzdBAFYEu1wmMFFbcuYkYWRzLdGA54rOYrprZ0tvVG2wwZAZ1fhHIHu4CTGDflRz7 LOrdJJKhaI3Kmmk5J6WlhO0V8l54a7RGXWFaKAYkhsbp9VIW4rQM6owemZtixPTXObyO 5daA== 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:dkim-signature; bh=v2x8CT0qC69q7YoY7JhCMWzXWvhAS15Aiyex8pxnv7E=; b=TNZfyIYiBK66jSQcpqah19jsNy7WpDLhN9y9Knn7P1F1sHi6v/iGOJBejv31FyV44F BN0y6o/Jvj8EL3heHvr5tYHKRp9zGDR9AUMXZYFyqfhEQT2Qi3ypLIyAnbmUkx2qjAtU laFW8pUJd47mQivY7jdof3LV6fVkUgT5XjjkNe+v7L+2bkxvL9DZ/4evIWb5saKUhcHk qoU4IofroBAUcpIVlsmRzIBG63rE/K57kcKA3kB2tFp93cKSGRfFaLp7cd5wf16/EnO4 0yZh7Bkf5o0qUDMOEwlFSK2bddkdFcQBSSvtiqmZruE3furPtHNYnpWUWoMDWTbZuPAR 9foQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RQdubjvB; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h29-20020a63385d000000b005073a898556si6012012pgn.385.2023.03.06.17.30.18; Mon, 06 Mar 2023 17:30:32 -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=RQdubjvB; 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 S229663AbjCGBW4 (ORCPT + 99 others); Mon, 6 Mar 2023 20:22:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbjCGBWy (ORCPT ); Mon, 6 Mar 2023 20:22:54 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 081FC29E2F for ; Mon, 6 Mar 2023 17:22:52 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id i28so15283786lfv.0 for ; Mon, 06 Mar 2023 17:22:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678152170; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v2x8CT0qC69q7YoY7JhCMWzXWvhAS15Aiyex8pxnv7E=; b=RQdubjvBLAVFreilW44I42iQiHFUhj1JbyenLwezjpLlLVlGhy2HWQWxrGj74EeQ7H QcR4HXjUoRM2gjf8O5gXoG93Uar0xzDxgKOuFCz0iyqBToqHIGJSQdI78e2vj9QZLEay QdVnOdJH387WGiXeRRZulzPsl4Dr7xIRsQ11gXmAUoOvvW4G96DN/4lM7UVTuyh6MJz9 FIzFUz7cbKkqByIZwefZCb0EyHI62Mw9nTrwjoCDhKUQ/mxEAlkgFRpM3BZ++KEUO4jp 6JZEvduDK1Je8SojN76prW4Ln4U2pad5U1w8ND2n9Ez/Co/wvUilJKuarXR1CV+yxDZH Ubpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678152170; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v2x8CT0qC69q7YoY7JhCMWzXWvhAS15Aiyex8pxnv7E=; b=k69erqrnhzUv7GZVNYKXggbgOnmme4LEX4ecf7kNxfZuS/dM7Jz0NlCAUf4fqPpl5d eKmv6g74r386vPeb79/okCfpbvUaKaZq7T3TnV5dy0ghsAyqvAwJIJ7yiaJ4ohy+yD7w nsQrLnSMSGVwwWhF8iz9KMYKmzc0dVbEXyvHnF8rkZJWLRBZTepjIRk4lR69EGRVHINi z/mDbLkF1qLQwgbvrQq4T3KaGbpp+rQ/U4X/3X6vCpHwYAU+wiQ8+ThyZBAw/7teOTPj ZCVyY2F5UAVSvE++SZfItkE/SHCFw1PgGa/MaS3BDSxaii+cChUNKQXrH8T4MJVKxbph t/0A== X-Gm-Message-State: AO0yUKWLtyvfjpGjgIcvumLo/+j4t71ICu9JrBB+pS4apXjT71CPunOp FO/bRgSYQqfqnDvuMOLHdPky4j91twou7OfFfRs= X-Received: by 2002:a19:7506:0:b0:4dc:790c:910b with SMTP id y6-20020a197506000000b004dc790c910bmr3198637lfe.20.1678152170215; Mon, 06 Mar 2023 17:22:50 -0800 (PST) Received: from localhost.localdomain (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id u28-20020ac2519c000000b004dd7fefd2c8sm1819076lfi.242.2023.03.06.17.22.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 17:22:49 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , linux-kernel@vger.kernel.org Subject: [PATCH] firmware: qcom_scm: Add SM6375 compatible Date: Tue, 7 Mar 2023 02:22:47 +0100 Message-Id: <20230307012247.3655547-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759670574914930714?= X-GMAIL-MSGID: =?utf-8?q?1759670574914930714?= While it was introduced in bindings, requiring a core clock, and added into the DT, this compatible was apparently forgotten about on the driver side of things. Fix it. Signed-off-by: Konrad Dybcio --- drivers/firmware/qcom_scm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 916a0c2fc903..2e8961c84b68 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -1494,6 +1494,7 @@ static const struct of_device_id qcom_scm_dt_match[] = { }, { .compatible = "qcom,scm-msm8994" }, { .compatible = "qcom,scm-msm8996" }, + { .compatible = "qcom,scm-sm6375", .data = (void *)SCM_HAS_CORE_CLK }, { .compatible = "qcom,scm" }, {} };