Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1979520ybl; Thu, 29 Aug 2019 01:38:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4F7K+czX9r3uwpef/Hg/r3pdE0IfO9EMvMkR705J+nKYcXScZwaIA4VJ8N9PhZtG+7uCN X-Received: by 2002:a63:4522:: with SMTP id s34mr7137833pga.362.1567067937274; Thu, 29 Aug 2019 01:38:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567067937; cv=pass; d=google.com; s=arc-20160816; b=BArbFzMQ93ex83VOzstV/9LBn/FFD8tNlKS+qU941KRtPxiV/u0kuZoXLAjoajgrrB Aq/fqJvEaySA/QRLzW2ZQQ4qt8uj23td8CYT5uTcj2Xq4YUTN/0q5f9W+zY6ObLSd5So nHenPUoyCieBZR22O9lI//Iu2+GcIDEffzW08V0t3cHAcnoASMeyJXoKG2gZ7h7OSKxK lbo305IbGSbo2GR5O75R70hvihaEV06+reI5vFZeKHAuLZ4tLFXfA8Bvd0JwGiVQoHML F6k6TdbqmCvCSO64wMNCVY9I6Qo772wBLg9F/uZ+beASWEQ1QSbb0XbLFkkM1S+3Gcys YP8w== 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=KzZRpUITocihVnZGxZpCwqko9hwEleN15FckgEeANL4=; b=kv7bf6nNVHDvNgFDmFI3vHP5CgVrcqO/HnsHk5OUzJ2wAfbYUv7rbkTJGdywEEHfv4 wET8iLfQeBseDVP/BVS/GPZY6O527dtBdi+dd2icE/UYNit2q93hiU1qmWXC7n9u1eNb bwovN9secE1i+gU1VwGCIa9MFEmYeG/JY7R245O/mVOkG/Q6ZO2eWAPJBHE6DtpF+bkL HkyUxovxlOKs8bNLjvY+wGcswHZP0kYb8tOa+z+Qkex9YVd6zZDdDzCQ6F5cWA6GDQhv e+lcJHc9BI4MIB2ADhTUUN162fQuskevxbZ50wOfqaRh4LiidUo3Lly7f6huC8Bix4aZ Nfnw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=pXO0fS9E; 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 v11si1323789plg.31.2019.08.29.01.38.41; Thu, 29 Aug 2019 01:38:57 -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=pXO0fS9E; 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 S1726973AbfH2Ihn (ORCPT + 99 others); Thu, 29 Aug 2019 04:37:43 -0400 Received: from mail-eopbgr10088.outbound.protection.outlook.com ([40.107.1.88]:34951 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726379AbfH2Ihm (ORCPT ); Thu, 29 Aug 2019 04:37:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IrDfGHKDIer9y5Vu0NnLN6YMbdx+UHlNCmV6Gedtr/qXBFmMScbizfatNw8J8wmcyspvKEK1R+cQudMLajtjQNr5BxXXSF+wnNTiR0pj/5AZdGZDX1RZ+k/oVeJxSXea6VaLfvOQWoApKL35fWX0gyDdzw12cBJHbw8VeZX/pX7cjae9M+a+mP8ibAQ8G0YeuYxtbafNZWkX/TNb/BCFRgpCOtxom6k8a4fvYXLsrzmfAv511lqhdUPYHlt/ws/UuRPVmuHDFRHywhMGcpwKt0g6cx/6hyuW9zz+LYjNwLyewB8nZkC1hjxVFtWCvwwXGP07Q3mHCsG58e5j9qA97A== 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=KzZRpUITocihVnZGxZpCwqko9hwEleN15FckgEeANL4=; b=hXsZXzLYGal1bWATFHR0/+WCAraLy7qfP3mR8KZ29I/3A8kkZMGa2380iiQGGs+eDEK2XiKz+N33FsYl05h1AkAIzsYff753OBeEcPXwXgSukgR+OFn3Pw2KFh79ecEoL2vz0Lcp2RuCnncIWHtX//yRTXUHZVWeSLEt1Dy037CTPEfane5mp6Z/Q2LbnaUF5IvrdDCUWZO3XXppX5jIfHSECdeYmLGeA0ERuhTbuIw0xT8jFsdALVDiX93Ebbw/AGvA8TFSsbF9DlwqFyQZQt0Rprv7B/YRVfU9Q4braI3LMWImXRFYY0PsXipXmM0Yy8sDQO69pF2tcD6nhCtJkA== 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=KzZRpUITocihVnZGxZpCwqko9hwEleN15FckgEeANL4=; b=pXO0fS9EQ5WienW9Ba5lpWwy8HIJjld5J5ppm4XVimhX5A4ZKfMQhLVujfFTM4Tu54meQpyQeRKN5srPw1oEkeV8uRh1WyZ6Nsh3g51QdZIelC2FlT3saWKN4aHU1PKn56krOzJYlJjBjFMiszcyk7zkskkgn88oh1GZdiycC5I= Received: from VI1PR04MB4333.eurprd04.prod.outlook.com (52.134.122.155) by VI1PR04MB5471.eurprd04.prod.outlook.com (20.178.121.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.21; Thu, 29 Aug 2019 08:37:35 +0000 Received: from VI1PR04MB4333.eurprd04.prod.outlook.com ([fe80::694b:df36:f012:8216]) by VI1PR04MB4333.eurprd04.prod.outlook.com ([fe80::694b:df36:f012:8216%7]) with mapi id 15.20.2199.021; Thu, 29 Aug 2019 08:37:35 +0000 From: Andy Tang To: "edubezval@gmail.com" , "rui.zhang@intel.com" CC: "daniel.lezcano@linaro.org" , Leo Li , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] thermal: qoriq: add thermal monitor unit version 2 support Thread-Topic: [PATCH] thermal: qoriq: add thermal monitor unit version 2 support Thread-Index: AQHVGoGIf8d5UZJEp066lEJQe1qATqbt0BdwgCSEgEA= Date: Thu, 29 Aug 2019 08:37:35 +0000 Message-ID: References: <20190604025114.46085-1-andy.tang@nxp.com> In-Reply-To: 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=andy.tang@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 45a1c43b-976a-48a1-a6fb-08d72c5c2479 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR04MB5471; x-ms-traffictypediagnostic: VI1PR04MB5471: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2657; x-forefront-prvs: 0144B30E41 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(396003)(366004)(136003)(39860400002)(189003)(199004)(13464003)(486006)(186003)(7736002)(476003)(6116002)(44832011)(3846002)(2501003)(66556008)(76116006)(478600001)(66946007)(66476007)(11346002)(446003)(64756008)(66446008)(55016002)(9686003)(6436002)(6246003)(52536014)(14454004)(4326008)(53936002)(5660300002)(25786009)(2906002)(229853002)(256004)(8676002)(81166006)(33656002)(14444005)(81156014)(71200400001)(71190400001)(8936002)(316002)(74316002)(110136005)(99286004)(86362001)(54906003)(66066001)(26005)(305945005)(6506007)(53546011)(76176011)(7696005)(102836004);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5471;H:VI1PR04MB4333.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: I5+7k1MNxHUKVEBrNlVoPyMAfQvlOOp0p567YzYeAmFkpmU9MVykZJ2P7++iwHr/GDaQooEEFiFxiULQ8Q7hj8SY2BjuYFcn97QzjfE1kyQN+UQmSpfP3V5LjrpPaTRA/Rbr/E000RJ+0IsV8Vf7zUEFdCrlzejdX98Lg94YKHupL6Ccq5vo6eLQYFjRXoKtxIaQexL020GLifSoR2EH37PYnCJwkaYo0DjpCSXqYa5R1+PiuTeypKClFjsEbACdD9PJ/tQ+Fw1vxw5YV2wGaBbRtAMOrA9kQ1ZBJz6T2ki+RBHaKCldAv6wpSZ5c9TiDgPS7LImiNf5lZWLyCy5K47ddjWpRu9pZfqOwZ7CnxvLqnm3aeGNgJn+DXRd05naN/fr34OVTCufj1nOc3GNsv1UwqJDAfSvRTZ7/AWiMkk= 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: 45a1c43b-976a-48a1-a6fb-08d72c5c2479 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Aug 2019 08:37:35.6230 (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: SXsoec7WUYVprFYVJCBOjULSTKoDhKIAFHo0Na2Wzag1l7BLax20lve+dUiHsbBTv1EcnPHSdohtLWzkt1/SOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5471 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgUnVpLCBFZHViZXp2YWwsDQoNCkFsbW9zdCB0aHJlZSBtb250aGVzIHBhc3NlZCwgSSBoYXZl IG5vdCBnb3QgeW91ciBjb21tZW50cyBmcm9tIHlvdS4NCkNvdWxkIHlvdSBwbGVhc2UgdGFrZSBh IGxvb2sgYXQgdGhpcyBwYXRjaD8NCg0KQlIsDQpBbmR5DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCj4gRnJvbTogQW5keSBUYW5nDQo+IFNlbnQ6IDIwMTnE6jjUwjbI1SAxMDo1Nw0K PiBUbzogZWR1YmV6dmFsQGdtYWlsLmNvbTsgcnVpLnpoYW5nQGludGVsLmNvbQ0KPiBDYzogZGFu aWVsLmxlemNhbm9AbGluYXJvLm9yZzsgTGVvIExpIDxsZW95YW5nLmxpQG54cC5jb20+Ow0KPiBs aW51eC1wbUB2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmcNCj4g U3ViamVjdDogUkU6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