Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5804928ybi; Tue, 28 May 2019 20:38:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2AeSInsag18Me/I5M7SowI3fCETk8gSycMal0QJyRa2jdULcxIKysWhsLrjOJbSAuvhhP X-Received: by 2002:a65:608a:: with SMTP id t10mr134274573pgu.155.1559101096010; Tue, 28 May 2019 20:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559101096; cv=none; d=google.com; s=arc-20160816; b=Uk8brTZahxbNXPdzJMksIimfu1lnOy9SZc7CZIYbboxyjnSAS3+BaVY93mAbnhV09Y Ac+0y64J5VOXSka0+YVd/K1O70fC69KdeN5i3idC/3z6vIXXw2Nn2Hch2mk/IjRTKCDr pNvTotq4WP/7ZzB/bCsMAp/kUUN/snXh4WI6GwDsA8xPMuikPAfCXBEZPxlryDLmbhua cr5CPwtSZtUd+yRz613jfBpNo4CKM0SQ/haBCIP9+kit4mFKnxX64JyqL173bLd6lIpK Vm9eXW/6NB09iAj/HfYUfw3MndPHiylfbCNbBQyBm6BLHYKuLmVlXR/8KV4uHGue4JH9 6i6A== 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=LAXxFt9W1FFyEge1An0kLLJhyQITNqYJP24u5hZ0gfM=; b=irKVfIUOU29cV8/tzzU+/qx/KI/+3QM5LukexvLTM4XAyqS5GExUYh1iGXf9ja1Fmv B6Q+ZTmxLVNy1fAVBGPQVd9W4H9v/PRFNyqR5rYscWPZq5BnV8SRDjedChy70ZMPvM6I qQR6cUjDYE1EQ5RlVxqTqLiYZmC4ZfV16v8m/b7ZbMisI0MvTnZBWT7IOMb8REBh4Veo wHhPPPbwyaH1lD60BaCiKVuWiK9+T/VWmR1uoV3poxZ2K2Iq2qBM3Gl15Lb0wADL0JPR umaJJ6RM6OJkmrJqnyIw4vKr8SHN7d4UPJMZoTMLjxO0G4OfO74oaS9Jc3f3VL7OBBgN 3BhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VFvEGUxg; 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 q193si26664117pfq.95.2019.05.28.20.37.58; Tue, 28 May 2019 20:38:15 -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=VFvEGUxg; 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 S1726141AbfE2Dgu (ORCPT + 99 others); Tue, 28 May 2019 23:36:50 -0400 Received: from mail-eopbgr50061.outbound.protection.outlook.com ([40.107.5.61]:6704 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725828AbfE2Dgu (ORCPT ); Tue, 28 May 2019 23:36:50 -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=LAXxFt9W1FFyEge1An0kLLJhyQITNqYJP24u5hZ0gfM=; b=VFvEGUxg2U+qSwyzYb2naw6Xv5gdCkOSX7/ArVjGcVKiesMy2i+sdfjDmwzHHPx4RO6sempvrGtrq+YrAGsqssFDDG1kJuz7yapn9OrL9E1yCw8uCIP9aoryUZkj2zP2A2V5e6Tpudb2gtKAHwXBFEg01bOU4tZLulgldZqSkxU= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3898.eurprd04.prod.outlook.com (52.134.65.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.15; Wed, 29 May 2019 03:36:37 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::5835:e874:bd94:fec]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::5835:e874:bd94:fec%5]) with mapi id 15.20.1922.021; Wed, 29 May 2019 03:36:37 +0000 From: Anson Huang To: Eduardo Valentin CC: "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" , "rui.zhang@intel.com" , "daniel.lezcano@linaro.org" , Aisheng Dong , "ulf.hansson@linaro.org" , Peng Fan , 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-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH RESEND V13 2/5] thermal: of-thermal: add API for getting sensor ID from DT Thread-Topic: [PATCH RESEND V13 2/5] thermal: of-thermal: add API for getting sensor ID from DT Thread-Index: AQHVFRtF1HyUf82e5E+mJmD7zHGxLKaBa66AgAAIvwA= Date: Wed, 29 May 2019 03:36:37 +0000 Message-ID: References: <20190528060621.47342-1-Anson.Huang@nxp.com> <20190528060621.47342-2-Anson.Huang@nxp.com> <20190529030225.GA2662@localhost.localdomain> In-Reply-To: <20190529030225.GA2662@localhost.localdomain> 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: 4bdb87fe-b2a3-4989-2a19-08d6e3e6dae6 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:DB3PR0402MB3898; x-ms-traffictypediagnostic: DB3PR0402MB3898: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0052308DC6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(346002)(136003)(366004)(376002)(13464003)(189003)(199004)(3846002)(6116002)(6306002)(33656002)(54906003)(6506007)(14454004)(81166006)(81156014)(8676002)(99286004)(53936002)(256004)(966005)(71200400001)(2906002)(8936002)(1411001)(229853002)(86362001)(53546011)(44832011)(71190400001)(7696005)(7736002)(305945005)(6436002)(102836004)(66066001)(5660300002)(55016002)(478600001)(316002)(76176011)(76116006)(7416002)(486006)(4326008)(476003)(68736007)(6246003)(9686003)(446003)(186003)(73956011)(66446008)(66476007)(52536014)(66946007)(66556008)(64756008)(25786009)(26005)(74316002)(11346002)(6916009);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3898;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: EndQqB+65MZQuQ+lQ+Aizl5lKNzQYveUx+pZ6MPdIoTxNRu926xlmI5yAsjOSSSudnL07CdFH/QzCKiECmLZAw4bLfeIDoPO+wZhwvKc+qBfAKNHv6xD/JBt0W2nkJZP+ZYovtpMSKK7H5kZEV3Vmn7l48XeaFrIJCKvz2Ry8vf6t6wk9v7ck7DpzitFuQxz859WlIehUNNOxBecpLTcqYVuA3DGtTdDPFU0/P0Hbyl00zXjCkB+Tz+gTx2EQii7l4DLyPOh7y7eGKYO9V2itp1YVOJ35e2hiaZja1sa8kieIqNIc/mOpmOV5DjlwtGTJymOnG+4ckZG/MwtgjSqrocCBr6vKlN0jl1B12ka9xsxn0xS/zyVaJrESV0soPNnKzvam/ufyL5CbJEStkv4/3kBZ5BfEKqTs0rzniqOM1Q= 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: 4bdb87fe-b2a3-4989-2a19-08d6e3e6dae6 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2019 03:36:37.2405 (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: anson.huang@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3898 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEVkdWFyZG8NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBFZHVh cmRvIFZhbGVudGluIDxlZHViZXp2YWxAZ21haWwuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIE1h eSAyOSwgMjAxOSAxMTowMiBBTQ0KPiBUbzogQW5zb24gSHVhbmcgPGFuc29uLmh1YW5n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