From patchwork Wed Oct 2 07:35:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 11170583 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DAFF21709 for ; Wed, 2 Oct 2019 07:35:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE91E222C3 for ; Wed, 2 Oct 2019 07:35:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="gYl1rjWw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726476AbfJBHf2 (ORCPT ); Wed, 2 Oct 2019 03:35:28 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:43762 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726043AbfJBHf2 (ORCPT ); Wed, 2 Oct 2019 03:35:28 -0400 Received-SPF: Pass (esa1.microchip.iphmx.com: domain of Eugen.Hristev@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa1.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="Eugen.Hristev@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa1.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa1.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa1.microchip.iphmx.com; spf=Pass smtp.mailfrom=Eugen.Hristev@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: /xg1L3Wh0k4H4PPfmi+kLIL0EM1rg1ieWWmHZdbfS9NaSOfNEz7dOjIgvVEstYK1IYfHRVWfFt SxuRRMmUxzv2BYCtMo5Op/mmfLOFIK/XfKaJ8AdUWTY/3Kjs+A16SizI+ZIi9+Yj162mdQ691+ pPb7z21M4wgYixndZeC3GELZUeAmyh2kMX3Y3hCKpwQVXF1QWbwIgrxISj6mtHKypNt+Z2MNSQ AxnFrF36zuD1KaDbprWCKDrRF0vBRmdymOxIGNHnflF7TJPWMwv9lV7w12PFNph9x/N7fKvHqD uSs= X-IronPort-AV: E=Sophos;i="5.64,573,1559545200"; d="scan'208";a="52728840" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Oct 2019 00:35:26 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 2 Oct 2019 00:35:25 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 2 Oct 2019 00:35:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jr0MJK6Gu5exYzr2SY7grWohEe6Y4OxELj4uECQZjKqvl3mTcOv4GA1wNQ5v9M2A5xwDOh0NwBGY2BM1f2Cgh3HPqH2ST2aFPp3yBivwbbcTn4ctcnxlfLSn9wpsFvUAyjOUpe1hxU3UVHw+3kVvRTd6I7L+TfnHqEYIRoqndc6YopLkIVfHTDSEImjg+i6gsbeBFrEv2wKgW4LFmE6wHYV1rfdh1jy3kgwKWzmWV9URJvLnUrAhdv8Xsy3ceWjr3ML4fuv6O+608E4m2jao+mPAN4mJf8eV5VxfgZIndiwPVaRU4eFujOTI6RwUW0RZ5G2jBhDiT1zJs7WCxAXpaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B1oEQ9DkwGP3L3Tnm6ZiBTq3qAGN+yU6qYIqIjhyaqo=; b=JqD33Qa6+flG99r5cVSykoBeejQwEp/FE9vufy0WTpjzYqrMkGum8cgXJlCAwgwF2HwkgqhBJBDu9tw18+40dXoavCqCCub0PkLkT8FXoExow5iQiAEtYBoIS1vR0Z6ktJv1yVs5HcoE1ZZ58Kicm80BqIsAZpmgelDnf0efoFSE59WXuTKi7ceMBFm9PTQOilU9v7LJ7kJIgqxyuggphFi7tYTfvaOR9sUxLlLd0r0nBxMuuGdHPulL/Nc9veum2ag7lT7x8tzyb7jigC/Om7ATmHpK9dU3/yQmUXzhAQqpcvHOLo/QCde+2f5egvQ06X1c7bBzI5PUzd10Ia2z+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B1oEQ9DkwGP3L3Tnm6ZiBTq3qAGN+yU6qYIqIjhyaqo=; b=gYl1rjWw07oKkET8dsB8SUXMfaK02VtXtY6v0v7LE+u92Abq34KHAlDJPhaqbDRsj6i/a7/Gq5gKpVI8qRoWsjufOBnBf2CereSTcJWrqGGh6lGx7HckyEe5P9v8FH2rTlMvZ+a1lQYS7Lb+Ik0hQMtcbOt1oqOLIHc/ZRhn3d0= Received: from DM5PR11MB1242.namprd11.prod.outlook.com (10.168.108.8) by DM5PR11MB1434.namprd11.prod.outlook.com (10.172.36.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Wed, 2 Oct 2019 07:35:23 +0000 Received: from DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::b125:76c1:c9b1:34f4]) by DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::b125:76c1:c9b1:34f4%10]) with mapi id 15.20.2305.023; Wed, 2 Oct 2019 07:35:23 +0000 From: To: , , , , , , CC: , , Subject: [PATCH 1/3] dt-bindings: watchdog: sam9x60_wdt: add bindings Thread-Topic: [PATCH 1/3] dt-bindings: watchdog: sam9x60_wdt: add bindings Thread-Index: AQHVePPzWPdzlzB6XEGHjkU1SLbB6g== Date: Wed, 2 Oct 2019 07:35:23 +0000 Message-ID: <1570001371-8174-1-git-send-email-eugen.hristev@microchip.com> Accept-Language: en-US, ro-RO Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0401CA0003.eurprd04.prod.outlook.com (2603:10a6:800:4a::13) To DM5PR11MB1242.namprd11.prod.outlook.com (2603:10b6:3:14::8) x-mailer: git-send-email 2.7.4 x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 711fcff9-eab6-4d74-a8f1-08d7470b160b x-ms-traffictypediagnostic: DM5PR11MB1434: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0178184651 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(376002)(396003)(366004)(136003)(199004)(189003)(3846002)(66066001)(7736002)(6116002)(6486002)(256004)(2201001)(25786009)(305945005)(26005)(36756003)(2501003)(486006)(86362001)(8936002)(6436002)(186003)(2616005)(476003)(81166006)(81156014)(71190400001)(71200400001)(99286004)(110136005)(316002)(102836004)(8676002)(2906002)(5660300002)(66476007)(6512007)(64756008)(66446008)(66556008)(54906003)(66946007)(478600001)(107886003)(4326008)(14454004)(6506007)(386003)(50226002)(52116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR11MB1434;H:DM5PR11MB1242.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: l4YVG23j1Zq6oh1G92jLZmNRJHLPdXNJHZ/GDTs6ekW6xpm/cBr3wMGtEpJWT0/AQ+a761imRBrpmpv85aPLGWL7phRrPruyWu1FHu9xYNJeRKmKBe3myY2ayQQhCZSft+LzNuZ0LKuuF+sPFQRt25FQUT1CCKArVQeAn58pXw8v4gdXTJc/4CVghnrDakOxdZQZT0KS3nf331g4zBZLc9MLNmDRRZoVlJm+4lrEP975vZmsiX7765ZzDCnfrFuOfmLYksM8uWnpze7bbCIaRdtpSF4y8hWKU/UAxtkjp5QCS6A7lFdE6BOShKOCaG1+U3J4X0t0JJBhuQR1RtVAQGuMzqmTqVLuTfc/1MBuG5M83RszvWYjH8zqLcjg2k7iMkhyn/Byd+lvEO/UYhp65wODnj7djaJIArWfW7mTb8g= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 711fcff9-eab6-4d74-a8f1-08d7470b160b X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2019 07:35:23.8488 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HdOF6vDe94ktP5Mcs2MEpDZni3exfyhfV+/K2x2Gyos523CRh81dMruVztjG6Jermhone4fdKdRaFU8ODwh2sT6n7F1lMc9/+iZyQDn5u4M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1434 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org From: Eugen Hristev Add bindings for Microchip SAM9X60 Watchdog Timer It has the same bindings as Documentation/devicetree/bindings/watchdog/atmel-sama5d4-wdt.txt except the compatible. Signed-off-by: Eugen Hristev --- .../devicetree/bindings/watchdog/sam9x60-wdt.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/sam9x60-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/sam9x60-wdt.txt b/Documentation/devicetree/bindings/watchdog/sam9x60-wdt.txt new file mode 100644 index 00000000..74b4e2d --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/sam9x60-wdt.txt @@ -0,0 +1,34 @@ +* Microchip SAM9X60 Watchdog Timer (WDT) Controller + +Required properties: +- compatible: "microchip,sam9x60-wdt" +- reg: base physical address and length of memory mapped region. + +Optional properties: +- timeout-sec: watchdog timeout value (in seconds). +- interrupts: interrupt number to the CPU. +- atmel,watchdog-type: should be "hardware" or "software". + "hardware": enable watchdog fault reset. A watchdog fault triggers + watchdog reset. + "software": enable watchdog fault interrupt. A watchdog fault asserts + watchdog interrupt. +- atmel,idle-halt: present if you want to stop the watchdog when the CPU is + in idle state. + CAUTION: This property should be used with care, it actually makes the + watchdog not counting when the CPU is in idle state, therefore the + watchdog reset time depends on mean CPU usage and will not reset at all + if the CPU stop working while it is in idle state, which is probably + not what you want. +- atmel,dbg-halt: present if you want to stop the watchdog when the CPU is + in debug state. + +Example: + watchdog@ffffff80 { + compatible = "microchip,sam9x60-wdt"; + reg = <0xffffff80 0x24>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 5>; + timeout-sec = <10>; + atmel,watchdog-type = "hardware"; + atmel,dbg-halt; + atmel,idle-halt; + }; From patchwork Wed Oct 2 07:35:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 11170581 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BCC02112B for ; Wed, 2 Oct 2019 07:35:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D784222CB for ; Wed, 2 Oct 2019 07:35:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="eSVcxD+B" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726707AbfJBHfa (ORCPT ); Wed, 2 Oct 2019 03:35:30 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:51916 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726043AbfJBHf3 (ORCPT ); Wed, 2 Oct 2019 03:35:29 -0400 Received-SPF: Pass (esa6.microchip.iphmx.com: domain of Eugen.Hristev@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="Eugen.Hristev@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa6.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa6.microchip.iphmx.com; spf=Pass smtp.mailfrom=Eugen.Hristev@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: GmVaz8JCo8Ek6wEL2YZuaA1Cb5HINR8S8yhsduACd5SqUcnE8uoLmo6IP75ZOGvPjL9+pgecxL Gc3xJaBO8//tDOtE6QJaV2DjeWw79k6y4y5X+NnUEEvfEwqKo2hAoGQOastM3GvcsQQOiWIGxq C4bcpEDmC/uB1kVD50gwCMrYOT11F9SwXiUzPUdw+nZLT0k1TJVGkgAnb+gRmGBViOJFgYVSSc +glMgi4RGR203P4IkKWSrKIWyWFbr2/kN4A4KGsyLap/alAjWC6NIzOA2j+H8wvufqandyk2J+ +iA= X-IronPort-AV: E=Sophos;i="5.64,573,1559545200"; d="scan'208";a="48456633" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Oct 2019 00:35:28 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 2 Oct 2019 00:35:27 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 2 Oct 2019 00:35:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=epUpH98SmvAwTSuKLHtCifhO29HYJiGRckFxy1htSTeikE3wzHidIsLmf+WsBNcON7EetqDzyWgcXg/OSt2Ux0RoUPMJD2RJYcB6oTZMnZcLAq+zQ6zVFvyTpP4BcTeQw6IOYHR3EztvKXL/ky/ehYMjQdYs8+lwIW3sM3av1FHT6Aq5FjrD6CaO1BoSywR1QZNTe3ZfQfyyvlMVok+8pSjNq7ctVdNJgDaE17WbkLd7zKkKglOI5krHOnfZyPbnKKIzg8lkHTGsF68Fy/gu3Ofy4JUETutH3iEyMZxb/AzZpPVWP/6H9NXlLww1AT937mHT80cQGxYdRrEGaTke5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H58Knc5bLxImgSogul4h7ahs2TxO49+5+Y6rfSKJHUg=; b=X29peGispt0kGCYctTMBAGZVzEbw4xSxUT3eaxeszSvopReaTkiduzvLp/FldwMscY0J9bsJQsFjhb6JHJPwILLIDEtTgGPXjJdTNxzUdacdvuUwJzfv+o9fkUz+vg8GfHtOgiY+aeLc1zgYGH/tfB1edgjX8y92nCyg5Zj5rMw3NyMx2gS9vPnWcP7GwKA7aF+pO3rzlevBHs2M3afXuYkAHEGx2zx6U6IYas0tGSTrJmiIx5uhyN9t0oeLlVzKkLh2lap8X4t/31H814e4qooJs7NQ7rDVU+aL32B2GHo7xn0xIBXcojk+vgPcbvKi99Zs8yAQRCpFJywVMp/pog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H58Knc5bLxImgSogul4h7ahs2TxO49+5+Y6rfSKJHUg=; b=eSVcxD+Bf2yVFrIXMkGveah/pfAvOxEto1Q7BnTDGv6czaMIvycm2/VXQEmS6EpzShOruDhuQekdMFCUZuUm+Mc3w+1EH2/pfjwjIubuUnX+V3UpqN5pKAycTDmb/ugiSvgPRJ7EQdfe65V2G4EFIbWv3g/xV3V6DfAdXAPJtR8= Received: from DM5PR11MB1242.namprd11.prod.outlook.com (10.168.108.8) by DM5PR11MB1434.namprd11.prod.outlook.com (10.172.36.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Wed, 2 Oct 2019 07:35:26 +0000 Received: from DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::b125:76c1:c9b1:34f4]) by DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::b125:76c1:c9b1:34f4%10]) with mapi id 15.20.2305.023; Wed, 2 Oct 2019 07:35:26 +0000 From: To: , , , , , , CC: , , Subject: [PATCH 2/3] watchdog: sam9x60_wdt: introduce sam9x60 watchdog timer driver Thread-Topic: [PATCH 2/3] watchdog: sam9x60_wdt: introduce sam9x60 watchdog timer driver Thread-Index: AQHVePP1mVCAVHNqYEKA4n6lujXEMQ== Date: Wed, 2 Oct 2019 07:35:26 +0000 Message-ID: <1570001371-8174-2-git-send-email-eugen.hristev@microchip.com> References: <1570001371-8174-1-git-send-email-eugen.hristev@microchip.com> In-Reply-To: <1570001371-8174-1-git-send-email-eugen.hristev@microchip.com> Accept-Language: en-US, ro-RO Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0401CA0003.eurprd04.prod.outlook.com (2603:10a6:800:4a::13) To DM5PR11MB1242.namprd11.prod.outlook.com (2603:10b6:3:14::8) x-mailer: git-send-email 2.7.4 x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5e1df5c1-4e4f-4df7-2d74-08d7470b178a x-ms-traffictypediagnostic: DM5PR11MB1434: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-forefront-prvs: 0178184651 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(376002)(396003)(366004)(136003)(199004)(189003)(3846002)(66066001)(7736002)(6116002)(6486002)(256004)(14444005)(2201001)(25786009)(305945005)(26005)(36756003)(2501003)(486006)(86362001)(8936002)(446003)(6436002)(11346002)(186003)(2616005)(476003)(81166006)(81156014)(71190400001)(71200400001)(99286004)(110136005)(316002)(102836004)(8676002)(2906002)(5660300002)(66476007)(6512007)(64756008)(66446008)(66556008)(54906003)(66946007)(478600001)(107886003)(30864003)(4326008)(76176011)(14454004)(6506007)(386003)(50226002)(52116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR11MB1434;H:DM5PR11MB1242.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MuZRZki8seKVkJQPx3rxZ/nxYuqoEwKwZEh2Tgu5jVHb4BEg+Z5Jjc+mhTSPWkVTgS8IG6QT1bvetUP5n7TYvvHatfi1KM9CnK9Xw5IpQiF1EEBEM9ZjWUckT9rVmRAlcv+5J+9BkJCZVKXnXQA2a+HldA+Ei2wTiqvHbIQVSKgFrjaI3yilcOvtH9NeuqbnWhT5jNBbEcf5U1gXc/fkESsD2T+TMtAQz241PvG2C/DUGrPu1H8/NM0kxvbXtGh9uguu6YSBQdCPcO2u7X6gh4/IMK6pqezPYUP8xhyMdDi4CIXytMUuvjPgiH4AswJTwWE36/OSzmbdX/vW8xMfprpOn9spbW0xQFlEYbn0irKPIBa8B+ldsi7unOjjJvqLHE3RzP34gHf2ggulbrAqQOqH14pBY/7NSHWR16TVWhg= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5e1df5c1-4e4f-4df7-2d74-08d7470b178a X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2019 07:35:26.3657 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: l/X6Nk9G+6wUh5mAhhUH5MK8eYSgiS2fWTR3HDdVbi5coB7DcgUYvaJwu5JC9/MlGe5VTLaWH2ik0B3AkEeaKMN9P8dovmeQ0sOxpQ/0b4c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1434 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org From: Eugen Hristev This is the driver for SAM9X60 watchdog timer. The offered functionality is the same as sama5d4_wdt. The difference comes in register map, way to configure the timeout and interrupts. Developed starting from sama5d4_wdt.c Signed-off-by: Eugen Hristev --- drivers/watchdog/Kconfig | 9 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/sam9x60_wdt.c | 335 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 345 insertions(+) create mode 100644 drivers/watchdog/sam9x60_wdt.c diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 58e7c10..3562e26 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -416,6 +416,15 @@ config SAMA5D4_WATCHDOG Its Watchdog Timer Mode Register can be written more than once. This will reboot your system when the timeout is reached. +config SAM9X60_WATCHDOG + tristate "Microchip SAM9X60 Watchdog Timer" + depends on ARCH_AT91 || COMPILE_TEST + select WATCHDOG_CORE + help + Microchip SAM9X60 watchdog timer is embedded into SAM9X60 chips. + Its Watchdog Timer Mode Register can be written more than once. + This will reboot your system when the timeout is reached. + config CADENCE_WATCHDOG tristate "Cadence Watchdog Timer" depends on HAS_IOMEM diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile index 2ee352b..93ba599 100644 --- a/drivers/watchdog/Makefile +++ b/drivers/watchdog/Makefile @@ -52,6 +52,7 @@ obj-$(CONFIG_IXP4XX_WATCHDOG) += ixp4xx_wdt.o obj-$(CONFIG_S3C2410_WATCHDOG) += s3c2410_wdt.o obj-$(CONFIG_SA1100_WATCHDOG) += sa1100_wdt.o obj-$(CONFIG_SAMA5D4_WATCHDOG) += sama5d4_wdt.o +obj-$(CONFIG_SAM9X60_WATCHDOG) += sam9x60_wdt.o obj-$(CONFIG_DW_WATCHDOG) += dw_wdt.o obj-$(CONFIG_EP93XX_WATCHDOG) += ep93xx_wdt.o obj-$(CONFIG_PNX4008_WATCHDOG) += pnx4008_wdt.o diff --git a/drivers/watchdog/sam9x60_wdt.c b/drivers/watchdog/sam9x60_wdt.c new file mode 100644 index 00000000..f612230 --- /dev/null +++ b/drivers/watchdog/sam9x60_wdt.c @@ -0,0 +1,335 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Driver for Microchip SAM9X60 Watchdog Timer + * + * Copyright (C) 2019 Microchip Technology, Inc. + * Author: Eugen Hristev + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define AT91_WDT_CR 0x00 /* Watchdog Control Register */ +#define AT91_WDT_WDRSTT BIT(0) /* Restart */ +#define AT91_WDT_KEY (0xa5 << 24) /* KEY Password */ + +#define AT91_WDT_MR 0x04 /* Watchdog Mode Register */ +#define AT91_WDT_PERIODRST BIT(4) /* Period Reset */ +#define AT91_WDT_RPTHRST BIT(5) /* Minimum Restart Period */ +#define AT91_WDT_WDDIS BIT(12) /* Disable */ +#define AT91_WDT_WDDBGHLT BIT(28) /* Debug Halt */ +#define AT91_WDT_WDIDLEHLT BIT(29) /* Idle Halt */ + +#define AT91_WDT_VR 0x08 /* Watchdog Timer Value Register */ + +#define AT91_WDT_WLR 0x0c +#define AT91_WDT_COUNTER (0xfff << 0) /* Watchdog Period Value */ +#define AT91_WDT_SET_COUNTER(x) ((x) & AT91_WDT_COUNTER) + +#define AT91_WDT_IER 0x14 /* Interrupt Enable Register */ +#define AT91_WDT_PERINT BIT(0) /* Period Interrupt Enable */ +#define AT91_WDT_IDR 0x18 /* Interrupt Disable Register */ +#define AT91_WDT_ISR 0x1c /* Interrupt Status Register */ + +/* minimum and maximum watchdog timeout, in seconds */ +#define MIN_WDT_TIMEOUT 1 +#define MAX_WDT_TIMEOUT 16 +#define WDT_DEFAULT_TIMEOUT MAX_WDT_TIMEOUT + +#define WDT_SEC2TICKS(s) ((s) ? (((s) << 8) - 1) : 0) + +struct sam9x60_wdt { + struct watchdog_device wdd; + void __iomem *reg_base; + u32 mr; + u32 ir; + unsigned long last_ping; +}; + +static int wdt_timeout; +static bool nowayout = WATCHDOG_NOWAYOUT; + +module_param(wdt_timeout, int, 0); +MODULE_PARM_DESC(wdt_timeout, + "Watchdog timeout in seconds. (default = " + __MODULE_STRING(WDT_DEFAULT_TIMEOUT) ")"); + +module_param(nowayout, bool, 0); +MODULE_PARM_DESC(nowayout, + "Watchdog cannot be stopped once started (default=" + __MODULE_STRING(WATCHDOG_NOWAYOUT) ")"); + +#define wdt_enabled (!(wdt->mr & AT91_WDT_WDDIS)) + +#define wdt_read(wdt, field) \ + readl_relaxed((wdt)->reg_base + (field)) + +/* 4 slow clock periods is 4/32768 = 122.07us*/ +#define WDT_DELAY usecs_to_jiffies(123) + +static void wdt_write(struct sam9x60_wdt *wdt, u32 field, u32 val) +{ + /* + * WDT_CR and WDT_MR must not be modified within three slow clock + * periods following a restart of the watchdog performed by a write + * access in WDT_CR. + */ + while (time_before(jiffies, wdt->last_ping + WDT_DELAY)) + usleep_range(30, 125); + writel_relaxed(val, wdt->reg_base + field); + wdt->last_ping = jiffies; +} + +static void wdt_write_nosleep(struct sam9x60_wdt *wdt, u32 field, u32 val) +{ + if (time_before(jiffies, wdt->last_ping + WDT_DELAY)) + usleep_range(123, 250); + writel_relaxed(val, wdt->reg_base + field); + wdt->last_ping = jiffies; +} + +static int sam9x60_wdt_start(struct watchdog_device *wdd) +{ + struct sam9x60_wdt *wdt = watchdog_get_drvdata(wdd); + + wdt->mr &= ~AT91_WDT_WDDIS; + wdt_write(wdt, AT91_WDT_MR, wdt->mr); + wdt_write_nosleep(wdt, AT91_WDT_IER, wdt->ir); + + return 0; +} + +static int sam9x60_wdt_stop(struct watchdog_device *wdd) +{ + struct sam9x60_wdt *wdt = watchdog_get_drvdata(wdd); + + wdt->mr |= AT91_WDT_WDDIS; + wdt_write(wdt, AT91_WDT_MR, wdt->mr); + wdt_write_nosleep(wdt, AT91_WDT_IDR, wdt->ir); + + return 0; +} + +static int sam9x60_wdt_ping(struct watchdog_device *wdd) +{ + struct sam9x60_wdt *wdt = watchdog_get_drvdata(wdd); + + wdt_write(wdt, AT91_WDT_CR, AT91_WDT_KEY | AT91_WDT_WDRSTT); + + return 0; +} + +static int sam9x60_wdt_set_timeout(struct watchdog_device *wdd, + unsigned int timeout) +{ + struct sam9x60_wdt *wdt = watchdog_get_drvdata(wdd); + + wdt_write(wdt, AT91_WDT_WLR, + AT91_WDT_SET_COUNTER(WDT_SEC2TICKS(timeout))); + + wdd->timeout = timeout; + + return 0; +} + +static const struct watchdog_info sam9x60_wdt_info = { + .options = WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE | WDIOF_KEEPALIVEPING, + .identity = "Microchip SAM9X60 Watchdog", +}; + +static const struct watchdog_ops sam9x60_wdt_ops = { + .owner = THIS_MODULE, + .start = sam9x60_wdt_start, + .stop = sam9x60_wdt_stop, + .ping = sam9x60_wdt_ping, + .set_timeout = sam9x60_wdt_set_timeout, +}; + +static irqreturn_t sam9x60_wdt_irq_handler(int irq, void *dev_id) +{ + struct sam9x60_wdt *wdt = platform_get_drvdata(dev_id); + + if (wdt_read(wdt, AT91_WDT_ISR)) { + pr_crit("Microchip Watchdog Software Reset\n"); + emergency_restart(); + pr_crit("Reboot didn't succeed\n"); + } + + return IRQ_HANDLED; +} + +static int of_sam9x60_wdt_init(struct device_node *np, struct sam9x60_wdt *wdt) +{ + const char *tmp; + + wdt->mr = AT91_WDT_WDDIS; + + if (!of_property_read_string(np, "atmel,watchdog-type", &tmp) && + !strcmp(tmp, "software")) + wdt->ir = AT91_WDT_PERINT; + else + wdt->mr |= AT91_WDT_PERIODRST; + + if (of_property_read_bool(np, "atmel,idle-halt")) + wdt->mr |= AT91_WDT_WDIDLEHLT; + + if (of_property_read_bool(np, "atmel,dbg-halt")) + wdt->mr |= AT91_WDT_WDDBGHLT; + + return 0; +} + +static int sam9x60_wdt_init(struct sam9x60_wdt *wdt) +{ + u32 reg; + /* + * When booting and resuming, the bootloader may have changed the + * watchdog configuration. + * If the watchdog is already running, we can safely update it. + * Else, we have to disable it properly. + */ + if (wdt_enabled) { + wdt_write_nosleep(wdt, AT91_WDT_MR, wdt->mr); + wdt_write_nosleep(wdt, AT91_WDT_IER, wdt->ir); + wdt_write(wdt, AT91_WDT_WLR, + AT91_WDT_SET_COUNTER(WDT_SEC2TICKS(WDT_DEFAULT_TIMEOUT))); + + } else { + reg = wdt_read(wdt, AT91_WDT_MR); + if (!(reg & AT91_WDT_WDDIS)) + wdt_write_nosleep(wdt, AT91_WDT_MR, + reg | AT91_WDT_WDDIS); + } + return 0; +} + +static int sam9x60_wdt_probe(struct platform_device *pdev) +{ + struct watchdog_device *wdd; + struct sam9x60_wdt *wdt; + struct resource *res; + void __iomem *regs; + u32 irq = 0; + int ret; + + wdt = devm_kzalloc(&pdev->dev, sizeof(*wdt), GFP_KERNEL); + if (!wdt) + return -ENOMEM; + + wdd = &wdt->wdd; + wdd->timeout = WDT_DEFAULT_TIMEOUT; + wdd->info = &sam9x60_wdt_info; + wdd->ops = &sam9x60_wdt_ops; + wdd->min_timeout = MIN_WDT_TIMEOUT; + wdd->max_timeout = MAX_WDT_TIMEOUT; + wdt->last_ping = jiffies; + + watchdog_set_drvdata(wdd, wdt); + + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + regs = devm_ioremap_resource(&pdev->dev, res); + if (IS_ERR(regs)) + return PTR_ERR(regs); + + wdt->reg_base = regs; + + irq = irq_of_parse_and_map(pdev->dev.of_node, 0); + if (!irq) + dev_warn(&pdev->dev, "failed to get IRQ from DT\n"); + + ret = of_sam9x60_wdt_init(pdev->dev.of_node, wdt); + if (ret) + return ret; + + if ((wdt->ir & AT91_WDT_PERINT) && irq) { + ret = devm_request_irq(&pdev->dev, irq, sam9x60_wdt_irq_handler, + IRQF_SHARED | IRQF_IRQPOLL | + IRQF_NO_SUSPEND, pdev->name, pdev); + if (ret) { + dev_err(&pdev->dev, + "cannot register interrupt handler\n"); + return ret; + } + } + + watchdog_init_timeout(wdd, wdt_timeout, &pdev->dev); + + ret = sam9x60_wdt_init(wdt); + if (ret) + return ret; + + watchdog_set_nowayout(wdd, nowayout); + + ret = watchdog_register_device(wdd); + if (ret) { + dev_err(&pdev->dev, "failed to register watchdog device\n"); + return ret; + } + + platform_set_drvdata(pdev, wdt); + + dev_info(&pdev->dev, "initialized (timeout = %d sec, nowayout = %d)\n", + wdd->timeout, nowayout); + + return 0; +} + +static int sam9x60_wdt_remove(struct platform_device *pdev) +{ + struct sam9x60_wdt *wdt = platform_get_drvdata(pdev); + + sam9x60_wdt_stop(&wdt->wdd); + + watchdog_unregister_device(&wdt->wdd); + + return 0; +} + +static const struct of_device_id sam9x60_wdt_of_match[] = { + { .compatible = "microchip,sam9x60-wdt", }, + { } +}; +MODULE_DEVICE_TABLE(of, sam9x60_wdt_of_match); + +#ifdef CONFIG_PM_SLEEP +static int sam9x60_wdt_resume(struct device *dev) +{ + struct sam9x60_wdt *wdt = dev_get_drvdata(dev); + + /* + * FIXME: writing MR also pings the watchdog which may not be desired. + * This should only be done when the registers are lost on suspend but + * there is no way to get this information right now. + */ + sam9x60_wdt_init(wdt); + + return 0; +} +#endif + +static SIMPLE_DEV_PM_OPS(sam9x60_wdt_pm_ops, NULL, + sam9x60_wdt_resume); + +static struct platform_driver sam9x60_wdt_driver = { + .probe = sam9x60_wdt_probe, + .remove = sam9x60_wdt_remove, + .driver = { + .name = "sam9x60_wdt", + .pm = &sam9x60_wdt_pm_ops, + .of_match_table = sam9x60_wdt_of_match, + } +}; +module_platform_driver(sam9x60_wdt_driver); + +MODULE_AUTHOR("Eugen Hristev"); +MODULE_DESCRIPTION("Microchip SAM9X60 Watchdog Timer driver"); +MODULE_LICENSE("GPL v2"); From patchwork Wed Oct 2 07:35:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 11170579 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DC4E31709 for ; Wed, 2 Oct 2019 07:35:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B0297222C3 for ; Wed, 2 Oct 2019 07:35:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="qXl5sW48" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726043AbfJBHfc (ORCPT ); Wed, 2 Oct 2019 03:35:32 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:35493 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726783AbfJBHfb (ORCPT ); Wed, 2 Oct 2019 03:35:31 -0400 Received-SPF: Pass (esa3.microchip.iphmx.com: domain of Eugen.Hristev@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa3.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="Eugen.Hristev@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa3.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa3.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa3.microchip.iphmx.com; spf=Pass smtp.mailfrom=Eugen.Hristev@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: aa1DexQTRdL3tB7NeCUumi0OAFRpJ9ADHZYx9lAivpsY49IqaCaAZWvwGJUgpxWL7v9foBA1F7 vVyhcVGtcWBoRPlxJ8nhjsXNLEeRKeP4pjOgks7YVO4+td9ragvR13Irm50fq5wXpeLxD1IaqB JxACpw1HeobaY7SePSqRlIuqQXrNk2bqux8I7Xwl8nQNKI8stGYEZpOrlUdJpxOiXBT6LLwEeA xTgM6kV8jj3DbCduqqodufFwYi2w4YeGWjKYVFwWFjEE4MyF81z8RfQ35lgSoUkMMdLizPWHo8 o3A= X-IronPort-AV: E=Sophos;i="5.64,573,1559545200"; d="scan'208";a="51365944" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Oct 2019 00:35:30 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 2 Oct 2019 00:35:30 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 2 Oct 2019 00:35:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JAnFpH+vQsagiDaApHfqVtEq44wOqKoAZ8xIzW8eIpE7cKJxrFSjRjSkwA7xeKavAqdYj1eLbY/bx1p5oMPPu6MqScW8B2/Ta0bNjxfo3dP3wtyHBugRErGOu3QWvveVIUp0OZpZtNgRlTuMBDLjLrNtcGoD7oMgQ7ePErp0st/7xYXOtH9upalV3w0Y13KtmVe/RJN/tgov5vofKk1dhch4CJQGst7ohYnPopovUeA001vga0QFCDZVgv9V/Tjav9NR/Wg21/+Z6J8IaC1n1XZJzGhOx9+kwX20hrW9h+r+++98t3pVNT0ObCj8BqGFJeEhRQqfBY+MGTBspMroOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KJXM5vKkXTG6tC7qRaXNz8/YKp/zNB8RAKvwokzWA4Q=; b=LnhfwMNVwczEUSRxxnFQ82OD8Lfvea+fnHsE78GgV2IUwK1AdMLZo7yAPnppSokasbDfv3z5WKI8QwABTTQQLfhwB+8+dcA5VH5T2/anjw8dbORjaiirIUh9UokNN3khsjIKs/wY3Ep2q8Z25YpKrl9/V+j5NzqWUHWbc98LGy5mKTNNByBQK0/6qLi2tQi6cw4O0dag2oaQyIjGCoesVtgMdoK+BHNM0Q9zScP0IEYjlmxRkWMlFmlzBQBL6exOzLKDPn/WHbjk+ziwxVahc4j8Z3/+iY7j93PSEt+yamnQrk4pQ0qb61MURNlyjOC24lbqeP5FQRciKOLikwbI4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KJXM5vKkXTG6tC7qRaXNz8/YKp/zNB8RAKvwokzWA4Q=; b=qXl5sW48Y4q5U7apiY2xBRph0/nVHrV8mdv4nmmMB0bP4Y5GKhsyECAbNqWMfJld8/QuOq5djojpy+G1tQL+nsyx9UKyLXHwc8Lg1DzufarVXb9/ahuZMUDCWCY1e8PXZhy0tEnouYaSZwQoox68ztmRGalf3THkdarMp+c3Ir8= Received: from DM5PR11MB1242.namprd11.prod.outlook.com (10.168.108.8) by DM5PR11MB1434.namprd11.prod.outlook.com (10.172.36.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Wed, 2 Oct 2019 07:35:29 +0000 Received: from DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::b125:76c1:c9b1:34f4]) by DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::b125:76c1:c9b1:34f4%10]) with mapi id 15.20.2305.023; Wed, 2 Oct 2019 07:35:29 +0000 From: To: , , , , , , CC: , , Subject: [PATCH 3/3] MAINTAINERS: add sam9x60_wdt Thread-Topic: [PATCH 3/3] MAINTAINERS: add sam9x60_wdt Thread-Index: AQHVePP29VASus7neUmCph57/u2WKA== Date: Wed, 2 Oct 2019 07:35:28 +0000 Message-ID: <1570001371-8174-3-git-send-email-eugen.hristev@microchip.com> References: <1570001371-8174-1-git-send-email-eugen.hristev@microchip.com> In-Reply-To: <1570001371-8174-1-git-send-email-eugen.hristev@microchip.com> Accept-Language: en-US, ro-RO Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0401CA0003.eurprd04.prod.outlook.com (2603:10a6:800:4a::13) To DM5PR11MB1242.namprd11.prod.outlook.com (2603:10b6:3:14::8) x-mailer: git-send-email 2.7.4 x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [94.177.32.156] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 907e01eb-0a13-496b-ba87-08d7470b190d x-ms-traffictypediagnostic: DM5PR11MB1434: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:361; x-forefront-prvs: 0178184651 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(376002)(396003)(366004)(136003)(199004)(189003)(3846002)(66066001)(7736002)(6116002)(6486002)(256004)(2201001)(25786009)(305945005)(26005)(36756003)(2501003)(486006)(86362001)(8936002)(446003)(6436002)(11346002)(186003)(2616005)(476003)(81166006)(81156014)(71190400001)(71200400001)(99286004)(110136005)(316002)(102836004)(8676002)(2906002)(5660300002)(66476007)(6512007)(64756008)(66446008)(66556008)(54906003)(66946007)(478600001)(107886003)(4744005)(4326008)(76176011)(14454004)(6506007)(386003)(50226002)(52116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR11MB1434;H:DM5PR11MB1242.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oAIquSHpyJdf2xEjKdQlsDVixRBvGFJy3dw+HrDvG6A3K60qa57ynahvUDpIzn5oeLHHjL2qySbSFI0uvLBxZLm+HTvrjRv8hRDdYGw9lDlIdlbj4A70xr5ITzE99Vv8VirXEkBfNhNO939fvSv8nH7Cs/DyVqDvC2Lm1iln8vDxTFBQT4ayy3lUVOHIRtt0KvcJlGigvihZ08rM4l3p1Xu62MqSvFey8U3ygYP9W8Y9G4Uf66ciFUcABrAMoV00c/HrwEQo6FXYEempujEvWeEWc7qMcClXxobSzCNB0iHpO51kVH9tuFGE74y9eTFv7YiNkgqm5WCn4GpAw9KOHJgVlDuwYbPQQJ3j7laKTyaRKIfdDnEOz92utsio1QjIs2YzgtL6IpD3RfPFi0dgmU4PJ5nR0k1OpXC/8MgtG3I= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 907e01eb-0a13-496b-ba87-08d7470b190d X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2019 07:35:29.0595 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: H3QqkLF3NwZ2XGZK0VfEFHsVRUr8WklUNtx8takuawV6uFFiaKlnS8Dxezolom5jxN7LlKemNE2Pv7XSFMR4ozlP6CBfSdeL5UVgUXiU4JY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1434 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org From: Eugen Hristev Add sam9x60_wdt watchdog driver to at91 soc support. Signed-off-by: Eugen Hristev --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 296de2b..109b030 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1972,6 +1972,7 @@ F: arch/arm/boot/dts/sama*.dtsi F: arch/arm/include/debug/at91.S F: drivers/memory/atmel* F: drivers/watchdog/sama5d4_wdt.c +F: drivers/watchdog/sam9x60_wdt.c X: drivers/input/touchscreen/atmel_mxt_ts.c X: drivers/net/wireless/atmel/