Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition

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 <j-keerthy@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Keerthy and committed by
Linus Walleij
0ea66f76 3ae02c14

+9
+9
Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt
··· 35 35 - ti,palmas-enable-dvfs2: Enable DVFS2. Configure pins for DVFS2 mode. 36 36 Selection primary or secondary function associated to GPADC_START 37 37 and SYSEN2 pin/pad for DVFS2 interface 38 + - ti,palmas-override-powerhold: This is applicable for PMICs for which 39 + GPIO7 is configured in POWERHOLD mode which has higher priority 40 + over DEV_ON bit and keeps the PMIC supplies on even after the DEV_ON 41 + bit is turned off. This property enables driver to over ride the 42 + POWERHOLD value to GPIO7 so as to turn off the PMIC in power off 43 + scenarios. So for GPIO7 if ti,palmas-override-powerhold is set 44 + then the GPIO_7 field should never be muxed to anything else. 45 + It should be set to POWERHOLD by default and only in case of 46 + power off scenarios the driver will over ride the mux value. 38 47 39 48 This binding uses the following generic properties as defined in 40 49 pinctrl-bindings.txt: