]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: k210: Fix inverted IE and OE for I2C
authorSean Anderson <seanga2@gmail.com>
Fri, 13 Nov 2020 13:43:39 +0000 (08:43 -0500)
committerAndes <uboot@andestech.com>
Tue, 17 Nov 2020 07:09:28 +0000 (15:09 +0800)
commit82b838f8dd2bffaffc53b9ca9abab711d8d83d0c
treed6aa87716aa486ca00b7483d078630b22e8d238d
parentf0b1831864db8c1f234983672f414ced35ee3902
pinctrl: k210: Fix inverted IE and OE for I2C

I2C and SCCB previously shared defaults. However, SCCB needs OE_INV and
IE_INV set, but I2C cannot have those bits set. This adds a separate
default for SCCB.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reported-by: Damien Le Moal <Damien.LeMoal@wdc.com>
drivers/pinctrl/pinctrl-kendryte.c