Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752695AbbKYTdF (ORCPT ); Wed, 25 Nov 2015 14:33:05 -0500 Received: from mail.savoirfairelinux.com ([208.88.110.44]:54426 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751871AbbKYTcY (ORCPT ); Wed, 25 Nov 2015 14:32:24 -0500 From: Damien Riegel To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org Cc: Lee Jones , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Shawn Guo , Sascha Hauer , Arnd Bergmann , Samuel Ortiz , Wim Van Sebroeck , Guenter Roeck , kernel@savoirfairelinux.com, Damien Riegel Subject: [PATCH v5 0/5] Add board support for TS-4800 Date: Wed, 25 Nov 2015 14:25:01 -0500 Message-Id: <1448479507-1951-1-git-send-email-damien.riegel@savoirfairelinux.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2956 Lines: 69 This patch serie adds support for TS-4800 board. This board, manufactured by Technologic Systems, is based on an IMX515. The first stage bootloader, called TS-BOOTROM, enables the watchdog, so a watchdog driver is required to prevent board from rebooting. The current device tree is minimal but it allows to get a shell on the board. Changes in v6: - vendor prefix: reorder to sort alphabetically (wrong order since v3) - split commit adding device tree into two patches: one for the doc, one for the bindings Changes in v5: - watchdog: changed iteration stop condition in set_timeout to be less error prone Changes in v4: - syscon: rewrite DT property reading to be clearer - watchdog: made fixes suggested by Guenter (now uses watchdog_init_timeout, u32 instead of u16, fixed error checking in probe, cleaned set_timeout) Changes in v3: - Rebased on v4.3 - Changed vendor prefix from "ts" to "technologic" - Added a DT option to generic syscon driver to allow regmap configuration - Dropped custom mfd driver, use generic syscon driver instead. Changes in v2: - Added a mfd driver to handle syscon registers - The watchdog driver now uses the regmap (created by the mfd driver) to access the feed register - Remove watchdog's dependency on SOC_IMX51 Damien Riegel (6): of: add vendor prefix for Technologic Systems mfd: syscon: add a DT property to set value width watchdog: ts4800: add driver for TS-4800 watchdog ARM: imx_v6_v7_defconfig: add TS-4800 watchdog of: documentation: add bindings documentation for TS-4800 ARM: dts: TS-4800: add basic device tree .../devicetree/bindings/arm/technologic.txt | 6 + Documentation/devicetree/bindings/mfd/syscon.txt | 3 + .../devicetree/bindings/vendor-prefixes.txt | 1 + .../devicetree/bindings/watchdog/ts4800-wdt.txt | 25 +++ arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx51-ts4800.dts | 190 ++++++++++++++++++ arch/arm/configs/imx_v6_v7_defconfig | 1 + drivers/mfd/syscon.c | 13 ++ drivers/watchdog/Kconfig | 10 + drivers/watchdog/Makefile | 1 + drivers/watchdog/ts4800_wdt.c | 215 +++++++++++++++++++++ 11 files changed, 467 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/arm/technologic.txt create mode 100644 Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt create mode 100644 arch/arm/boot/dts/imx51-ts4800.dts create mode 100644 drivers/watchdog/ts4800_wdt.c -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/