Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5730937rdb; Wed, 13 Dec 2023 18:59:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IEy5ZXojZ/4xnEgIxywRpodB+U0ThhDgN6LTzlpAZkGDJolXG+GlPO6WXtEB4pg2UyktSN7 X-Received: by 2002:a54:4016:0:b0:3b9:e653:5ba5 with SMTP id x22-20020a544016000000b003b9e6535ba5mr5767571oie.111.1702522760889; Wed, 13 Dec 2023 18:59:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702522760; cv=none; d=google.com; s=arc-20160816; b=tN7WiCVHyHX9sR6IvbHKhr/OIbEccBkzCvQe4bKKCgAm4AaeFxB0aHzUf5B41bzhgJ SaHwNtMBR2WmVwBR0DdJk32BzO/+4wkKD9YESuZhieCJgfoi4PMyI3RblMLjV2gSTGE/ c+YbJtOEeYe1eAYjXcmf+7MEcQj2wxzZovxkDFP/bs85doK9X4WJawq+5xSzzpnoBh5D yvx67FsFYKfEaaw3OqzF3i3QaD0r/7SYHnnWOv0aeub4/nXB9elTT+W7mBYIjlhTVcfn 7ykCX46u35LQE7NZ6V3O7Y1vHjYcKGM+wEWdfwqwnLOX/hmMEDqLSAWst466AIqMMN+f F8ww== 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:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=QUAskPvfdC5a6/hFcQj2Y5LyVbuI8G+6nplQkXoizkI=; fh=P0nxIYE7qiWRpeKkh+F20t3JafkXsGziba7IyZgrNzQ=; b=B/22Uu/8f2PsEeHBygQ9mdG5ZpcZDMmkWwcXYKGNx/0v31LFY6I6NFdukhdElb3kVl Rh1gTZc16Y1RuD3Y4UNiryGcohuY5hBe5K659H5zRga9M9odKDoQoeygWGCJJ1vDRUhS nr4tMtJrWV1emjhZX5nUhhJ8F2Y8Klv3HZAS2GcalDSRLQe/1sx/dCcnZB9gm07xvFOl 7CKJdfEH3bMxuV9PzTvJTD/s1iJx7pfh5fbcnMhCSpf91f2HcZBliH2IQD/ATMz/ZYDB HMPLP+k0GSlrkHk6WKsKjDvBF59r+1MyTKvynIbLjeIZN5hJ6sGZro5iJQcdy1LH6nSK Is6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="EI1hJ/Xp"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id j21-20020a635955000000b005c668a5a90dsi10144038pgm.290.2023.12.13.18.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 18:59:20 -0800 (PST) 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=pass header.i=@kernel.org header.s=k20201202 header.b="EI1hJ/Xp"; 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; 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 snail.vger.email (Postfix) with ESMTP id D4F02802B064; Wed, 13 Dec 2023 18:59:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443067AbjLNC7J (ORCPT + 99 others); Wed, 13 Dec 2023 21:59:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbjLNC7H (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 5BAD9D0 for ; Wed, 13 Dec 2023 18:59:14 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id EFF8BC433CA; 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=1702522754; bh=E5puJsHzSjIhzlzJ+wmhMzT48YxXYoYBd93fybfcVRU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=EI1hJ/XpkWnUVHrrzG/5Bx5xgtlehVMX9w43pAW0hlFqtMkpdZ6aC0F4w3XRMwyma W98pdSJWW59PaONGLiYNXfdW/qwOr9lTZ6YtXLmXmtkc8E8XyRYO8zu/jJa9vanaq2 M4ra/1WHNU2I5OZr5Fhqfhz2bh+7R3yHxh73r9LUB/zxPQf6pXYWtuP41l1sKTeRbP d7jYGWIkNwP3v2bnWBwUEx4DTPnuq+rumwAkCJskquJQCx8Wf4LKETvcdYw/4vnUVi 4HkBCh1yslDAXxkQZEvrlAeZF7zi0T8g9aMnfjCTJAq65lkl8zLyNAEEzfjfYByhjN TlV2rdXCI43IA== 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 D19ACC4167B; Thu, 14 Dec 2023 02:59:13 +0000 (UTC) From: Fenglin Wu via B4 Relay Date: Thu, 14 Dec 2023 10:59:12 +0800 Subject: [PATCH v2 2/5] regulator: dt-bindings: qcom,rpmh: add compatible for pm8010 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231214-pm8010-regulator-v2-2-82131df6b97b@quicinc.com> References: <20231214-pm8010-regulator-v2-0-82131df6b97b@quicinc.com> In-Reply-To: <20231214-pm8010-regulator-v2-0-82131df6b97b@quicinc.com> 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=1855; i=quic_fenglinw@quicinc.com; s=20230725; h=from:subject:message-id; bh=rzHCSUld6TcQPpuj7ufk4s37opgX0BrNOHyVyXuUt2g=; b=pEcY2ckzjm3dITgV9TR/BmbH/tKLTP6wsDHsR+I5nrNA0UgSUAzkG4DsFGzPctOrU23EkQU/i aggJbg6JDtVBZiYZHUwUX0kf475BUGhGIv/ptcvhFJP8AzjNH7mn8oH 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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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]); Wed, 13 Dec 2023 18:59:20 -0800 (PST) From: Fenglin Wu Add compatible for PM8010 RPMH regulators present on sm8550-qrd and sm8550-mtp boards. Suggested-by: David Collins Reviewed-by: Krzysztof Kozlowski Signed-off-by: Fenglin Wu --- .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml index acd37f28ef53..27c6d5152413 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml @@ -42,6 +42,7 @@ description: | For PM7325, smps1 - smps8, ldo1 - ldo19 For PM8005, smps1 - smps4 For PM8009, smps1 - smps2, ldo1 - ldo7 + For PM8010, ldo1 - ldo7 For PM8150, smps1 - smps10, ldo1 - ldo18 For PM8150L, smps1 - smps8, ldo1 - ldo11, bob, flash, rgb For PM8350, smps1 - smps12, ldo1 - ldo10 @@ -68,6 +69,7 @@ properties: - qcom,pm8005-rpmh-regulators - qcom,pm8009-rpmh-regulators - qcom,pm8009-1-rpmh-regulators + - qcom,pm8010-rpmh-regulators - qcom,pm8150-rpmh-regulators - qcom,pm8150l-rpmh-regulators - qcom,pm8350-rpmh-regulators @@ -238,6 +240,18 @@ allOf: "^vdd-l[1-47]-supply$": true "^vdd-s[1-2]-supply$": true + - if: + properties: + compatible: + enum: + - qcom,pm8010-rpmh-regulators + then: + properties: + vdd-l1-l2-supply: true + vdd-l3-l4-supply: true + patternProperties: + "^vdd-l[5-7]-supply$": true + - if: properties: compatible: -- 2.25.1