From patchwork Tue Aug 11 10:09:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6990911 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 212F7C05AC for ; Tue, 11 Aug 2015 10:10:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45DD920647 for ; Tue, 11 Aug 2015 10:10:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 57D1320643 for ; Tue, 11 Aug 2015 10:10:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964961AbbHKKKS (ORCPT ); Tue, 11 Aug 2015 06:10:18 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:36288 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933911AbbHKKKQ (ORCPT ); Tue, 11 Aug 2015 06:10:16 -0400 Received: by pdco4 with SMTP id o4so82213278pdc.3; Tue, 11 Aug 2015 03:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1JBqUrRl6gFu5znDh8rWsgWSeumYjKDCvUwoT2mQezg=; b=l0eV26YqNP4RBuYNHbQi6pmXc2kU5KI4RwqsxQzTuf4QkA/QLCDmA4DdvpEKiOUOcK wHnDWPndu6G5RV21dKEifBeSTyvRt1ETGeSIQNJm4W/4xV9slkhUWgonDIedxnpknHhW V2iOlVrX+flVE37Rg7Mtdp+Q8gjcyUrVDv+9N6Z2lhL3xwYYD2mQ0nT593Nu+kR22woH 3A+GkrcLzIT3IDM3E5F4fcZT6ZMdfvv9ZnE4eIowW/NpjGbsxqJSXQQwMwL62onjOcl5 LgMPmmF/8fl2EIiqGQZVue/GiSVwNyrjh8xmarS1Syd17oHU/+l1SmMtt6fnY3BjhEUu L1Zg== X-Received: by 10.70.90.42 with SMTP id bt10mr54529022pdb.60.1439287815284; Tue, 11 Aug 2015 03:10:15 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by smtp.gmail.com with ESMTPSA id rt6sm2001832pbb.62.2015.08.11.03.10.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Aug 2015 03:10:14 -0700 (PDT) From: Krzysztof Kozlowski To: Sangbeom Kim , Krzysztof Kozlowski , Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Anand Moon , Javier Martinez Canillas , Krzysztof Kozlowski Subject: [PATCH v2 1/3] mfd: documentation: dt: Document grounded ACOKB pin on S2MPS11 Date: Tue, 11 Aug 2015 19:09:04 +0900 Message-Id: <1439287746-14034-2-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439287746-14034-1-git-send-email-k.kozlowski.k@gmail.com> References: <1439287746-14034-1-git-send-email-k.kozlowski.k@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document a new Device Tree property 'samsung,s2mps11-acokb-ground' indicating that ACOKB pin of S2MPS11 PMIC is connected to the ground so the PMIC must manually set PWRHOLD bit in CTRL1 register to turn off the power. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas Acked-by: Lee Jones --- Changes since v1: 1. Split bindings documentation to separate patch (suggested by Lee). 2. Add Javier's reviewed-by and Lee's acked-by. --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt index 57a045016fca..90eaef393325 100644 --- a/Documentation/devicetree/bindings/mfd/s2mps11.txt +++ b/Documentation/devicetree/bindings/mfd/s2mps11.txt @@ -15,6 +15,10 @@ Optional properties: - interrupt-parent: Specifies the phandle of the interrupt controller to which the interrupts from s2mps11 are delivered to. - interrupts: Interrupt specifiers for interrupt sources. +- samsung,s2mps11-acokb-ground: Indicates that ACOKB pin of S2MPS11 PMIC is + connected to the ground so the PMIC must manually set PWRHOLD bit in CTRL1 + register to turn off the power. Usually the ACOKB is pulled up to VBATT so + when PWRHOLD pin goes low, the rising ACOKB will trigger power off. Optional nodes: - clocks: s2mps11, s2mps13 and s5m8767 provide three(AP/CP/BT) buffered 32.768