public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/5] clk: support assigned-clock, assigned-clock-parents, assigned-clock-rates
@ 2018-01-25 20:12 Philipp Tomsich
  2018-01-25 20:12 ` [U-Boot] [PATCH v2 1/5] clk: add clk_set_parent() Philipp Tomsich
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Philipp Tomsich @ 2018-01-25 20:12 UTC (permalink / raw)
  To: u-boot


For various peripherals on Rockchip SoCs (e.g. for the Ethernet GMAC),
the parent-clock needs to be set via the DTS.  This adds the required
plumbing and implements the GMAC case for the RK3399.

Changes in v2:
- Fixed David's email address.


Philipp Tomsich (5):
  clk: add clk_set_parent()
  clk: refactor clk_get_by_index() into clk_get_by_indexed_prop()
  rockchip: clk: rk3399: implement set_parent() operation
  clk: implement clk_set_defaults()
  rockchip: clk: rk3399: accept all assigned-clocks from the 'cru'-node

 drivers/clk/clk-uclass.c          | 140 +++++++++++++++++++++++++++++++++++++-
 drivers/clk/rockchip/clk_rk3399.c |  92 ++++++++++++++++++++++++-
 drivers/core/device.c             |   6 ++
 include/clk-uclass.h              |   8 +++
 include/clk.h                     |  28 ++++++++
 5 files changed, 270 insertions(+), 4 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2018-01-28 17:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-25 20:12 [U-Boot] [PATCH v2 0/5] clk: support assigned-clock, assigned-clock-parents, assigned-clock-rates Philipp Tomsich
2018-01-25 20:12 ` [U-Boot] [PATCH v2 1/5] clk: add clk_set_parent() Philipp Tomsich
2018-01-28 16:12   ` [U-Boot] [U-Boot,v2,1/5] " Philipp Tomsich
2018-01-25 20:12 ` [U-Boot] [PATCH v2 2/5] clk: refactor clk_get_by_index() into clk_get_by_indexed_prop() Philipp Tomsich
2018-01-28 16:12   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
2018-01-25 20:12 ` [U-Boot] [PATCH v2 3/5] rockchip: clk: rk3399: implement set_parent() operation Philipp Tomsich
2018-01-28 16:12   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich
2018-01-25 20:12 ` [U-Boot] [PATCH v2 4/5] clk: implement clk_set_defaults() Philipp Tomsich
2018-01-28 16:12   ` [U-Boot] [U-Boot,v2,4/5] " Philipp Tomsich
2018-01-28 16:54     ` Michael Nazzareno Trimarchi
2018-01-28 17:15       ` Dr. Philipp Tomsich
2018-01-28 17:21         ` Michael Nazzareno Trimarchi
2018-01-28 17:23           ` Dr. Philipp Tomsich
2018-01-25 20:12 ` [U-Boot] [PATCH v2 5/5] rockchip: clk: rk3399: accept all assigned-clocks from the 'cru'-node Philipp Tomsich
2018-01-28 16:12   ` [U-Boot] [U-Boot, v2, " Philipp Tomsich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox