Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3491302ybh; Mon, 5 Aug 2019 19:59:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqy07RtDrwwbzVpYH7QYi3PmTYUMdrhotjDUizNDYKsiCJ6mxtE7SothHMwxDBNY/WfEs5Ci X-Received: by 2002:a17:902:42a5:: with SMTP id h34mr933495pld.16.1565060341737; Mon, 05 Aug 2019 19:59:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565060341; cv=pass; d=google.com; s=arc-20160816; b=XeTXljTibq8aRoWTR4uR6GdcmndDJjtR01u5xEYmBt97hzDqyZTUXtdPow1r0ysREL lUKIzD6yhb/eXK9FoOhv42C8+1uGtCglSLIiGmoEp2DjA6yVFmPNyLi1zTkEeimJIx06 W6sfowAZBq7nnWdJTC+U6f0MtuC7EB9glyJ0l3K1oXGhlX1cO+4Se8hkF4KUxCLYC+Jo BYhHyOQZXadMRa6wQHmCpXWLAqepigFfLHniyppYFMgg0J8TG7ueMuCiN4AxVBIU0Owc 7YLFVlvqEcQ/ciDyCZxGdOM1nD7MHRKmyhTQXH3X/UMZ4pXKyuoAzlbqNwx/66zf6Z2v guyg== 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=BGBf+uIrhaQOD8kSYeNp1j6SkiiFvvCHsoBAz/s1W6I=; b=e/SUviL/86J9ALCM/B/MJR4fP/T/jUTjguVwWkAn0AEBGOK9KimC1jEq733m0D9s7t 0cxlHXoRNRGdNspsyvTcGyvLSIgVQgozqEMPlJ8AesV8VszTeqli7pGPJHDWKMvbdpp0 staLGZYoNVHvG+dPhsSkM8oFyMBeu3Ftw23bLjeGGLYOrwA9p4Ep9QIpFuZ/IIknzzOd eIDU4fB3eVzzvd0lhiU+M1dYwX4aBzv7alP3rttK0CHsDlwkeUnu0LHLI/2hnqCiuTAl AEmn3FH44I0xXGAH1MPQjG4Yx/VFQUGhwR33P42+QQcpCvUTdD87jb361rSaz+JyaoQw +5yg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=iKyaEJy6; 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 y186si45059961pgd.440.2019.08.05.19.58.45; Mon, 05 Aug 2019 19:59:01 -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=iKyaEJy6; 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 S1731343AbfHFC47 (ORCPT + 99 others); Mon, 5 Aug 2019 22:56:59 -0400 Received: from mail-eopbgr150084.outbound.protection.outlook.com ([40.107.15.84]:40656 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728870AbfHFC47 (ORCPT ); Mon, 5 Aug 2019 22:56:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lOh4INE39SUSaRK6a1CH5MsoIZoEt61n5wyE39QdWiLNQYveN6dNWLGIPdz9/P4r1jtwc0MwPk+Ppr8/jUFeZMzwsS3qLpqdFU75+4U9EbuLaaf/I4NlxV6L8SHu4zI+agZNTsMEAO3N4EyWcbopAkLhAIqR1njOzO7mOflkc3zIWs2FBV9j6JPKWW9uzbkfLlu9fufONI35hxLPnnmmr/XEZXhRx0lMP30fmYkW/m6RDtRyKQJaC+rRMv5mzPhIRYmcIpzRFOSso6iyvXmgYcQJZLx80ugqNKaEdYcXvYhmfwNzBgeam4YcbazdQQD1jvp3GlQhtCL1gK6lH5i3wA== 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=BGBf+uIrhaQOD8kSYeNp1j6SkiiFvvCHsoBAz/s1W6I=; b=TS6kNged0j/TCtfE05X5CDeSvTrSlq07yzuh+WMsHX7AXo+23jFVXLZ6sZngFCLz75YHvjXSHkZSTuKln4M01T7UZRk30+wWcpREldvoooKKYdlcpZ/nhJWHJfHFm8eDl2h4p+Gsh7nWWMCvn3VM+iaG4AmuIvNHwWIvSjvsnMXb9QXSa6p34t5C8gf+M0yP9u6bP/y86SMcuS/sXFRL5bW3sLlxLCgPFrK/I1uWicgzIMX2YamTUSMf7TthaZPU6YH1NbXT3xW82ZKzk+/VVLMCiJ1EDHSF7MBaGodcO72LFrkGqvoSE8s8MN3JFzqMjszNENHuR36uDOmjB7lFfw== 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=BGBf+uIrhaQOD8kSYeNp1j6SkiiFvvCHsoBAz/s1W6I=; b=iKyaEJy6miySP7FhfduiJX1IKbajAsRKUQV+Uj6U4GeQeo7ky3FlfOUjoUxY0djQhMmbOl2as/fmFSg7NK8wCWEweKWcuPNo4MELTj3NUt0BxiPRSRETTCACGtFFPrHxrUdMRdErO/MVOOVIqPzOHJO9d6Pxp3EFGmM2IIHeJ0s= Received: from VI1PR04MB4333.eurprd04.prod.outlook.com (52.134.122.155) by VI1PR04MB5005.eurprd04.prod.outlook.com (20.177.49.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.20; Tue, 6 Aug 2019 02:56:53 +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.2136.018; Tue, 6 Aug 2019 02:56:52 +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: AQHVGoGIf8d5UZJEp066lEJQe1qATqbt0Bdw Date: Tue, 6 Aug 2019 02:56:52 +0000 Message-ID: References: <20190604025114.46085-1-andy.tang@nxp.com> In-Reply-To: <20190604025114.46085-1-andy.tang@nxp.com> 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: e11ad37b-2e97-40fa-1546-08d71a19bc2d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:VI1PR04MB5005; x-ms-traffictypediagnostic: VI1PR04MB5005: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1201; x-forefront-prvs: 0121F24F22 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(346002)(376002)(39860400002)(396003)(366004)(13464003)(189003)(199004)(316002)(66066001)(99286004)(6506007)(53546011)(102836004)(7696005)(76176011)(256004)(14444005)(33656002)(55016002)(486006)(26005)(6246003)(9686003)(7736002)(305945005)(6436002)(44832011)(74316002)(186003)(446003)(11346002)(476003)(5660300002)(8676002)(53936002)(14454004)(81156014)(81166006)(8936002)(52536014)(68736007)(229853002)(71200400001)(64756008)(66946007)(4326008)(66476007)(66446008)(2906002)(71190400001)(76116006)(110136005)(25786009)(86362001)(3846002)(478600001)(54906003)(6116002)(66556008)(2501003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5005;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: uIEdnB0LYp2U+a8w9nKgK8RM+LOqOMu7Jt/4zVAGed3z3scEttFXOuMjFGCE4VVLZYoDy+4VOTvLfqagyPKttd84rV+N95Vs3ST9eDwt9dqYVhuEDRKsC32R8lrxIqtTLlso4gw0ASjfs3uHXgKVBz8THhq3EBYvGdu+YPjwDHEW8+E8M9B+j3nwtDd7VbFXEEZAdSk8fOTYsFzKhQKvmQkae9gZ6eDFeqYFq9wI4h3BValcVQgbYc3mPH+zOKh+ttUDah8uei6u6RRP3jmTLFJj8AyBjEvVsHqe1Pm8DnjaB1qhcksvuS15hp81SmYs6/nrQrUDGLJIEKXE5trd0W5OnykRE/3slONMqvY4cQZtZXy3r0/fmZRXIFwr33ph0Z4rybPZAPEnfEg8dZUCR1FMcp388ZcxE7rI1G1ukAk= 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: e11ad37b-2e97-40fa-1546-08d71a19bc2d X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Aug 2019 02:56:52.8281 (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: andy.tang@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5005 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW55IGNvbW1lbnRzPw0KDQpCUiwNCkFuZHkNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0t LQ0KPiBGcm9tOiBZdWFudGlhbiBUYW5nIDxhbmR5LnRhbmdAbnhwLmNvbT4NCj4gU2VudDogMjAx OcTqNtTCNMjVIDEwOjUxDQo+IFRvOiBlZHViZXp2YWxAZ21haWwuY29tOyBydWkuemhhbmdAaW50 ZWwuY29tDQo+IENjOiBkYW5pZWwubGV6Y2Fub0BsaW5hcm8ub3JnOyBMZW8gTGkgPGxlb3lhbmcu bGlAbnhwLmNvbT47DQo+IGxpbnV4LXBtQHZnZXIua2VybmVsLm9yZzsgbGludXgta2VybmVsQHZn ZXIua2VybmVsLm9yZzsgQW5keSBUYW5nDQo+IDxhbmR5LnRhbmdAbnhwLmNvbT4NCj4gU3ViamVj dDogW1BBVENIXSB0aGVybWFsOiBxb3JpcTogYWRkIHRoZXJtYWwgbW9uaXRvciB1bml0IHZlcnNp b24gMiBzdXBwb3J0DQo+IA0KPiBUaGVybWFsIE1vbml0b3IgVW5pdCB2MiBpcyBpbnRyb2R1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