summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2026-06-10 18:19:42 +0300
committerVinod Koul <vkoul@kernel.org>2026-06-11 10:09:46 +0300
commit51c25f4b0c883c1b7eee5f8f3aa0c2245eb6351a (patch)
treefa778671ca895ce79615c073eda8b61b019fc6e3 /scripts
parentd4550ea4b161202607e31b0b6c6c34fef7e2b797 (diff)
downloadlinux-51c25f4b0c883c1b7eee5f8f3aa0c2245eb6351a.tar.xz
phy: lynx-28g: generalize protocol converter accessors
The protocol converters on the 10G Lynx are architecturally similar, but different in layout from the 28G Lynx ones. Move lynx_pccr_read(), lynx_pccr_write(), lynx_pcvt_read() and lynx_pcvt_write() from the 28G Lynx driver to the common module, and permit each SerDes driver to provide just its own bits in order to use this common API. Currently, that just means that the direct calls to lynx_28g_get_pcvt_offset() are modified to go through the lynx->info->get_pcvt_offset() indirect function call, and similarly, lynx_28g_get_pccr() through lynx->info->get_pccr(). Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20260610151952.2141019-7-vladimir.oltean@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions