Received: by 10.213.65.68 with SMTP id h4csp704278imn; Fri, 6 Apr 2018 07:33:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx49YTJtLXTfIA4FP8rnwpmNLumlheM7boo82LD1U0gj6x7khGIS+PskFF02n2fvO/lRf1F9I X-Received: by 2002:a17:902:8282:: with SMTP id y2-v6mr27236913pln.7.1523025219848; Fri, 06 Apr 2018 07:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523025219; cv=none; d=google.com; s=arc-20160816; b=0/Y6EawShZSP2xWdiHQTUL0BnDzyp6AnHxfDiYWWAQDDwl7CY4KJL/oX4mRmatA7Uu k0g7F9XPvq29rcWxEn+edxRxDqV0d8gd7THR4ynN1tGMB3FUUpV3ResOQU2NhtfaIzA3 O4XnnozfeWQdbfNh2vzEPIcPxL7+YVnNcZep9lOLV5cRbuV9rtfZpXRfWJbIs/K5l6/N z6qLf+Jhqwazw/Rxhi7Au7YK/vTEqXyMBCRy4wyZURzpeNnz7oM1bxND7+bRcuwblYfY gZSqM7v0i1jT5QvRFIXEeeBtUWNKF/HQG/NuYr2h2KthNvr3e+pkzTSHkbohRYl9y+iV 3W8Q== 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=WIzXaMrGan7tzKbWidnY4R9PpaSw5caYSTikAl16OuI=; b=yiXSJN38il0dMQoyqrhMhyGq78G88TlGh8l1ddIFo5RVDHGFPmMOVns89Rhwnw/RRz HVG6eGVvixIy+zcFy/CXeWkQma9kbj5yHIhn67veYUtfc+zxC9fT0RN0gdrT9UtwFEi4 rhTPrQbj2KHZtNBlGhnRb4AHn106x6ZxtYxPRQGXmgyHZzD9EGVRK/eghTArQMBFowVD siOrIwqI/loxugTH90pd3tANXaYXpuSL8yba5xv+zWQx196WknZkflPcCu25XPPhx7Me G67GgRwOlcNZ0cG2vunansi8yFsCaYBw1Db7BSaTLLK6QP7EQhyc8XdbR3Z6XtCy2Sye vrfQ== 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 a18si1336450pgd.330.2018.04.06.07.33.20; Fri, 06 Apr 2018 07:33:39 -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 S932123AbeDFNg2 (ORCPT + 99 others); Fri, 6 Apr 2018 09:36:28 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59184 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756200AbeDFNgZ (ORCPT ); Fri, 6 Apr 2018 09:36:25 -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 386BBDC8; Fri, 6 Apr 2018 13:36:25 +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 4.9 090/102] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition Date: Fri, 6 Apr 2018 15:24:11 +0200 Message-Id: <20180406084344.145286052@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084331.507038179@linuxfoundation.org> References: <20180406084331.507038179@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 4.9-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: