From patchwork Fri Dec 2 22:12:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 29125 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1096333wrr; Fri, 2 Dec 2022 14:18:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5rzpQYYDuePlGTQ0Nw9ZGuZkANEeiMY1rwubyvNmq9TwH5Q3zSxw/v5Xy+cbeyBmW7HTx6 X-Received: by 2002:a17:906:eb04:b0:7ae:77ef:d048 with SMTP id mb4-20020a170906eb0400b007ae77efd048mr46188706ejb.740.1670019488208; Fri, 02 Dec 2022 14:18:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670019488; cv=none; d=google.com; s=arc-20160816; b=SOyKEFQA+ner4gaimgMNhUdlYVwLBTt/cixUyW0HqOssT+qDq0hY3PcxhqDEOcVqZu j7CBR9wOMGSDY72Ovbxh6nlYal24jfMjh6nRl23jwZjfE6b/6rQ+pqoHGxgoxrYB/Xe6 z0ujOCQElERqQ0orm2aTOvI0YC+KYVq4z4v+hiDsjp6O86OxmYTo3XxSmn/msKi/uE/l YUZpr/rtsPUFw2aN1ZPRxnkUUYxJ5yQgFOYRkRzHd/mB2ksTIRNgmiY1at15KnmLNx/V s0OiMoiSrJMfj9IaHXxPEXB5unUmIPQ5Bd3oSEmMiqYcSdsKvhRlIG7WJTMz3iDsRSy9 sN6w== 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=MZRQ27iiIlmC3Mofd++eqe24lVJKTTth6Ng6tJK9AsA=; b=giN9oY46w4PeaOfFBug+OTR8DAXaM3/1tjXJmmEyVhjjgg+7VMgGQ6XqIKiiXwGSkh cJ7qW79GdmTV7PPpv19E1Qns5R3bwgynZYi5HiPhqlUu1aX3EWfSWtjKtgVKST7Vw3kD QmDU185/sEzosxceRKpMdgNIbqmKUHKCOhv6jt/kbLvaSaf9kDfeR8CK3lOTcwg8LtOF daHFF1xKJfm8tgrKpXSQBwmfdtWXgKr0omykZrqIU+br/PYyH7BWDxCbh3yF3xPa3PeE Qs3yVj2fyW86PGiuvws/JuYMPAi1p1MzNWrpdyiuk2jUW1H9wCj/DwSRdS8t8CmRmlBN 9XuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qOLSu1Cw; 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 ji1-20020a170907980100b007be1d7d1c3csi8084306ejc.386.2022.12.02.14.17.44; Fri, 02 Dec 2022 14:18:08 -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=qOLSu1Cw; 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 S234842AbiLBWNA (ORCPT + 99 others); Fri, 2 Dec 2022 17:13:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234844AbiLBWMt (ORCPT ); Fri, 2 Dec 2022 17:12:49 -0500 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75C221F2D4 for ; Fri, 2 Dec 2022 14:12:44 -0800 (PST) Received: by mail-il1-x131.google.com with SMTP id z9so2649372ilu.10 for ; Fri, 02 Dec 2022 14:12:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MZRQ27iiIlmC3Mofd++eqe24lVJKTTth6Ng6tJK9AsA=; b=qOLSu1CwE7LSryMVEdLpxMcW2u2rN8DJ2Y0evJB9pQ6GNkz3YF+yUdNLUg61fnjeYK bbgwmb0i2+h2jsPKY3/sKTqpNwpwRcsAJo92O3xXcktEZ+lwz6celntYxHJ9LzDpgPy2 ujUiBhEPGmcP8cnsNgBwBoCDZtV2tXMhAI7eLeIWcvkcxlzr/WgtLkVz5Eo3eSoAOSqx dLMss4s6xlI/IjEDEge1hAgk5kt7d9vQ7ah6xX94RRlTwLfLpkUCxzZkMdjv7AB2pErj J4KtBxtcBN1oy1/MOQl9p4QiVHcSy5Z2wPKs6O9BMXFSvafw2PmyGacdxWBmT5OOVI+j z7zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=MZRQ27iiIlmC3Mofd++eqe24lVJKTTth6Ng6tJK9AsA=; b=XMQkeqvuec7GYDP5N4fQ0fFVkMmLmqpO6eBfNRy6/SctPUqBJWBLXUBAU+aZNChk2j sc21VyIEvRLZAlwE55/+yvhosa+Pz1JI4aCD+IiKm9kVGWglVQgFjzTAGKPoBOQP+LiN IN/An70pvYgU8ba/OXxNjyO7YBbmFnDoWR9fUK8rJ+dHt8CA3C9TrTcTC8uKwusmVilM dJ/dgcukh2ZLnsH9sCwgBMrryxH5cfDSxrUFZlqmr6o5V3/hzH+i1ZMLMpNhLaGTforv dSYUE7SwEHB/H6EIfZLLpp1s5SNp9BGXSPSilk8P2UWztpAFjFlCdqdXogmrn4x4pEH5 Yx5A== X-Gm-Message-State: ANoB5pnW+vZopjUbRP9YKJQW1/kHItZV2ydTwOOyK1K8x9x+jZ4j/qTg 9C7zqa2OGRHsJV2rSYHe/c/pHg== X-Received: by 2002:a05:6e02:dc5:b0:302:e604:f814 with SMTP id l5-20020a056e020dc500b00302e604f814mr21154766ilj.113.1670019163812; Fri, 02 Dec 2022 14:12:43 -0800 (PST) Received: from localhost.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id r26-20020a02aa1a000000b003633848da58sm3162404jam.41.2022.12.02.14.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 14:12:43 -0800 (PST) From: Alex Elder To: sboyd@kernel.org, mturquette@baylibre.com, andersson@kernel.org, konrad.dybcio@linaro.org, agross@kernel.org Cc: Luca Weiss , dmitry.baryshkov@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] clk: qcom: rpmh: add support for SM6350 rpmh IPA clock Date: Fri, 2 Dec 2022 16:12:40 -0600 Message-Id: <20221202221240.225720-1-elder@linaro.org> X-Mailer: git-send-email 2.34.1 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 autolearn=unavailable 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?1751142354848219610?= X-GMAIL-MSGID: =?utf-8?q?1751142354848219610?= From: Luca Weiss The IPA core clock is required for SM6350. Define it. [elder@linaro.org: rebased with Dmitry's changes] Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio Signed-off-by: Alex Elder --- v2: This is now based on qualcomm/for-next. drivers/clk/qcom/clk-rpmh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c index 2c2ef4b6d130e..586a810c682ca 100644 --- a/drivers/clk/qcom/clk-rpmh.c +++ b/drivers/clk/qcom/clk-rpmh.c @@ -606,6 +606,7 @@ static struct clk_hw *sm6350_rpmh_clocks[] = { [RPMH_LN_BB_CLK3_A] = &clk_rpmh_ln_bb_clk3_g4_ao.hw, [RPMH_QLINK_CLK] = &clk_rpmh_qlink_div4.hw, [RPMH_QLINK_CLK_A] = &clk_rpmh_qlink_div4_ao.hw, + [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw, }; static const struct clk_rpmh_desc clk_rpmh_sm6350 = {