From patchwork Mon Mar 5 11:45:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 130630 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2587068lja; Mon, 5 Mar 2018 03:45:59 -0800 (PST) X-Google-Smtp-Source: AG47ELvSmwfi6EWveZnGufrRZDkivZnm4wQPqsO7dbMnU37P63zS7yzDcrKje7J9NKlAbEFa3mED X-Received: by 10.99.174.66 with SMTP id e2mr12060349pgp.269.1520250359359; Mon, 05 Mar 2018 03:45:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520250359; cv=none; d=google.com; s=arc-20160816; b=XGfFstnuc17QMFr6eBpklhXE+A9y2BZDP62DXYZKlPE4tCvDnrhy22xPldIAs2layr BxaGZhewGDVFINQqPDlGjSu7INnyziH11N7rNPXBZ2AKdHnUSx3iUdzQn21ZCgF3l0Ep Q/tQB+KiSHssCdWfIhKPpo8Kfa7yXTatSKqrwLOp1fH9lsHO+QHwKRfMnC2NLXBJ5Vny /joeeMQaKag4Iue3w1Anh+1yudLhlkrP6bz3XZJYWsTEtCzebZH3Jqxksg4p2acrto7c CGaH+hFJs7x+lUcmik5Rsa9Pxth9GeOykODWLX/Fe6pfh980wuiRt0Q6E0flUFiUU+Ji DJcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=4FUUkA0GgVF3Wem4F7ggEKznDL3zQV87hhDVEW9sOug=; b=EddtMNlW9dIE3gH+2hftDtsyZtqoyqBiIWTBrBhSfc+LhrJPzRsBpxgwzo1rEiEB+j pbsxgnK5dgwWaoxKU33QcMxGWj+F3wJWs9UWI19TZGR1DPlTWNhRbTGJQi1J6c6InSJV TPyneTSPlzSt7F54wsPVJTqtWKzA8w/+SIKsoFfXoDfw4jvQP6/Z649B3vKVd/Nt7x9p 8eYTTcJZnfOxFwgpbWcfXA5KU6Yck29S+TZ8rpQfaYSP/9SHGCS7101K2G3w5CrK8Ddt nj4/KhHyiv/iiwfwesUhfbLe/7zUwmA/YtuAHADrKzHGEy/PgbHQ9fBd3vUUbRJjLxup DfnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aieYt6nI; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n18si10123276pfj.58.2018.03.05.03.45.59 for ; Mon, 05 Mar 2018 03:45:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aieYt6nI; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934129AbeCELp6 (ORCPT ); Mon, 5 Mar 2018 06:45:58 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:43489 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933014AbeCELp5 (ORCPT ); Mon, 5 Mar 2018 06:45:57 -0500 Received: by mail-pf0-f195.google.com with SMTP id j2so4919771pff.10; Mon, 05 Mar 2018 03:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=24TQzi9WQJT2qgpnJi14Nfcb5RYYPt/8QvICQblqLcg=; b=aieYt6nIt++op5SlkH0OZiKvUBNq8ASNqtBkx7B4U6NXEfxP6QsIMrO6QeGi2smdkD 6Gt7FnX8PfhyUsf1q44++DYgEsPHiJH4p+eFKEZ57dgR04lqJfPMaHTTOBwmHEHm6mYF im4aT85NXgW4ROkVczefr+MEU6pQ6i20cJHC0cVxaZpcmGeXcF1Xg1AvIiThvL3OJAHU NuEac9kHVRdvVru52laE/dCA5CxJ+tci4uOtHdApVCizWi87IIIXdxlnZJciLzLbabrE TCSrOF/d/cpmF1B8eIakapdpI8omByl5FWjEi3JLqSx+EL7P2LM3C1LyDLygGzv8gkfv x9gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=24TQzi9WQJT2qgpnJi14Nfcb5RYYPt/8QvICQblqLcg=; b=LoOZKfTB4pDurRMFnvK4Mg135oB6n2qrVfiEZ+/mdzxOGqMeVNBIaoEx8jiPnF/uex 5l2K7p6NP37LIFR1Iw8T+V7Yf9gbhAEnXnxqxEwm6XRjIAKJjkxvG8o+Dr6I9WeMPwUh BO9uXxUpMyzSMv+ZN1iWTdrfXR1mAlpAo8Nh4N378++uU1k6y6aamhlmdUfeJuqdXKW5 X316g+tg4txwne0opa9ViusemShN0K+/TGn/9bkpbxg93souV8csPRV7znF+KN5wIfJa +DnodaJ+9UGo/kYhXhovtrSTwK/6e+kfWsrzs+eoGzrl6xZuUCpLbFtke+iB9I7rVVfq te+w== X-Gm-Message-State: APf1xPDDWILexGozrBiBu64R/0KC6hpjTjvKnFvfrJUuGw35AztzRUG6 WqZkmMnChRXTBI1v+qi8DIY= X-Received: by 10.99.1.148 with SMTP id 142mr12345368pgb.24.1520250356724; Mon, 05 Mar 2018 03:45:56 -0800 (PST) Received: from aurora.jms.id.au ([45.124.203.19]) by smtp.gmail.com with ESMTPSA id a67sm20754179pgc.6.2018.03.05.03.45.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Mar 2018 03:45:55 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Mon, 05 Mar 2018 22:15:48 +1030 From: Joel Stanley To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Marcus Folkesson Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tomer Maimon , Avi Fishman , Brendan Higgins Subject: [PATCH v2 0/2] watchdog: Add Nuvoton NPCM (Poleg) driver Date: Mon, 5 Mar 2018 22:15:39 +1030 Message-Id: <20180305114541.9917-1-joel@jms.id.au> X-Mailer: git-send-email 2.15.1 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org v2: Address comments from Guenter and Marcus This is a driver for the Poleg board that is in the process of being upstreamed. I have tested it on an evaluation board. The watchdog is a single register inside of the timer IP. This made me think about how to describe the device tree bindings for a while, but after some discussion I settled on describing the watchdog separately, and giving it's own compatible string, and it's own driver. The timer is being reviewed over here: https://lkml.org/lkml/2018/2/26/492 Joel Stanley (2): dt-bindings: watchdog: Add Nuvoton NPCM description watchdog: Add Nuvoton NPCM watchdog driver .../bindings/watchdog/nuvoton,npcm-wdt.txt | 28 +++ drivers/watchdog/Kconfig | 11 + drivers/watchdog/Makefile | 1 + drivers/watchdog/npcm_wdt.c | 230 +++++++++++++++++++++ 4 files changed, 270 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt create mode 100644 drivers/watchdog/npcm_wdt.c -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html