summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-mtk.c
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2022-09-09 19:59:21 +0800
committerTom Rini <trini@konsulko.com>2022-09-23 15:09:15 -0400
commit625967254c3983730e998b5f302b70390bb9e770 (patch)
treec157e650dedbf88123ee2bbbf38c06b87ca7116e /drivers/pwm/pwm-mtk.c
parentfccf960e1c5e31c1430f756e3a5db9c21f195dd2 (diff)
net: mediatek: use a struct to cover variations of all SoCs
Using a single soc id to control different initialization and TX/RX flow for all SoCs is not extensible if more hardware variations are added in the future. This patch introduces a struct to replace the original mtk_soc to allow the driver be able handle newer hardwares. Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-mtk.c')
0 files changed, 0 insertions, 0 deletions