Xilinx Axi Watchdog driver conversion to driver model
Subsystems (2)
v4 cover Xilinx Axi Watchdog driver conversion to driver model
Hi,
this is moving MB watchdog to DM. I have taken v2 from Shreenidhi and did some changes to speedup upstreaming because I need this for my gpio work. Removing watchdog in the first patch is not big deal because this is generic platform and adresses are fake.
Sending only last patch because the rest was already applied and there are patches which depends on that.
Thanks,
Michal
Changes in v4:
- Fix Kconfig typo - by sjg
- Use debug instead of puts in drivers - by sjg
- Use EBUSY instead of -1 - by sjg
Changes in v3:
- Fix commit message
- s/Axi/AXI
- Use platdata instead of private data.
- Remove \n from wdt reset to catch logs
- Add debug to wdt_start
Changes in v2:
- Rectified print message
- Removed stop instruction from probe
Changes in v1:
- Xilinx Axi wdt driver conversion to DM initial version
Shreenidhi Shedi (1):
watchdog: Convert Xilinx Axi watchdog driver to driver model
drivers/watchdog/Kconfig | 8 +++ drivers/watchdog/xilinx_tb_wdt.c | 111 ++++++++++++++++++++++++++++++--------- 2 files changed, 93 insertions(+), 26 deletions(-)
Signature · 1 line
1.9.1
PATCH v4 1/1 watchdog: Convert Xilinx Axi watchdog driver to driver model
From: Shreenidhi Shedi <[email protected]>
Xilinx Axi wdt driver conversion to driver model & Kconfig update for the same.
---
Changes in v4:
- Fix Kconfig typo - by sjg
- Use debug instead of puts in drivers - by sjg
- Use EBUSY instead of -1 - by sjg
Changes in v3:
- Fix commit message
- s/Axi/AXI
- Use platdata instead of private data.
- Remove \n from wdt reset to catch logs
- Add debug to wdt_start
Changes in v2:
- Rectified print message
- Removed stop instruction from probe
Changes in v1:
- Xilinx Axi wdt driver conversion to DM initial version
drivers/watchdog/Kconfig | 8 +++ drivers/watchdog/xilinx_tb_wdt.c | 111 ++++++++++++++++++++++++++++++--------- 2 files changed, 93 insertions(+), 26 deletions(-)
drivers/watchdog/Kconfig +8 -0
@@ -103,4 +103,12 @@ config WDT_CDNS Select this to enable Cadence watchdog timer, which can be found on some Xilinx Microzed Platform. +config XILINX_TB_WATCHDOG + bool "Xilinx Axi watchdog timer support" + depends on WDT + imply WATCHDOG + help + Select this to enable Xilinx Axi watchdog timer, which can be found on some + Xilinx Microblaze Platforms. + endmenu
drivers/watchdog/xilinx_tb_wdt.c +85 -26
147 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v4 1/1 watchdog: Convert Xilinx Axi watchdog driver to driver model
Quoted 25 lines · Michal Simek
From: Shreenidhi Shedi <[email protected]>
Xilinx Axi wdt driver conversion to driver model &
Kconfigupdate for the same.Signed-off-by Shreenidhi Shedi <[email protected]>Signed-off-by Michal Simek <[email protected]>---
Changes in v4:
- FixKconfigtypo - by sjg
- Use debug instead of puts in drivers - by sjg
- Use EBUSY instead of -1 - by sjgChanges in v3:
- Fix commit message
- s/Axi/AXI
- Use platdata instead of private data.
- Remove \n from wdt reset to catch logs
- Add debug towdt_startChanges in v2:
- Rectified print message
- Removed stop instruction from probe
Quoted 6 lines
Changes in v1:
- Xilinx Axi wdt driver conversion to DM initial versiondrivers/watchdog/Kconfig | 8 +++ drivers/watchdog/xilinx_tb_wdt.c | 111 ++++++++++++++++++++++++++++++--------- 2 files changed, 93 insertions(+), 26 deletions(-)