mbox series

[v2,0/2] soc: mediatek: Cleanups for MediaTek SVS driver

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

Message

NĂ­colas F. R. A. Prado Aug. 25, 2022, 6:46 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.

v1: https://lore.kernel.org/all/20220726141653.177948-1-angelogioacchino.delregno@collabora.com

Changes in v2:
- Rebased to not rely on mt8195 and mt8186 support, as they haven't been
  merged yet

AngeloGioacchino Del Regno (2):
  soc: mediatek: mtk-svs: Commonize t-calibration-data fuse array read
  soc: mediatek: mtk-svs: Use bitfield access macros where possible

 drivers/soc/mediatek/mtk-svs.c | 260 ++++++++++++++++++++-------------
 1 file changed, 160 insertions(+), 100 deletions(-)

Comments

Matthias Brugger Aug. 26, 2022, 3:27 p.m. UTC | #1
On 25/08/2022 20:46, NĂ­colas F. R. A. Prado wrote:
> 
> 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.

Both patches pushed, thanks!

> 
> v1: https://lore.kernel.org/all/20220726141653.177948-1-angelogioacchino.delregno@collabora.com
> 
> Changes in v2:
> - Rebased to not rely on mt8195 and mt8186 support, as they haven't been
>    merged yet
> 
> AngeloGioacchino Del Regno (2):
>    soc: mediatek: mtk-svs: Commonize t-calibration-data fuse array read
>    soc: mediatek: mtk-svs: Use bitfield access macros where possible
> 
>   drivers/soc/mediatek/mtk-svs.c | 260 ++++++++++++++++++++-------------
>   1 file changed, 160 insertions(+), 100 deletions(-)
>