Received: by 10.213.65.68 with SMTP id h4csp747328imn; Fri, 6 Apr 2018 08:13:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/FiH/TbbV7PPQJ+8lxa1WCLp3K4VmPImDzkZpPwSGbMsvZL6CEjZC1JYLS9ZC82y2Xm5wr X-Received: by 10.98.182.8 with SMTP id j8mr15300119pff.115.1523027623532; Fri, 06 Apr 2018 08:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523027623; cv=none; d=google.com; s=arc-20160816; b=Kz9/GVzSzcx2F7UX495W1ysWeOGGD42Qrdfpd/+2m+SHQik90rAuNzHQg6eU9Nrza7 JZoW7t/NK/Tw0b38Fv6ffJRx4VXbK7jfiReZTp4nrVq1AQqJCGiEPy174VPtFQNFHxwC 7ypAKhQFI+R0YfVcDL5KLjpFQGc5q+y9r/LTBOVkHQbVVdKFpfkirgocnzniaBwWZtLb 2/HOKy7tPcY0w/utmIxcW1x9YaPPeHnwc++fg2s42GG4FkwAPYDy4/6wH30af1gwyv8Y zZdo9wXezkwvqCKWgk7LEEtYjIpYVciLadp1zG5yYtZSW28c4PnO/VnQbgUmWQWMOM7P 5NcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=hbZTliT7pfdJuQizrFRewnd6Ccw2GInUIjwDhZ+b7fU=; b=D9MWEJ2f31E+BC84Lq3jLHnu0wz47UgIcYfNRDCb4X/qskskjFGrvoHuM0Qr2Smkdv CU9q8lrfZMnLcMPPZLwuTYiDr2+ny7GvtydRHfQ1tEp85+VEQkE7M/xrng6wDAF0K2zU AHVCI2+N2t6Lcdk598idh6++3YTDdp7iQrmGvMTkAgo6lHwdMOcWYjgeU0s9T2N8B0VW RqhS7NNnaz8r1b8mTwtwCMvXn8XvDNQjVGN0gvJ2YHsuPIfY/bdineK9/u4n6UllRmRN uy3JS4TNiqQ8d8Zd9egRfZsBeMcX5hpsYyexQTIFQZt8tvCjKIL6AHxjT66U0I0LBSLq QA9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12-v6si8286600plg.650.2018.04.06.08.13.29; Fri, 06 Apr 2018 08:13:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751956AbeDFPMO (ORCPT + 99 others); Fri, 6 Apr 2018 11:12:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55640 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754248AbeDFN3L (ORCPT ); Fri, 6 Apr 2018 09:29:11 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 17278CDB; Fri, 6 Apr 2018 13:29:09 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Keerthy , Rob Herring , Linus Walleij , Ben Hutchings Subject: [PATCH 3.18 88/93] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition Date: Fri, 6 Apr 2018 15:23:57 +0200 Message-Id: <20180406084229.023610140@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084224.918716300@linuxfoundation.org> References: <20180406084224.918716300@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 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 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Keerthy commit 0ea66f76ba17a4b229caaadd77de694111b21769 upstream. GPIO7 is configured in POWERHOLD mode which has higher priority over DEV_ON bit and keeps the PMIC supplies on even after the DEV_ON bit is turned off. This property enables driver to over ride the POWERHOLD value to GPIO7 so as to turn off the PMIC in power off scenarios. Signed-off-by: Keerthy Acked-by: Rob Herring Signed-off-by: Linus Walleij Cc: Ben Hutchings Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt @@ -35,6 +35,15 @@ Optional properties: - ti,palmas-enable-dvfs2: Enable DVFS2. Configure pins for DVFS2 mode. Selection primary or secondary function associated to GPADC_START and SYSEN2 pin/pad for DVFS2 interface +- ti,palmas-override-powerhold: This is applicable for PMICs for which + GPIO7 is configured in POWERHOLD mode which has higher priority + over DEV_ON bit and keeps the PMIC supplies on even after the DEV_ON + bit is turned off. This property enables driver to over ride the + POWERHOLD value to GPIO7 so as to turn off the PMIC in power off + scenarios. So for GPIO7 if ti,palmas-override-powerhold is set + then the GPIO_7 field should never be muxed to anything else. + It should be set to POWERHOLD by default and only in case of + power off scenarios the driver will over ride the mux value. This binding uses the following generic properties as defined in pinctrl-bindings.txt: