Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1135569ybt; Wed, 1 Jul 2020 20:18:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9LqR4PMgSTF1gZbfA6nRdgmQpJgFh6wmHz3B3B9FtuNnzfgr8jVskuA8AmjM5dNOYJjuo X-Received: by 2002:a17:906:c30b:: with SMTP id s11mr26676044ejz.263.1593659908199; Wed, 01 Jul 2020 20:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593659908; cv=none; d=google.com; s=arc-20160816; b=z2kqLwfDx1VKSyWultcIZoxN+VjjKB1kSBUXEw9Z4FLFT4blRd+8oNdf4d3VSn+BxL z+ELtOPs1He3xNkpHdJY4gSpWrTfYDzaD3ik7Jrdy1zBSQTfKzykpVqPlff8eBI14Jmv DRBjo3UszxxGNfsk9RO2gp4QnaSi1XIUfQBRk/4OoQzsvjY1oviDhM99ICgGrvSzkY/p XprwSuW+QNoYlnz7iqFzzkaXMMfx0r4z6WEaTxRN6OFc2BUSS8KiRkyWockz6tpUmdEg ZY//aicG/E5t+x47JKZ9M2aNgj/2V2RLzpSoV4vdylmctxgrPB5h/cMh8U8Bk34ALF0I m9cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=hedYhqgmZAAsOutDncDPqnlpzuuMhTLpZziU+qMbGLE=; b=A4sS9oi5hVKWf2NunlLL6Ny8fpBcl82+DJJQThfz0ogbP0D1OZLKddbOwCE7aJWda3 5j7H0xR44AfKgjcFjKfjergD8laJOfZ0wBBs7ljKcse/ksfN5EQJBfPae8/tmjTmY+Mk t+U0xxYKmNL81Ve1ZdbNHKU33vwM3WDdAf/H1a/nkxKxXjtVscIkQnqRjzoni0kaKyYP R3IpXg9n1zIhKGz5B3v6MIAx34dsTYjTTrRlx9xkR2M5IXIjXaCqHnt86RQhNGQeqEkR 5oBjq7DZ36H/dbfwXimJgfBIIKNPGh0wiyHuvRGiLo+xytTfr/sPfanf2TNyw5TYzB27 jKeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=uV0TTUHu; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si2966260ejk.3.2020.07.01.20.18.05; Wed, 01 Jul 2020 20:18:28 -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=@google.com header.s=20161025 header.b=uV0TTUHu; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727083AbgGBDP7 (ORCPT + 99 others); Wed, 1 Jul 2020 23:15:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbgGBDP7 (ORCPT ); Wed, 1 Jul 2020 23:15:59 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AB8AC08C5DB for ; Wed, 1 Jul 2020 20:15:59 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id p22so28261720ybg.21 for ; Wed, 01 Jul 2020 20:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=hedYhqgmZAAsOutDncDPqnlpzuuMhTLpZziU+qMbGLE=; b=uV0TTUHu2THKmzy3RXnp/AEnYr4oDDtg/sPYvbr0Mqh710YOZDJZJvQFr9QVgDZcMX 5d2lYdM9u72E1QkKFHRTft+huUGXfsPJtjU19DdtLEZ9p3lkKGzmkDFogpyS4cxl3itc zBo16RWvh2qGIr3SDS7LktRGo0khmTd0f7Gir7RnZOnV4XMjncDB/+dXYKUQxnOf8vTR uNY8igeGfbTSBBsJFHMdEtHEhFmz0x190+iCOG5qrJSv3pIMQtpEiaoKcbIenNrCEGan MWEtkvnoN+/JK2Hr5MgRFGho2FlVxlbChr/mUrzkKg126pb1zy+kaFVurr7TPevdg/Qg uhvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=hedYhqgmZAAsOutDncDPqnlpzuuMhTLpZziU+qMbGLE=; b=jsK5sC3cgBuwNrHKb6/r8AuyHGq9DsEW7d/kR5mdqx9iwgJWnP0pmjiuTLp3Y2xArp 6HkQhmVGM6qOhPhkuRVIoYw9jptoTpd2jZzILAIdwcI4PcoAlMr93yY2Vb6BBsNmkmrj w3+N1eEZWXKOrfaR3HhlYlNTRSxVijGpgejwSBi8h8PIf3gqw9e/3cY2WwaYjKpDt1rt g0OxLu897UJW7BEZgjrhSopElMXvRwK2grzgn7dNFgvqTQeEMl23GfVNsUH9D2+P0M2C 0xdHmwsl1QxQfLEzVfJxm4tK/0bu9BvP2fvdWPAvdduHsCXw+JunOv4eHjuYluD013RL spRg== X-Gm-Message-State: AOAM531Ugf09pQjOnpBeu35pIthKYvE0oSGSMei+69kB45GA3SINFiFl bxpzxi0Q8g70CNL6+QzX5R7MHXKOFCga X-Received: by 2002:a25:2882:: with SMTP id o124mr741616ybo.10.1593659758255; Wed, 01 Jul 2020 20:15:58 -0700 (PDT) Date: Thu, 2 Jul 2020 13:15:23 +1000 In-Reply-To: <20200702031525.2662441-1-amistry@google.com> Message-Id: <20200702131350.2.I6131e251d13f60d8c5347bb4faa9dc2364c87848@changeid> Mime-Version: 1.0 References: <20200702031525.2662441-1-amistry@google.com> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog Subject: [PATCH 2/4] dt-bindings: regulator: da9211: Document allowed modes From: Anand K Mistry To: linux-mediatek@lists.infradead.org Cc: hsinyi@chromium.org, drinkcat@chromium.org, Anand K Mistry , Liam Girdwood , Mark Brown , Rob Herring , Support Opensource , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds a description of how operating modes may be specified. Signed-off-by: Anand K Mistry --- Documentation/devicetree/bindings/regulator/da9211.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/da9211.txt b/Documentation/devicetree/bindings/regulator/da9211.txt index 27717e816e71..eb871447d508 100644 --- a/Documentation/devicetree/bindings/regulator/da9211.txt +++ b/Documentation/devicetree/bindings/regulator/da9211.txt @@ -15,6 +15,8 @@ Required properties: Optional properties: - enable-gpios: platform gpio for control of BUCKA/BUCKB. - Any optional property defined in regulator.txt + - regulator-initial-mode and regulator-allowed-modes may be specified using + mode values from dt-bindings/regulator/dlg,da9211-regulator.h Example 1) DA9211 pmic: da9211@68 { @@ -30,6 +32,8 @@ Example 1) DA9211 regulator-min-microamp = <2000000>; regulator-max-microamp = <5000000>; enable-gpios = <&gpio 27 0>; + regulator-allowed-modes = ; }; }; }; -- 2.27.0.212.ge8ba1cc988-goog