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