linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v10 0/5] rk3399 support ddr frequency scaling
@ 2016-09-05  5:06 Lin Huang
  2016-09-05  5:06 ` [PATCH v10 1/5] Documentation: bindings: add dt documentation for dfi controller Lin Huang
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Lin Huang @ 2016-09-05  5:06 UTC (permalink / raw)
  To: heiko
  Cc: myungjoo.ham, mark.yao, cw00.choi, airlied, mturquette,
	dbasehore, sboyd, linux-kernel, dri-devel, dianders,
	linux-rockchip, kyungmin.park, linux-arm-kernel, tixy, typ,
	sudeep.holla, mark.rutland, linux-pm, devicetree, Lin Huang

rk3399 platform have dfi controller can monitor ddr load,
and dcf controller to handle ddr register so we can get the
right ddr frequency and make ddr controller happy work(which
will implement in bl31). So we do ddr frequency scaling with
following flow:

             kernel                                bl31

        monitor ddr load
                |
                |
        get_target_rate
                |
                |           pass rate to bl31
        clk_set_rate(ddr) --------------------->run dcf flow
                |                                   |
                |                                   |
        wait dcf interrupt<-------------------trigger dcf interrupt
                |
                |
              return


Lin Huang (5):
  Documentation: bindings: add dt documentation for dfi controller
  PM / devfreq: event: support rockchip dfi controller
  Documentation: bindings: add dt documentation for rk3399 dmc
  PM / devfreq: rockchip: add devfreq driver for rk3399 dmc
  drm/rockchip: Add dmc notifier in vop driver

Following patch:
clk: rockchip: add new clock-type for the ddrclk
clk: rockchip: rk3399: add SCLK_DDRCLK ID for ddrc
clk: rockchip: rk3399: add ddrc clock support
have applied to:
http://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/v4.9-clk/next


 .../bindings/devfreq/event/rockchip-dfi.txt        |  19 +
 .../devicetree/bindings/devfreq/rk3399_dmc.txt     | 210 +++++++++
 drivers/devfreq/Kconfig                            |  11 +
 drivers/devfreq/Makefile                           |   1 +
 drivers/devfreq/event/Kconfig                      |   7 +
 drivers/devfreq/event/Makefile                     |   1 +
 drivers/devfreq/event/rockchip-dfi.c               | 256 +++++++++++
 drivers/devfreq/rk3399_dmc.c                       | 480 +++++++++++++++++++++
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c        | 116 +++++
 9 files changed, 1101 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt
 create mode 100644 Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
 create mode 100644 drivers/devfreq/event/rockchip-dfi.c
 create mode 100644 drivers/devfreq/rk3399_dmc.c

-- 
2.6.6

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

end of thread, other threads:[~2016-09-12 16:31 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05  5:06 [PATCH v10 0/5] rk3399 support ddr frequency scaling Lin Huang
2016-09-05  5:06 ` [PATCH v10 1/5] Documentation: bindings: add dt documentation for dfi controller Lin Huang
2016-09-12 16:18   ` Rob Herring
2016-09-05  5:06 ` [PATCH v10 2/5] PM / devfreq: event: support rockchip " Lin Huang
2016-09-05  5:06 ` [PATCH v10 3/5] Documentation: bindings: add dt documentation for rk3399 dmc Lin Huang
2016-09-12 16:31   ` Rob Herring
2016-09-05  5:06 ` [PATCH v10 4/5] PM / devfreq: rockchip: add devfreq driver " Lin Huang
2016-09-05  5:06 ` [PATCH v10 5/5] drm/rockchip: Add dmc notifier in vop driver Lin Huang
2016-09-06  3:40   ` kbuild test robot
2016-09-06 17:18   ` Sean Paul
2016-09-06 18:15     ` hl
2016-09-06 18:55       ` Sean Paul
2016-09-06 19:01         ` hl
2016-09-06 19:07           ` Sean Paul
2016-09-07 18:07             ` dbasehore .
2016-09-07 18:27               ` Sean Paul
2016-09-07 18:13     ` dbasehore .
2016-09-07 20:31       ` Sean Paul
2016-09-07 22:21         ` dbasehore .
     [not found] ` <CGME20160905050631epcas1p4ebe75a5f119132f583a5020187382026@epcas1p4.samsung.com>
2016-09-06  4:37   ` MyungJoo Ham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).