From patchwork Sat Sep 16 17:59:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danila Tikhonov X-Patchwork-Id: 141088 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1787890vqi; Sat, 16 Sep 2023 11:03:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4qi1T38Gjt57GhhehvS06PCetS0lCbnS0lZG6klcBLGIJlZkPp/raE9Ng2rwYvJ7SdtGH X-Received: by 2002:a05:6a21:819e:b0:14a:d117:ef97 with SMTP id pd30-20020a056a21819e00b0014ad117ef97mr4583127pzb.11.1694887413102; Sat, 16 Sep 2023 11:03:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694887413; cv=none; d=google.com; s=arc-20160816; b=ighj5Hnu4RXSpJiCnc6mfj7vArHk/ra9D2fVALDuWqoJLAJwQKodZJKlonCH1v0YTL Wj4VlrwbyOfwOwhnHBtva81aLADfDq6OgD++hfMAUcdXcTtOU1//fyVaY/lX4hBL9435 iSmuzfmwfMzjHnZ8a+urlcvfFmS8A52hee1O/Ao4VKCEas0fdNoCSKorCFXrSq6FnqXh sf+6GU0J+bFNtNhK7gzyvTYJ2QCmu2P7/cXwVDTDl/VDKgxj3z3/l1zFSVAGHqePM1Qb rGkO9SaOSG3fQf+zFrLmvmh5QTDMvd3Ia4WTGIu6AJVhQLpMToWE3pgaG5lzm3XOI5Zu 46kQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YrifPwskNxrQdfy3L7DLk8vRETToPCtVQMofZTYkNpc=; fh=3KZQhNIt9XuvZIJ2u7tJ9/Iex6WbbmEFw/mFuwi38v4=; b=UfEoCTbK8QEKwSWwf1DMEMWU9uBaCsLCHkVjeNODmc1MR1TTQ10ps9kx8w7hEDdclR /IyBqz2scnc13vXEUtET52T1LMwJvpI7hdmEVu2/hUPxrWMZPI+dCGPvADqPdGT2Mr+U T/LAGfSp5bQAFZZVrXdweXixxHpGHNkZY8akyWZcwwNUAoANTu42BmtbaaQ7RnD8rudM SXaNrffkFIBe0pbfMKk/shyz2/BFMgWt+GhfLIX1n3AbRpviP3SlwYB9YPmLh2BvhPtQ DVb9HJZpZZ3VfHSMLL8Asb8LzMi0YlPOBAvoXdZusUx91S2YbDFI41WbpW2Er/jl7wVD 2qNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@jiaxyga.com header.s=mailru header.b=CjNKbV4e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o15-20020a17090ac70f00b00274c5572179si1269089pjt.2.2023.09.16.11.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 11:03:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=fail header.i=@jiaxyga.com header.s=mailru header.b=CjNKbV4e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5DB34838B3FF; Sat, 16 Sep 2023 11:02:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237149AbjIPSAZ (ORCPT + 29 others); Sat, 16 Sep 2023 14:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232891AbjIPSAE (ORCPT ); Sat, 16 Sep 2023 14:00:04 -0400 Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [95.163.41.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F41ACDF; Sat, 16 Sep 2023 10:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jiaxyga.com ; s=mailru; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:To:Cc:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive: X-Cloud-Ids:Disposition-Notification-To; bh=YrifPwskNxrQdfy3L7DLk8vRETToPCtVQMofZTYkNpc=; t=1694887199; x=1694977199; b=CjNKbV4e96s8uGl4F3Kc/zUCCHEkXKYVkDNOXiLk0AO9LnOBlHSloeQSCCyoI4nr+6s6Mh1aXEq jhFobTlw/lFQ7S4GBd3gjKlS5OW3LoqhJNzx8Hg30Yvkwa3Di9kbE83YLowBp3wNhVn6UliiRTIr8 MLZEZADByV6dzzcym9E=; Received: by smtp40.i.mail.ru with esmtpa (envelope-from ) id 1qhZaG-006d7F-2W; Sat, 16 Sep 2023 20:59:57 +0300 From: Danila Tikhonov To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, ulf.hansson@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Danila Tikhonov Subject: [PATCH v2 1/2] dt-bindings: power: qcom,rpmpd: Add SM7150 Date: Sat, 16 Sep 2023 20:59:51 +0300 Message-ID: <20230916175952.178611-2-danila@jiaxyga.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230916175952.178611-1-danila@jiaxyga.com> References: <20230916175952.178611-1-danila@jiaxyga.com> MIME-Version: 1.0 Authentication-Results: smtp40.i.mail.ru; auth=pass smtp.auth=danila@jiaxyga.com smtp.mailfrom=danila@jiaxyga.com X-Mailru-Src: smtp X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9FD052C19707CBA10E1DF9AC9639ABFCAB37C07C62C377C8700894C459B0CD1B9668506490178D1C369A416DF12FDE73931D7BEF43F7B604A54C85456B1E49444 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE78ECF34BFCFFD7E95EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637EA9DEEAA3ECF8E948638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D822A69EAE61C65876ACC9B0486499BCD4117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCEA77C8EAE1CE44B0A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735201E561CDFBCA1751F28451B159A507268D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EEB28585415E75ADA9E0F2381F647739FAD8FC6C240DEA76429C9F4D5AE37F343AA9539A8B242431040A6AB1C7CE11FEE3A6C7FFFE744CA7FB6136E347CC761E07C4224003CC836476E2F48590F00D11D6E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F79006373568875668442E59EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: 0D63561A33F958A560DF82330AAEA04E147C0D302D6FBB833A6B84EFDB8A853EF87CCE6106E1FC07E67D4AC08A07B9B0A6C7FFFE744CA7FB9C5DF10A05D560A950611B66E3DA6D700B0A020F03D25A0997E3FB2386030E77 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CFAF3CE06A86885C3B7044904F9652E9A7DE0D0487A4DB1CFB6AF7350BAACEB569025CA78FE36D2257B3573C328C294A3D2ED1D9BC1CF2ACC8CACAF375EFDCB8E121BEC6C0C71ED4F84C41F94D744909CE4BCAC77546666B612CC0CD5AA9A1B9887EE09F5AAA95A50543082AE146A756F3 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojwfkaTmrWlay7lKRWgyHm0Q== X-Mailru-Sender: 9EB879F2C80682A09F26F806C739498126E16CB1D4F8C9A0D657727510EA009B955FF3E630B0E941643683D8C0F3ED1CA3C71A376745D86BBE86167304C7680C3980CE5AAA35C7CD60F22E8815EDE5EAEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok 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_BLOCKED, SPF_HELO_PASS,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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 16 Sep 2023 11:02:01 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777218264231846550 X-GMAIL-MSGID: 1777218264231846550 Add a compatible for SM7150 platforms. Signed-off-by: Danila Tikhonov Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index 9b03c41d3604..53886f02d98a 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -46,6 +46,7 @@ properties: - qcom,sm6125-rpmpd - qcom,sm6350-rpmhpd - qcom,sm6375-rpmpd + - qcom,sm7150-rpmhpd - qcom,sm8150-rpmhpd - qcom,sm8250-rpmhpd - qcom,sm8350-rpmhpd From patchwork Sat Sep 16 17:59:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danila Tikhonov X-Patchwork-Id: 141089 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1787972vqi; Sat, 16 Sep 2023 11:03:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGyHtC5uWShefXC9Uxwu1TnHJ8g2JTglpeM+8T1bZZQKCvzjvmjeZsfkelEDakKpScTTnVr X-Received: by 2002:a17:903:1109:b0:1c3:bbad:9b7c with SMTP id n9-20020a170903110900b001c3bbad9b7cmr5350437plh.31.1694887420415; Sat, 16 Sep 2023 11:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694887420; cv=none; d=google.com; s=arc-20160816; b=MTAJ7f/mIeMSFTTjE6sOnt1BkNI1IVwLgbcWj9VPjWe0aeWoTqoi+owssnSz49wIVL K/kmpaTTv3pgRtM7pb0aUgFq251KGwDK0yKpBH17VuLnq3d7obeOs6EnRLPUDpaoF5yB 2Mvq2vRUyYjIzEH19oBPIERk6TCwx2izCQYnCep4J7UXrjesFJjYkiZGRh481VH+0LZO hXZp5N0HgajBOyzwuP5gME558wMBbDw0BpBIPLuK1WCflvWYXpbEZmSvuQeLdXffIM9D DzfwCPSuGH/m/AlTJFXky6V9UMOXNmZcMkkKFFJLykNsZYi7Dqg3eUNwprF/nz/wNOKS V0IA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+lCM8qubLARYTvfEHuxj/geOniNoi7kjimOOnYNhXZY=; fh=3KZQhNIt9XuvZIJ2u7tJ9/Iex6WbbmEFw/mFuwi38v4=; b=QQ8UKyWAA9fuGodUaOlI+BgvARyQX9xmbLbesbE6p3yeAATmaOW9qC1ox/8n+LHqyN hqXmetZO+MVXqcIvzQkdoKZcZy68C9GZG98GoFR7aeQ9JY+yNmdbpg7TofvoQSpz8iLi 6x97ovWhQqjrjD3tkJY4CsxCkTuuRaArUGxgrn1XCDCTx0CCLx42k0/yoituOIYeUKco wX5qubPaB3812CXzQRPvCRXqsf13ckQxNCf36UIOaBVaxfm/Q2hrg0gXUNpIzN3OTTm8 VPYsiNtiNWrZVip1EnIbZ4llQhs6NHfkWE2CbYL9GFYAyG8SHFqI4dnMnJn3fftpOh5c ZOoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@jiaxyga.com header.s=mailru header.b=QEv4qL0U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u8-20020a17090341c800b001c470c25409si132529ple.327.2023.09.16.11.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 11:03:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=fail header.i=@jiaxyga.com header.s=mailru header.b=QEv4qL0U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8697E838C163; Sat, 16 Sep 2023 11:02:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237987AbjIPSA1 (ORCPT + 29 others); Sat, 16 Sep 2023 14:00:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233267AbjIPSAF (ORCPT ); Sat, 16 Sep 2023 14:00:05 -0400 Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [95.163.41.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0CFECE6; Sat, 16 Sep 2023 11:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jiaxyga.com ; s=mailru; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:To:Cc:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive: X-Cloud-Ids:Disposition-Notification-To; bh=+lCM8qubLARYTvfEHuxj/geOniNoi7kjimOOnYNhXZY=; t=1694887200; x=1694977200; b=QEv4qL0UOf0sj1fTf8kdhsBqCRz2G6jPUlUdWpVAENLMkiNp+nhUY3P0byHaNw7fh4IaZmzFZpW w+ESrFEKD66b2eIzF+A/GiK3YXqTRyaoi4KOL6tDFNhHBi1jeis5M3K8p06SgOYNuQcysyaC2wgO5 Attudf34y5/amjLE6Js=; Received: by smtp40.i.mail.ru with esmtpa (envelope-from ) id 1qhZaI-006d7F-1h; Sat, 16 Sep 2023 20:59:58 +0300 From: Danila Tikhonov To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, ulf.hansson@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Danila Tikhonov Subject: [PATCH v2 2/2] pmdomain: qcom: rpmhpd: Add support for SM7150 rpmh clocks Date: Sat, 16 Sep 2023 20:59:52 +0300 Message-ID: <20230916175952.178611-3-danila@jiaxyga.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230916175952.178611-1-danila@jiaxyga.com> References: <20230916175952.178611-1-danila@jiaxyga.com> MIME-Version: 1.0 Authentication-Results: smtp40.i.mail.ru; auth=pass smtp.auth=danila@jiaxyga.com smtp.mailfrom=danila@jiaxyga.com X-Mailru-Src: smtp X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9FD052C19707CBA108F1E255DB0CE4ADF810AD9F6ADB4530800894C459B0CD1B9C6127204C78C72662695CD013C20067C31D7BEF43F7B604A37AD88C62730AFDD X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE74286BEFC80AC600CEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AC20F58FBAB79054EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BE5CCB53A13BC8DBAA605E978BE5FA9121FCD0C5B8183BF1ECC7F00164DA146DAFE8445B8C89999728AA50765F7900637CAEE156C82D3D7D9389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8B861051D4BA689FCF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947C1DAA61796BF5227BBA3038C0950A5D36C8A9BA7A39EFB766D91E3A1F190DE8FDBA3038C0950A5D36D5E8D9A59859A8B615519F706774CB6A3AA81AA40904B5D99C9F4D5AE37F343AD1F44FA8B9022EA23BBE47FD9DD3FB595F5C1EE8F4F765FC72CEEB2601E22B093A03B725D353964B0B7D0EA88DDEDAC722CA9DD8327EE4931B544F03EFBC4D57C8D5298E42E60C1FC4224003CC83647689D4C264860C145E X-B7AD71C0: 6FEFE4C63DFE2D85718F43753FD9AD21390936EE2A242988633761F9DFDC81E9C79EB1DA2EBAF7A81C6805ECDC0957F8 X-C1DE0DAB: 0D63561A33F958A5C77FAC5310941106147C0D302D6FBB8366D32F0EC6D2A0F4F87CCE6106E1FC07E67D4AC08A07B9B0CE135D2742255B359C5DF10A05D560A950611B66E3DA6D700B0A020F03D25A0997E3FB2386030E77 X-C8649E89: 1C3962B70DF3F0AD75DCE07D45A7499577DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF922733AE475BDCF693BFE7357B281D8A4006E8518DDC067B17B326EC56491F8EF93E7F6CC6F26229B3573C328C294A3D4469FED4482D0DF876B5B102148F81E921BEC6C0C71ED4F84C41F94D744909CE4BCAC77546666B612CC0CD5AA9A1B9887EE09F5AAA95A50543082AE146A756F3 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojwfkaTmrWlaxwu9hpjvK0Qg== X-Mailru-Sender: 9EB879F2C80682A09F26F806C739498126E16CB1D4F8C9A0C58471F59312CD37D586A72D9E53DC1D643683D8C0F3ED1CA3C71A376745D86BBE86167304C7680C3980CE5AAA35C7CD60F22E8815EDE5EAEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok 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_BLOCKED, SPF_HELO_PASS,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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 16 Sep 2023 11:02:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777218271386972156 X-GMAIL-MSGID: 1777218271386972156 This adds the RPMH clocks present in SM7150 SoC. Signed-off-by: Danila Tikhonov Reviewed-by: Konrad Dybcio --- drivers/pmdomain/qcom/rpmhpd.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c index a87e336d5e33..ec2582f7225c 100644 --- a/drivers/pmdomain/qcom/rpmhpd.c +++ b/drivers/pmdomain/qcom/rpmhpd.c @@ -337,6 +337,23 @@ static const struct rpmhpd_desc sm6350_desc = { .num_pds = ARRAY_SIZE(sm6350_rpmhpds), }; +/* SM7150 RPMH powerdomains */ +static struct rpmhpd *sm7150_rpmhpds[] = { + [RPMHPD_CX] = &cx_w_mx_parent, + [RPMHPD_CX_AO] = &cx_ao_w_mx_parent, + [RPMHPD_GFX] = &gfx, + [RPMHPD_LCX] = &lcx, + [RPMHPD_LMX] = &lmx, + [RPMHPD_MX] = &mx, + [RPMHPD_MX_AO] = &mx_ao, + [RPMHPD_MSS] = &mss, +}; + +static const struct rpmhpd_desc sm7150_desc = { + .rpmhpds = sm7150_rpmhpds, + .num_pds = ARRAY_SIZE(sm7150_rpmhpds), +}; + /* SM8150 RPMH powerdomains */ static struct rpmhpd *sm8150_rpmhpds[] = { [SM8150_CX] = &cx_w_mx_parent, @@ -562,6 +579,7 @@ static const struct of_device_id rpmhpd_match_table[] = { { .compatible = "qcom,sdx65-rpmhpd", .data = &sdx65_desc}, { .compatible = "qcom,sdx75-rpmhpd", .data = &sdx75_desc}, { .compatible = "qcom,sm6350-rpmhpd", .data = &sm6350_desc }, + { .compatible = "qcom,sm7150-rpmhpd", .data = &sm7150_desc }, { .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc }, { .compatible = "qcom,sm8250-rpmhpd", .data = &sm8250_desc }, { .compatible = "qcom,sm8350-rpmhpd", .data = &sm8350_desc },