1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-25 19:29:12 +01:00
Files
u-boot-megous/include
Philipp Tomsich f4fcba5c5b clk: implement clk_set_defaults()
Linux uses the properties 'assigned-clocks', 'assigned-clock-parents'
and 'assigned-clock-rates' to configure the clock subsystem for use
with various peripheral nodes.

This implements clk_set_defaults() and hooks it up with the general
device probibin in drivers/core/device.c: when a new device is probed,
clk_set_defaults() will be called for it and will process the
properties mentioned above.

Note that this functionality is designed to fail gracefully (i.e. if a
clock-driver does not implement set_parent(), we simply accept this
and ignore the error) as not to break existing board-support.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: David Wu <david.wu@rock-chips.com>

Series-changes: 2
- Fixed David's email address.

Series-version: 2

Cover-letter:
clk: support assigned-clock, assigned-clock-parents, assigned-clock-rates

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.
END
2018-01-28 17:12:36 +01:00
..
2017-07-03 17:35:28 -04:00
2018-01-24 11:28:44 -05:00
2016-04-01 17:18:12 -04:00
2016-12-03 13:21:21 -05:00
2017-02-08 15:56:28 -05:00
2017-11-28 16:08:52 +01:00
2016-03-24 09:47:43 +01:00
2017-06-05 11:02:29 -04:00
2016-05-25 17:52:39 +02:00
2016-05-25 17:52:39 +02:00
2018-01-22 23:09:14 +01:00
2017-09-16 14:57:44 +08:00
2017-10-02 21:52:18 -04:00
2016-01-20 19:06:23 -07:00
2018-01-28 17:12:35 +01:00
2018-01-28 17:12:36 +01:00
2016-10-19 09:01:51 +02:00
2017-05-11 22:21:27 -04:00
2017-07-28 23:34:39 +02:00
2017-04-13 09:41:10 -04:00
2016-02-23 16:14:45 +05:30
2017-08-17 16:59:55 +09:00
2017-05-15 20:32:12 +02:00
2018-01-22 23:09:14 +01:00
2018-01-22 23:09:14 +01:00
2018-01-22 23:09:14 +01:00
2016-05-03 17:52:11 -05:00
2016-01-28 12:22:19 -06:00
2017-08-16 08:30:24 -04:00
2018-01-22 16:43:31 -05:00
2017-10-02 21:52:18 -04:00
2017-11-07 10:26:27 +01:00
2016-12-08 10:36:22 -06:00
2017-09-03 15:30:35 -04:00
2017-07-23 09:24:47 -04:00
2017-06-12 08:37:55 -04:00
2017-04-14 19:38:57 -06:00
2017-12-07 15:17:00 -05:00
2016-06-19 17:05:55 -06:00
2016-03-08 15:01:47 -05:00
2016-08-12 11:01:22 -06:00
2016-01-20 10:19:40 -05:00
2017-11-28 21:59:30 +01:00
2015-11-12 08:26:58 +08:00
2017-12-04 22:00:00 +09:00
2016-01-21 20:42:36 -07:00
2016-02-05 12:47:21 +08:00
2017-11-28 21:59:30 +01:00
2017-12-07 15:17:00 -05:00
2016-01-21 20:42:34 -07:00
2017-07-28 23:34:07 +02:00
2017-04-10 10:02:03 +08:00
2017-08-17 16:59:55 +09:00
2017-08-23 10:41:58 +02:00
2017-08-16 08:22:18 -04:00
2016-08-17 10:25:35 +09:00
2018-01-24 12:04:07 +05:30
2018-01-24 12:04:07 +05:30
2017-12-12 19:53:45 -07:00
2016-05-26 20:48:31 -06:00
2016-02-26 08:53:10 -07:00
2016-09-26 13:24:43 -04:00
2017-04-12 13:28:27 -04:00
2017-10-01 16:32:51 +02:00
2016-05-02 18:37:09 -04:00
2017-08-24 11:00:47 +08:00
2016-10-23 18:33:48 -04:00
2017-10-04 12:00:19 -04:00