]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: pinctrl: Add a function to parse PIN_CONFIG flags
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:26 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:34 +0000 (20:42 -0700)
commit52db39a22b0544446e630c853292bfa255a21e24
treecc1360edc2d0167bd3262493f01976e7365d9850
parent0379597e55c17519be36fdf357d4463279da5aca
dm: pinctrl: Add a function to parse PIN_CONFIG flags

Add a function which produces a flags word from a few common PIN_CONFIG
settings. This is useful for simple pinctrl drivers that don't need to worry
about drive strength, etc.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/pinctrl-uclass.c
include/dm/pinctrl.h