Skip to contentSkip to conversation

clk: mediatek: New clocks support and fixes

GIT PULL James Liao 5 participants 6 messages Sep 22, 2015 – Oct 2, 2015

Subsystems (2)
lore
Share & tools
lore

James Liao

author
#0 lore raw

This is a collection of new Mediatek clocks support and fixes. These patches come from Joe [1], Pi-cheng [2] and me [3], including clock support for subsystems, CPU, GPT and some minor fixes.

[1] https://patchwork.kernel.org/patch/6777041/
[2] https://patchwork.kernel.org/patch/7174721/
[3] https://lkml.org/lkml/2015/8/10/194

----------------------------------------------------------------

The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde:

Linux 4.3-rc2 (2015-09-20 14:32:34 -0700)

are available in the git repository at:

https://github.com/jamesjjliao/linux.git v4.3-rc2-clk

for you to fetch changes up to 74219612bb7e25e64409171acada05d9949228f2:

arm64: dts: mt8173: Add subsystem clock controller device nodes (2015-07-09 12:58:14 +0800)

----------------------------------------------------------------

James Liao (9):
clk: mediatek: Removed unused dpi_ck clock from MT8173
clk: mediatek: Remove unused code from MT8173.
clk: mediatek: Add __initdata and __init for data and functions
clk: mediatek: Add fixed clocks support for Mediatek SoC.
clk: mediatek: Fix rate and dependency of MT8173 clocks
dt-bindings: ARM: Mediatek: Document devicetree bindings for clock
controllers
clk: mediatek: Add subsystem clocks of MT8173
clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS
arm64: dts: mt8173: Add subsystem clock controller device nodes

Joe.C (1):
clk: mediatek: add 13mhz clock for MT8173

pi-cheng.chen (1):
clk: mediatek: Export CPU mux clocks for CPU frequency control

 .../bindings/arm/mediatek/mediatek,imgsys.txt      |   22 ++
 .../bindings/arm/mediatek/mediatek,mmsys.txt       |   22 ++
 .../bindings/arm/mediatek/mediatek,vdecsys.txt     |   22 ++
 .../bindings/arm/mediatek/mediatek,vencltsys.txt   |   22 ++
 .../bindings/arm/mediatek/mediatek,vencsys.txt     |   22 ++
 arch/arm64/boot/dts/mediatek/mt8173.dtsi           |   37 ++
 drivers/clk/mediatek/Makefile                      |    2 +-
 drivers/clk/mediatek/clk-apmixed.c                 |  107 ++++++
 drivers/clk/mediatek/clk-cpumux.c                  |  127 +++++++
 drivers/clk/mediatek/clk-cpumux.h                  |   22 ++
 drivers/clk/mediatek/clk-gate.c                    |    2 +-
 drivers/clk/mediatek/clk-mt8173.c                  |  370 +++++++++++++++++++-
 drivers/clk/mediatek/clk-mtk.c                     |   36 +-
 drivers/clk/mediatek/clk-mtk.h                     |   24 +-
 drivers/clk/mediatek/clk-pll.c                     |    7 +-
 include/dt-bindings/clock/mt8173-clk.h             |  106 +++++-
 16 files changed, 916 insertions(+), 34 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencltsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencsys.txt
 create mode 100644 drivers/clk/mediatek/clk-apmixed.c
 create mode 100644 drivers/clk/mediatek/clk-cpumux.c
 create mode 100644 drivers/clk/mediatek/clk-cpumux.h
#1 lore raw

Hi Mike,

Quoted 5 lines · James Liao

This is a collection of new Mediatek clocks support and fixes. These patches come from Joe [1], Pi-cheng [2] and me [3], including clock support for subsystems, CPU, GPT and some minor fixes.

Quoted 7 lines

[1] https://patchwork.kernel.org/patch/6777041/
[2] https://patchwork.kernel.org/patch/7174721/
[3] https://lkml.org/lkml/2015/8/10/194

----------------------------------------------------------------

The following changes since commit

1f93e4a96c9109378204c147b3eec0d0e8100fde:

Quoted 10 lines

Linux 4.3-rc2 (2015-09-20 14:32:34 -0700)

are available in the git repository at:

https://github.com/jamesjjliao/linux.git v4.3-rc2-clk

for you to fetch changes up to 74219612bb7e25e64409171acada05d9949228f2:

arm64: dts: mt8173: Add subsystem clock controller device nodes

(2015-07-09 12:58:14 +0800)

Will you be able to pull this for 4.3?

-Dan

Quoted 20 lines

----------------------------------------------------------------

James Liao (9):
clk: mediatek: Removed unused dpi_ck clock from MT8173
clk: mediatek: Remove unused code from MT8173.
clk: mediatek: Add __initdata and __init for data and functions
clk: mediatek: Add fixed clocks support for Mediatek SoC.
clk: mediatek: Fix rate and dependency of MT8173 clocks
dt-bindings: ARM: Mediatek: Document devicetree bindings for clock
controllers
clk: mediatek: Add subsystem clocks of MT8173
clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS
arm64: dts: mt8173: Add subsystem clock controller device nodes

Joe.C (1):
clk: mediatek: add 13mhz clock for MT8173

pi-cheng.chen (1):
clk: mediatek: Export CPU mux clocks for CPU frequency control

Quoted 12 lines
 .../bindings/arm/mediatek/mediatek,imgsys.txt      |   22 ++
 .../bindings/arm/mediatek/mediatek,mmsys.txt       |   22 ++
 .../bindings/arm/mediatek/mediatek,vdecsys.txt     |   22 ++
 .../bindings/arm/mediatek/mediatek,vencltsys.txt   |   22 ++
 .../bindings/arm/mediatek/mediatek,vencsys.txt     |   22 ++
 arch/arm64/boot/dts/mediatek/mt8173.dtsi           |   37 ++
 drivers/clk/mediatek/Makefile                      |    2 +-
 drivers/clk/mediatek/clk-apmixed.c                 |  107 ++++++
 drivers/clk/mediatek/clk-cpumux.c                  |  127 +++++++
 drivers/clk/mediatek/clk-cpumux.h                  |   22 ++
 drivers/clk/mediatek/clk-gate.c                    |    2 +-
 drivers/clk/mediatek/clk-mt8173.c                  |  370

+++++++++++++++++++-

Quoted 6 lines
 drivers/clk/mediatek/clk-mtk.c                     |   36 +-
 drivers/clk/mediatek/clk-mtk.h                     |   24 +-
 drivers/clk/mediatek/clk-pll.c                     |    7 +-
 include/dt-bindings/clock/mt8173-clk.h             |  106 +++++-
 16 files changed, 916 insertions(+), 34 deletions(-)
 create mode 100644

Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt

Quoted 1 line
 create mode 100644

Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt

Quoted 1 line
 create mode 100644

Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt

Quoted 1 line
 create mode 100644

Documentation/devicetree/bindings/arm/mediatek/mediatek,vencltsys.txt

Quoted 1 line
 create mode 100644

Documentation/devicetree/bindings/arm/mediatek/mediatek,vencsys.txt

Quoted 10 lines
 create mode 100644 drivers/clk/mediatek/clk-apmixed.c
 create mode 100644 drivers/clk/mediatek/clk-cpumux.c
 create mode 100644 drivers/clk/mediatek/clk-cpumux.h

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to James Liao

Hi Mike,

Quoted 14 lines · James Liao

This is a collection of new Mediatek clocks support and fixes. These patches come from Joe [1], Pi-cheng [2] and me [3], including clock support for subsystems, CPU, GPT and some minor fixes.

[1] https://patchwork.kernel.org/patch/6777041/
[2] https://patchwork.kernel.org/patch/7174721/
[3] https://lkml.org/lkml/2015/8/10/194

----------------------------------------------------------------

The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde:

Linux 4.3-rc2 (2015-09-20 14:32:34 -0700)

Quoted 8 lines

are available in the git repository at:

https://github.com/jamesjjliao/linux.git v4.3-rc2-clk

for you to fetch changes up to 74219612bb7e25e64409171acada05d9949228f2:

arm64: dts: mt8173: Add subsystem clock controller device nodes (2015-07-09 12:58:14 +0800)

Will this be pulled for 4.3, or is it now destined for 4.4? (sorry if you are receiving a duplicate email, the previous had HTML and was rejected by the lists)

-Dan

Quoted 52 lines

----------------------------------------------------------------

James Liao (9):
clk: mediatek: Removed unused dpi_ck clock from MT8173
clk: mediatek: Remove unused code from MT8173.
clk: mediatek: Add __initdata and __init for data and functions
clk: mediatek: Add fixed clocks support for Mediatek SoC.
clk: mediatek: Fix rate and dependency of MT8173 clocks
dt-bindings: ARM: Mediatek: Document devicetree bindings for clock
controllers
clk: mediatek: Add subsystem clocks of MT8173
clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS
arm64: dts: mt8173: Add subsystem clock controller device nodes

Joe.C (1):
clk: mediatek: add 13mhz clock for MT8173

pi-cheng.chen (1):
clk: mediatek: Export CPU mux clocks for CPU frequency control

 .../bindings/arm/mediatek/mediatek,imgsys.txt      |   22 ++
 .../bindings/arm/mediatek/mediatek,mmsys.txt       |   22 ++
 .../bindings/arm/mediatek/mediatek,vdecsys.txt     |   22 ++
 .../bindings/arm/mediatek/mediatek,vencltsys.txt   |   22 ++
 .../bindings/arm/mediatek/mediatek,vencsys.txt     |   22 ++
 arch/arm64/boot/dts/mediatek/mt8173.dtsi           |   37 ++
 drivers/clk/mediatek/Makefile                      |    2 +-
 drivers/clk/mediatek/clk-apmixed.c                 |  107 ++++++
 drivers/clk/mediatek/clk-cpumux.c                  |  127 +++++++
 drivers/clk/mediatek/clk-cpumux.h                  |   22 ++
 drivers/clk/mediatek/clk-gate.c                    |    2 +-
 drivers/clk/mediatek/clk-mt8173.c                  |  370 +++++++++++++++++++-
 drivers/clk/mediatek/clk-mtk.c                     |   36 +-
 drivers/clk/mediatek/clk-mtk.h                     |   24 +-
 drivers/clk/mediatek/clk-pll.c                     |    7 +-
 include/dt-bindings/clock/mt8173-clk.h             |  106 +++++-
 16 files changed, 916 insertions(+), 34 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencltsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencsys.txt
 create mode 100644 drivers/clk/mediatek/clk-apmixed.c
 create mode 100644 drivers/clk/mediatek/clk-cpumux.c
 create mode 100644 drivers/clk/mediatek/clk-cpumux.h

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
Quoted 21 lines · Daniel Kurtz

Hi Mike,

Quoted 18 lines · James Liao

This is a collection of new Mediatek clocks support and fixes. These patches come from Joe [1], Pi-cheng [2] and me [3], including clock support for subsystems, CPU, GPT and some minor fixes.

[1] https://patchwork.kernel.org/patch/6777041/
[2] https://patchwork.kernel.org/patch/7174721/
[3] https://lkml.org/lkml/2015/8/10/194

----------------------------------------------------------------

The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde:

Linux 4.3-rc2 (2015-09-20 14:32:34 -0700)

are available in the git repository at:

https://github.com/jamesjjliao/linux.git v4.3-rc2-clk

Quoted 8 lines
Quoted 4 lines

for you to fetch changes up to 74219612bb7e25e64409171acada05d9949228f2:

arm64: dts: mt8173: Add subsystem clock controller device nodes (2015-07-09 12:58:14 +0800)

Will this be pulled for 4.3, or is it now destined for 4.4? (sorry if you are receiving a duplicate email, the previous had HTML and was rejected by the lists)

This won't make v4.3. I see that there's a third pull request now, with slightly different contents. Why?

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
#4 lore raw
Quoted 27 lines · Stephen Boyd
Quoted 26 lines · Daniel Kurtz

Hi Mike,

Quoted 22 lines · James Liao

This is a collection of new Mediatek clocks support and fixes. These patches come from Joe [1], Pi-cheng [2] and me [3], including clock support for subsystems, CPU, GPT and some minor fixes.

[1] https://patchwork.kernel.org/patch/6777041/
[2] https://patchwork.kernel.org/patch/7174721/
[3] https://lkml.org/lkml/2015/8/10/194

----------------------------------------------------------------

The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde:

Linux 4.3-rc2 (2015-09-20 14:32:34 -0700)

are available in the git repository at:

https://github.com/jamesjjliao/linux.git v4.3-rc2-clk

for you to fetch changes up to 74219612bb7e25e64409171acada05d9949228f2:

arm64: dts: mt8173: Add subsystem clock controller device nodes (2015-07-09 12:58:14 +0800)

Quoted 7 lines
Quoted 3 lines

Will this be pulled for 4.3, or is it now destined for 4.4? (sorry if you are receiving a duplicate email, the previous had HTML and was rejected by the lists)

This won't make v4.3. I see that there's a third pull request now, with slightly different contents. Why?

Sorry not explain in pull request mail. Third pull request remove two patches:

1. arm64: dts: mt8173: Add subsystem clock controller device nodes I think this should pull by Matthias, so I suggest James remove this
patch.

2. clk: mediatek: Export CPU mux clocks for CPU frequency control Mike said this patch is ok before
(http://lists.infradead.org/pipermail/linux-arm-kernel/2015-August/364886.html)
But he told Pi-cheng recently he is working on coordinate clock rate, he suggest Pi-cheng change this patch, other patches are ok. So James remove this patch.

Eddie
Thanks

#5 lore raw
Quoted 43 lines · Eddie Huang
Quoted 27 lines · Stephen Boyd
Quoted 26 lines · Daniel Kurtz

Hi Mike,

Quoted 22 lines · James Liao

This is a collection of new Mediatek clocks support and fixes. These patches come from Joe [1], Pi-cheng [2] and me [3], including clock support for subsystems, CPU, GPT and some minor fixes.

[1] https://patchwork.kernel.org/patch/6777041/
[2] https://patchwork.kernel.org/patch/7174721/
[3] https://lkml.org/lkml/2015/8/10/194

----------------------------------------------------------------

The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde:

Linux 4.3-rc2 (2015-09-20 14:32:34 -0700)

are available in the git repository at:

https://github.com/jamesjjliao/linux.git v4.3-rc2-clk

for you to fetch changes up to 74219612bb7e25e64409171acada05d9949228f2:

arm64: dts: mt8173: Add subsystem clock controller device nodes (2015-07-09 12:58:14 +0800)

Quoted 7 lines
Quoted 3 lines

Will this be pulled for 4.3, or is it now destined for 4.4? (sorry if you are receiving a duplicate email, the previous had HTML and was rejected by the lists)

This won't make v4.3. I see that there's a third pull request now, with slightly different contents. Why?

Sorry not explain in pull request mail. Third pull request remove two patches:

1. arm64: dts: mt8173: Add subsystem clock controller device nodes I think this should pull by Matthias, so I suggest James remove this
patch.

Quoted 7 lines

2. clk: mediatek: Export CPU mux clocks for CPU frequency control Mike said this patch is ok before
(http://lists.infradead.org/pipermail/linux-arm-kernel/2015-August/364886.html)
But he told Pi-cheng recently he is working on coordinate clock rate, he suggest Pi-cheng change this patch, other patches are ok. So James remove this patch.
Thanks

Ok. Thanks!

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project