All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] soc: mediatek: updates for v5.6
@ 2020-01-13 10:17 ` Matthias Brugger
  0 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2020-01-13 10:17 UTC (permalink / raw)
  To: soc, arm-soc
  Cc: Matthias Brugger, Mars Cheng,
	moderated list:ARM/Mediatek SoC support, Bibby Hsieh,
	linux-arm-kernel

Hi Olof,
Hi ARnds,

Please have a look on the following patches for mediatek soc drivers for v5.6

I includes the stable branch v5.5-next/cmdq-stable which should also be merged
in the DRM tree. I'm not very familiar with providing a stable tree, although I
double-checked that in the pull request to the DRM tree the commit IDs are the
same, I thought it is worth noting.

Regards,
Matthias

---

The following changes since commit e42617b825f8073569da76dc4510bfa019b1c35a:

  Linux 5.5-rc1 (2019-12-08 14:57:55 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/
tags/v5.5-next-soc

for you to fetch changes up to 9c26abeb86ce6ab53b6397873bb3f556016c05ba:

  Merge branch 'v5.5-next/cmdq-stable' into v5.5-next/soc (2020-01-10 11:00:45
+0100)

----------------------------------------------------------------
cmdq:
- clean ups of unused code and debuggability
- add cmdq_instruction to make the function call interface more readable
- add functions for polling and providing info for the user of cmdq

scpsys:
- add bindings for MT6765

----------------------------------------------------------------
Bibby Hsieh (4):
      soc: mediatek: cmdq: remove OR opertaion from err return
      soc: mediatek: cmdq: define the instruction struct
      soc: mediatek: cmdq: add polling function
      soc: mediatek: cmdq: add cmdq_dev_get_client_reg function

Mars Cheng (1):
      dt-bindings: mediatek: add MT6765 power dt-bindings

Matthias Brugger (2):
      soc: mediatek: cmdq: delete not used define
      Merge branch 'v5.5-next/cmdq-stable' into v5.5-next/soc

 .../devicetree/bindings/soc/mediatek/scpsys.txt    |   6 +
 drivers/soc/mediatek/mtk-cmdq-helper.c             | 149 +++++++++++++++++----
 include/dt-bindings/power/mt6765-power.h           |  14 ++
 include/linux/mailbox/mtk-cmdq-mailbox.h           |  11 ++
 include/linux/soc/mediatek/mtk-cmdq.h              |  53 ++++++++
 5 files changed, 205 insertions(+), 28 deletions(-)
 create mode 100644 include/dt-bindings/power/mt6765-power.h

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [GIT PULL] soc: mediatek: updates for v5.6
@ 2020-01-13 10:17 ` Matthias Brugger
  0 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2020-01-13 10:17 UTC (permalink / raw)
  To: soc, arm-soc
  Cc: Matthias Brugger, Mars Cheng,
	moderated list:ARM/Mediatek SoC support, Bibby Hsieh,
	linux-arm-kernel

Hi Olof,
Hi ARnds,

Please have a look on the following patches for mediatek soc drivers for v5.6

I includes the stable branch v5.5-next/cmdq-stable which should also be merged
in the DRM tree. I'm not very familiar with providing a stable tree, although I
double-checked that in the pull request to the DRM tree the commit IDs are the
same, I thought it is worth noting.

Regards,
Matthias

---

The following changes since commit e42617b825f8073569da76dc4510bfa019b1c35a:

  Linux 5.5-rc1 (2019-12-08 14:57:55 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/
tags/v5.5-next-soc

for you to fetch changes up to 9c26abeb86ce6ab53b6397873bb3f556016c05ba:

  Merge branch 'v5.5-next/cmdq-stable' into v5.5-next/soc (2020-01-10 11:00:45
+0100)

----------------------------------------------------------------
cmdq:
- clean ups of unused code and debuggability
- add cmdq_instruction to make the function call interface more readable
- add functions for polling and providing info for the user of cmdq

scpsys:
- add bindings for MT6765

----------------------------------------------------------------
Bibby Hsieh (4):
      soc: mediatek: cmdq: remove OR opertaion from err return
      soc: mediatek: cmdq: define the instruction struct
      soc: mediatek: cmdq: add polling function
      soc: mediatek: cmdq: add cmdq_dev_get_client_reg function

Mars Cheng (1):
      dt-bindings: mediatek: add MT6765 power dt-bindings

Matthias Brugger (2):
      soc: mediatek: cmdq: delete not used define
      Merge branch 'v5.5-next/cmdq-stable' into v5.5-next/soc

 .../devicetree/bindings/soc/mediatek/scpsys.txt    |   6 +
 drivers/soc/mediatek/mtk-cmdq-helper.c             | 149 +++++++++++++++++----
 include/dt-bindings/power/mt6765-power.h           |  14 ++
 include/linux/mailbox/mtk-cmdq-mailbox.h           |  11 ++
 include/linux/soc/mediatek/mtk-cmdq.h              |  53 ++++++++
 5 files changed, 205 insertions(+), 28 deletions(-)
 create mode 100644 include/dt-bindings/power/mt6765-power.h

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [GIT PULL] soc: mediatek: updates for v5.6
  2020-01-13 10:17 ` Matthias Brugger
@ 2020-01-17 19:22   ` Olof Johansson
  -1 siblings, 0 replies; 8+ messages in thread
From: Olof Johansson @ 2020-01-17 19:22 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: SoC Team, arm-soc, Mars Cheng, Bibby Hsieh,
	moderated list:ARM/Mediatek SoC support, linux-arm-kernel

Hi,

On Mon, Jan 13, 2020 at 2:18 AM Matthias Brugger <matthias.bgg@gmail.com> wrote:
>
> Hi Olof,
> Hi ARnds,
>
> Please have a look on the following patches for mediatek soc drivers for v5.6
>
> I includes the stable branch v5.5-next/cmdq-stable which should also be merged
> in the DRM tree. I'm not very familiar with providing a stable tree, although I
> double-checked that in the pull request to the DRM tree the commit IDs are the
> same, I thought it is worth noting.

I'm a little confused as to how the dependencies are expected to line up here.

Does your non-DRM contents rely on the DRM pieces? If so, you need
them to be based on top of that branch to make sure they are
bisectable, not merge the DRM branch in on top (since a bisect might
land on a commit before the merge).

But... I also don't see how there's any actual dependency here? There
are a few cleanups, the DRM branch builds without them, and the branch
when checked out right before the DRM merge in your pull request, also
builds.


-Olof

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [GIT PULL] soc: mediatek: updates for v5.6
@ 2020-01-17 19:22   ` Olof Johansson
  0 siblings, 0 replies; 8+ messages in thread
From: Olof Johansson @ 2020-01-17 19:22 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: SoC Team, arm-soc, Mars Cheng, Bibby Hsieh,
	moderated list:ARM/Mediatek SoC support, linux-arm-kernel

Hi,

On Mon, Jan 13, 2020 at 2:18 AM Matthias Brugger <matthias.bgg@gmail.com> wrote:
>
> Hi Olof,
> Hi ARnds,
>
> Please have a look on the following patches for mediatek soc drivers for v5.6
>
> I includes the stable branch v5.5-next/cmdq-stable which should also be merged
> in the DRM tree. I'm not very familiar with providing a stable tree, although I
> double-checked that in the pull request to the DRM tree the commit IDs are the
> same, I thought it is worth noting.

I'm a little confused as to how the dependencies are expected to line up here.

Does your non-DRM contents rely on the DRM pieces? If so, you need
them to be based on top of that branch to make sure they are
bisectable, not merge the DRM branch in on top (since a bisect might
land on a commit before the merge).

But... I also don't see how there's any actual dependency here? There
are a few cleanups, the DRM branch builds without them, and the branch
when checked out right before the DRM merge in your pull request, also
builds.


-Olof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [GIT PULL] soc: mediatek: updates for v5.6
  2020-01-17 19:22   ` Olof Johansson
@ 2020-01-17 21:52     ` Matthias Brugger
  -1 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2020-01-17 21:52 UTC (permalink / raw)
  To: Olof Johansson
  Cc: SoC Team, arm-soc, Mars Cheng, Bibby Hsieh, CK HU,
	moderated list:ARM/Mediatek SoC support, linux-arm-kernel



On 17/01/2020 20:22, Olof Johansson wrote:
> Hi,
> 
> On Mon, Jan 13, 2020 at 2:18 AM Matthias Brugger <matthias.bgg@gmail.com> wrote:
>>
>> Hi Olof,
>> Hi ARnds,
>>
>> Please have a look on the following patches for mediatek soc drivers for v5.6
>>
>> I includes the stable branch v5.5-next/cmdq-stable which should also be merged
>> in the DRM tree. I'm not very familiar with providing a stable tree, although I
>> double-checked that in the pull request to the DRM tree the commit IDs are the
>> same, I thought it is worth noting.
> 
> I'm a little confused as to how the dependencies are expected to line up here.
> 
> Does your non-DRM contents rely on the DRM pieces? If so, you need
> them to be based on top of that branch to make sure they are
> bisectable, not merge the DRM branch in on top (since a bisect might
> land on a commit before the merge).

No, it's the other way round. DRM relies on the four patches I took from Bibby
Hsieh. They are part of v5.5-next/cmdq-stable and this branch was merged into
v5.5-next/soc as well as in Ck Hu's DRM branch. My understanding is that Ck Hu
sends pull requests to the DRM branch.

> 
> But... I also don't see how there's any actual dependency here? There
> are a few cleanups, the DRM branch builds without them, and the branch
> when checked out right before the DRM merge in your pull request, also
> builds.
> 

The patches add some helper functions like cmdq_dev_get_client_reg on which the
DRM branch from Ck Hu depends [1].

Hope that clarifies your questions.
Regards,
Matthias

[1] https://github.com/ckhu-mediatek/linux.git-tags/commits/mediatek-drm-next-5.6

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [GIT PULL] soc: mediatek: updates for v5.6
@ 2020-01-17 21:52     ` Matthias Brugger
  0 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2020-01-17 21:52 UTC (permalink / raw)
  To: Olof Johansson
  Cc: SoC Team, arm-soc, Mars Cheng, Bibby Hsieh, CK HU,
	moderated list:ARM/Mediatek SoC support, linux-arm-kernel



On 17/01/2020 20:22, Olof Johansson wrote:
> Hi,
> 
> On Mon, Jan 13, 2020 at 2:18 AM Matthias Brugger <matthias.bgg@gmail.com> wrote:
>>
>> Hi Olof,
>> Hi ARnds,
>>
>> Please have a look on the following patches for mediatek soc drivers for v5.6
>>
>> I includes the stable branch v5.5-next/cmdq-stable which should also be merged
>> in the DRM tree. I'm not very familiar with providing a stable tree, although I
>> double-checked that in the pull request to the DRM tree the commit IDs are the
>> same, I thought it is worth noting.
> 
> I'm a little confused as to how the dependencies are expected to line up here.
> 
> Does your non-DRM contents rely on the DRM pieces? If so, you need
> them to be based on top of that branch to make sure they are
> bisectable, not merge the DRM branch in on top (since a bisect might
> land on a commit before the merge).

No, it's the other way round. DRM relies on the four patches I took from Bibby
Hsieh. They are part of v5.5-next/cmdq-stable and this branch was merged into
v5.5-next/soc as well as in Ck Hu's DRM branch. My understanding is that Ck Hu
sends pull requests to the DRM branch.

> 
> But... I also don't see how there's any actual dependency here? There
> are a few cleanups, the DRM branch builds without them, and the branch
> when checked out right before the DRM merge in your pull request, also
> builds.
> 

The patches add some helper functions like cmdq_dev_get_client_reg on which the
DRM branch from Ck Hu depends [1].

Hope that clarifies your questions.
Regards,
Matthias

[1] https://github.com/ckhu-mediatek/linux.git-tags/commits/mediatek-drm-next-5.6

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [GIT PULL] soc: mediatek: updates for v5.6
  2020-01-17 21:52     ` Matthias Brugger
@ 2020-01-20 19:25       ` Olof Johansson
  -1 siblings, 0 replies; 8+ messages in thread
From: Olof Johansson @ 2020-01-20 19:25 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: SoC Team, arm-soc, Mars Cheng, Bibby Hsieh, CK HU,
	moderated list:ARM/Mediatek SoC support, linux-arm-kernel

On Fri, Jan 17, 2020 at 1:52 PM Matthias Brugger <matthias.bgg@gmail.com> wrote:
>
>
>
> On 17/01/2020 20:22, Olof Johansson wrote:
> > Hi,
> >
> > On Mon, Jan 13, 2020 at 2:18 AM Matthias Brugger <matthias.bgg@gmail.com> wrote:
> >>
> >> Hi Olof,
> >> Hi ARnds,
> >>
> >> Please have a look on the following patches for mediatek soc drivers for v5.6
> >>
> >> I includes the stable branch v5.5-next/cmdq-stable which should also be merged
> >> in the DRM tree. I'm not very familiar with providing a stable tree, although I
> >> double-checked that in the pull request to the DRM tree the commit IDs are the
> >> same, I thought it is worth noting.
> >
> > I'm a little confused as to how the dependencies are expected to line up here.
> >
> > Does your non-DRM contents rely on the DRM pieces? If so, you need
> > them to be based on top of that branch to make sure they are
> > bisectable, not merge the DRM branch in on top (since a bisect might
> > land on a commit before the merge).
>
> No, it's the other way round. DRM relies on the four patches I took from Bibby
> Hsieh. They are part of v5.5-next/cmdq-stable and this branch was merged into
> v5.5-next/soc as well as in Ck Hu's DRM branch. My understanding is that Ck Hu
> sends pull requests to the DRM branch.

Ah, ok -- in that case there's no need to bring in the DRM branch to
your contents here, they'll merge them at their end.

It doesn't do any harm (besides adding dependencies that aren't
strictly needed), but we usually avoid doing it.

> > But... I also don't see how there's any actual dependency here? There
> > are a few cleanups, the DRM branch builds without them, and the branch
> > when checked out right before the DRM merge in your pull request, also
> > builds.
> >
>
> The patches add some helper functions like cmdq_dev_get_client_reg on which the
> DRM branch from Ck Hu depends [1].
>
> Hope that clarifies your questions.

Yeah, ok -- merging.


-Olof

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [GIT PULL] soc: mediatek: updates for v5.6
@ 2020-01-20 19:25       ` Olof Johansson
  0 siblings, 0 replies; 8+ messages in thread
From: Olof Johansson @ 2020-01-20 19:25 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: SoC Team, arm-soc, Mars Cheng, Bibby Hsieh, CK HU,
	moderated list:ARM/Mediatek SoC support, linux-arm-kernel

On Fri, Jan 17, 2020 at 1:52 PM Matthias Brugger <matthias.bgg@gmail.com> wrote:
>
>
>
> On 17/01/2020 20:22, Olof Johansson wrote:
> > Hi,
> >
> > On Mon, Jan 13, 2020 at 2:18 AM Matthias Brugger <matthias.bgg@gmail.com> wrote:
> >>
> >> Hi Olof,
> >> Hi ARnds,
> >>
> >> Please have a look on the following patches for mediatek soc drivers for v5.6
> >>
> >> I includes the stable branch v5.5-next/cmdq-stable which should also be merged
> >> in the DRM tree. I'm not very familiar with providing a stable tree, although I
> >> double-checked that in the pull request to the DRM tree the commit IDs are the
> >> same, I thought it is worth noting.
> >
> > I'm a little confused as to how the dependencies are expected to line up here.
> >
> > Does your non-DRM contents rely on the DRM pieces? If so, you need
> > them to be based on top of that branch to make sure they are
> > bisectable, not merge the DRM branch in on top (since a bisect might
> > land on a commit before the merge).
>
> No, it's the other way round. DRM relies on the four patches I took from Bibby
> Hsieh. They are part of v5.5-next/cmdq-stable and this branch was merged into
> v5.5-next/soc as well as in Ck Hu's DRM branch. My understanding is that Ck Hu
> sends pull requests to the DRM branch.

Ah, ok -- in that case there's no need to bring in the DRM branch to
your contents here, they'll merge them at their end.

It doesn't do any harm (besides adding dependencies that aren't
strictly needed), but we usually avoid doing it.

> > But... I also don't see how there's any actual dependency here? There
> > are a few cleanups, the DRM branch builds without them, and the branch
> > when checked out right before the DRM merge in your pull request, also
> > builds.
> >
>
> The patches add some helper functions like cmdq_dev_get_client_reg on which the
> DRM branch from Ck Hu depends [1].
>
> Hope that clarifies your questions.

Yeah, ok -- merging.


-Olof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-01-20 19:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-13 10:17 [GIT PULL] soc: mediatek: updates for v5.6 Matthias Brugger
2020-01-13 10:17 ` Matthias Brugger
2020-01-17 19:22 ` Olof Johansson
2020-01-17 19:22   ` Olof Johansson
2020-01-17 21:52   ` Matthias Brugger
2020-01-17 21:52     ` Matthias Brugger
2020-01-20 19:25     ` Olof Johansson
2020-01-20 19:25       ` Olof Johansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.