Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4354667ybi; Tue, 11 Jun 2019 05:24:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4ibYKJtDfD+34NyFdOyHYWYeY8WKJLrYWsX5tswEvghdBl7KZrIdlGwTZCGDggm3PQwjU X-Received: by 2002:a63:5023:: with SMTP id e35mr19510413pgb.194.1560255882543; Tue, 11 Jun 2019 05:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560255882; cv=none; d=google.com; s=arc-20160816; b=nXZyz6Aw8Z3UfRZ/flAekswJbRJGM7tWURsT565Vgg3NoxnlT3T5w6I0MGikWwXuP0 SxqdINouFsR/JarXs7bcGemlpCBOKrTqUODoLuIRS8XROACrHlwBnhUDcinM8iIMRtfG IT272nDqVR+Nig2b1ThT9UaRRU4GEe9rSvImhs0o9FulD889Kokki9Zn3xpFHxjLcWSq 2VGq+YX2oiRhy4eqTawIg0tJyKAxaiWfz/CnTPhvhtCFHRuo74PQkiv9sScR7lCSB3Hr IeYr9BVVT2TXx1TWb5fG8XQMvzNnW9jisMiwH7TCgbMMZ6MgLLhCWS/J+DBfYdvRqBq3 R8Hw== 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=qgBxrwLXijhAvAjzyP/WmGwlatGQaFNY0cvfnPEqt7U=; b=gYaSEuQMgSnaTZuot/iCY/XtRTefRBudi9Lj02LtAt6G+YBx9QtTJL+lQBNsmIJSra VDIpXyqbzgmGrxJO+ApHUo5xvVRafmpDkioeDMqVaa/rI4y2qduMbP+maMMqfK7B+m0s GvzqzC12jlr4I9vbI+AkoztoZoVnWSTHHR1+cRKK9VRxrTeUyD8qYgJ6mMkODBSKEhMX Q7kPn2NVNhOao/9RlVJFTpxLDYgDahdET6WYVGmbN9uSNrukU2ZZCtEm5zn67x4pSfGz QdAZ0hjRrir6N6/m/WB0oEjskGQmakZCeMz44KDz229lHAq0Z51D5aSrR3tOQOLzk+R0 GOiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=awWU8edq; 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 g145si13030358pfb.173.2019.06.11.05.24.26; Tue, 11 Jun 2019 05:24:42 -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=awWU8edq; 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 S2389926AbfFKLqx (ORCPT + 99 others); Tue, 11 Jun 2019 07:46:53 -0400 Received: from mail-eopbgr30077.outbound.protection.outlook.com ([40.107.3.77]:30368 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389282AbfFKLqx (ORCPT ); Tue, 11 Jun 2019 07:46:53 -0400 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=qgBxrwLXijhAvAjzyP/WmGwlatGQaFNY0cvfnPEqt7U=; b=awWU8edqmHwyz47Q3/3wHa0PxZuaZti0dq9AOLte6FQ7FpRpRdWHMheHgQcB7lYUvHPmaJ9ScCY3gKoaDE5ES3FuvFBBTAqR00aucJBHhN1TdG//yfhLfvqEZAeG8aTwvb/4A5vPEh97b7ejLkoDWvc1JKQk0Mqg7V8pk86Z55c= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.92.158) by AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.15; Tue, 11 Jun 2019 11:46:43 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::11e1:3bb9:156b:a3e4]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::11e1:3bb9:156b:a3e4%3]) with mapi id 15.20.1965.017; Tue, 11 Jun 2019 11:46:43 +0000 From: Aisheng Dong To: Anson Huang , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "corbet@lwn.net" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , "ulf.hansson@linaro.org" , Peng Fan , "mchehab+samsung@kernel.org" , "linux@roeck-us.net" , Daniel Baluta , "maxime.ripard@bootlin.com" , "olof@lixom.net" , "jagan@amarulasolutions.com" , "horms+renesas@verge.net.au" , Leonard Crestez , "bjorn.andersson@linaro.org" , "dinguyen@kernel.org" , "enric.balletbo@collabora.com" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" CC: dl-linux-imx Subject: RE: [PATCH V14 2/5] thermal: of-thermal: add API for getting sensor ID from DT Thread-Topic: [PATCH V14 2/5] thermal: of-thermal: add API for getting sensor ID from DT Thread-Index: AQHVHzduVJLnDucTi0KXitmpZJYpcaaWS8pg Date: Tue, 11 Jun 2019 11:46:43 +0000 Message-ID: References: <20190610025254.23940-1-Anson.Huang@nxp.com> <20190610025254.23940-2-Anson.Huang@nxp.com> In-Reply-To: <20190610025254.23940-2-Anson.Huang@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 19429248-47ae-4ed6-806d-08d6ee6279b4 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:AM0PR04MB4481; x-ms-traffictypediagnostic: AM0PR04MB4481: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 006546F32A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(376002)(396003)(136003)(366004)(39860400002)(199004)(189003)(68736007)(478600001)(2906002)(33656002)(66556008)(76116006)(14454004)(186003)(66476007)(6116002)(3846002)(66946007)(64756008)(66446008)(73956011)(81156014)(102836004)(81166006)(6506007)(26005)(8936002)(99286004)(256004)(8676002)(2501003)(76176011)(7696005)(25786009)(7416002)(66066001)(305945005)(74316002)(7736002)(4326008)(110136005)(6436002)(6246003)(44832011)(316002)(446003)(11346002)(53936002)(476003)(486006)(229853002)(71190400001)(71200400001)(5660300002)(86362001)(2201001)(52536014)(55016002)(9686003)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4481;H:AM0PR04MB4211.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: MZuCB/LrNtNwldTtMQKcqYieSkf/d7NAIOtaLwkuDTRIsLdVpQS+TNTUA2nqrr4pFTJAkjKOW/LTB01jhGS+c+9A56gDtFJbMPMSJsHsimNCPA986scYd0Als76S/LHnj8NuNc0tYr7ny9tF93IqFnni3F3E3/qHHqyrSglHDsoUxmKapEA2aLo8vQmZc0Ux0HC3L17HHarQ7EaoYbVBrvg6PZ5xFZ8/wlGqj4RCvlDzYaCKeZQ0BKsNInuLIssuYiAbU1w8WbwEGSwZHPcCQTPybLAN9m4+AuUOvSWU61J9ISBtvr/MfODAa51mM3PPy5SFpbuv0b+bech/jqx2laD1AkJwCdVJhRugWeHMv7ZqfNXmuWZlleOQLVn/mTlP5Vj89no5vcIPiT8MA+ZBoVBLWqCsUmV3GARrgbKR9f4= 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: 19429248-47ae-4ed6-806d-08d6ee6279b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2019 11:46:43.3963 (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: aisheng.dong@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4481 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5zb24sDQoNClRoZSBpbXBsZW1lbnRhdGlvbiBsb29rcyBnb29kIHRvIG1lLg0KQSBmZXcg bWlub3IgY29tbWVudHMgb24gdGhlIGRvYzoNCg0KPiBGcm9tOiBBbnNvbi5IdWFuZ0BueHAuY29t IFttYWlsdG86QW5zb24uSHVhbmdAbnhwLmNvbV0NCj4gU2VudDogTW9uZGF5LCBKdW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