[PATCH v2 3/3] media: rc: meson-ir: support MMIO regmaps to access registers

Martin Blumenstingl martin.blumenstingl at googlemail.com
Mon May 29 13:45:34 PDT 2023


Hello,

On Wed, May 17, 2023 at 1:56 PM zelong dong <zelong.dong at amlogic.com> wrote:
>
> From: Zelong Dong <zelong.dong at amlogic.com>
>
> Supports MMIO regmaps to access controller registers in Meson IR driver.
>
> Signed-off-by: Zelong Dong <zelong.dong at amlogic.com>
> ---
>  drivers/media/rc/meson-ir.c | 72 +++++++++++++++++++------------------
Kconfig also has to be updated with:
  select REGMAP_MMIO

Otherwise you can end up with a compile error: undefined reference to
`__devm_regmap_init_mmio_clk`
See a recent patch on this: [0]


Best regards,
Martin


[0] https://lore.kernel.org/lkml/20230228043423.19335-1-xry111@xry111.site/



More information about the linux-amlogic mailing list