From patchwork Wed Oct 19 08:30:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 4851 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp223842wrs; Wed, 19 Oct 2022 02:38:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM76ub7qoeSs++aN8TaXe+4UHYyw8vH23G2Swt9S9OihpGxmfAUFnrq1CxXQF5vdsvBB9gWd X-Received: by 2002:a63:86c7:0:b0:459:437c:ca90 with SMTP id x190-20020a6386c7000000b00459437cca90mr6566776pgd.33.1666172319768; Wed, 19 Oct 2022 02:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666172319; cv=none; d=google.com; s=arc-20160816; b=n6QYZ3nufleOlP/XRXlNmroa6fnRMJeiElmKXy4bbFo9aDfYLcnk9AyYGJIzFcntg3 BxqlUWIIpfNYuv1t+9AcvllG7ugiZjbghHrFz0zyfEdqCnu7eOwluJKhngizWNXLu8Yp o4BXASXN77QfWN+qa8jByYsIlbig/swG/VFqk5P5XYwwTbrS16F2tVBnQPEdVPAG5tHq 3XwqAgykRB3ujieB3muLP9L5kjlcZ7T2qOZ/AuQGi1ksyPct0st/Vt9TUeUmvuCYXd7C /h1xWSsMaxiHKHPT5p3YSmeckWvahNgcW+yWP73eY/vnLgfum2jzx8jKDj+IeeWBFQgI r0lg== 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=nm1rMwo1+BzMp1/PCH78WYvt43Ok8UCkJzbB/m5HMMs=; b=07acxfLSOy+Iyfl170SQNRUi0Iu+w9Es3sjhx6M3hcoBzKKiuNx/siYZ1nQz26Kine PSNyH87H0daOQOcLOZv70HHkj4vqYuKqIGpDNK4KP9PLSzD/n8nJ1xJuS/QsHS/G5XLX IE3gj99b6xeO8TyRPp38t5BG1Vibtg+rsiq+akGNzO6WQlMDhk7mRxch2Kccgm9N+CnC zy00hjq495MIQhnW+d1hg202ouutbd6+5AUMOITOxHuC6qVo0QDhLoX3YNvyjK73vXa1 Sz2qOAiVMJeKjX1/utwmwTwJ8te0YRdh/no98llaSSWRdvyapWbcDkeccLYd9p9umsjl PUEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BGEKI7FK; 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 bd33-20020a056a0027a100b0056782f3bdf1si2060716pfb.19.2022.10.19.02.38.26; Wed, 19 Oct 2022 02:38:39 -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=BGEKI7FK; 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 S233343AbiJSJUi (ORCPT + 99 others); Wed, 19 Oct 2022 05:20:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233528AbiJSJTa (ORCPT ); Wed, 19 Oct 2022 05:19:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5E76DCEAA; Wed, 19 Oct 2022 02:08:40 -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 2272561800; Wed, 19 Oct 2022 09:01:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 373B9C433D7; Wed, 19 Oct 2022 09:01:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170080; bh=CSMZGEx1Zb4R7a0Kvi9BC+oRFdzrgkIBNh8I2cuuVlg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BGEKI7FKXcOFoniwMz3Xczn469v6uUwaZXk9D2hOcJGZLOcr+v9g7O/UHSQi8YNU8 PbQuHud+kTf44y9N+EoOIxQHNkEcdgxAEw0jac8JCusXfHIZU9BdNib0PncfmhMPek OIxnXi49w79JEXISPkOeGnsYMCc7C+2sizd6tyss= 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 6.0 518/862] clk: qcom: sm6115: Select QCOM_GDSC Date: Wed, 19 Oct 2022 10:30:05 +0200 Message-Id: <20221019083312.883157055@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.4 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?1747108306688294745?= X-GMAIL-MSGID: =?utf-8?q?1747108306688294745?= 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 1cf1ef70e347..d566fbdebdf9 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -645,6 +645,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,