Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1675246ybv; Fri, 21 Feb 2020 01:28:27 -0800 (PST) X-Google-Smtp-Source: APXvYqxeX1k4c6sx8Qp3gPU/ymVs+QRV9XoDYQWHkUjP9oZHOU4arHGH2kWLEQowD1XwaOp5XKlA X-Received: by 2002:a05:6808:99c:: with SMTP id a28mr1153259oic.164.1582277307316; Fri, 21 Feb 2020 01:28:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1582277307; cv=pass; d=google.com; s=arc-20160816; b=NqgFB2EFQmZh0MZ1RV5pX5GoXKzrpHiNhq59KXzbbIEFxcUZPTYMpce56uzm7bFXSS 8enRV3KOphBO3oWq25NS8FN7LtkpPzVO2NmW0ldeRgPpk2kgJ5W+uDoRt0muvD37u6Gs o9656SKLCKBsGHwhwtM/i8i+IjocU0eU+MhjwYboX02y9YpZFSGkIRsvw94ozKQwsBqe XEncbAeoK8hD/lc/uQsdnjOmSFZeQDvGSSnQGLRKLlwDyuDfTOyZnQrKyWc+PqEHsL4H rco5oUn8k1jHgPuHB+O9PduBU1/1eRRtq2IEFmZBMQmVMsyDcctRZXsUXSo5Wbwhy0iT uUHw== 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=s0giFPnSvmnjpbwqhx8Hne85FcxFlRSPX0nwydJJbV0=; b=knwj69RPt7y35fJl6NNHHNYe+NEfYx0oB/iiyT48jUi15+jiGa3uRpHaIIePYjeSWD vummNvUI1ZES0Mum5N2OBTCRcq0IzwMNMkNjKCj9ffAtQvjxq6wSso8iczBpy+mVyf/o YzhA6fKqMF2H8eW4aoUrqwFzMNIUz/nzFHPusmvJ+02L97TjAWm2AXT2m26ywww7lUOC Yo+2j5BoTdnGGDG3R+AMWh2Nif0hLx2ihMILNJWhrENgsgz6dmadiB/04UZhJJemWo5p xiRagWxfK76+AECqqPZjE8BOzYttMJOr0h/rLMU426B0mkK5pRjlP0gM3h7S+NPThRAG cP8A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=fgBAY7wQ; 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 p3si542416oih.186.2020.02.21.01.28.15; Fri, 21 Feb 2020 01:28:27 -0800 (PST) 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=fgBAY7wQ; 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 S1727794AbgBUJ0f (ORCPT + 99 others); Fri, 21 Feb 2020 04:26:35 -0500 Received: from mail-eopbgr70047.outbound.protection.outlook.com ([40.107.7.47]:6081 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726853AbgBUJ0e (ORCPT ); Fri, 21 Feb 2020 04:26:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oDRmH9arAq3dFlz5BPv5KEa1L6+aYcpL/tpK+kMFhu6QECXeQ6gKZhx8q3M8TU0bX5vt37oYSinzoTUK5dcY9CNEkQxgT24Hi9qmnW8uiIwZn/FsjeBIIlIv/WZZGg2+ZBKhV8kAn8kr0m0KrtgXQYpYxzkDKNA5mgEKo+YT8Q6jbUh2S4qsH3VtzWd4WV1srB8XPvlCIr1eXDFmW6ak9vnnLGCCaKRGfrP7Z6j12StCx263qb6FzPkexsakhNL2U9s9kzxpNTXD4EO9Znk2v+KvzeXZJQ7IxU2xbzgSfCMVUkIXu6YJDYh8BNgQAN45fOs1zYRXiykyHD3ja6VX4Q== 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=s0giFPnSvmnjpbwqhx8Hne85FcxFlRSPX0nwydJJbV0=; b=ea71PZEa7psZhZ/zU0IXl40vQpKiKh2FF/mgHXJiaULjFCPEZdYF8DA+1IbQddivzXRx39k6aETbML2wGEsJnCv7yTh19uJRpDp9dInPnELmLwlHyoOFItGbMR+LAgfFKjrhHWpUFnFEpkTsASKRP2hudhOO0kyIxLrqxvrPzRAxiMYDfxt4my2uUlcjAcrn8gX2uclBXGTGcFNENe1+vv862xCW8AtHOYrKg+diD7tveQEoGK8RWWFtrLU5SXMOJKcTSTJPUZDINOGUhxJPkbJv8NMT343VTpL7m87VeqtxnqUBtSiq7wLJ/PGUzf8p9NgK/sVtx5YRmAg+0BLXqA== 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=s0giFPnSvmnjpbwqhx8Hne85FcxFlRSPX0nwydJJbV0=; b=fgBAY7wQ5rrlqTVa5i5oJVN868rO1ymlSsWHP4cXuPz3xegrijO5Gm9D3dVFKQkHno2ocYOTAQ9gXi/HvYtkBVkEBxR+Eqs7VHR2DOTw1bYqhBgqY52D8CA+9qzHmFCuvZRRO995xv/cgFfENHeU3It9zOhw879SoNvbZNV9L+4= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3737.eurprd04.prod.outlook.com (52.134.66.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.23; Fri, 21 Feb 2020 09:26:29 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e44d:fa34:a0af:d96]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::e44d:fa34:a0af:d96%5]) with mapi id 15.20.2729.033; Fri, 21 Feb 2020 09:26:29 +0000 From: Anson Huang To: Daniel Lezcano 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@kernel.org" , "rui.zhang@intel.com" , "amit.kucheria@verdurent.com" , Aisheng Dong , "linux@roeck-us.net" , "srinivas.kandagatla@linaro.org" , "krzk@kernel.org" , Andy Duan , Peng Fan , Daniel Baluta , "bjorn.andersson@linaro.org" , "olof@lixom.net" , "dinguyen@kernel.org" , Leonard Crestez , "marcin.juszkiewicz@linaro.org" , "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 V15 RESEND 2/5] thermal: of-thermal: add API for getting sensor ID from DT Thread-Topic: [PATCH V15 RESEND 2/5] thermal: of-thermal: add API for getting sensor ID from DT Thread-Index: AQHV54twqrQqqnnsY0eYUhsqk5r9AKglXqIAgAADj2A= Date: Fri, 21 Feb 2020 09:26:29 +0000 Message-ID: References: <1582161028-2844-1-git-send-email-Anson.Huang@nxp.com> <1582161028-2844-2-git-send-email-Anson.Huang@nxp.com> <20200221091112.GA10516@linaro.org> In-Reply-To: <20200221091112.GA10516@linaro.org> 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: [220.161.57.125] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e40dc78a-034b-4243-515d-08d7b6b021cc x-ms-traffictypediagnostic: DB3PR0402MB3737:|DB3PR0402MB3737: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0320B28BE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(136003)(366004)(39860400002)(396003)(376002)(189003)(199004)(44832011)(9686003)(66946007)(6506007)(66476007)(71200400001)(7696005)(2906002)(54906003)(66446008)(66556008)(64756008)(478600001)(4326008)(26005)(6916009)(8936002)(86362001)(7416002)(55016002)(76116006)(81166006)(8676002)(186003)(81156014)(316002)(52536014)(33656002)(5660300002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3737;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: BCL:0; x-microsoft-antispam-message-info: zO4VrkzUXXZXpFJqPsWE2OvpQjaaM0Wu066Dw4MX8udYfK5S8H03IR8tLBlybzHcNY7/kYFYVPBU68WBwqUL/sBeGiqc8oZ3PZ4ieRzgzph1w+/WKLSSbgEifO9nM5VzD0E9B20258hx6e5r/3iWmZ7qA9KQfmCWFnxL/yW0GNpbISkrt6gB5czTOOiqaPgcI9wk0K46PqJFse9NWfYJiR5EpywHOUGvMrAKsdW3y9D7yKXM7PmwkbsV1A70p9Clr2tZewh0vm8Fg2qp0eAmpqaRDOps9h0krUGGtX4y7H0uRsprXmyT4jti4s7BxlY8ulRhJ0Wz+nKKzVXI+460UBskFFxU9i08/+OAq1fx23Gnecim4e7CY1ZVRENFHEATO+HINOBHz4DBdphm7llI/ZXI7SsJgNmsvhGsvYZe31O3JKa+z4eL/jmADzSLuOQr x-ms-exchange-antispam-messagedata: kcMEX8JNac2kGJTadbF7k9I+B4iORTg2BVPIE/IGZv7grFZlJFF98ymJHD/YLr/l0luyYF8Co0/7YndxxiyJc05Qrx67ZOFZDO/nbbqO2c83P7w4O8Hd/U9b6gchiWWez87hZFI+Um5RGsxQYZOgiw== 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: e40dc78a-034b-4243-515d-08d7b6b021cc X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2020 09:26:29.1703 (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: IQAKJOZtFIi4RJviNGgYUDwsOUUHcY7vBTkGvPGzsvT73sTIHv8pj54HosqOxhw/Y64myy/gs1sQnMqR7+wYpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3737 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIERhbmllbA0KDQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggVjE1IFJFU0VORCAyLzVdIHRoZXJt YWw6IG9mLXRoZXJtYWw6IGFkZCBBUEkgZm9yIGdldHRpbmcNCj4gc2Vuc29yIElEIGZyb20gRFQN Cj4gDQo+IEhpLA0KPiAN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