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