Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3423773ioa; Tue, 26 Apr 2022 03:28:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVxwDcZz0x3U6LgtKw3sGHEo9TPVsWvdlexVj83cQdN9mNj+rbHLXPTrIxgKZYr2mjPSQu X-Received: by 2002:a17:907:7fac:b0:6ef:e068:f5aa with SMTP id qk44-20020a1709077fac00b006efe068f5aamr14043864ejc.238.1650968936054; Tue, 26 Apr 2022 03:28:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650968935; cv=none; d=google.com; s=arc-20160816; b=nVn+8ZCEJ4pfPS4XGeu/73x9afQDNLelmWLqB3x4RBMU37XcupfaKu1JzVcAOT2pB/ LXMATeffqRUzlWENlJXx7qIhaJLNnWG8pxnGicsRCbq8Z4rRBiohB1AEuABeeJpS43V8 cJ6vv0vISWB//0LBWjwTQyN9mTk4jzUwrFJANk9LoQME+JDviHz7unTB6PHOhOwBYYwH aS1sIZKCWwjGc8wLqxZBmCd5Zzz7TCox3UIwffZzDAoz4kgTVjvaWhupcaA35ysuUuDb R3djh4pKaobbS/QInRWC5Z0hLv8GG1u7a82Mhr1kR7wLMTUXEsWSPztyoSkN5phwjH70 mj3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=VZMstEGR59a6WeLJcSDZzBTL969MVFol/7kqyWovv4c=; b=G5fBz4YTLXHSXkuH4xBJfAmAYXh67Guj8U2NWxzNZiRbonhoIMt8MjncRa4G6EJIgM yHFX9Mka9gg+DBkPslR/flUoTa1BnAtG4LgbAR1n31u8UUIEEAoF/zDbzAjO6KkxOLxU BDoeR4Tv2NPEmrv4fE325SPtywb2LA7k24CUgR6ahJ9109CWvJXN9gqXqo5z12sbo9YX rghsSBtDjjzSnpfkUb01AYeNv1YkIXay0CQVgk3sW66KL7pmzF1RHJACk7Zkdyg4/hRT em7sw5pjGEewtv7KQMJFvNBHnL6Mupl2toX1xrdz3N9aXNARmTWFbpB+Z8NTtkmfARGR kSwQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz16-20020a0564021d5000b00425f62110fbsi2821744edb.544.2022.04.26.03.28.31; Tue, 26 Apr 2022 03:28:55 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233178AbiDYWYi (ORCPT + 99 others); Mon, 25 Apr 2022 18:24:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343621AbiDYVsQ (ORCPT ); Mon, 25 Apr 2022 17:48:16 -0400 Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF53E23BEF; Mon, 25 Apr 2022 14:45:10 -0700 (PDT) Received: by mail-oi1-f177.google.com with SMTP id z8so18661916oix.3; Mon, 25 Apr 2022 14:45:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VZMstEGR59a6WeLJcSDZzBTL969MVFol/7kqyWovv4c=; b=obXWrnqaFu91kMdRfKfdulQkxPwilw0ID+21Ett64qWaxPNy2uxP56wO5XJYositR4 JYKRdFty/787G2glyiFp7CU3t5wNUcGCiuiM8sEgOty3FvrKKaGmppIQTRMmjSJVUkfl r/3YRJnB7JsuJz1axlyrYmzwhNLWW3Qqpc4UJu+1WXwdw1xstSP5exDmt9o783RMywPa cux8yPkniuL3yrj10Gw8dl1br+4z+rWQh93G32YsX7XROWQ8k8Y28PnaqdCBlZgPKwKw O/QSvb6YB+6OCESeRpjGLzQKUE2gbHy2H4ieQCD7iFYgpH2yZos3w9YOjuA3850z8QAy fcDQ== X-Gm-Message-State: AOAM530UFRAaIHYtUyu6K+J4lfs68JMO/6ZzCPODjR3QrlpPiS3iVkmC Z3Wt2+GDSOIWX3GoVeYQUg== X-Received: by 2002:a05:6808:2388:b0:325:e69:4ec5 with SMTP id bp8-20020a056808238800b003250e694ec5mr5220386oib.10.1650923110270; Mon, 25 Apr 2022 14:45:10 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x64-20020acae043000000b003222bb3dfb0sm4208670oig.36.2022.04.25.14.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Apr 2022 14:45:09 -0700 (PDT) Received: (nullmailer pid 344104 invoked by uid 1000); Mon, 25 Apr 2022 21:45:09 -0000 Date: Mon, 25 Apr 2022 16:45:08 -0500 From: Rob Herring To: Anjelique Melendez Cc: dmitry.torokhov@gmail.com, corbet@lwn.net, sre@kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, swboyd@chromium.org, linux-doc@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, David Collins , David Collins Subject: Re: [PATCH v6] dt-bindings: power: reset: qcom-pon: update "reg" property details Message-ID: References: <20220422191239.6271-1-quic_amelende@quicinc.com> <20220422191239.6271-2-quic_amelende@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220422191239.6271-2-quic_amelende@quicinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Fri, Apr 22, 2022 at 12:12:38PM -0700, Anjelique Melendez wrote: > From: David Collins > > Update the description of "reg" property to add the PON_PBS base > address along with PON_HLOS base address. Also add "reg-names" > property description. > > Signed-off-by: David Collins > Signed-off-by: Anjelique Melendez > --- > .../bindings/power/reset/qcom,pon.yaml | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml > index 353f155d..65ec8197 100644 > --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml > +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml > @@ -26,7 +26,24 @@ properties: > - qcom,pm8998-pon > > reg: > - maxItems: 1 > + description: | > + Specifies the SPMI base address for the PON (power-on) peripheral. For > + PMICs that have the PON peripheral (GEN3) split into PON_HLOS and PON_PBS > + (e.g. PMK8350), this can hold addresses of both PON_HLOS and PON_PBS > + peripherals. In that case, the PON_PBS address needs to be specified to > + facilitate software debouncing on some PMICs. > + minItems: 1 > + maxItems: 2 > + > + reg-names: > + description: | > + For PON GEN1 and GEN2, it should be "pon". For PON GEN3 it should include > + "pon_hlos" and optionally "pon_pbs". > + minItems: 1 > + items: > + - const: pon_hlos > + - const: pon_pbs > + - const: pon Did you test that 'reg-names = "pon";' works? It doesn't. The schema says 'pon' is the 3rd entry in reg-names. As 'reg-names' is new I thin this should be: items: - const: hlos - const: pbs And if there's 1 entry, then 'reg-names' should not be there. Rob