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>
Signed-off-by: Erin Lo <
iatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/clk/mediatek/clk-mt2701-hif.c | 8 ++--
driver
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
---
drivers/clk/mediatek/Kconfig | 43 ++
drivers/clk/mediatek
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
Signed-off-by: Erin Lo
jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 42 ++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 18596a2..c9a8dbf 100644
-
From: James Liao
Add clock controller nodes for MT2701, include topckgen, infracfg,
pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and
bdpsys. This patch also add two oscillators that provide clocks for
MT2701.
Signed-off-by: James Liao
Signed-off-by: Erin Lo
---
arch/arm/boot
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 18 --
1 file chan
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo
---
arch/arm/boot/dts/mt2701.dtsi | 18 --
1 file changed, 8 insertions(+), 10
strings.
[1] https://patchwork.kernel.org/patch/8147901/
Erin Lo (1):
arm: dts: mt2701: Use real clock for UARTs
James Liao (1):
arm: dts: mt2701: Add clock controller device nodes
Shunli Wang (2):
clk: mediatek: Add MT2701 clock support
reset: mediatek: Add MT2701 reset driver
arch
strings.
[1] https://patchwork.kernel.org/patch/8147901/
Erin Lo (1):
arm: dts: mt2701: Use real clock for UARTs
James Liao (1):
arm: dts: mt2701: Add clock controller device nodes
Shunli Wang (2):
clk: mediatek: Add MT2701 clock support
reset: mediatek: Add MT2701 reset driver
arch
o <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
---
include/dt-bindings/reset/mt2701-resets.h | 83 +++
1 file changed, 83 inser
com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Reviewed-by: Matthias Brugger <matthias@gmail.com>
---
drivers/clk/Kconfig | 1 +
drivers/clk/mediatek/Kconfig | 21 +
drivers/clk/mediatek/Makef
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Acked
From: James Liao
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Reviewed-by: Matthias Brugger
---
drivers
From: James Liao <jamesjj.l...@mediatek.com>
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>
Signed-off-by: E
From: James Liao
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Acked-by: Rob Herring
---
.../bindings/arm
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>
Signed-off-by: Erin Lo <
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
---
drivers/clk/mediatek/Kconfig | 43 ++
drivers/clk/mediatek
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 18 --
1 file chan
jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 42 ++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 18596a2..c9a8dbf 100644
-
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo
---
arch/arm/boot/dts/mt2701.dtsi | 18 --
1 file changed, 8 insertions(+), 10
From: James Liao
Add clock controller nodes for MT2701, include topckgen, infracfg,
pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and
bdpsys. This patch also add two oscillators that provide clocks for
MT2701.
Signed-off-by: James Liao
Signed-off-by: Erin Lo
---
arch/arm/boot
From: James Liao <jamesjj.l...@mediatek.com>
Remove __init from functions that will be used by init functions
that support probe deferral.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
drivers/clk/mediatek/clk-gate.c |
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>
Signed-off
From: James Liao
Remove __init from functions that will be used by init functions
that support probe deferral.
Signed-off-by: James Liao
Signed-off-by: Erin Lo
---
drivers/clk/mediatek/clk-gate.c | 2 +-
drivers/clk/mediatek/clk-mtk.c | 12 ++--
drivers/clk/mediatek/clk-pll.c | 2
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Reviewed-by: Matthias Brugger
---
include/dt-bindings/clock/mt2701
-write with regmap_update_bits() in clock operations.
- Move mt2701-resets.h to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
[1] https://patchwork.kernel.org/patch/8147901/
Erin Lo (1):
arm: dts: mt2701: Use real
iatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/clk/mediatek/clk-mt2701-hif.c | 2 ++
drivers/clk/mediate
-write with regmap_update_bits() in clock operations.
- Move mt2701-resets.h to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
[1] https://patchwork.kernel.org/patch/8147901/
Erin Lo (1):
arm: dts: mt2701: Use real
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
Signed-off-by: Erin Lo
iatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/clk/mediatek/clk-mt2701-hif.c | 2 ++
drivers/clk/mediate
o <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
---
include/dt-bindings/reset/mt2701-resets.h | 83 +++
1 file changed, 83 inser
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Change-Id: Icd44282b859a344b86eccdf4840e9ffb7cee7ec5
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/bo
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>
Signed-off-by: Erin Lo <
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Change-Id: Icd44282b859a344b86eccdf4840e9ffb7cee7ec5
Signed-off-by: Erin Lo
---
arch/arm/boot/dts/mt2701.dtsi | 18
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
---
drivers/clk/mediatek/Kconfig | 50 ++
drivers/clk/mediatek
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
Signed-off-by: Erin Lo
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Acked
jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 42 ++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 18596a2..c9a8dbf 100644
-
From: James Liao
Add clock controller nodes for MT2701, include topckgen, infracfg,
pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and
bdpsys. This patch also add two oscillators that provide clocks for
MT2701.
Signed-off-by: James Liao
Signed-off-by: Erin Lo
---
arch/arm/boot
From: James Liao <jamesjj.l...@mediatek.com>
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>
Signed-off-by: E
From: James Liao <jamesjj.l...@mediatek.com>
Remove __init from functions that will be used by init functions
that support probe deferral.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
drivers/clk/mediatek/clk-gate.c |
From: James Liao
Remove __init from functions that will be used by init functions
that support probe deferral.
Signed-off-by: James Liao
Signed-off-by: Erin Lo
---
drivers/clk/mediatek/clk-gate.c | 2 +-
drivers/clk/mediatek/clk-mtk.c | 12 ++--
drivers/clk/mediatek/clk-pll.c | 2
From: James Liao
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Acked-by: Rob Herring
---
.../bindings/arm
com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Reviewed-by: Matthias Brugger <matthias@gmail.com>
---
drivers/clk/Kconfig | 1 +
drivers/clk/mediatek/Kconfig | 23 +++
drivers/clk/mediatek/Makef
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>
Signed-off
to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
[1] https://patchwork.kernel.org/patch/8147901/
Erin Lo (1):
arm: dts: mt2701: Use real clock for UARTs
James Liao (4):
clk: mediatek: remove __init from clk
From: James Liao
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Reviewed-by: Matthias Brugger
---
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Reviewed-by: Matthias Brugger
---
include/dt-bindings/clock/mt2701
to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
[1] https://patchwork.kernel.org/patch/8147901/
Erin Lo (1):
arm: dts: mt2701: Use real clock for UARTs
James Liao (4):
clk: mediatek: remove __init from clk
From: James Liao <jamesjj.l...@mediatek.com>
Remove __init from functions that will be used by init functions
that support probe deferral.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
drivers/clk/mediatek/clk-gate.c |
From: James Liao
Remove __init from functions that will be used by init functions
that support probe deferral.
Signed-off-by: James Liao
Signed-off-by: Erin Lo
---
drivers/clk/mediatek/clk-gate.c | 2 +-
drivers/clk/mediatek/clk-mtk.c | 12 ++--
drivers/clk/mediatek/clk-pll.c | 2
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>
Signed-off
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Reviewed-by: Matthias Brugger
---
include/dt-bindings/clock/mt2701
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 18 --
1 file chan
o <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
---
include/dt-bindings/reset/mt2701-resets.h | 83 +++
1 file changed, 83 inser
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo
---
arch/arm/boot/dts/mt2701.dtsi | 18 --
1 file changed, 8 insertions(+), 10
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Acked
jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 42 ++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index 18596a2..c9a8dbf 100644
-
From: James Liao
Add clock controller nodes for MT2701, include topckgen, infracfg,
pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and
bdpsys. This patch also add two oscillators that provide clocks for
MT2701.
Signed-off-by: James Liao
Signed-off-by: Erin Lo
---
arch/arm/boot
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>
Signed-off-by: Erin Lo <
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
---
drivers/clk/mediatek/Kconfig | 50 ++
drivers/clk/mediatek
iatek.com>
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/clk/mediatek/clk-mt2701-hif.c | 2 ++
drivers/clk/mediate
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
Signed-off-by: Erin Lo
From: James Liao <jamesjj.l...@mediatek.com>
This patch fixed wrong state of parent clocks if they are registered
after critical clocks.
Signed-off-by: James Liao <jamesjj.l...@mediatek.com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
drivers/clk/clk.c | 9 -
From: James Liao
This patch fixed wrong state of parent clocks if they are registered
after critical clocks.
Signed-off-by: James Liao
Signed-off-by: Erin Lo
---
drivers/clk/clk.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk.c b/drivers/clk
com>
Signed-off-by: Erin Lo <erin...@mediatek.com>
Tested-by: John Crispin <blo...@openwrt.org>
Reviewed-by: Matthias Brugger <matthias@gmail.com>
---
drivers/clk/Kconfig | 1 +
drivers/clk/mediatek/Kconfig | 23 +++
drivers/clk/mediatek/Makef
From: James Liao
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Reviewed-by: Matthias Brugger
---
drivers
-write with regmap_update_bits() in clock operations.
- Move mt2701-resets.h to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
[1] https://patchwork.kernel.org/patch/8147901/
Erin Lo (1):
arm: dts: mt2701: Use real
-write with regmap_update_bits() in clock operations.
- Move mt2701-resets.h to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
[1] https://patchwork.kernel.org/patch/8147901/
Erin Lo (1):
arm: dts: mt2701: Use real
From: James Liao <jamesjj.l...@mediatek.com>
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>
Signed-off-by: E
From: James Liao
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
Signed-off-by: Erin Lo
Tested-by: John Crispin
Acked-by: Rob Herring
---
.../bindings/arm
From: James Liao
This patch fixed wrong state of parent clocks if they are registered
after critical clocks.
Signed-off-by: James Liao
---
drivers/clk/clk.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
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
From: James Liao
This patch fixed wrong state of parent clocks if they are registered
after critical clocks.
Signed-off-by: James Liao
---
drivers/clk/clk.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index ce39add..bf80e39
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
Acked-by: Philipp Zabel
---
From: James Liao
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:
From: James Liao
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
Reviewed-by: Matthias Brugger
---
drivers/clk/Kconfig |
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
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 | 50 ++
drivers/clk/mediatek/Makefile |7
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
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: James Liao
Add clock controller nodes for MT2701, include topckgen, infracfg,
pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and
bdpsys. This patch also add two oscillators that provide clocks for
MT2701.
Signed-off-by: James Liao
From: James Liao
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
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/mt2701.dtsi | 18 --
1 file chan
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
Reviewed-by: Matthias Brugger
---
include/dt-bindings/clock/mt2701-clk.h | 486
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: James Liao
Add clock controller nodes for MT2701, include topckgen, infracfg,
pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and
bdpsys. This patch also add two oscillators that provide clocks for
MT2701.
Signed-off-by: James Liao
---
arch/arm/boot/dts/mt2701.dtsi | 42
From: James Liao
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
Acked-by: Rob Herring
---
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo
---
arch/arm/boot/dts/mt2701.dtsi | 18 --
1 file changed, 8 insertions(+), 10
From: James Liao
Remove __init from functions that will be used by init functions
that support probe deferral.
Signed-off-by: James Liao
---
drivers/clk/mediatek/clk-gate.c | 2 +-
drivers/clk/mediatek/clk-mtk.c | 12 ++--
From: James Liao
Remove __init from functions that will be used by init functions
that support probe deferral.
Signed-off-by: James Liao
---
drivers/clk/mediatek/clk-gate.c | 2 +-
drivers/clk/mediatek/clk-mtk.c | 12 ++--
drivers/clk/mediatek/clk-pll.c | 2 +-
3 files changed, 8
with regmap_update_bits() in clock operations.
- Move mt2701-resets.h to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
[1] https://patchwork.kernel.org/patch/8147901/
[2] http://www.spinics.net/lists/dri-devel/msg106726.html
Erin
with regmap_update_bits() in clock operations.
- Move mt2701-resets.h to include/dt-bindings/reset/.
- Add hifsys reset patch from John Crispin.
changes since v1:
- Document MT2701 compatible strings.
[1] https://patchwork.kernel.org/patch/8147901/
[2] http://www.spinics.net/lists/dri-devel/msg106726.html
Erin
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
This patch dependents on "Add clock support for Mediatek MT2701&
We used to use a fixed rate clock for the UARTs. Now that we have clock
support we can associate the correct clocks to the UARTs and drop the
26MHz fixed rate UART clock.
Signed-off-by: Erin Lo
---
This patch dependents on "Add clock support for Mediatek MT2701"[1].
If we have clock s
This adds basic chip support for Mediatek 2701.
Signed-off-by: Erin Lo
---
arch/arm/boot/dts/Makefile| 1 +
arch/arm/boot/dts/mt2701-evb.dts | 29
arch/arm/boot/dts/mt2701.dtsi | 146 ++
arch/arm/mach-mediatek/mediatek.c | 1 +
4
This adds a DT binding documentation for the MT2701 SoC from Mediatek.
Signed-off-by: Erin Lo
---
Documentation/devicetree/bindings/arm/mediatek.txt | 4
.../devicetree/bindings/arm/mediatek/mediatek,sysirq.txt | 1 +
Documentation/devicetree/bindings/serial/mtk-uart.txt
art.txt)
3. Correct the mt2701-timer from mt6589-timer since the mistake in previous
version (mediatek,mtk-timer.txt)
Erin Lo (2):
Document: DT: Add bindings for mediatek MT2701 SoC Platform
ARM: dts: mediatek: add MT2701 basic support
Documentation/devicetree/bindings/arm/mediatek.txt | 4 +
..
This adds basic chip support for Mediatek 2701.
Signed-off-by: Erin Lo <erin...@mediatek.com>
---
arch/arm/boot/dts/Makefile| 1 +
arch/arm/boot/dts/mt2701-evb.dts | 29
arch/arm/boot/dts/mt2701.dtsi | 146 ++
arch/arm/mach-me
201 - 300 of 308 matches
Mail list logo