From patchwork Sat Oct 22 07:25:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7469 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1098991wrr; Sat, 22 Oct 2022 01:12:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6cJs87f/xYriX9oljZWv8VLU+mO/mjj/WS/5JwSKLVbAljczQsf7K3yBVywKWh0OtujFc8 X-Received: by 2002:a17:90b:3c8f:b0:20d:959b:26f4 with SMTP id pv15-20020a17090b3c8f00b0020d959b26f4mr27137533pjb.104.1666426342019; Sat, 22 Oct 2022 01:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666426342; cv=none; d=google.com; s=arc-20160816; b=VVdoSJ15a6TiUpjidyuxs7komGHFs/jHTHs2n5cV2kEfXXRJCLoJBUZh9/JcFxX2vZ ia0dwSsTNrkf+Xt7eCdFY0OsmyLre+rGA1DB6axY2QWgXoFaG09U8ZzOs0fI//6ykVtU oj1BWXtivdmQWWNFuZReRu1PZ/BI4Upb38yx5BttDc257/E6AP3bwR79RF3C2J5gxJK0 wNTHWD2FpHnplcgqQbGhKCOPPmMyeIFbsBZI0pLoo62ZgkHkpBn1rPay4sYDWBUmA8xn QwyoTky3yIUrVUroe12gA9pg0s4jOtsncwRamN+sq79pnDUAw/LCrMao3vlxHfFHarEg wzag== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3hPtnjY5rWdYITFgvZSt9J7knOxt/7RWxSWPe0ow0as=; b=b7q7iOm7f079PWgsM7wJIHeIDcP6eDHuKOL8HRw8Zcg/h5qISQzlq7rGZ9W6CdkD+L AEPI7cWmmdCrGE5Gj6Bnyhov9VNTmHiBeRxxTvbKkyiQHRBPCpAWQSMLsXVf7kp65pdh yW3JuPuQdcErvWEqwSscnERxHeDWbXxDodRLXVUvjNB9PuzE+iJvEsoBRfzmatL81bza Vgb//OS1exiOKYz6wIPuTaAJ8dbh9AwsblESRDWzD10S74gp0zvC/QuONO4c13dfhW/s NoPzXeiB/tqeaMMvMHG4r3JrA4voiBcfpVd1+RNy9w2umxqGWsH8l2tBYdJ6NagZfMfc VRzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G2XKskj5; 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=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a170902d38d00b0017a0a815e17si24881137pld.487.2022.10.22.01.12.10; Sat, 22 Oct 2022 01:12:22 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=G2XKskj5; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233243AbiJVILg (ORCPT + 99 others); Sat, 22 Oct 2022 04:11:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233375AbiJVIJl (ORCPT ); Sat, 22 Oct 2022 04:09:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 780672CA7CD; Sat, 22 Oct 2022 00:54:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CE1CC60B89; Sat, 22 Oct 2022 07:53:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9E84C433D6; Sat, 22 Oct 2022 07:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425195; bh=ZfDWuQNfaD4Mxq/Q6X3O0/xnPSophpyyQ8qJFF0+MYw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G2XKskj5W2f/72cNuDRNP3M5OXeRygQT3kVGCtT2AQURCz0KTYML50UGe2ufRwIzH aGCseJyvAmRhltUHztdrOiXAShfs6ythBxwO6pGQWyrFFVJeubH6VS7yAvSYvii7HD tv/FIZIYlCNDHKSt7p3q/UvzuaVSoSRK21U6XrX8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dang Huynh , Dmitry Baryshkov , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.19 421/717] clk: qcom: sm6115: Select QCOM_GDSC Date: Sat, 22 Oct 2022 09:25:00 +0200 Message-Id: <20221022072516.991440414@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747374668244850319?= X-GMAIL-MSGID: =?utf-8?q?1747374668244850319?= From: Dang Huynh [ Upstream commit 50ee65dc512b9b5c4de354cf3b4dded34f46c571 ] While working on the Fxtec Pro1X device, this error shows up with my own minimal configuration: gcc-sm6115: probe of 1400000.clock-controller failed with error -38 The clock driver depends on CONFIG_QCOM_GDSC and after enabling that, the driver probes successfully. Signed-off-by: Dang Huynh Fixes: cbe63bfdc54f ("clk: qcom: Add Global Clock controller (GCC) Reviewed-by: Dmitry Baryshkov Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220910170207.1592220-1-danct12@riseup.net Signed-off-by: Sasha Levin --- drivers/clk/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index bc4dcf356d82..b1b141abc01c 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -637,6 +637,7 @@ config SM_DISPCC_6350 config SM_GCC_6115 tristate "SM6115 and SM4250 Global Clock Controller" + select QCOM_GDSC help Support for the global clock controller on SM6115 and SM4250 devices. Say Y if you want to use peripheral devices such as UART, SPI,