Thread (6 messages) 6 messages, 3 authors, 2022-08-11

Re: [PATCH v5 2/2] i2c: mediatek: add i2c compatible for MT8188

From: Qii Wang <qii.wang@mediatek.com>
Date: 2022-08-08 02:06:37
Also in: linux-devicetree, linux-i2c, linux-mediatek, lkml

On Sat, 2022-08-06 at 18:02 +0800, kewei.xu@mediatek.com wrote:
From: Kewei Xu <redacted>

Add i2c compatible for MT8188 and added mt_i2c_regs_v3[], since
MT8188 i2c OFFSET_SLAVE_ADDR register changed from 0x04 to 0x94.

Signed-off-by: Kewei Xu <redacted>
Reviewed-by: AngeloGioacchino Del Regno <
angelogioacchino.delregno@collabora.com>
Reviewed-by: Qii Wang <qii.wang@mediatek.com>
quoted hunk ↗ jump to hunk
---
v5: modify the order of mt_i2c_regs_v3[] members and add Reviewed-by
owner.
v4: no changes
V3: no changes
V2: added mt_i2c_regs_v3[] to replace slave_addr_version.
---
 drivers/i2c/busses/i2c-mt65xx.c | 43
+++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
diff --git a/drivers/i2c/busses/i2c-mt65xx.c
b/drivers/i2c/busses/i2c-mt65xx.c
index 8e6985354fd5..bd8abba3d1c9 100644
--- a/drivers/i2c/busses/i2c-mt65xx.c
+++ b/drivers/i2c/busses/i2c-mt65xx.c
@@ -229,6 +229,35 @@ static const u16 mt_i2c_regs_v2[] = {
 	[OFFSET_DCM_EN] = 0xf88,
 };
 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help