From patchwork Mon Oct 24 11:30:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9410 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp478547wru; Mon, 24 Oct 2022 07:17:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7mY3k09dhSb3D6HMI/NJ45aO+BOy840TBQfZy9UWBbAdozzsEMa9pF3jSbgNn5fB6wi0Wv X-Received: by 2002:a17:907:7b94:b0:731:1b11:c241 with SMTP id ne20-20020a1709077b9400b007311b11c241mr28478103ejc.676.1666621051996; Mon, 24 Oct 2022 07:17:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666621051; cv=none; d=google.com; s=arc-20160816; b=P6xjI9gGRG21ScnGKO61Ct+yqlPtEspujhdkno0tY8kGlS26k1pqaHTGQZdMxltjdh QV4XBEU3IBZ8uF/n6TBSoltxYHiEysmsBZGH3eSfreU8McqH0DASYzymelQnJOf/9dcR ZFN7qQZZBsU1yBMU5KmW0RMKHCxbGDJICefd21ZN4CyFo4nGeR9+RZbxRYUDf/F7WsRk EJOaeRB8m5UEWddTEkjHBZE5eIUQwL4J6JXPAh7ZOfNi9VRZt7kgT1KPnZM6AoRdjaus TJWOStUmoa9AP/A76pk/7tFaKlilPRXewX4Icjex6MUmWCFqiKsDkKzc8pgv6iIhFoe/ Zf9A== 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=rTQ3KcM5+9mUKIILcTIAgjFPfbrgJNE8NZNsLdXhtP8=; b=Q4mEGvMhrp3rt7dVosF3WG3vjRgfBZStkHLHxjQTuE6DdSL89wOJNRPXvXAc1ZLRpV DfEWVSeouwhzbwM6Gy3ZrKpIN0F5ySdD60gRypES1lSv3pItrAf3osFqGPnABPYVZdiQ FvLUcXB+jGc3CdLev8SBkuovTdGe1YORbHtx7FgqpMee3Qgyhd1nvQ8jEAX+7udJAb7J IY8mU0iBQMpHphMrdAuKwLDp+RtS9WkewbFO59no5PGqhkc87/DEfV6JveELYIka6Zrr 16xHzCB9vjrW+6bEGePTjLy+9l9cME06nwgzTH8f7TXAG0XUseKvRy2NOqWh9JTb+/uN 1uTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FdJcQwMd; 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 cs13-20020a170906dc8d00b0078d9db99f5esi29130055ejc.39.2022.10.24.07.17.07; Mon, 24 Oct 2022 07:17:31 -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=FdJcQwMd; 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 S231639AbiJXOIh (ORCPT + 99 others); Mon, 24 Oct 2022 10:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237194AbiJXOE4 (ORCPT ); Mon, 24 Oct 2022 10:04:56 -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 452D526557; Mon, 24 Oct 2022 05:49:49 -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 91FF26134F; Mon, 24 Oct 2022 12:47:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F24AC433D6; Mon, 24 Oct 2022 12:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666615650; bh=noZZ1O4AUN/GoUCUlp5faCIkzHdbEB4RYju7DPJu9xA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FdJcQwMdAXusKf1DhJ2f0TmoSjP5PF33IrVE3RZmVu22KajRz2FVeMn7uHg8i+uGV 1PnrmLq+b+eLj6jvxeNp+BqsL0EvF2ins7n1JWavixZ3fTDdCIAmBt8eLzbDdGoe48 +8dguKdDdJSz4+TAYGYPTRvvwzKsIczI98vOxNAs= 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.15 301/530] clk: qcom: sm6115: Select QCOM_GDSC Date: Mon, 24 Oct 2022 13:30:45 +0200 Message-Id: <20221024113058.691899778@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113044.976326639@linuxfoundation.org> References: <20221024113044.976326639@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747578836245469675?= X-GMAIL-MSGID: =?utf-8?q?1747578836245469675?= 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 9ef007b3cf9b..6ba86cffc413 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -550,6 +550,7 @@ config SM_DISPCC_8250 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,