Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5730952rdb; Wed, 13 Dec 2023 18:59:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOjrrNmG87ecec0CXjF37r0aQl18y1pA7PtxYcs4444YDFum29vLa/g4NXgZ+30qdAoBgJ X-Received: by 2002:a05:6808:d52:b0:3b2:db61:ff8e with SMTP id w18-20020a0568080d5200b003b2db61ff8emr12723691oik.33.1702522764754; Wed, 13 Dec 2023 18:59:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702522764; cv=none; d=google.com; s=arc-20160816; b=KF3wlCCVg3uVMtH7C6eijZzcJOnnAbExVO4ytRRTwh5rDdpJUiquRTHVCYBEK1iO9R t4teRiOZPEhjbpsO1+G/jArDuI8UmwfI/PvnCreYNTLgsPLIaneFiM9unumAR4xy829w Uy7zzE36TUfyN6WfRp5K7gXEr2HvjGBJo24S/j4TKeZkyVwx6cltzYtxyy2YvDRgMuLa vBQf+44omk8VCHmRSm6D8GSBTo7DqhQ6JizGsTZqjOZu3SFBP22xhbHTl995K9b0hrZN eMgzV3TsxkMToRh6Dyaz4AAWcRZfCihN/rU3pSSRNTSrMB/4UFcQjSD7dheJTLd67Rj0 zc7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=1gYVRBERsgk4CAW7dlBPKsgh/1uRs1NBblJcBU0bXfg=; fh=P0nxIYE7qiWRpeKkh+F20t3JafkXsGziba7IyZgrNzQ=; b=0JHnW6GrKXGtmav7xdi3LnQww0TLAndnmPp7b1730wynRiPX+UW/MT4tMS5pZECuqK EEvg3yGElsOW8fMNxXeNNqV6oGtkkzjlBUQwHZnVN4n9gBe97WNyZtxr08+Y9TKWu0fv BFJ2tXqqqiu1se8qKLDHKFcC1rCaXuEMlJlWKpkHQw6oKuEqB+FmEO/Pbckq0CxlRFKu a5T9VHOFHzQb8fKhqUv5/Z5f1AHdxyXkrQVsz5LTPMq2zD32kqejf2xdw30gZPPfFPuo CrK1Mpw2TTsnSwyyF437FVlYHynZHLcmTn3L+eD0Op7NEM3llrfnRAm0RrCD6MFviIUr 3fUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UU6LexRa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id z3-20020a63c043000000b005c252d169d7si10453736pgi.704.2023.12.13.18.59.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 18:59:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UU6LexRa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 7BA3180294A0; Wed, 13 Dec 2023 18:59:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443007AbjLNC7I (ORCPT + 99 others); Wed, 13 Dec 2023 21:59:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbjLNC7H (ORCPT ); Wed, 13 Dec 2023 21:59:07 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C10BAD for ; Wed, 13 Dec 2023 18:59:14 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id CF2A0C433C8; Thu, 14 Dec 2023 02:59:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702522753; bh=Ke3Hfe/ljNKuZm1h7cmur868QzI0qQ9j6+vgudXVa3g=; h=From:Subject:Date:To:Cc:Reply-To:From; b=UU6LexRaKVLqZ5X6ZBbjpNFaJ/XlO7guAsGpktg7UvesDoHGD/EtjWmEG0r/ob2j6 PqyFWV6vc0mzk/Gc7BDbVr1M6EEKfRhXA070X3DESZqGFUiWUY9H3M/x12eDnS04Eh 3ER7Mfe15tSyj9RWkXdsU743Sw6ol95IpKmTiaME5/OGno1l/8oQ7JAB0NQ0bny7xR gD8SQpTZ6aCvdDzqBpJOsEm7qhmJMTkiowBNB7qMm3VA6T9Xx/GB7BEolb4cnuUEZ/ 6on2HviaxtXt2Y9ytDmXDDHF21PBzZclCfg5o9GU0nAMjJJhGtPgLy52Wl4MrSspQR m/eXoo/w/MPhg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDD02C4332F; Thu, 14 Dec 2023 02:59:13 +0000 (UTC) From: Fenglin Wu via B4 Relay Subject: [PATCH v2 0/5] Add pm8010 RPMH regulators for sm8550 boards Date: Thu, 14 Dec 2023 10:59:10 +0800 Message-Id: <20231214-pm8010-regulator-v2-0-82131df6b97b@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAH9vemUC/2WNSw6CQBBEr0J67ZjuAQK68h6GBbQNdCIfZ4Roy Nzdkbhz+SpVrzbw4lQ8nJMNnKzqdRoj2EMC3NdjJ0ZvkcGiTclibuahRELjpFvu9XNyBtOs5IZ OWBY1xNnspNXXrrxWkXv1sfbeH1b6pj8Z0b9sJYMmL0gwb5tMmC+PRVlHPvI0QBVC+ADKJw6zs gAAAA== To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , kernel@quicinc.com Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_jprakash@quicinc.com, Fenglin Wu X-Mailer: b4 0.13-dev-83828 X-Developer-Signature: v=1; a=ed25519-sha256; t=1702522752; l=1307; i=quic_fenglinw@quicinc.com; s=20230725; h=from:subject:message-id; bh=Ke3Hfe/ljNKuZm1h7cmur868QzI0qQ9j6+vgudXVa3g=; b=5EIvBK0008mKfFkqIlHkM9+7i4Yw6lKkrWQ8+ty7d8AIKFEV2zL6xkfIfF5udccUINlvJC3pf 30F4q5n3TzQD+/w8fkr1WZS8wQEsq9qEMXn5uyoiZpGeL/fTHhq6Mv7 X-Developer-Key: i=quic_fenglinw@quicinc.com; a=ed25519; pk=hleIDz3Unk1zeiwwOnZUjoQVMMelRancDFXg927lNjI= X-Endpoint-Received: by B4 Relay for quic_fenglinw@quicinc.com/20230725 with auth_id=68 X-Original-From: Fenglin Wu Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 18:59:21 -0800 (PST) There are 2 PM8010 PMICs present in sm8550-mtp/sm8550-qrd boards and each of them exposes 7 LDOs. Add RPMH regulator support for them. Signed-off-by: Fenglin Wu --- Changes in v2: - Updated subject prefix in the dt-binding commit and fixed the typo. - Separate the DTS commit with board name prefixes. - Link to v1: https://lore.kernel.org/r/20231211-pm8010-regulator-v1-0-571e05fb4ecc@quicinc.com --- Fenglin Wu (5): regulator: qcom-rpmh: extend to support multiple linear voltage ranges regulator: dt-bindings: qcom,rpmh: add compatible for pm8010 regulator: qcom-rpmh: add support for pm8010 regulators arm64: dts: qcom: sm8550-mtp: Add pm8010 regulators arm64: dts: qcom: sm8550-qrd: add PM8010 regulators .../bindings/regulator/qcom,rpmh-regulator.yaml | 14 ++ arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 120 ++++++++++++++ arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 120 ++++++++++++++ drivers/regulator/qcom-rpmh-regulator.c | 177 ++++++++++++++++++--- 4 files changed, 405 insertions(+), 26 deletions(-) --- base-commit: 753e4d5c433da57da75dd4c3e1aececc8e874a62 change-id: 20231205-pm8010-regulator-0348cb19087a Best regards, -- Fenglin Wu