pinctrl: cherryview: add option to set open-drain pin config
authorDan O'Donovan <dan@emutex.com>
Fri, 10 Jun 2016 12:23:35 +0000 (13:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jun 2016 06:37:39 +0000 (08:37 +0200)
commitccdf81d08dbe059885d77a82adea33d0599b6421
treefd83020a1d72df6a7354a88574564bc379512658
parent0bd50d719b004110e791800450ad204399100a86
pinctrl: cherryview: add option to set open-drain pin config

On some CHV platforms, we need an option to configure the
open-drain setting for these pins.  This adds support for the
PIN_CONFIG_DRIVE_PUSH_PULL and PIN_CONFIG_DRIVE_OPEN_DRAIN to
disable/enable open-drain mode for a specific pin.

Signed-off-by: Dan O'Donovan <dan@emutex.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-cherryview.c