From patchwork Tue Jun 23 11:15:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 242801 List-Id: U-Boot discussion From: jan.kiszka at siemens.com (Jan Kiszka) Date: Tue, 23 Jun 2020 13:15:07 +0200 Subject: [PATCH v2 0/3] watchdog: K3: Add RTI watchdog support Message-ID: This brings watchdog support for the TI K3 SoCs, derived from the Linux kernel, augmented with firmware loading as needed on the AM65x. Tested on the AM65x EVM and the IOT2050 (also AM65x-based, upstream support will be posted soon). Changes in v2: - keep watchdog powered when handing over to Linux - drop unneeded explicit power-on - account for RTI firmware locking the power domain Jan Jan Kiszka (3): watchdog: Add support for K3 RTI watchdog watchdog: rti_wdt: Add support for loading firmware arm: dts: k3: Add RTI watchdogs arch/arm/dts/k3-am65-mcu.dtsi | 9 ++ arch/arm/dts/k3-j721e-main.dtsi | 18 ++++ drivers/watchdog/Kconfig | 27 ++++++ drivers/watchdog/Makefile | 4 + drivers/watchdog/rti_wdt.c | 147 ++++++++++++++++++++++++++++++++ drivers/watchdog/rti_wdt_fw.S | 20 +++++ 6 files changed, 225 insertions(+) create mode 100644 drivers/watchdog/rti_wdt.c create mode 100644 drivers/watchdog/rti_wdt_fw.S