pinctrl: samsung: Allow pin value to be initialized using pinfunc

This patch extends the range of settings configurable via pinfunc API
to cover pin value as well. This allows configuration of default values
of pins, which is useful for pins that are not supposed to be used by
any dedicated driver, but need certain board-specific setting.

Signed-off-by: Tomasz Figa <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
Tomasz Figa 2014-07-02 17:41:04 +02:00 • committed by Linus Walleij
commit 2700bc0135
2 changed files with 2 additions and 0 deletions

View file

@ -47,6 +47,7 @@ static struct pin_config {
{ "samsung,pin-drv", PINCFG_TYPE_DRV },
{ "samsung,pin-con-pdn", PINCFG_TYPE_CON_PDN },
{ "samsung,pin-pud-pdn", PINCFG_TYPE_PUD_PDN },
{ "samsung,pin-val", PINCFG_TYPE_DAT },
};
/* Global list of devices (struct samsung_pinctrl_drv_data) */