Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp183085img; Wed, 20 Mar 2019 17:24:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIXZMIqLWBj5nTFgcAhz0lgE3DlykRB2pDg0bGr2m3UFVcjdmThqyT7YtEGHEkV8JwFhQ+ X-Received: by 2002:a63:5b64:: with SMTP id l36mr766515pgm.182.1553127850412; Wed, 20 Mar 2019 17:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553127850; cv=none; d=google.com; s=arc-20160816; b=O5GVviSHOi6s42Fcy5romfvNQ/kwmBSD9COo7EUE8SczFMYNqZ0VHluRecURRpIHrX PaDSeD3vmOWtI1Y4K77NcXa7Df4kvD1XbhK6pX5KRpaF8phUPnh5P6nffpcfFwN+u7sB K3AcNJ5nxldP6w0vZd6ZUYOPUMExuGGEvklzCmz7efwQ39Nz/8sPbnOSLRdnTbF+OyjH qW89zrIiOGfwtjPw7YqdOpOVXOGt26EpWkAF6BXjwiIMkr0HSYtO21TDyRjRAy1tGjR4 9vOQTfZIIYJOWbA79PDldABz60n6O4Q3qlucBfPMlNocDlYyfzWQ9EsWtvTMrrD7U4bz GIEQ== ARC-Message-Signature: i=1; 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=+V4eunXQEuqOyZAVLHP4lLkWxMMSEBY3od4THQZ8kPI=; b=HG3WwAr9nIdlZfXvRB40IoWCLp0DvrLIZ5T0W2jLOi2UW05jGR0z4T2SBK0MQqOXVa gPjBNqpWQzg9xxmpEYoyBN1HH/wuZRIY7En9o+n9FwAmynhZ9Pk8LJs25hJJjTWxS07r piMs8Xp8tfuDVNjdlvEinZB+J7HcHX9CNpNr+ozH6lQ7J1gcLBOSscx3Tj1C4wMDmJhg 5On+sDddKwIpB+h7LcEXQUJ3lWrxNKLbtiVZlhRxK+W1JsBuJ0xY26u+0hdGUZKV9oaS A5WJB94FbwEElq6hjO22XGY7MFnu+kii6LN0gpZvFNYN7okG/dzCEmB2SbwDtSzAuV1K X+SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="EituFn/8"; 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 101si3180293pld.334.2019.03.20.17.23.54; Wed, 20 Mar 2019 17:24:10 -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=selector1 header.b="EituFn/8"; 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 S1727687AbfCUAXN (ORCPT + 99 others); Wed, 20 Mar 2019 20:23:13 -0400 Received: from mail-eopbgr60067.outbound.protection.outlook.com ([40.107.6.67]:16311 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727464AbfCUAXN (ORCPT ); Wed, 20 Mar 2019 20:23:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+V4eunXQEuqOyZAVLHP4lLkWxMMSEBY3od4THQZ8kPI=; b=EituFn/8TBWW29v0Jz653FTtkgy8aa95l5RwLRjWkgry+jW5gyEZvrJAflCg9Ot/+agFwkb/o3Wy91BM4LdwJCnOKlRcxbkNGqmXi/CCNga8sal7ZaGQJMRT49MGwg0z3CBQYqV/Z6EKEFpM1GawiffNxm6HitAuuUS0+tv4B/w= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3818.eurprd04.prod.outlook.com (52.134.71.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Thu, 21 Mar 2019 00:22:59 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08%7]) with mapi id 15.20.1730.013; Thu, 21 Mar 2019 00:22:59 +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" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Aisheng Dong , Daniel Baluta , "heiko@sntech.de" , "horms+renesas@verge.net.au" , Andy Gross , "maxime.ripard@bootlin.com" , "olof@lixom.net" , "bjorn.andersson@linaro.org" , "jagan@amarulasolutions.com" , "enric.balletbo@collabora.com" , "ezequiel@collabora.com" , "stefan.wahren@i2se.com" , "marc.w.gonzalez@free.fr" , "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 V8 2/4] watchdog: imx_sc: Add i.MX system controller watchdog support Thread-Topic: [PATCH V8 2/4] watchdog: imx_sc: Add i.MX system controller watchdog support Thread-Index: AQHU2vbCM1mT6fDRMkeiR+nJMZLh7KYUkAkAgACxKSA= Date: Thu, 21 Mar 2019 00:22:58 +0000 Message-ID: References: <1552630331-32068-1-git-send-email-Anson.Huang@nxp.com> <1552630331-32068-3-git-send-email-Anson.Huang@nxp.com> <20190320134404.GA848@roeck-us.net> In-Reply-To: <20190320134404.GA848@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: 21a67f23-2479-492d-f36e-08d6ad935f64 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3818; x-ms-traffictypediagnostic: DB3PR0402MB3818: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(136003)(376002)(346002)(39860400002)(366004)(13464003)(199004)(189003)(52314003)(305945005)(6246003)(8676002)(7736002)(74316002)(26005)(99286004)(53936002)(486006)(81166006)(105586002)(446003)(6506007)(4326008)(81156014)(44832011)(478600001)(14454004)(9686003)(14444005)(476003)(53546011)(102836004)(229853002)(11346002)(256004)(106356001)(6436002)(55016002)(86362001)(316002)(5660300002)(71190400001)(25786009)(71200400001)(76176011)(7416002)(97736004)(3846002)(186003)(33656002)(6916009)(66066001)(68736007)(2906002)(8936002)(54906003)(6116002)(52536014)(7696005)(15866825006);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3818;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: NvvbAkfhHg4VEWpyrMvrbEJMb1G3tBFw2GlkNb0bNp9JfoslD1niHYEyjgcp8O01o9A83es8vf4q4JHpC0xhV81Ivw9ZxahVXkwAo3N3Oxk4eBd8xNSxJz/Ld7aCsr44yNaMU583sEHBzpvxgbEUAN+ise0IG/Y8C04WYSyvmWgcrye+Dywv3ZxGvWJ8NGKg7edpt47EkXh8FHF4M7GmAulEawG6bcHc4B93jfI8JDLcp17WhvB/pNOH8nwr9VFEb9htV5UGRQ8aDx+bug+A96xWcDZIJSain2CaVQ9kkqS6R76m7Nt7UEmnHoJh4WVxVvw4ArB0gf0X/MvMpQF2ah6+/5mbpAIkuOcKpaklaigdU+jBPQ5AvgU/f0m4qJQqQWCDsTtHnrjr1nOCl7aVF+44SkkOj/IX+gi68o9zou4= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21a67f23-2479-492d-f36e-08d6ad935f64 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 00:22:59.0081 (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-Transport-CrossTenantHeadersStamped: DB3PR0402MB3818 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEd1ZW50ZXINCg0KQmVzdCBSZWdhcmRzIQ0KQW5zb24gSHVhbmcNCg0KPiAtLS0tLU9yaWdp bmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBHdWVudGVyIFJvZWNrIFttYWlsdG86Z3JvZWNrN0Bn bWFpbC5jb21dIE9uIEJlaGFsZiBPZiBHdWVudGVyDQo+IFJvZWNrDQo+IFNlbnQ6IDIwMTnE6jPU wjIwy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