mbox series

[0/6] soc: mediatek: Cleanups for MediaTek SVS driver

Message ID 20220726141653.177948-1-angelogioacchino.delregno@collabora.com (mailing list archive)
Headers show
Series soc: mediatek: Cleanups for MediaTek SVS driver | expand

Message

AngeloGioacchino Del Regno July 26, 2022, 2:16 p.m. UTC
This is a cleanup-only series for the mtk-svs driver, enhancing the
usage of standard Linux macros for bitfields for better readability
and register set/get safety, switches to devm_ functions variants
where possible and other general cleanups, getting this driver in a
better overall shape.

AngeloGioacchino Del Regno (6):
  soc: mediatek: mtk-svs: Commonize t-calibration-data fuse array read
  soc: mediatek: mtk-svs: Switch to platform_get_irq()
  soc: mediatek: mtk-svs: Remove hardcoded irqflags
  soc: mediatek: mtk-svs: Drop of_match_ptr() for of_match_table
  soc: mediatek: mtk-svs: Use devm variant for dev_pm_opp_of_add_table()
  soc: mediatek: mtk-svs: Use bitfield access macros where possible

 drivers/soc/mediatek/mtk-svs.c | 325 ++++++++++++++++++---------------
 1 file changed, 176 insertions(+), 149 deletions(-)

Comments

AngeloGioacchino Del Regno July 26, 2022, 2:22 p.m. UTC | #1
Il 26/07/22 16:16, AngeloGioacchino Del Regno ha scritto:
> This is a cleanup-only series for the mtk-svs driver, enhancing the
> usage of standard Linux macros for bitfields for better readability
> and register set/get safety, switches to devm_ functions variants
> where possible and other general cleanups, getting this driver in a
> better overall shape.
> 

Sorry, I forgot to write in the cover letter that this series depends
on [1] adding MT8195 and MT8186 support.

[1]: https://patchwork.kernel.org/project/linux-mediatek/list/?series=660955

Regards,
Angelo

> AngeloGioacchino Del Regno (6):
>    soc: mediatek: mtk-svs: Commonize t-calibration-data fuse array read
>    soc: mediatek: mtk-svs: Switch to platform_get_irq()
>    soc: mediatek: mtk-svs: Remove hardcoded irqflags
>    soc: mediatek: mtk-svs: Drop of_match_ptr() for of_match_table
>    soc: mediatek: mtk-svs: Use devm variant for dev_pm_opp_of_add_table()
>    soc: mediatek: mtk-svs: Use bitfield access macros where possible
> 
>   drivers/soc/mediatek/mtk-svs.c | 325 ++++++++++++++++++---------------
>   1 file changed, 176 insertions(+), 149 deletions(-)
>