common/cnxk: add BPHY device init and fini
authorTomasz Duszynski <tduszynski@marvell.com>
Mon, 21 Jun 2021 15:04:32 +0000 (17:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Jul 2021 21:07:33 +0000 (23:07 +0200)
commit4ced2b04dfd78d49d3b764a6032193365d2ba23f
tree151d92838f713366021c5f11cef6322e9051c1a3
parent4d2b226726f4af475fb240e31dcbd453ab3d3dcc
common/cnxk: add BPHY device init and fini

Add support for device init and fini. It merely saves
baseband phy state container in a globally accessible
resource chest.

Signed-off-by: Jakub Palider <jpalider@marvell.com>
Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_api.h
drivers/common/cnxk/roc_bphy.c [new file with mode: 0644]
drivers/common/cnxk/roc_bphy.h [new file with mode: 0644]
drivers/common/cnxk/roc_idev.c
drivers/common/cnxk/roc_idev_priv.h
drivers/common/cnxk/version.map