From patchwork Fri Mar 2 06:37:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 130483 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp938952lja; Thu, 1 Mar 2018 22:38:02 -0800 (PST) X-Google-Smtp-Source: AG47ELuNBhuL2qaR++1yg4LHw78v7rG4VcwVPOcmvzKcoda0YpT2JTw134eneN8sZi3iol0+BI9U X-Received: by 2002:a17:902:20e5:: with SMTP id v34-v6mr4269305plg.66.1519972681915; Thu, 01 Mar 2018 22:38:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519972681; cv=none; d=google.com; s=arc-20160816; b=rhjxvKtu4kVdhgJG6L4ybT6efu+/RMwYQg03u0YV/vIDCNdoZEbEp8x/ThKpNLChNm QzPRYEKUv1T2V81XgtnkKFUDL5k8/qmCpEh2zDZsDfFumkkYyZyrANlyCMUdutyPKWiu aGy45Bnm1T5j/xe3tuN4QiBHitJSljyvj2+CKE4tvc9jODAXOh6CQzgZ9eEx1l7O3VRn i3+mRz9yR9i7KUgOJNleNYtg0MDRNabx5BUKWkomChzR1AxCIZUuko9tn+gmz6uurF2c rGhePu2Xy/Ml7kXHJQlrypvxrByH4XsSML9bAtZd0fULOKt6vNHlE8GVG40VGB3lgP2h paIg== 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=LTasYpLAgFtvQUaF1kO/VvsvzvEBuYV2jyLJCCmFsA4=; b=mPuLQ2Xo1L7RmfV2pw7BzpCz/hRr/d77TM58cng1VKbqkA/IHGTLq/qzYTFyHfzRP7 W3q2u0PclrPtl4LucIIQsjfsyx34v6OW93jTLYkMnIGirr74aQFAK2ReVI9o4V2l+qyf ziCrRVUIF3NMQcopqwaP37ce8gJQ3NwqlW2bElZKoh/MBObHSS+6CuCaW3Z8WVHCsJJ8 VrZOxG6N4v7MXmuN9zcqdTw5UUy7clPwHchNU6LUCF3WL0Tc5Z1z3iAyHHG1Z9HBVV2O lPgV395hWwI4WE4hC2c9ydXFC4+s1sBHh8pmvqSLmx6wILkwJjBm8yy2HZKwrBA3GvQ9 jtzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FwaWgXRw; 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 l18si4341193pfi.300.2018.03.01.22.38.01 for ; Thu, 01 Mar 2018 22:38:01 -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=FwaWgXRw; 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 S1164740AbeCBGiB (ORCPT ); Fri, 2 Mar 2018 01:38:01 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34307 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164731AbeCBGh7 (ORCPT ); Fri, 2 Mar 2018 01:37:59 -0500 Received: by mail-pg0-f66.google.com with SMTP id m19so3394349pgn.1; Thu, 01 Mar 2018 22:37:59 -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=YceELqrV01SFi40/oTpznNAwNg895pR+g6YnPMTL1b8=; b=FwaWgXRwZeJj6wfuEjs2OmLxANpfDAx9LeuPK7AMKvsP8rkjZyZGcqhFmYoazHQ+U4 0iCMfPuJnZamO25ymnNU15v1EEDRqvUzcSBdcPRJwuT3/cNWFQIqeuvczxVXYRPEj4uG NmmCyWk1sXLEA8+IGKIu8lbS28FgSQ6naIb03R3IISGCxpMHlhs/Yv1SBDBw6uHQKG5I M2OQXQmKlp2QZCPSh5Emuu5rEu/lYsbH/FzqN4gOHN0Q5f6EcpdqzUFkKjHbK0SrlBj2 gSv8j4oi0fklHNIoxwcsjMfAKDfk+oC8Cirz2lapEU4JxY5T4bXk7lVhzj8Dj8DOi69f wbbg== 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=YceELqrV01SFi40/oTpznNAwNg895pR+g6YnPMTL1b8=; b=KXty27cb742VeRBMk51YpwTLBdHALBpg/PZ9mtoi8BtA7J34Bw2kXWNw/STQjC54Y4 kLDqFY6n2GetM7f28sCEBF6wfULqp37eukqy7dkHnKj5jMjzfcxfR8YJ6MvTWpNcNT9g Ylm7u3zsVGbS1r2HxoJypKYmGVf47L/61xwNfy51lXiTftrg+4cMtUeq4qHHQG8PABrN bo80v7Iq79q9XQvJtDdlMoYH1GKqvkjdzIboscrVxmhUlfokYhK5mhI7bhoUikU0h1z3 rpnzW4h906GjAmvjncwaK+pRBvSjRSTsnliz6jEbAA34kAJTpMCD9X0hTbtZint5k2Qz QsvA== X-Gm-Message-State: APf1xPBm1VbkvNA3uR13X5sC+xHTRABKf3BgGDiqZHZ4dhCXJiEkf+Pg Tv8+BMXuYJ8Of5UHFc94an0= X-Received: by 10.98.80.15 with SMTP id e15mr4582285pfb.90.1519972679160; Thu, 01 Mar 2018 22:37:59 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id y18sm10593503pfl.146.2018.03.01.22.37.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 22:37:58 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 02 Mar 2018 17:07:50 +1030 From: Joel Stanley To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tomer Maimon , Avi Fishman , Brendan Higgins Subject: [PATCH 0/2] watchdog: Add Nuvoton NPCM (Poleg) driver Date: Fri, 2 Mar 2018 17:07:44 +1030 Message-Id: <20180302063746.10993-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 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 | 25 +++ drivers/watchdog/Kconfig | 11 + drivers/watchdog/Makefile | 1 + drivers/watchdog/npcm_wdt.c | 223 +++++++++++++++++++++ 4 files changed, 260 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