Message ID | 20220806100249.12375-1-kewei.xu@mediatek.com |
---|---|
State | Accepted |
Commit | 3a8b54298cbee5d56a710f70863226b0ed84aa27 |
Headers | show |
Series | [v5,1/2] dt-bindngs: i2c: update bindings for mt8188 soc | expand |
On Sat, 2022-08-06 at 18:02 +0800, kewei.xu@mediatek.com wrote: > From: Kewei Xu <kewei.xu@mediatek.com> > > 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 <kewei.xu@mediatek.com> > Reviewed-by: AngeloGioacchino Del Regno < > angelogioacchino.delregno@collabora.com> Reviewed-by: Qii Wang <qii.wang@mediatek.com> > --- > 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, > }; >
On Sat, 2022-08-06 at 18:02 +0800, kewei.xu@mediatek.com wrote: > From: Kewei Xu <kewei.xu@mediatek.com> > > Add a DT binding documentation for the mt8188 soc. > > Signed-off-by: Kewei Xu <kewei.xu@mediatek.com> > Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> > Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Qii Wang <qii.wang@mediatek.com> > --- > v5: add Acked-by owner > v4: resend patch > v3: add reviewed-by owner > v2: no changes > --- > Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml > b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml > index 16a1a3118204..4e730fb7be56 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml > +++ b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml > @@ -27,6 +27,7 @@ properties: > - const: mediatek,mt8173-i2c > - const: mediatek,mt8183-i2c > - const: mediatek,mt8186-i2c > + - const: mediatek,mt8188-i2c > - const: mediatek,mt8192-i2c > - items: > - enum:
On Sat, Aug 06, 2022 at 06:02:48PM +0800, kewei.xu@mediatek.com wrote: > From: Kewei Xu <kewei.xu@mediatek.com> > > Add a DT binding documentation for the mt8188 soc. > > Signed-off-by: Kewei Xu <kewei.xu@mediatek.com> > Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> > Acked-by: Rob Herring <robh@kernel.org> Applied to for-current, thanks!
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml index 16a1a3118204..4e730fb7be56 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml @@ -27,6 +27,7 @@ properties: - const: mediatek,mt8173-i2c - const: mediatek,mt8183-i2c - const: mediatek,mt8186-i2c + - const: mediatek,mt8188-i2c - const: mediatek,mt8192-i2c - items: - enum: