mbox series

[0/8] Due to changes in hardware design, add patch to

Message ID 1626316157-24935-1-git-send-email-kewei.xu@mediatek.com
Headers show
Series Due to changes in hardware design, add patch to | expand

Message

Kewei Xu July 15, 2021, 2:29 a.m. UTC
1. In order to facilitate the review, the two series of patches submitted
   before have been integrated together.
2. Resubmit a patch to fixing the incorrect register value.
3. Add modify bus speed calculation formula patch

Kewei Xu (8):
  dt-bindings: i2c: update bindings for MT8195 SoC
  i2c: mediatek: Dump i2c/dma register when a timeout occurs
  i2c: mediatek: fixing the incorrect register offset
  i2c: mediatek: Reset the handshake signal between i2c and dma
  i2c: mediatek: Add OFFSET_EXT_CONF setting back
  dt-bindings: i2c: add attribute default-timing-adjust
  i2c: mediatek: Isolate speed setting via dts for special devices
  i2c: mediatek: modify bus speed calculation formula

 .../devicetree/bindings/i2c/i2c-mt65xx.txt         |   3 +
 drivers/i2c/busses/i2c-mt65xx.c                    | 229 +++++++++++++++++++--
 2 files changed, 217 insertions(+), 15 deletions(-)

--
1.9.1

Comments

Chen-Yu Tsai July 15, 2021, 3:03 a.m. UTC | #1
Hi,

On Thu, Jul 15, 2021 at 10:37 AM Kewei Xu <kewei.xu@mediatek.com> wrote:
>
> 1. In order to facilitate the review, the two series of patches submitted
>    before have been integrated together.

I'm not sure that really helps. We'll see.

> 2. Resubmit a patch to fixing the incorrect register value.

Fixes can be submitted separately, or at the very least, put at the very
front of the series.

> 3. Add modify bus speed calculation formula patch

When resubmitting patch series, please add appropriate versioning and
changelogs. This will help maintainers understand that this is a new
version of the series, and what has changed. This includes times when
the original patches weren't changed, but additional patches were added.

Please also keep the original series subject, which IIRC was about adding
support for MT8195 I2C. The subject you now used should be part of the
cover letter.

If you combine different patch series, you should use the highest version
number + 1.


Regards
ChenYu

>
> Kewei Xu (8):
>   dt-bindings: i2c: update bindings for MT8195 SoC
>   i2c: mediatek: Dump i2c/dma register when a timeout occurs
>   i2c: mediatek: fixing the incorrect register offset
>   i2c: mediatek: Reset the handshake signal between i2c and dma
>   i2c: mediatek: Add OFFSET_EXT_CONF setting back
>   dt-bindings: i2c: add attribute default-timing-adjust
>   i2c: mediatek: Isolate speed setting via dts for special devices
>   i2c: mediatek: modify bus speed calculation formula
>
>  .../devicetree/bindings/i2c/i2c-mt65xx.txt         |   3 +
>  drivers/i2c/busses/i2c-mt65xx.c                    | 229 +++++++++++++++++++--
>  2 files changed, 217 insertions(+), 15 deletions(-)
>
> --
> 1.9.1
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
Chen-Yu Tsai July 15, 2021, 5:23 a.m. UTC | #2
Hi,

On Thu, Jul 15, 2021 at 10:31 AM Kewei Xu <kewei.xu@mediatek.com> wrote:
>
> The reason for the modification here is that the previous
> offset information is incorrect, OFFSET_DEBUGSTAT = 0xE4 is
> the correct value.
>
> Signed-off-by: Kewei Xu <kewei.xu@mediatek.com>

This needs a fixes tag:

Fixes: 25708278f810 ("i2c: mediatek: Add i2c support for MediaTek MT8183")

Otherwise,

Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Kewei Xu July 16, 2021, 9:09 a.m. UTC | #3
On Thu, 2021-07-15 at 13:23 +0800, Chen-Yu Tsai wrote:
> Hi,

> 

> On Thu, Jul 15, 2021 at 10:31 AM Kewei Xu <kewei.xu@mediatek.com> wrote:

> >

> > The reason for the modification here is that the previous

> > offset information is incorrect, OFFSET_DEBUGSTAT = 0xE4 is

> > the correct value.

> >

> > Signed-off-by: Kewei Xu <kewei.xu@mediatek.com>

> 

> This needs a fixes tag:

> 

> Fixes: 25708278f810 ("i2c: mediatek: Add i2c support for MediaTek MT8183")

> 

> Otherwise,

> 

> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>


Hi Chen-Yu,

OK, I will resubmit a patch to add a fixes tag.

thanks
Kewei
Kewei Xu July 17, 2021, 9:05 a.m. UTC | #4
On Thu, 2021-07-15 at 11:03 +0800, Chen-Yu Tsai wrote:
> Hi,

> 

> On Thu, Jul 15, 2021 at 10:37 AM Kewei Xu <kewei.xu@mediatek.com> wrote:

> >

> > 1. In order to facilitate the review, the two series of patches submitted

> >    before have been integrated together.

> 

> I'm not sure that really helps. We'll see.

> 

> > 2. Resubmit a patch to fixing the incorrect register value.

> 

> Fixes can be submitted separately, or at the very least, put at the very

> front of the series.

> 

> > 3. Add modify bus speed calculation formula patch

> 

> When resubmitting patch series, please add appropriate versioning and

> changelogs. This will help maintainers understand that this is a new

> version of the series, and what has changed. This includes times when

> the original patches weren't changed, but additional patches were added.

> 

> Please also keep the original series subject, which IIRC was about adding

> support for MT8195 I2C. The subject you now used should be part of the

> cover letter.

> 

> If you combine different patch series, you should use the highest version

> number + 1.

> 

> 

> Regards

> ChenYu

> 

> >

> > Kewei Xu (8):

> >   dt-bindings: i2c: update bindings for MT8195 SoC

> >   i2c: mediatek: Dump i2c/dma register when a timeout occurs

> >   i2c: mediatek: fixing the incorrect register offset

> >   i2c: mediatek: Reset the handshake signal between i2c and dma

> >   i2c: mediatek: Add OFFSET_EXT_CONF setting back

> >   dt-bindings: i2c: add attribute default-timing-adjust

> >   i2c: mediatek: Isolate speed setting via dts for special devices

> >   i2c: mediatek: modify bus speed calculation formula

> >

> >  .../devicetree/bindings/i2c/i2c-mt65xx.txt         |   3 +

> >  drivers/i2c/busses/i2c-mt65xx.c                    | 229 +++++++++++++++++++--

> >  2 files changed, 217 insertions(+), 15 deletions(-)

> >

> > --

> > 1.9.1

> > _______________________________________________

> > Linux-mediatek mailing list

> > Linux-mediatek@lists.infradead.org

> > http://lists.infradead.org/mailman/listinfo/linux-mediatek


Hi ChenYu,

2. OK, I will place the fixes at the very least in the next patch.

3. I will take your opinion combine different patch series, you should
use the highest version number +1.

I have submitted two different series of patches before. The topics are
"Add i2c support for mt8195" (highest version number: V1) and "Introduce
an attribute to select timing settings" (highest version number:V3).
Later I will combine the above two series of patches and submit V4 with
"Introducing an attribute to select the time setting" as the subject
title.

Thanks

Regards
Kewei