Patrice Chotard
642346ae26
dm: core: add ofnode_count_phandle_with_args()
...
This function is usefull to get phandle number contained
in a property list.
For example, this allows to allocate the right amount
of memory to keep clock's reference contained into the
"clocks" property.
To implement it, either of_count_phandle_with_args() or
fdtdec_parse_phandle_with_args() are used respectively
for live tree and flat tree.
By passing index = -1, these 2 functions returns the
number of phandle contained into the property list.
Add also the dev_count_phandle_with_args() based on
ofnode_count_phandle_with_args()
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-07-28 23:34:08 +02:00
..
2017-07-27 14:59:03 +02:00
2017-07-03 17:35:28 -04:00
2017-07-27 14:59:03 +02:00
2017-07-28 23:34:08 +02:00
2017-07-26 11:26:52 -04:00
2017-06-23 10:38:02 -04:00
2017-06-01 19:55:50 -07:00
2017-07-06 16:17:19 -04:00
2017-07-19 19:13:59 +09:00
2016-12-03 13:21:21 -05:00
2017-06-01 07:03:17 -06:00
2017-02-07 10:54:32 -06:00
2017-06-16 10:14:55 -04:00
2017-02-08 15:56:28 -05:00
2017-07-11 10:08:19 -06: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-07-12 06:57:38 +02:00
2017-06-10 10:01:05 -04:00
2017-07-10 14:25:50 -04:00
2017-06-05 14:13:09 -04:00
2017-06-01 07:03:14 -06:00
2017-07-28 23:34:08 +02:00
2017-07-10 14:25:54 -04:00
2017-07-08 15:55:34 -04:00
2016-12-02 21:32:38 -05:00
2017-07-24 20:35:55 -04:00
2017-01-28 08:47:30 -05:00
2017-07-11 10:08:19 -06:00
2017-01-28 08:47:42 -05:00
2017-07-11 10:08:19 -06:00
2017-07-25 21:31:03 -04:00
2017-07-11 10:08:19 -06:00
2017-06-01 07:03:11 -06:00
2017-02-12 14:30:25 -05:00
2017-05-11 22:21:27 -04:00
2017-07-11 10:08:19 -06:00
2016-11-25 17:59:31 -07:00
2017-04-13 09:41:10 -04:00
2017-06-01 07:03:08 -06:00
2017-04-04 20:01:57 -06:00
2017-05-15 20:32:12 +02:00
2017-07-03 13:48:51 +02:00
2017-07-22 15:36:17 -04:00
2016-11-21 14:07:27 -05:00
2017-06-03 17:55:34 -04:00
2017-06-01 07:03:11 -06:00
2017-06-02 10:16:46 -06:00
2017-06-01 07:03:11 -06:00
2017-04-14 13:50:41 +02:00
2017-04-12 13:28:32 -04:00
2017-01-04 19:40:52 -05:00
2017-04-17 09:03:30 -07:00
2017-07-12 09:44:22 +02:00
2017-06-05 14:12:59 -04:00
2017-03-17 09:27:08 +01:00
2016-12-08 10:36:22 -06:00
2017-01-04 19:40:19 -05:00
2017-03-28 09:03:04 -07:00
2017-07-28 23:34:05 +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-07-10 14:25:50 -04:00
2017-04-05 16:36:56 -04:00
2017-04-05 13:52:35 -04: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-04-14 19:38:57 -06:00
2017-06-02 10:16:46 -06:00
2017-06-01 07:03:15 -06:00
2016-12-20 07:40:04 +01:00
2017-06-27 16:31:30 +08:00
2017-07-08 15:55:26 -04:00
2017-07-11 22:41:54 -04:00
2017-06-12 08:37:55 -04:00
2017-06-16 10:14:56 -04:00
2017-07-23 17:04:46 -04:00
2017-06-01 07:03:06 -06:00
2016-12-04 13:54:51 -05:00
2017-05-11 22:03:37 -04:00
2017-05-31 10:09:03 +02:00
2017-06-12 08:37:55 -04:00
2017-04-04 09:17:56 -04:00
2017-07-03 17:35:28 -04: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-04-05 16:36:57 -04:00
2017-06-01 07:03:15 -06:00
2017-07-28 23:34:07 +02:00
2017-04-10 10:02:03 +08:00
2016-12-20 09:15:27 +01:00
2017-07-11 10:08:19 -06:00
2017-01-25 07:03:44 +01:00
2017-07-03 17:35:28 -04:00
2017-02-06 11:38:46 +08:00
2017-06-01 07:03:16 -06:00
2017-05-15 10:38:09 -04:00
2017-01-13 17:40:38 +01:00
2017-06-16 10:14:55 -04:00
2017-01-14 16:46:30 -05:00
2017-03-26 13:22:58 -06:00
2017-04-17 09:03:30 -07:00
2017-04-12 13:28:27 -04:00
2017-05-15 10:40:05 -04:00
2017-01-10 10:18:11 +01:00
2017-07-08 15:55:32 -04:00
2017-05-08 11:57:30 -04:00
2017-04-08 09:26:54 -04:00