]> git.droids-corp.org - dpdk.git/commit
raw/cnxk_gpio: add option to select subset of GPIOs
authorTomasz Duszynski <tduszynski@marvell.com>
Thu, 17 Feb 2022 11:09:24 +0000 (12:09 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 18 Feb 2022 11:54:45 +0000 (12:54 +0100)
commitecc0dd455e9a56db783463d83173c3f348b560ce
tree95ab844b3c678a15a57ad10b6e01f941be1d9b8e
parent0e6557b448fa53247b3caf30009d3144c0f2171d
raw/cnxk_gpio: add option to select subset of GPIOs

Add PMD parameter that allows one to select only subset of available
GPIOs.

This might be useful in cases where some GPIOs are already reserved yet
still available for userspace access but particular app should not touch
them.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
doc/guides/rawdevs/cnxk_gpio.rst
drivers/raw/cnxk_gpio/cnxk_gpio.c
drivers/raw/cnxk_gpio/cnxk_gpio.h
drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c
drivers/raw/cnxk_gpio/rte_pmd_cnxk_gpio.h