Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4831005pxb; Tue, 5 Oct 2021 11:12:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM6JtstOvG3IOB+GPXSn6GiQG0Jsu7A6JxaPyXiwqS3L17dy2QKxQBG3k4RHmrzA3UcWlx X-Received: by 2002:a05:6402:319a:: with SMTP id di26mr28494973edb.84.1633457574507; Tue, 05 Oct 2021 11:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633457574; cv=none; d=google.com; s=arc-20160816; b=lu+ElW136HgP1CJKUQhjkWQcUwg3QrR63YJhNphmFFvb4yUqy0fkVRYp2gYNXfXVaa iaiggDmTy44QL9UfxZuuWHxhaNyASRbkCH4Zs7eFwhKvco/vhQU259iwWH91K9eF54KG 9ERwN+g/zuSCgfs4hx7F7mjNcnJWQd5Kr69BM9Vi5xxk2eUalREpkatdjckBRI8C6ilo z94HEqA2fR0UZ2cZfpOXwrr/SK1eShMOZTaO6e/iWjiPjaFq5UjMJmCTPdrzPRL5kuEp x5MAS6i+CWh9FiRLfoTNMNgsBjqnpFVRMaF6LiPQNRqVZPLsHgkM4m45qAj3PuP3Sv4x 0BAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=PmGzQuIqk2k4kzsoKeBKvFVdnEBiz+RKXSuRjoeZURM=; b=GZ1C7n6GAsyjk5bQrTl1dSgiC55Du+/Bn4Gm/UYc5ctRusAks035VOd956gs/IE/pa VN3JjZ4Kv8R+DYbANX9IVNPOSnZkP+XVAAUORiE5kb1vkWM251+qJyiZT4/aWyIhkioQ fq+n5Z7Cd4+JJqcJAhQcjgs4LR0wWqjL5RrKlChQuXJ4HQcI0iMQsCEv4eoyqoCA2aYB xsxoDMO1BPeXc7UjLM3CvafICKuzXHClvo0s/A9Hddusua4aETI53w6IaeOuuGL0qugq nQE9fXIxq+NKt4VJkP7VOY6NYSWiQfLAIdSmm3hL346ex61EuvZV4P9j+IfkKkeysMTf /w7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=B0mBiHAs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y15si23816020edj.517.2021.10.05.11.12.29; Tue, 05 Oct 2021 11:12:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=B0mBiHAs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234983AbhJESMq (ORCPT + 99 others); Tue, 5 Oct 2021 14:12:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234987AbhJESMl (ORCPT ); Tue, 5 Oct 2021 14:12:41 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FFCBC061755 for ; Tue, 5 Oct 2021 11:10:50 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id j11-20020a9d190b000000b00546fac94456so26971984ota.6 for ; Tue, 05 Oct 2021 11:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=PmGzQuIqk2k4kzsoKeBKvFVdnEBiz+RKXSuRjoeZURM=; b=B0mBiHAsN8I7BNS/mU4QppQq4xPSJV3whZyZvOYVXy07yim5yqBpDFH0m9G11EeiuC I+zhgIBakhE9uiJrK5pMepAaCUUaBvbcVLWKldqhoPO8hW4DjWfzHT8QQp7xjLnP4kBB +1evPf4JRJfCPzB4fh6k8lS3Js8Ys//I8stWI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=PmGzQuIqk2k4kzsoKeBKvFVdnEBiz+RKXSuRjoeZURM=; b=kb+Fe5vvcpRJhN4ONLCR+VldpJceZ8g3n35t5MvxNRJBaWhu4MMW5ZM5iybfquXSNo nyFbJApYZLXQylPgRiw+NqMwzW/69s2AB1fpZ6X0RZEHxh8crZox77ukkhCzM6+JXdLs 5bB4XYT54OlncGBl1ZBfBcCcusYjKXwvfXCh5E+CH3aSvj0EOzcMQPjuOmTVwTT+butj GoOKzqv/vHsiini+hMvorKvtwU5Zl1v01FfRyfz12EI3txf1JLwGI31FFvWQZATO9WhH DQb2kXovSzeXKHegHd7QD4TEdCgN1JayvrjPqkz5UyQ/fEaA2seMqqXLmsQLBLzadoEv VrUQ== X-Gm-Message-State: AOAM532iJ18Uw2LEIx4cy5bdTsF11zFo92gEzy5kH2hBIkW3oHQ95N33 hVtpkum7iRAT0h3Mec5va72I2oJEtDAXjT+ggpXFCg== X-Received: by 2002:a9d:1f4:: with SMTP id e107mr15358336ote.77.1633457449530; Tue, 05 Oct 2021 11:10:49 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 5 Oct 2021 11:10:49 -0700 MIME-Version: 1.0 In-Reply-To: <1633060859-22969-3-git-send-email-skakit@codeaurora.org> References: <1633060859-22969-1-git-send-email-skakit@codeaurora.org> <1633060859-22969-3-git-send-email-skakit@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Tue, 5 Oct 2021 11:10:49 -0700 Message-ID: Subject: Re: [PATCH V2 2/4] dt-bindings: mfd: pm8008: Add pm8008 regulator node To: Bjorn Andersson , Rob Herring , Satya Priya Cc: Lee Jones , Liam Girdwood , Mark Brown , Das Srinagesh , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mka@chromium.org, collinsd@codeurora.org, subbaram@codeaurora.org, kgunda@codeaurora.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Satya Priya (2021-09-30 21:00:57) > Add pm8008-regulator node and example. > > Signed-off-by: Satya Priya > --- > Changes in V2: > - As per Rob's comments changed "pm8008[a-z]?-regulator" to > "^pm8008[a-z]?-regulators". > > .../devicetree/bindings/mfd/qcom,pm8008.yaml | 24 ++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml > index ec3138c..0c9665e 100644 > --- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml > +++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml > @@ -45,6 +45,10 @@ properties: > const: 0 > > patternProperties: > + "^pm8008[a-z]?-regulators$": Please just call it 'regulators' > + type: object > + $ref: "../regulator/qcom,pm8008-regulator.yaml#" > + > "^gpio@[0-9a-f]+$": > type: object > > @@ -122,6 +126,26 @@ examples: > interrupt-controller; > #interrupt-cells = <2>; > }; > + > + pm8008-regulators { Please just call it 'regulators' > + compatible = "qcom,pm8008-regulator"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + vdd_l1_l2-supply = <&vreg_s8b_1p2>; > + vdd_l3_l4-supply = <&vreg_s1b_1p8>; > + vdd_l5-supply = <&vreg_bob>; > + vdd_l6-supply = <&vreg_bob>; > + vdd_l7-supply = <&vreg_bob>; > + > + pm8008_l1: regulator@4000 { > + reg = <0x4000>; > + regulator-name = "pm8008_l1"; > + regulator-min-microvolt = <950000>; > + regulator-max-microvolt = <1300000>; > + qcom,min-dropout-voltage = <96000>; > + }; > + };