regulator: mcp16502: lpm pin can be optional on some platforms
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 7 Jan 2021 14:15:26 +0000 (16:15 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Jan 2021 16:14:58 +0000 (16:14 +0000)
commit3c42728c18d093e8951ad6caf7daa89fa2f54702
tree5a4b8171938a48c906cc59448e20bd36f8b34ff7
parentf45c522cf875a1e42bd6780e35beb522c29d9c36
regulator: mcp16502: lpm pin can be optional on some platforms

On some platform (e.g. SAMA7G5) LPM pin should be optional as it can
be controlled explicitly (via shutdown controller registers) in the
platform specific power saving code to decrease the power consumption
while suspended as this SoC pin may be connected to other devices that
could take power saving actions based on its value.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/1610028927-9842-3-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mcp16502.c