linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] uio: dfl: add IOPLL user-clock feature id
@ 2022-08-17 21:37 Peter Colberg
  2022-08-18  4:18 ` Xu Yilun
  2022-08-26 15:01 ` [PATCH v2] " Peter Colberg
  0 siblings, 2 replies; 10+ messages in thread
From: Peter Colberg @ 2022-08-17 21:37 UTC (permalink / raw)
  To: Wu Hao, Tom Rix, Greg Kroah-Hartman, linux-fpga, linux-kernel
  Cc: russell.h.weight, matthew.gerlach, basheer.ahmed.muddebihal,
	tianfei.zhang, marpagan, lgoncalv, Peter Colberg

Add a Device Feature List (DFL) feature id for the configurable
IOPLL user clock source, which can be used to configure the clock
speeds that are used for RTL logic that is programmed into the
Partial Reconfiguration (PR) region of an FPGA.

The DFL feature id table can be found at:
https://github.com/OPAE/dfl-feature-id

Signed-off-by: Peter Colberg <peter.colberg@intel.com>
---
 drivers/uio/uio_dfl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/uio/uio_dfl.c b/drivers/uio/uio_dfl.c
index 8f39cc8bb034..69e93f3e7faf 100644
--- a/drivers/uio/uio_dfl.c
+++ b/drivers/uio/uio_dfl.c
@@ -46,10 +46,12 @@ static int uio_dfl_probe(struct dfl_device *ddev)
 
 #define FME_FEATURE_ID_ETH_GROUP	0x10
 #define FME_FEATURE_ID_HSSI_SUBSYS	0x15
+#define PORT_FEATURE_ID_IOPLL_USRCLK	0x14
 
 static const struct dfl_device_id uio_dfl_ids[] = {
 	{ FME_ID, FME_FEATURE_ID_ETH_GROUP },
 	{ FME_ID, FME_FEATURE_ID_HSSI_SUBSYS },
+	{ PORT_ID, PORT_FEATURE_ID_IOPLL_USRCLK },
 	{ }
 };
 MODULE_DEVICE_TABLE(dfl, uio_dfl_ids);
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-08-31 20:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-17 21:37 [PATCH v1] uio: dfl: add IOPLL user-clock feature id Peter Colberg
2022-08-18  4:18 ` Xu Yilun
2022-08-18 23:38   ` Russ Weight
2022-08-22  4:49     ` Xu Yilun
2022-08-22 17:38       ` Russ Weight
2022-08-22 20:06         ` Tom Rix
2022-08-23  1:21         ` Xu Yilun
2022-08-26 15:01 ` [PATCH v2] " Peter Colberg
2022-08-27  5:54   ` Xu Yilun
2022-08-31 20:48   ` [PATCH v3] " Peter Colberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).