[PATCH v6 2/5] i2c: npcm: Remove own slave addresses 2:10

Wolfram Sang wsa at kernel.org
Thu Jun 9 06:02:54 AEST 2022


On Wed, May 25, 2022 at 11:23:38AM +0800, Tyrone Ting wrote:
> From: Tali Perry <tali.perry1 at gmail.com>
> 
> NPCM can support up to 10 own slave addresses. In practice, only one
> address is actually being used. In order to access addresses 2 and above,
> need to switch register banks. The switch needs spinlock.
> To avoid using spinlock for this useless feature removed support of SA >=
> 2. Also fix returned slave event enum.
> 
> Remove some comment since the bank selection is not required. The bank
> selection is not required since the supported slave addresses are reduced.
> 
> Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver")
> Signed-off-by: Tali Perry <tali.perry1 at gmail.com>
> Signed-off-by: Tyrone Ting <kfting at nuvoton.com>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220608/6cf28389/attachment.sig>


More information about the openbmc mailing list