Move all vendor's Kconfig into CCF menu section to prevent
new drivers putting their Kconfig files in a wrong place.
Some Kconigs need to modify at the same time to avoid build
warnings.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
This patch is based on v4.5-rc1.
changes si
patch is applied to the wrong git tree, please drop us a note to
> > help improving the system]
> >
> > url:
> > https://github.com/0day-ci/linux/commits/James-Liao/clk-Move-vendor-s-Kconfig-into-CCF-menu-section/20160127-152850
> > base: https://git.kernel.org/
patch is applied to the wrong git tree, please drop us a note to
> > help improving the system]
> >
> > url:
> > https://github.com/0day-ci/linux/commits/James-Liao/clk-Move-vendor-s-Kconfig-into-CCF-menu-section/20160127-152850
> > base: https://git.kernel.org/
Move all vendor's Kconfig into CCF menu section to prevent
new drivers putting their Kconfig files in a wrong place.
Signed-off-by: James Liao
---
drivers/clk/Kconfig | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index
This patch adds the binding documentation for apmixedsys, bdpsys,
ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
vdecsys for Mediatek MT2701.
Signed-off-by: James Liao
Tested-by: John Crispin
---
.../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 +
.../bindings/arm
Add a Kconfig to define clock configuration for each SoC, and
modify the Makefile to build drivers that only selected in config.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
Tested-by: John Crispin
---
drivers/clk/Kconfig | 1 +
drivers/clk/mediatek/Kconfig | 23
From: Shunli Wang
Dt-binding file about reset controller is used to provide
kinds of definition, which is referenced by dts file and
IC-specified reset controller driver code.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
Tested-by: John Crispin
---
include/dt-bindings/reset/mt2701
to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
James Liao (2):
clk: mediatek: Refine the makefile to support multiple clock drivers
dt-bindings: ARM: Mediatek: Document bindings for MT2701
Shunli Wang (4):
clk
From: Shunli Wang
Add MT2701 clock support, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
Tested-by: John Crispin
---
drivers/clk/mediatek/Kconfig |8 +
drivers/clk/mediatek/Makefile |1 +
drivers
From: Shunli Wang
In infrasys and perifsys, there are many reset
control bits for kinds of modules. These bits are
used as actual reset controllers to be registered
into kernel's generic reset controller framework.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
Tested-by: John Crispin
From: Shunli Wang
Add MT2701 clock dt-bindings, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
Tested-by: John Crispin
---
include/dt-bindings/clock/mt2701-clk.h | 482 +
1 file
to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
James Liao (2):
clk: mediatek: Refine the makefile to support multiple clock drivers
dt-bindings: ARM: Mediatek: Document bindings for MT2701
Shunli Wang (4):
clk
From: Shunli Wang <shunli.w...@mediatek.com>
Add MT2701 clock support, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Tested-by: John Crispin &
iatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
---
drivers/clk/mediatek/clk-mt2701.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/mediatek/clk-mt2701.c
b/drivers/clk/mediatek/clk-mt2701.c
index
From: Shunli Wang <shunli.w...@mediatek.com>
Add MT2701 clock dt-bindings, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Tested-by: John Crispin &
This patch adds the binding documentation for apmixedsys, bdpsys,
ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
vdecsys for Mediatek MT2701.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
---
.../bindings/arm/media
Add a Kconfig to define clock configuration for each SoC, and
modify the Makefile to build drivers that only selected in config.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.or
From: Shunli Wang <shunli.w...@mediatek.com>
Dt-binding file about reset controller is used to provide
kinds of definition, which is referenced by dts file and
IC-specified reset controller driver code.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Lia
Move all vendor's Kconfig into CCF menu section to prevent
new drivers putting their Kconfig files in a wrong place.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/clk/Kconfig | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/Kco
Hi Yingjoe,
On Thu, 2016-01-21 at 10:45 +0800, Yingjoe Chen wrote:
> On Thu, 2016-01-21 at 10:28 +0800, Yingjoe Chen wrote:
> > On Tue, 2016-01-12 at 16:31 +0800, James Liao wrote:
> > > Add a Kconfig to define clock configuration for each SoC, and
> > > modify th
Hi Yingjoe,
On Thu, 2016-01-21 at 10:28 +0800, Yingjoe Chen wrote:
> On Tue, 2016-01-12 at 16:31 +0800, James Liao wrote:
> > Add a Kconfig to define clock configuration for each SoC, and
> > modify the Makefile to build drivers that only selected in config.
> >
> >
On Wed, 2016-01-20 at 17:14 +0800, Yingjoe Chen wrote:
> On Wed, 2016-01-20 at 14:08 +0800, James Liao wrote:
> > Refine scpsys driver common code to support multiple SoC / platform.
> >
> > Signed-off-by: James Liao
> <...>
> > diff --git a/drivers/soc/medi
Hi Yingjoe, Rob,
On Wed, 2016-01-20 at 10:35 -0600, Rob Herring wrote:
> On Wed, Jan 20, 2016 at 05:29:21PM +0800, Yingjoe Chen wrote:
> > On Wed, 2016-01-20 at 14:08 +0800, James Liao wrote:
> > > From: Shunli Wang
> > >
> > > Add power dt-bindings
Hi Rob,
On Wed, 2016-01-20 at 10:32 -0600, Rob Herring wrote:
> On Wed, Jan 20, 2016 at 02:35:43PM +0800, James Liao wrote:
> > This patch adds the binding documentation for apmixedsys, bdpsys,
> > ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
> > vdecsy
On Wed, 2016-01-20 at 17:14 +0800, Yingjoe Chen wrote:
> On Wed, 2016-01-20 at 14:08 +0800, James Liao wrote:
> > Refine scpsys driver common code to support multiple SoC / platform.
> >
> > Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
> <...>
>
Hi Yingjoe, Rob,
On Wed, 2016-01-20 at 10:35 -0600, Rob Herring wrote:
> On Wed, Jan 20, 2016 at 05:29:21PM +0800, Yingjoe Chen wrote:
> > On Wed, 2016-01-20 at 14:08 +0800, James Liao wrote:
> > > From: Shunli Wang <shunli.w...@mediatek.com>
> > >
>
Hi Rob,
On Wed, 2016-01-20 at 10:32 -0600, Rob Herring wrote:
> On Wed, Jan 20, 2016 at 02:35:43PM +0800, James Liao wrote:
> > This patch adds the binding documentation for apmixedsys, bdpsys,
> > ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
> > vdecsy
Hi Yingjoe,
On Thu, 2016-01-21 at 10:28 +0800, Yingjoe Chen wrote:
> On Tue, 2016-01-12 at 16:31 +0800, James Liao wrote:
> > Add a Kconfig to define clock configuration for each SoC, and
> > modify the Makefile to build drivers that only selected in config.
> >
> >
Hi Yingjoe,
On Thu, 2016-01-21 at 10:45 +0800, Yingjoe Chen wrote:
> On Thu, 2016-01-21 at 10:28 +0800, Yingjoe Chen wrote:
> > On Tue, 2016-01-12 at 16:31 +0800, James Liao wrote:
> > > Add a Kconfig to define clock configuration for each SoC, and
> > > modify th
Hi Philipp,
On Tue, 2016-01-05 at 10:31 +0100, Philipp Zabel wrote:
> Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao:
> > From: Shunli Wang
> >
> > Dt-binding file about reset controller is used to provide
> > kinds of definition, which is refere
Hi Philipp,
On Tue, 2016-01-05 at 10:30 +0100, Philipp Zabel wrote:
> Hi James,
>
> Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao:
> > From: Shunli Wang
> >
> > Add MT2701 clock support, include topckgen, apmixedsys,
> > infracfg, pericfg and subs
Hi Philipp,
On Tue, 2016-01-05 at 10:30 +0100, Philipp Zabel wrote:
> Hi James,
>
> Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao:
> > From: Shunli Wang <shunli.w...@mediatek.com>
> >
> > Add MT2701 clock support, include topckgen, apmixedsys,
&g
Hi Philipp,
On Tue, 2016-01-05 at 10:31 +0100, Philipp Zabel wrote:
> Am Dienstag, den 05.01.2016, 14:30 +0800 schrieb James Liao:
> > From: Shunli Wang <shunli.w...@mediatek.com>
> >
> > Dt-binding file about reset controller is used to provide
> > kinds o
This patchset is based on 4.4-rc7, add clock and reset controller support
for Mediatek MT2701.
This patchset also refined makefile and Kconfig to support configurable
multiple SoC clock support.
changes since v1:
- Document MT2701 compatible strings.
James Liao (2):
clk: mediatek: Refine
From: Shunli Wang
Add MT2701 clock dt-bindings, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
---
include/dt-bindings/clock/mt2701-clk.h | 481 +
1 file changed, 481 insertions
This patch adds the binding documentation for apmixedsys, bdpsys,
ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
vdecsys for Mediatek MT2701.
Signed-off-by: James Liao
---
.../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 +
.../bindings/arm/mediatek/mediatek,bdpsys.txt
From: Shunli Wang
Add MT2701 clock support, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
---
drivers/clk/mediatek/Kconfig |8 +
drivers/clk/mediatek/Makefile |1 +
drivers/clk/mediatek/clk-gate.c
From: Shunli Wang
Dt-binding file about reset controller is used to provide
kinds of definition, which is referenced by dts file and
IC-specified reset controller driver code.
Signed-off-by: Shunli Wang
---
.../dt-bindings/reset-controller/mt2701-resets.h | 74 ++
1 file
From: Shunli Wang
In infrasys and perifsys, there are many reset
control bits for kinds of modules. These bits are
used as actual reset controllers to be registered
into kernel's generic reset controller framework.
Signed-off-by: Shunli Wang
---
drivers/clk/mediatek/clk-mt2701.c | 4
1
Add a Kconfig to define clock configuration for each SoC, and
modify the Makefile to build drivers that only selected in config.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
---
drivers/clk/Kconfig | 1 +
drivers/clk/mediatek/Kconfig | 23 +++
drivers
Hi Matthias,
On Wed, 2015-12-30 at 18:49 +0100, Matthias Brugger wrote:
> > On Wed, 2015-12-30 at 17:01 +0800, Daniel Kurtz wrote:
> >> On Wed, Dec 30, 2015 at 2:41 PM, James Liao
> >> wrote:
> >>>
> >>> From: Shunli Wang
> >>>
>
Hi Matthias,
On Wed, 2015-12-30 at 18:49 +0100, Matthias Brugger wrote:
> > On Wed, 2015-12-30 at 17:01 +0800, Daniel Kurtz wrote:
> >> On Wed, Dec 30, 2015 at 2:41 PM, James Liao <jamesjj.l...@mediatek.com>
> >> wrote:
> >>>
> >>> From:
From: Shunli Wang <shunli.w...@mediatek.com>
Add MT2701 clock dt-bindings, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
include/dt-bindings/
This patchset is based on 4.4-rc7, add clock and reset controller support
for Mediatek MT2701.
This patchset also refined makefile and Kconfig to support configurable
multiple SoC clock support.
changes since v1:
- Document MT2701 compatible strings.
James Liao (2):
clk: mediatek: Refine
This patch adds the binding documentation for apmixedsys, bdpsys,
ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and
vdecsys for Mediatek MT2701.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
.../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 +
.../bindin
From: Shunli Wang <shunli.w...@mediatek.com>
Add MT2701 clock support, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/clk/mediatek/K
From: Shunli Wang
Dt-binding file about reset controller is used to provide
kinds of definition, which is referenced by dts file and
IC-specified reset controller driver code.
Signed-off-by: Shunli Wang
---
From: Shunli Wang
In infrasys and perifsys, there are many reset
control bits for kinds of modules. These bits are
used as actual reset controllers to be registered
into kernel's generic reset controller framework.
Signed-off-by: Shunli Wang
Add a Kconfig to define clock configuration for each SoC, and
modify the Makefile to build drivers that only selected in config.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/clk/Kconfig | 1 +
Hi Arnd,
On Thu, 2015-12-31 at 15:45 +0100, Arnd Bergmann wrote:
> On Thursday 31 December 2015 17:16:34 James Liao wrote:
> >
> > """
> > Take a example for our IOMMU(M4U) and SMI. The IOMMU which is
> > subsys_init defaultly will depend on
Hi Arnd,
On Thu, 2015-12-31 at 15:45 +0100, Arnd Bergmann wrote:
> On Thursday 31 December 2015 17:16:34 James Liao wrote:
> >
> > """
> > Take a example for our IOMMU(M4U) and SMI. The IOMMU which is
> > subsys_init defaultly will depend on
Hi Mike
On Wed, 2015-12-30 at 15:34 -0800, Michael Turquette wrote:
> Quoting James Liao (2015-12-29 22:27:43)
> > +CLK_OF_DECLARE(mtk_topckgen, "mediatek,mt2701-topckgen",
> > mtk_topckgen_init);
> > +CLK_OF_DECLARE(mtk_infrasys, "mediatek,mt27
Hi Arnd,
> On Wed, 2015-12-30 at 11:35 +0100, Arnd Bergmann wrote:
> > On Wednesday 30 December 2015 18:12:08 James Liao wrote:
> > > On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> > > > On Wednesday 30 December 2015 14:41:44 James Liao wrote:
> > &
Hi Arnd,
> On Wed, 2015-12-30 at 11:35 +0100, Arnd Bergmann wrote:
> > On Wednesday 30 December 2015 18:12:08 James Liao wrote:
> > > On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> > > > On Wednesday 30 December 2015 14:41:44 James Liao wrote:
> > &
Hi Mike
On Wed, 2015-12-30 at 15:34 -0800, Michael Turquette wrote:
> Quoting James Liao (2015-12-29 22:27:43)
> > +CLK_OF_DECLARE(mtk_topckgen, "mediatek,mt2701-topckgen",
> > mtk_topckgen_init);
> > +CLK_OF_DECLARE(mtk_infrasys, "mediatek,mt27
Hi Arnd,
On Wed, 2015-12-30 at 11:35 +0100, Arnd Bergmann wrote:
> On Wednesday 30 December 2015 18:12:08 James Liao wrote:
> > On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> > > On Wednesday 30 December 2015 14:41:44 James Liao wrote:
> > > > Some p
Hi Daniel,
On Wed, 2015-12-30 at 17:01 +0800, Daniel Kurtz wrote:
> On Wed, Dec 30, 2015 at 2:41 PM, James Liao wrote:
> >
> > From: Shunli Wang
> >
> > Add scpsys driver for MT2701 and MT7623.
> >
> > Signed-off-by: Shunli Wang
> > Signed-off-by:
Hi Arnd,
On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> On Wednesday 30 December 2015 14:41:44 James Liao wrote:
> > Some power domain comsumers may init before module_init.
> > So the power domain provider (scpsys) need to be initialized
> > earlier too.
> >
Hi Arnd,
On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> On Wednesday 30 December 2015 14:41:43 James Liao wrote:
> > diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
> > index 0a4ea80..eca6fb7 100644
> > --- a/drivers/soc/mediatek/Kconfig
Hi Arnd,
On Wed, 2015-12-30 at 11:35 +0100, Arnd Bergmann wrote:
> On Wednesday 30 December 2015 18:12:08 James Liao wrote:
> > On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> > > On Wednesday 30 December 2015 14:41:44 James Liao wrote:
> > > > Some p
Hi Arnd,
On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> On Wednesday 30 December 2015 14:41:43 James Liao wrote:
> > diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
> > index 0a4ea80..eca6fb7 100644
> > --- a/drivers/soc/mediatek/Kconfig
Hi Arnd,
On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> On Wednesday 30 December 2015 14:41:44 James Liao wrote:
> > Some power domain comsumers may init before module_init.
> > So the power domain provider (scpsys) need to be initialized
> > earlier too.
> >
Hi Daniel,
On Wed, 2015-12-30 at 17:01 +0800, Daniel Kurtz wrote:
> On Wed, Dec 30, 2015 at 2:41 PM, James Liao <jamesjj.l...@mediatek.com> wrote:
> >
> > From: Shunli Wang <shunli.w...@mediatek.com>
> >
> > Add scpsys driver for MT2701 and MT7623.
>
From: Shunli Wang
Add scpsys driver for MT2701 and MT7623.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
---
drivers/soc/mediatek/Kconfig | 11 +++
drivers/soc/mediatek/Makefile| 1 +
drivers/soc/mediatek/mtk-scpsys-mt2701.c | 161
From: Shunli Wang
Add power dt-bindings for MT2701.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
---
include/dt-bindings/power/mt2701-power.h | 27 +++
1 file changed, 27 insertions(+)
create mode 100644 include/dt-bindings/power/mt2701-power.h
diff --git
Some power domain comsumers may init before module_init.
So the power domain provider (scpsys) need to be initialized
earlier too.
Signed-off-by: James Liao
---
drivers/soc/mediatek/mtk-scpsys-mt8173.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/soc
Separate scpsys driver common code to mtk-scpsys.c, and move MT8173
platform code to mtk-scpsys-mt8173.c.
Signed-off-by: James Liao
---
drivers/soc/mediatek/Kconfig | 13 +-
drivers/soc/mediatek/Makefile| 1 +
drivers/soc/mediatek/mtk-scpsys-mt8173.c | 179
This patchset is based on 4.4-rc7, add scpsys power domain support for
Mediatek MT2701/MT7623.
This patchset also separate MT8173 scpsys driver into common part
(mtk-scpsys.c) and platform part (mtk-scpsys-mt8173.c), so that MT2701
scpsys driver can share most implementation with MT8173.
James
From: Shunli Wang
Dt-binding file about reset controller is used to provide
kinds of definition, which is referenced by dts file and
IC-specified reset controller driver code.
Signed-off-by: Shunli Wang
---
.../dt-bindings/reset-controller/mt2701-resets.h | 74 ++
1 file
From: Shunli Wang
Add MT2701 clock support, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
---
drivers/clk/mediatek/Kconfig |8 +
drivers/clk/mediatek/Makefile |1 +
drivers/clk/mediatek/clk-gate.c
From: Shunli Wang
In infrasys and perifsys, there are many reset
control bits for kinds of modules. These bits are
used as actual reset controllers to be registered
into kernel's generic reset controller framework.
Signed-off-by: Shunli Wang
---
drivers/clk/mediatek/clk-mt2701.c | 4
1
Add a Kconfig to define clock configuration for each SoC, and
modify the Makefile to build drivers that only selected in config.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
---
drivers/clk/Kconfig | 1 +
drivers/clk/mediatek/Kconfig | 23 +++
drivers
From: Shunli Wang
Add MT2701 clock dt-bindings, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang
Signed-off-by: James Liao
---
include/dt-bindings/clock/mt2701-clk.h | 481 +
1 file changed, 481 insertions
This patchset is based on 4.4-rc7, add clock and reset controller support
for Mediatek MT2701.
This patchset also refined makefile and Kconfig to support configurable
multiple SoC clock support.
James Liao (1):
clk: mediatek: Refine the makefile to support multiple clock drivers
Shunli Wang
From: Shunli Wang <shunli.w...@mediatek.com>
Add MT2701 clock dt-bindings, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
include/dt-bindings/
This patchset is based on 4.4-rc7, add clock and reset controller support
for Mediatek MT2701.
This patchset also refined makefile and Kconfig to support configurable
multiple SoC clock support.
James Liao (1):
clk: mediatek: Refine the makefile to support multiple clock drivers
Shunli Wang
Add a Kconfig to define clock configuration for each SoC, and
modify the Makefile to build drivers that only selected in config.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/clk/Kconfig | 1 +
From: Shunli Wang
In infrasys and perifsys, there are many reset
control bits for kinds of modules. These bits are
used as actual reset controllers to be registered
into kernel's generic reset controller framework.
Signed-off-by: Shunli Wang
From: Shunli Wang <shunli.w...@mediatek.com>
Add scpsys driver for MT2701 and MT7623.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/soc/mediatek/Kconfig | 11 +++
drivers/soc
From: Shunli Wang <shunli.w...@mediatek.com>
Add power dt-bindings for MT2701.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
include/dt-bindings/power/mt2701-power.h | 27 +++
1 file chan
Separate scpsys driver common code to mtk-scpsys.c, and move MT8173
platform code to mtk-scpsys-mt8173.c.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/soc/mediatek/Kconfig | 13 +-
drivers/soc/mediatek/Makefile| 1 +
drivers/soc/mediatek/mtk-
This patchset is based on 4.4-rc7, add scpsys power domain support for
Mediatek MT2701/MT7623.
This patchset also separate MT8173 scpsys driver into common part
(mtk-scpsys.c) and platform part (mtk-scpsys-mt8173.c), so that MT2701
scpsys driver can share most implementation with MT8173.
James
Some power domain comsumers may init before module_init.
So the power domain provider (scpsys) need to be initialized
earlier too.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/soc/mediatek/mtk-scpsys-mt8173.c | 13 -
1 file changed, 12 insertions(+), 1 de
From: Shunli Wang
Dt-binding file about reset controller is used to provide
kinds of definition, which is referenced by dts file and
IC-specified reset controller driver code.
Signed-off-by: Shunli Wang
---
From: Shunli Wang <shunli.w...@mediatek.com>
Add MT2701 clock support, include topckgen, apmixedsys,
infracfg, pericfg and subsystem clocks.
Signed-off-by: Shunli Wang <shunli.w...@mediatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/clk/mediatek/K
Some power domain comsumers may init before module_init.
So the power domain provider (scpsys) need to be initialized
earlier too.
This patch modify scpsys driver init level from module_init to
subsys_initcall.
Signed-off-by: James Liao
---
This patch is based on v4.3-rc7.
drivers/soc
Some power domain comsumers may init before module_init.
So the power domain provider (scpsys) need to be initialized
earlier too.
This patch modify scpsys driver init level from module_init to
subsys_initcall.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
This patch is
Hi Matthias,
On Mon, 2015-10-12 at 18:32 +0200, Matthias Brugger wrote:
>
> On 07/10/15 11:14, James Liao wrote:
> > This patch is based on v4.3-rc4, to fix system hanging up issue
> > while disabling unused clocks.
> >
> > There is nothing different in mtk-scpsy
Hi Matthias,
On Mon, 2015-10-12 at 18:32 +0200, Matthias Brugger wrote:
>
> On 07/10/15 11:14, James Liao wrote:
> > This patch is based on v4.3-rc4, to fix system hanging up issue
> > while disabling unused clocks.
> >
> > There is nothing different in mtk-scpsy
accessing their registers.
This patch keeps venc_sel / venclt_sel clock on when
VENC / VENC_LT's power is on, to prevent system hang up while
accessing its registeres.
Signed-off-by: James Liao
---
drivers/soc/mediatek/mtk-scpsys.c | 67 +--
1 file changed, 44
Add clocks needed by Mediatek VENC and VENC_LT power domianis.
These clocks were needed by accessing subsystem's registers,
so they need to be enabled before power on these subsystems.
Signed-off-by: James Liao
---
Documentation/devicetree/bindings/soc/mediatek/scpsys.txt | 10 ++
1
Add clocks needed by Mediatek VENC and VENC_LT power domianis.
These clocks were needed by accessing subsystem's registers,
so they need to be enabled before power on these subsystems.
Signed-off-by: James Liao
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 --
1 file changed, 4
to change the dtsi.
[1] https://patchwork.kernel.org/patch/7262411/
James Liao (3):
dt-bindings: soc: Add clocks for Mediatek SCPSYS unit
soc: mediatek: Fix random hang up issue while kernel init
arm64: dts: mt8173: Add clocks for SCPSYS unit
.../devicetree/bindings/soc/mediatek/scpsys.txt
Add clocks needed by Mediatek VENC and VENC_LT power domianis.
These clocks were needed by accessing subsystem's registers,
so they need to be enabled before power on these subsystems.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt8173.dt
to change the dtsi.
[1] https://patchwork.kernel.org/patch/7262411/
James Liao (3):
dt-bindings: soc: Add clocks for Mediatek SCPSYS unit
soc: mediatek: Fix random hang up issue while kernel init
arm64: dts: mt8173: Add clocks for SCPSYS unit
.../devicetree/bindings/soc/mediatek/scpsys.txt
accessing their registers.
This patch keeps venc_sel / venclt_sel clock on when
VENC / VENC_LT's power is on, to prevent system hang up while
accessing its registeres.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
drivers/soc/mediatek/mtk-scpsys.
Add clocks needed by Mediatek VENC and VENC_LT power domianis.
These clocks were needed by accessing subsystem's registers,
so they need to be enabled before power on these subsystems.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
---
Documentation/devicetree/bindings/soc/me
HI Daniel,
On Fri, 2015-10-02 at 17:25 +0800, Daniel Kurtz wrote:
> Actually, I should have proposed adding prepare / unprepare callbacks
> to mtk_clk_gate_ops in which we prepare_enable/disable_unprepare
> venc_sel (& mm_sel).
> This should correctly track all of the clk reference counting
HI Daniel,
On Fri, 2015-10-02 at 17:25 +0800, Daniel Kurtz wrote:
> Actually, I should have proposed adding prepare / unprepare callbacks
> to mtk_clk_gate_ops in which we prepare_enable/disable_unprepare
> venc_sel (& mm_sel).
> This should correctly track all of the clk reference counting
Hi Daniel,
On Thu, 2015-10-01 at 18:08 +0800, Daniel Kurtz wrote:
> I see two cases where "a power domain is a consumer of a clock":
> (a) the clock is needed to access the power domain control
> registers. The clock must actually be in another power domain, since
> otherwise you could never
201 - 300 of 543 matches
Mail list logo