Bjorn Andersson
6a5e919876
of: reserved_mem: Accessor for acquiring reserved_mem
...
In some cases drivers referencing a reserved-memory region might want to
remap the entire region, but when defining the reserved-memory by "size"
the client driver has no means to know the associated base address of
the reserved memory region.
This patch adds an accessor for such drivers to acquire a handle to
their associated reserved-memory for this purpose.
A complicating factor for the implementation is that the reserved_mem
objects are created from the flattened DeviceTree, as such we can't
use the device_node address for comparison. Fortunately the name of the
node will be used as "name" of the reserved_mem and will be used when
building the full_name, so we can compare the "name" with the basename
of the full_name to find the match.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Signed-off-by: Andy Gross <andy.gross@linaro.org >
2023-03-17 17:55:25 +07:00
..
2022-07-04 10:26:10 +03:00
2023-01-09 02:03:47 +03:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2022-08-03 13:46:20 +03:00
2022-03-21 11:46:44 +03:00
2023-02-17 03:45:05 +07:00
2019-10-21 07:01:22 +07:00
2023-02-17 02:04:15 +07:00
2023-02-17 02:13:44 +07:00
2018-11-15 21:36:32 +03:00
2023-02-17 02:24:43 +07:00
2018-11-15 21:36:32 +03:00
2022-11-22 20:33:03 +07:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2022-04-14 18:57:54 +03:00
2022-10-26 16:33:33 +03:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2022-04-25 16:25:23 +03:00
2022-08-30 17:30:20 +03:00
2018-11-15 21:36:32 +03:00
2022-09-20 22:23:19 +03:00
2022-01-12 11:59:17 +03:00
2022-01-12 11:59:17 +03:00
2023-02-17 02:00:39 +07:00
2018-11-15 21:36:32 +03:00
2022-03-11 19:33:30 +03:00
2018-11-15 21:36:32 +03:00
2021-12-09 13:01:03 +03:00
2018-11-15 21:36:32 +03:00
2022-06-20 23:24:01 +03:00
2022-07-04 10:26:10 +03:00
2020-11-10 11:34:37 +03:00
2018-11-15 21:36:32 +03:00
2019-12-24 17:28:43 +03:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2022-10-26 16:33:33 +03:00
2021-11-16 23:25:29 +03:00
2022-02-26 21:12:47 +07:00
2022-04-28 21:39:35 +03:00
2023-01-09 02:03:47 +03:00
2021-12-09 13:01:14 +03:00
2021-12-09 13:01:03 +03:00
2023-01-09 02:03:47 +03:00
2019-12-11 01:05:17 +03:00
2019-02-13 01:02:49 +03:00
2018-11-15 21:36:32 +03:00
2021-12-22 12:00:44 +03:00
2018-11-15 21:36:32 +03:00
2022-07-04 10:26:10 +03:00
2019-02-08 17:36:06 +03:00
2021-12-09 13:01:14 +03:00
2022-05-18 13:45:48 +03:00
2022-07-04 10:26:31 +03:00
2018-11-15 21:36:32 +03:00
2021-12-09 13:01:14 +03:00
2021-12-09 13:01:03 +03:00
2022-08-03 13:46:20 +03:00
2022-07-04 10:26:10 +03:00
2022-07-04 10:26:10 +03:00
2022-03-11 19:33:30 +03:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2023-03-09 22:38:16 +07:00
2022-07-04 10:26:10 +03:00
2022-05-18 13:46:01 +03:00
2022-04-25 16:25:23 +03:00
2018-11-15 21:36:32 +03:00
2022-06-20 23:23:32 +03:00
2022-10-24 12:41:56 +03:00
2023-02-17 03:48:05 +07:00
2018-11-15 21:36:32 +03:00
2023-03-17 17:55:25 +07:00
2022-07-04 10:26:10 +03:00
2022-08-30 17:30:20 +03:00
2023-02-17 03:51:33 +07:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2022-07-04 10:26:10 +03:00
2022-06-20 23:23:17 +03:00
2022-06-20 23:23:17 +03:00
2022-06-20 23:23:32 +03:00
2022-07-04 10:26:10 +03:00
2022-07-04 10:26:31 +03:00
2022-01-31 17:10:19 +03:00
2022-01-31 17:10:19 +03:00
2023-02-17 02:04:18 +07:00
2022-09-11 21:08:48 +03:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2021-12-09 13:01:14 +03:00
2022-08-03 13:46:20 +03:00
2018-11-15 21:36:32 +03:00
2022-09-29 23:26:54 +03:00
2021-12-09 13:01:14 +03:00
2022-07-04 10:26:10 +03:00
2018-11-15 21:36:32 +03:00
2023-03-09 13:55:05 +03:00
2018-11-15 21:36:32 +03:00
2022-07-04 10:26:10 +03:00
2018-11-15 21:36:32 +03:00
2018-11-15 21:36:32 +03:00
2021-03-16 19:13:34 +03:00
2018-11-15 21:36:32 +03:00
2022-10-26 16:33:33 +03:00
2023-01-09 02:03:47 +03:00
2022-07-04 10:26:10 +03:00
2022-08-03 13:46:20 +03:00
2022-11-22 20:33:06 +07:00
2018-11-15 21:36:32 +03:00
2022-07-04 10:26:10 +03:00
2018-11-15 21:36:32 +03:00
2021-12-22 12:00:44 +03:00