Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-26 Thread Enric Balletbo i Serra
Hi CK, On 26/2/20 6:32, CK Hu wrote: [snip] >> >> How do you see move mmsys to drivers/soc/mediatek and instantiate the clk and >> mediatek-drm driver >> >> mmsys: syscon@1400 { >> compatible = "mediatek,mt8173-mmsys", "syscon", "simple-mfd"; >> reg = <0 0x1400 0 0x1000>; >>

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-26 Thread Enric Balletbo i Serra
On 24/2/20 6:52, CK Hu wrote: > > Hi, > > On Fri, 2020-02-21 at 18:10 +0100, Enric Balletbo i Serra wrote: >> Hi, >> >> On 21/2/20 12:53, Matthias Brugger wrote: >>> >>> >>> On 21/02/2020 12:37, Enric Balletbo i Serra wrote: Hi CK and Matthias, On 21/2/20 12:11, CK Hu wrote: >>>

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-25 Thread CK Hu
Hi, Enric: On Tue, 2020-02-25 at 11:56 +0100, Enric Balletbo i Serra wrote: > > On 24/2/20 6:52, CK Hu wrote: > > > > Hi, > > > > On Fri, 2020-02-21 at 18:10 +0100, Enric Balletbo i Serra wrote: > >> Hi, > >> > >> On 21/2/20 12:53, Matthias Brugger wrote: > >>> > >>> > >>> On 21/02/2020 12:37,

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-24 Thread Enric Balletbo i Serra
Hi, On 21/2/20 12:53, Matthias Brugger wrote: > > > On 21/02/2020 12:37, Enric Balletbo i Serra wrote: >> Hi CK and Matthias, >> >> On 21/2/20 12:11, CK Hu wrote: >>> Hi, Matthias: >>> >>> On Fri, 2020-02-21 at 11:24 +0100, Matthias Brugger wrote: On 21/02/2020 10:27, CK Hu wrote:

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-23 Thread CK Hu
Hi, On Fri, 2020-02-21 at 18:10 +0100, Enric Balletbo i Serra wrote: > Hi, > > On 21/2/20 12:53, Matthias Brugger wrote: > > > > > > On 21/02/2020 12:37, Enric Balletbo i Serra wrote: > >> Hi CK and Matthias, > >> > >> On 21/2/20 12:11, CK Hu wrote: > >>> Hi, Matthias: > >>> > >>> On Fri, 202

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-21 Thread Enric Balletbo i Serra
Hi CK and Matthias, On 21/2/20 12:11, CK Hu wrote: > Hi, Matthias: > > On Fri, 2020-02-21 at 11:24 +0100, Matthias Brugger wrote: >> >> On 21/02/2020 10:27, CK Hu wrote: >>> Hi, Enric: >>> >>> On Fri, 2020-02-21 at 09:56 +0100, Enric Balletbo i Serra wrote: Hi CK, Thanks for your q

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-21 Thread Matthias Brugger
On 21/02/2020 12:37, Enric Balletbo i Serra wrote: > Hi CK and Matthias, > > On 21/2/20 12:11, CK Hu wrote: >> Hi, Matthias: >> >> On Fri, 2020-02-21 at 11:24 +0100, Matthias Brugger wrote: >>> >>> On 21/02/2020 10:27, CK Hu wrote: Hi, Enric: On Fri, 2020-02-21 at 09:56 +0100, En

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-21 Thread Matthias Brugger
Adding Lee Jones. On 21/02/2020 05:39, CK Hu wrote: > Hi, Enric: > > On Thu, 2020-02-20 at 18:21 +0100, Enric Balletbo i Serra wrote: >> Dear all, >> >> Those patches are intended to solve an old standing issue on some >> Mediatek devices (mt8173, mt2701 and mt2712) in a slightly different way >>

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-21 Thread Matthias Brugger
On 21/02/2020 10:27, CK Hu wrote: > Hi, Enric: > > On Fri, 2020-02-21 at 09:56 +0100, Enric Balletbo i Serra wrote: >> Hi CK, >> >> Thanks for your quick answer. >> >> On 21/2/20 5:39, CK Hu wrote: >>> Hi, Enric: >>> >>> On Thu, 2020-02-20 at 18:21 +0100, Enric Balletbo i Serra wrote: Dear

[PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-21 Thread Enric Balletbo i Serra
Dear all, Those patches are intended to solve an old standing issue on some Mediatek devices (mt8173, mt2701 and mt2712) in a slightly different way to the precedent series. Up to now both drivers, clock and drm are probed with the same device tree compatible. But only the first driver get probed

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-21 Thread Enric Balletbo i Serra
Hi CK, Thanks for your quick answer. On 21/2/20 5:39, CK Hu wrote: > Hi, Enric: > > On Thu, 2020-02-20 at 18:21 +0100, Enric Balletbo i Serra wrote: >> Dear all, >> >> Those patches are intended to solve an old standing issue on some >> Mediatek devices (mt8173, mt2701 and mt2712) in a slightly

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-21 Thread CK Hu
Hi, Matthias: On Fri, 2020-02-21 at 11:24 +0100, Matthias Brugger wrote: > > On 21/02/2020 10:27, CK Hu wrote: > > Hi, Enric: > > > > On Fri, 2020-02-21 at 09:56 +0100, Enric Balletbo i Serra wrote: > >> Hi CK, > >> > >> Thanks for your quick answer. > >> > >> On 21/2/20 5:39, CK Hu wrote: > >>>

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-21 Thread CK Hu
Hi, Enric: On Fri, 2020-02-21 at 09:56 +0100, Enric Balletbo i Serra wrote: > Hi CK, > > Thanks for your quick answer. > > On 21/2/20 5:39, CK Hu wrote: > > Hi, Enric: > > > > On Thu, 2020-02-20 at 18:21 +0100, Enric Balletbo i Serra wrote: > >> Dear all, > >> > >> Those patches are intended to

Re: [PATCH v8 0/6] arm/arm64: mediatek: Fix mmsys device probing

2020-02-20 Thread CK Hu
Hi, Enric: On Thu, 2020-02-20 at 18:21 +0100, Enric Balletbo i Serra wrote: > Dear all, > > Those patches are intended to solve an old standing issue on some > Mediatek devices (mt8173, mt2701 and mt2712) in a slightly different way > to the precedent series. > > Up to now both drivers, clock an

[PATCH v7 00/13] arm/arm64: mediatek: Fix mmsys device probing

2020-02-13 Thread matthias . bgg
From: Matthias Brugger This is version seven of the series. The biggest change is, that I added a first patch that actually moves the mmsys binding from arm/mediatek to display/mediatek, as in effect the mmsys is part of the display subsystem. Since version five, the clock probing is implemented

Re: [resend PATCH v6 00/12] arm/arm64: mediatek: Fix mmsys device probing

2020-02-12 Thread CK Hu
Hi, Matthias: Would you work on this series in a short time? Some Yongqiang's patches [1] also modify mmsys driver, and now it depend on your patch to prevent conflicts. If you would not work on this series in a short time, I would like to apply Yongqiang's patch without this series. [1] https:/

[resend PATCH v6 00/12] arm/arm64: mediatek: Fix mmsys device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger [reseding due to wrong mail of Stephen] This is version five of the series. It's a long time this wasn't worked on, so as a reminder, version four can be found here: https://patchwork.kernel.org/cover/10686247/ The biggest changes this new version does, is to implement th

[PATCH v6 00/12] arm/arm64: mediatek: Fix mmsys device probing

2019-12-07 Thread matthias . bgg
From: Matthias Brugger This is version five of the series. It's a long time this wasn't worked on, so as a reminder, version four can be found here: https://patchwork.kernel.org/cover/10686247/ The biggest changes this new version does, is to implement the clock probing through a platform driver

[PATCH v5 00/12] arm/arm64: mediatek: Fix mmsys device probing

2018-11-16 Thread matthias . bgg
From: Matthias Brugger This is version four of the series. The biggest change are the last four patches which introduce how this should be handled in the future. Instead of creating the platform device in the DRM driver the device tree has in the mmsys memory range a child node to probe the clock

[resend PATCH v4 0/5] arm/arm64: mediatek: Fix mmsys device probing

2018-07-17 Thread matthias . bgg
Changes since v3: - use platform device to probe clock driver - add Acked-by CK Hu for the probe deferred patch Changes since v2: - fix kconfig typo (shame on me) - delete __initconst from mm_clocks as converted to a platform driver Changes since v1: - add binding documentation - ddp: use regma

arm/arm64: mediatek: Fix mmsys device probing

2018-07-17 Thread matthias . bgg
Changes since v3: - use platform device to probe clock driver - add Acked-by CK Hu for the probe deferred patch Changes since v2: - fix kconfig typo (shame on me) - delete __initconst from mm_clocks as converted to a platform driver Changes since v1: - add binding documentation - ddp: use regma

[v3 00/10] arm/arm64: mediatek: Fix mmsys device probing

2018-04-27 Thread matthias . bgg
From: Matthias Brugger Changes since v2: - fix kconfig typo (shame on me) - delete __initconst from mm_clocks as converted to a platform driver Changes since v1: - add binding documentation - ddp: use regmap_update_bits - ddp: ignore EPROBE_DEFER on clock probing - mfd: delete mmsys_private - ad

Re: [v2 00/10] arm/arm64: mediatek: Fix mmsys device probing

2018-04-25 Thread Matthias Brugger
Hi Lee, On 04/24/2018 07:48 AM, Lee Jones wrote: > On Mon, 23 Apr 2018, matthias@kernel.org wrote: > >> From: Matthias Brugger >> >> Changes since v1: >> - add binding documentation >> - ddp: use regmap_update_bits >> - ddp: ignore EPROBE_DEFER on clock probing >> - mfd: delete mmsys_private

[v2 resend 00/10] arm/arm64: mediatek: Fix mmsys device probing

2018-04-24 Thread matthias . bgg
From: Matthias Brugger Changes since v1: - add binding documentation - ddp: use regmap_update_bits - ddp: ignore EPROBE_DEFER on clock probing - mfd: delete mmsys_private - add Reviewed-by and Acked-by tags --- MMSYS in Mediatek SoCs has some registers to control clock gates (which is used in

Re: [v2 00/10] arm/arm64: mediatek: Fix mmsys device probing

2018-04-23 Thread Lee Jones
On Mon, 23 Apr 2018, matthias@kernel.org wrote: > From: Matthias Brugger > > Changes since v1: > - add binding documentation > - ddp: use regmap_update_bits > - ddp: ignore EPROBE_DEFER on clock probing > - mfd: delete mmsys_private > - add Reviewed-by and Acked-by tags I'm confused by the

[v2 00/10] arm/arm64: mediatek: Fix mmsys device probing

2018-04-23 Thread matthias . bgg
From: Matthias Brugger Changes since v1: - add binding documentation - ddp: use regmap_update_bits - ddp: ignore EPROBE_DEFER on clock probing - mfd: delete mmsys_private - add Reviewed-by and Acked-by tags --- MMSYS in Mediatek SoCs has some registers to control clock gates (which is used in

[PATCH 0/8] arm/arm64: mediatek: Fix mmsys device probing

2017-11-15 Thread Matthias Brugger
MMSYS in Mediatek SoCs has some registers to control clock gates (which is used in the clk driver) and some registers to set the routing and enable the differnet blocks of the display subsystem. Up to now both drivers, clock and drm are probed with the same device tree compatible. But only the fi