From patchwork Fri Feb 9 10:05:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Fritz X-Patchwork-Id: 10208717 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E3E1F602D8 for ; Fri, 9 Feb 2018 10:06:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C94F429827 for ; Fri, 9 Feb 2018 10:06:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD6602982B; Fri, 9 Feb 2018 10:06:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 51BD529827 for ; Fri, 9 Feb 2018 10:06:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=jkRujzY6FyLHPAnPfrQNfG7h7DXziX5aAXBDuID0wX0=; b=nc0AIFEATstaVxD8QNvwY0CkMo okhw0WZDdpWjqjfhPexH5dta6N9DbvvEuaGii1Aa/gPOvF1JWvFDQsW5t6D0npk8HVezdEj5aWc5e 8Zmu4LcMHMy3OHhh9Ibol+eLbMSip1Bv4tTu7zhv8EulBNPEIA7jv7XpvNGBY1yET2U5hC/ASUeVb EZhE3ygXmAiqF9qwaM6a8ApiIKcQE8Lgs/b3cb0H4Y2I/e5wOO9A8AYSMVJTLIzqpHM1ZjtO1jtW/ u+DLe1cR/zh+QERk+76C82o0bG8xpi0itj/65V0ndCQm53jj9hK1wrpc7GhdvO8032X7vNK7RTcTI kFP0DWvw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ek5Zm-0002WG-ER; Fri, 09 Feb 2018 10:06:38 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ek5ZJ-0001jw-QM for linux-arm-kernel@lists.infradead.org; Fri, 09 Feb 2018 10:06:18 +0000 Received: by mail-wm0-x242.google.com with SMTP id 143so14345515wma.5 for ; Fri, 09 Feb 2018 02:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AqzuRtJcsZ+j3mHx3OZCc6Ve/UgHmXnplCC1zIr2ruU=; b=QW/qLkVluuFthlXRzSMxF9KwPwg9o/XxOxKctPA/Wv2XSHKgtiRUaRZJbyv790wFq0 0E8LQppHRZukgKNfK2rdqVW8scS7Kc4B9wVM1sTJVUkYNVHzC3hmI0aCwDK9Vu0W0bh7 3zdbbfCT3OVsvmNPMvC7nE1SYh7L434FHVWVWiJ50HzLp3jt7z62A52gDeMOXEDa0tDr uQaOqilXw/X653nWTmTnoqrZqlWGfVLKf1dQrZL+IM7UmEXIDnQHNMAOn3KYwg7DWbIQ +a2w0eYm4dyItlz4zHP4kRPWjdBmRvr3wagPjHM6vzCrfqT4BVHsbMNMiHaXbypTb46B 5tJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AqzuRtJcsZ+j3mHx3OZCc6Ve/UgHmXnplCC1zIr2ruU=; b=tM+Ad8PgMBfDERvzTc6UL+cuCWosElYmt+JcPP0sMJR6NdUjXPAH2tDubYU16ZF+6S opsvJ5KzDihc21RhUH7Kvt4rwhbSZH3SY6ID2uMWv1mAizI79EPLFdSRv8jH8ne8Xmll RbhfigSmQPzDmJWABqA2V9uAEgo07z0pPdm7LUBTIKH+iGEZ7dluWjxTEn9qxSyA3mrS tcgwfGqaLSyfj/DmEZtPlMKgPZS8dEvLRzPV7hD3/rnip1aE9Q5dyQJlcGidrifPJ/GU UOTvfzdFzxGY7bHUr0RR64K842/Di547xTE5+j8nlf2x49EoC0VdWcwswOLEVZ957d+g ksLg== X-Gm-Message-State: APf1xPC4G8muwjEralDDZFp8/FSZutpVnAWcMfKh5KiilSOChFMeUfD9 84DPHPmqVr1/OWG7SjhhYHY= X-Google-Smtp-Source: AH8x227DkYNbOhl/THedv6imEOSs9W1E0QfgSfUuO4cHavtcDR3GtRNO+Lw/Ioaj0h0v9p7opFZVYQ== X-Received: by 10.28.13.18 with SMTP id 18mr1642303wmn.112.1518170757387; Fri, 09 Feb 2018 02:05:57 -0800 (PST) Received: from lovely.phytec.de (mail.x-arc.co.uk. [217.6.246.34]) by smtp.googlemail.com with ESMTPSA id g8sm1947826wrb.88.2018.02.09.02.05.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Feb 2018 02:05:56 -0800 (PST) From: Christoph Fritz To: Shawn Guo , Rob Herring , Fabio Estevam Subject: [PATCH 2/3] dt-bindings: regulator: describe da9062's regulator modes Date: Fri, 9 Feb 2018 11:05:20 +0100 Message-Id: <1518170721-28198-3-git-send-email-chf.fritz@googlemail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1518170721-28198-1-git-send-email-chf.fritz@googlemail.com> References: <1518170721-28198-1-git-send-email-chf.fritz@googlemail.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Christian Hemp MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds DT description of da9062's buck regulator modes. Signed-off-by: Christoph Fritz --- Documentation/devicetree/bindings/mfd/da9062.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt index c0a418c..b871bc2 100644 --- a/Documentation/devicetree/bindings/mfd/da9062.txt +++ b/Documentation/devicetree/bindings/mfd/da9062.txt @@ -64,6 +64,14 @@ Sub-nodes: ldo3 : LDO_3 ldo4 : LDO_4 + The DA9062 regulators optionally support setting "regulator-initial-mode" + and "regulator-mode" for its buck nodes to following numbers listed below: + + 0 : BUCK_MODE_MANUAL + 1 : BUCK_MODE_SLEEP + 2 : BUCK_MODE_SYNC + 3 : BUCK_MODE_AUTO + The component follows the standard regulator framework and the bindings details of individual regulator device can be found in: Documentation/devicetree/bindings/regulator/regulator.txt