Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp335207ybl; Wed, 21 Aug 2019 20:27:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+5v6R5VaHvwEoV8ilyKRmNbrNbM0Nm/7jhgp5dBuD5jb++CIhGfZQn/moxFJI/O2EztD5 X-Received: by 2002:a63:b919:: with SMTP id z25mr31407657pge.201.1566444461093; Wed, 21 Aug 2019 20:27:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566444461; cv=pass; d=google.com; s=arc-20160816; b=LHZsBITvWWs1WZ7QSeCuUj++lqs/ZgdODWkHzwXW8NM2zIp2f3VDMuQZFuxMM47khu iidW3aXU/9s7NHixc29icw+ChAJMsTR6oCWXh3jyULsPeqnNUz0Q8aVe1IdvGnRx7GYF BZxJBYcY8974gD70SpqpK8sZjqMutuPoy54D8+h+uFwtYcRYmJPDJwPRUZ2rYkyF2vFO QGg8UgSRnAnqQiFNvCgoBAbZt4wPNix5b3JlA7XS1/AgqTFm2wnBpYU8hDy0s6Yb+AtK zhKNhUkFIHTiedZshw5k369fXp+Tu7ig7Jo2z2JVnjgjlenhVQ7SJCpsY5//hRa6tMlq Cr0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=rpIXhoniv0nFGY0SDdvEj2Z5xLkpvTcjoXYdLfJpzMo=; b=c6z1VHZRfyWjV9pJnmtXDvbShg678TcLzFwP4KHiyR0ZH5d9vQQ+NnSVO0Quw8wihx oc6OHYyiAKCXNGoSgXxmkBJ/S+DsuJslwo3hsAjmnm4EcQtBzSOOPFf/oYn/3ENmXRTH nQmaAoJbJPEemxwcntY3SuACAl3g64LgMinjMEtq/buHoRsVOnLiI9GM1aAMwHGJVKD9 JH67J9PIfLkkX30mUfzSg4BdcD7FZJj+EOyPaWvbfe9IZIFhs5pSStHOii3KBT8L8xrj 2gZK5PSdqllgxDYKwqHOaaO0OZS98nzP6nBKthTvdLK0E82th8bdgH4SWjFUQ2fHY6+P xxJQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=BlGZQK+f; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si16544541pld.391.2019.08.21.20.27.25; Wed, 21 Aug 2019 20:27:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=BlGZQK+f; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730352AbfHVCoX (ORCPT + 99 others); Wed, 21 Aug 2019 22:44:23 -0400 Received: from mail-eopbgr10081.outbound.protection.outlook.com ([40.107.1.81]:2272 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726998AbfHVCoW (ORCPT ); Wed, 21 Aug 2019 22:44:22 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z4IIaHdglxP7AaKmYJ5TA8KS4u1cne1oeoLGPAnfwif76Y7D8UpP55+22Frkh/A6Jd30cbsfsRNL0xqXW+8Q56yZNoQ/itzbSl07f96WxteSRm3ZYYA7l9ObVIsi23eZ5NIri19PmqzKiyY1ueb3dHn7Nb4TlbpuXAdo1i4p2hb0bbKkvmvmvO95eeu4ttKYiw6XdPvB9riY5GaJptCoQBKB7V2+lFLFmUNtiNkcNkbLlUDCcUqQNMEQLK1/zsNeIlvCcNxFO0bFaD3hHatHkt8ohyiZuq78emt0sn529ZTyPnOtzOZ8GxPva9K/sQQK59pr8HVtMRxxTUPXCsmPiw== 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=rpIXhoniv0nFGY0SDdvEj2Z5xLkpvTcjoXYdLfJpzMo=; b=hGNx8+9Qhjy2gfkXhLIfuM5304GaO81dAlphA9c5zVsUAAp8fpIebr2ZeYZZz07psQpllRNNrgHBSb+w0Bim61C358SjKYZr1WYMdQgUHsVQ0ejyByVEV0Y1Lv/BSx8ySB3Q479QJBQk0PMoQDrcPOVHNZJ+5tbeyo2LNx/cFU6fCdMIbXjRIOWUgOtU8ZUH0FHpXrPPIcjt01iubT51ZVKf7ks45IYRqGiwLkNvioHz0OyJBF5iSM8QO0tD3LdRb6hELSXDvgrWzWcSJaL78YKtxVBcTHOcJOHVU+5oiAU5ABfJkjV7l2HhLX4qG/YcIpbiyxvr0Dkj7mFxloONaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rpIXhoniv0nFGY0SDdvEj2Z5xLkpvTcjoXYdLfJpzMo=; b=BlGZQK+f1s6z5OMIVy7ZsvPY/VXvzEXHDWbfCxg01H/HBSlczx6RBjoq3RyUCcQiyHqVqSJlAFotYzwuvIT270jTzgqYhVlpvPzb8ezSNm71lyH3j5s2RQKz2kNdY1OyflfF2WhNS1ORPCyiVFL63px1B+j/wU4goyqeFBBrXoE= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3643.eurprd04.prod.outlook.com (52.134.66.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Thu, 22 Aug 2019 02:44:14 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::7cdf:bddc:212c:f77e]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::7cdf:bddc:212c:f77e%4]) with mapi id 15.20.2178.020; Thu, 22 Aug 2019 02:44:14 +0000 From: Anson Huang To: Guenter Roeck CC: "wim@linux-watchdog.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux@armlinux.org.uk" , "otavio@ossystems.com.br" , Leonard Crestez , "schnitzeltony@gmail.com" , "u.kleine-koenig@pengutronix.de" , "jan.tuerk@emtrion.com" , "linux-watchdog@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH V3 2/4] watchdog: Add i.MX7ULP watchdog support Thread-Topic: [PATCH V3 2/4] watchdog: Add i.MX7ULP watchdog support Thread-Index: AQHVV8flFE81ox6lbkO7il6sJocNbacFpcWAgADOJfA= Date: Thu, 22 Aug 2019 02:44:14 +0000 Message-ID: References: <1566353278-1884-1-git-send-email-Anson.Huang@nxp.com> <1566353278-1884-2-git-send-email-Anson.Huang@nxp.com> <20190821141355.GA10463@roeck-us.net> In-Reply-To: <20190821141355.GA10463@roeck-us.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 78436b15-91cb-4b02-95cc-08d726aa9ea4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3643; x-ms-traffictypediagnostic: DB3PR0402MB3643: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 01371B902F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(376002)(396003)(346002)(366004)(39860400002)(189003)(199004)(14444005)(256004)(9686003)(26005)(54906003)(186003)(316002)(55016002)(52536014)(5660300002)(33656002)(86362001)(102836004)(99286004)(30864003)(7696005)(6916009)(25786009)(53936002)(76176011)(229853002)(3846002)(6506007)(478600001)(4326008)(6116002)(66446008)(64756008)(66556008)(66476007)(6436002)(2906002)(14454004)(476003)(7736002)(11346002)(66946007)(305945005)(44832011)(7416002)(81156014)(71190400001)(71200400001)(8936002)(66066001)(486006)(81166006)(76116006)(6246003)(8676002)(446003)(74316002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3643;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: dkWfc6wiY978nzHDTCJwAYcBBvKUTuByD0tTuUYDPcv9uB2hp9ibp4480G9VnkJtBpzFIvBnCz8jSaJA4wl9CceTnTdG/LJMf4diYTlJPe5FMt/p9LYZClfHd6mntF8XT6y39IopwZVyVwX7Huc3aX+X5v0affYOX0VrsbPEmrcOtea3WigJ/EkeURxgxvYF3NuZunDfx2RuLivutOkulnTM2wk+v5E13rWDuxoi7mWyKfyi/psezrWcxluXOvwr04GjJX2+8KI+871CTlg1vl/TBfPPKr/mk5/a9IgD2ingyScbL2GJ/zJdMS9Djxr+PR8+xlqUrTUJKpZY+4qWfVeTLgrw+4YBaoQ2ZZPj8HGD/Pem/cLC+R+4ewQfH8a1XPfKzBNgVODMnSkhXYntcnkamqVvM/+vONUfR/GrcLk= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78436b15-91cb-4b02-95cc-08d726aa9ea4 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Aug 2019 02:44:14.3337 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UVDxsqVkHyE3X5cTntcegB4CFQdmEMoz7eIaX76S8yutAE/woYYJ3yrdLS4NvHAcBfOrF6tlm+T7gyTfDNtMOA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3643 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEd1ZW50ZXINCg0KPiBPbiBUdWUsIEF1ZyAyMCwgMjAxOSBhdCAxMDowNzo1NlBNIC0wNDAw LCBBbnNvbiBIdWFuZyB3cm90ZToNCj4gPiBUaGUgaS5NWDdVTFAgV2F0Y2hkb2cgVGltZXIgKFdE T0cpIG1vZHVsZSBpcyBhbiBpbmRlcGVuZGVudCB0aW1lcg0KPiB0aGF0DQo+ID4gaXMgY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