Skip to contentSkip to conversation

gdsys: drivers: Add gdsys_rxaui_ctrl driver

PATCH New Mario Six 3 participants 3 messages Apr 27, 2018 – May 9, 2018 Char and misc drivers

lore
Share & tools
lore

Mario Six

author
#0 lore raw

PATCH v2 1/1 gdsys: drivers: Add gdsys_rxaui_ctrl driver

Add a driver for RXAUI control on IHS FPGAs.

---

v1 -> v2:
* Switched to regmap usage (instead of fpgamap)

---
 drivers/misc/Kconfig            |  6 +++-
 drivers/misc/Makefile           |  1 +
 drivers/misc/gdsys_rxaui_ctrl.c | 77 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+), 1 deletion(-)
 create mode 100644 drivers/misc/gdsys_rxaui_ctrl.c
drivers/misc/Kconfig +5 -1
index d774569cbc..be900cf4d6 100644
@@ -263,5 +263,9 @@ config SYS_I2C_EEPROM_ADDR_OVERFLOW
 
 endif
 
-
+config GDSYS_RXAUI_CTRL
+	bool "Enable gdsys RXAUI control driver"
+	depends on MISC
+	help
+	  Support gdsys FPGA's RXAUI control.
 endmenu
drivers/misc/Makefile +1 -0
index e8d598cd47..4ab17129b1 100644
@@ -54,3 +54,4 @@ obj-$(CONFIG_QFW) += qfw.o
 obj-$(CONFIG_ROCKCHIP_EFUSE) += rockchip-efuse.o
 obj-$(CONFIG_STM32_RCC) += stm32_rcc.o
 obj-$(CONFIG_SYS_DPAA_QBMAN) += fsl_portals.o
+obj-$(CONFIG_GDSYS_RXAUI_CTRL) += gdsys_rxaui_ctrl.o
drivers/misc/gdsys_rxaui_ctrl.c new file +77 -0

77 lines not on this page · raw message

--
2.16.1

#1 lore raw

PATCH v2 1/1 gdsys: drivers: Add gdsys_rxaui_ctrl driver

Quoted 8 lines · Mario Six

Add a driver for RXAUI control on IHS FPGAs.

---

v1 -> v2:
* Switched to regmap usage (instead of fpgamap)

Quoted 6 lines
---
 drivers/misc/Kconfig            |  6 +++-
 drivers/misc/Makefile           |  1 +
 drivers/misc/gdsys_rxaui_ctrl.c | 77 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+), 1 deletion(-)
 create mode 100644 drivers/misc/gdsys_rxaui_ctrl.c
#2 lore raw

PATCH v2 1/1 gdsys: drivers: Add gdsys_rxaui_ctrl driver

In reply to Mario Six
Quoted 4 lines · Mario Six

Add a driver for RXAUI control on IHS FPGAs.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180508/ac212efe/attachment.sig>