projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7a96b0
)
pinctrl: aspeed: Add SIG_DESC_CLEAR() helper
author
Andrew Jeffery
<andrew@aj.id.au>
Mon, 29 Jul 2019 05:56:03 +0000
(15:26 +0930)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 5 Aug 2019 10:40:48 +0000
(12:40 +0200)
The complement of SIG_DESC_SET().
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link:
https://lore.kernel.org/r/20190729055604.13239-6-andrew@aj.id.au
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/aspeed/pinmux-aspeed.h
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/aspeed/pinmux-aspeed.h
b/drivers/pinctrl/aspeed/pinmux-aspeed.h
index
474820d
..
c59e936
100644
(file)
--- a/
drivers/pinctrl/aspeed/pinmux-aspeed.h
+++ b/
drivers/pinctrl/aspeed/pinmux-aspeed.h
@@
-508,6
+508,7
@@
struct aspeed_pin_desc {
* @idx: The bit index in the register
*/
#define SIG_DESC_SET(reg, idx) SIG_DESC_IP_BIT(ASPEED_IP_SCU, reg, idx, 1)
+#define SIG_DESC_CLEAR(reg, idx) SIG_DESC_IP_BIT(ASPEED_IP_SCU, reg, idx, 0)
#define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group
#define SIG_DESC_LIST_DECL(sig, group, ...) \