[U-Boot] [PATCH 04/33] dm: syscon: Don't require a regmap for PCI devices
Bin Meng
bmeng.cn at gmail.com
Wed Feb 13 09:36:51 UTC 2019
On Tue, Jan 22, 2019 at 9:14 AM Simon Glass <sjg at chromium.org> wrote:
>
> At present it is not possible to use the syscon devices for PCI devices
> since a regmap is required. Since PCI uses a 3-cell address the conversion
> of the 'reg' property to an address always fails. In any case, the regmap
> is not useful with PCI since devices are accessed through the PCI bus
> which regmap does not support.
>
> Add a special case for PCI syscon devices, so that they don't set up a
> regmap.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> drivers/core/syscon-uclass.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list