Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2826994imu; Sun, 23 Dec 2018 08:40:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN6MaP12vC8f2orn0Ik/J2WEOCkgQlRJE6xQxYMdzta5p5+fsTGwA357lCOMzZT07DTLpl3T X-Received: by 2002:a63:d301:: with SMTP id b1mr9711705pgg.61.1545583200241; Sun, 23 Dec 2018 08:40:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545583200; cv=none; d=google.com; s=arc-20160816; b=XEkGPiF1SL8K5/hVK3oNgKC7z1LIMw/f5tLVuxEV6IqBmRavp/ubw5Qf2PguzdY9j8 Rmopa0vf8+ugzDQu8DeRD2Ao38dJyaRgt+LkG9q61tnW8F9cPGyk+taVXt9COMs4bMhE x0Hziv8gkj5K+Q5PhwQ1ZD67/XWVudvwAzP66/yxz8RihI9WhXyZACxp3fIfOcHX8lWo +QK6Y9zmaPUUKZkcl0Q1K4bgs24QmikUOIYdRRVyjRIpKcrj9hINaUxEL5fIEgaxwov8 HBXBrAhi+UJHZfJMwAKzs/3fp+A913JDEy6gxYwiP2tqgN8WKAc/QDef0GRe7ylLqEHg 6aBw== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=GnAwnjxQsR0X0Uht0MREp/NOMYOXynjJimZrCmtk4O8=; b=Eo6jaZXMPpCTw8TXSjNPuBSmrGB5Tm0DRedS7RzHNUSXDBC7onNQMpMnh58v6zqS+V xL6itNY6Aif4U+Vez6zkXkgGUJqoF/Gkh4z4NMga70KYGSZGPvklfeGwPPhfgpNphYB6 8a1ZSWrVtt+mZCMgu2lPukHMw9X3vjZXSf+Fw81Tk3t+hxrtVuNQneR130Fur8H77BZ4 9LSyOWCTCgXw/ooOYwzuYWYooOam+1sOZfT45t3L/p/VQfJiJ9gXsfdRDlhwuTZv3Hp6 eTirrFBsPVjXJbuk1bOWPTzAmEec06FQ2wiN8+u2XHrOnSBkJ/qqSDLagMknyLBMdq1v k/yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=s4SY3ql8; 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 w11si24596223pgp.161.2018.12.23.08.39.45; Sun, 23 Dec 2018 08:40:00 -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=selector1 header.b=s4SY3ql8; 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 S1726729AbeLWGTT (ORCPT + 99 others); Sun, 23 Dec 2018 01:19:19 -0500 Received: from mail-eopbgr50085.outbound.protection.outlook.com ([40.107.5.85]:50874 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726421AbeLWGTT (ORCPT ); Sun, 23 Dec 2018 01:19:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GnAwnjxQsR0X0Uht0MREp/NOMYOXynjJimZrCmtk4O8=; b=s4SY3ql8vKdkVTlrL7CE3E07sGCAzdEOME0UFmOe6Z8qJRCXUdHEhCWMLsSFTrMS0j6ZvOwK1AQ6l/B+M1LKCyT3VJxFwnO8WdCHl0RWSQJTUB0Ige2Z55/xAWwxG/r7Uy0k1gCMv0PlWrqM3c/Z1X4Hu+GiW9j1AHIMVwF2MXo= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3689.eurprd04.prod.outlook.com (52.134.69.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.26; Sun, 23 Dec 2018 06:19:09 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::59d2:55a0:dbe3:2a97]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::59d2:55a0:dbe3:2a97%5]) with mapi id 15.20.1446.026; Sun, 23 Dec 2018 06:19:09 +0000 From: Anson Huang To: Jonathan Cameron CC: "knaack.h@gmx.de" , "lars@metafoo.de" , "pmeerw@pmeerw.net" , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "festevam@gmail.com" , "preid@electromag.com.au" , dl-linux-imx Subject: RE: [PATCH V7] iio: light: isl29018: add vcc regulator operation support Thread-Topic: [PATCH V7] iio: light: isl29018: add vcc regulator operation support Thread-Index: AQHUlbghL8UoJu3CiUOnqyrpi++ur6WLCC0AgADaRRA= Date: Sun, 23 Dec 2018 06:19:09 +0000 Message-ID: References: <1545016752-9865-1-git-send-email-Anson.Huang@nxp.com> <20181222171434.4eca4ea4@archlinux> In-Reply-To: <20181222171434.4eca4ea4@archlinux> 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-microsoft-exchange-diagnostics: 1;DB3PR0402MB3689;6:AXkBvPfS33wpsPQHSacUP4cP5vH4utNa0qMXq0C7hMSZqeWNzUzvs2lcSn9lSXfYfRQFcuhwKSwYw+yiAuIE/228R92qUWKNRBESJfxiuXCpIbvOSMAWuHnlRU2OmPA1REHGs0yTFMyudpnkVm/pK9/GLjmRzJigCadnnbgQmUg/dqBjuA8LphZlka37vTPxFe1HlqupibpCEN9AOPKd62omh1tsivsQRMIt5JQEJp/soYIlcgShkX3Pk5Gvl1BSKVxyxh/HvFkVdOr/IzWaGtEsVuA0x77s0wa4lrlhRU11cyissknSpmD98iZ3GRhrNDfsIolOJSGA+t+87iIKMs0PzWuqI5rn9mGZTUXcRTdr42otuDfEhGKHDifc7bz2EESCIjM+P/qotALpomoPByJlsRwRHqC2vW/u2U2pU6M4zyo9d+6wS9h2LU0wkbqoMx0VWDHDpPYiNYHDZcwErg==;5:ghXXudEtoodY3uXgu7KKZcY2Cy8iuQ/5usrVt1WsvbESxZWI5A+n6DkP6bXd9HJKipuvsXfQCbtncnBhD1QQbgIchFcsnBXdycq/mrNHrAic3y6Iaxb9J3sd4Cfs2IJWY+ajxqYiAeoueghZNbNL2GgB+k7zDDfMhOffu60rwuI=;7:ys5H9FMmu0hVRxdvQAC1OyaEy0oOqVnYrSMPEwyBY2nOu+7Qb1FV//+8CSoj2APFLSTPI6p3sb4b3XfblAMwKmck7+BY8RIPhmPjK2rsyHQmq+hxrkM9QAvKumv6zG6JkTxs9naJIQCVfLzyto0JqQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 80339d82-0d05-421c-80ae-08d6689e8ca1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3689; x-ms-traffictypediagnostic: DB3PR0402MB3689: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:DB3PR0402MB3689;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3689; x-forefront-prvs: 0895DF8FFD x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(376002)(39860400002)(346002)(396003)(52314003)(13464003)(54534003)(189003)(199004)(316002)(14444005)(54906003)(256004)(4326008)(44832011)(5660300001)(486006)(66066001)(476003)(99286004)(6246003)(105586002)(81166006)(8676002)(81156014)(55016002)(6116002)(106356001)(6436002)(39060400002)(3846002)(8936002)(74316002)(33656002)(9686003)(14454004)(6916009)(229853002)(2906002)(25786009)(7736002)(305945005)(53936002)(478600001)(68736007)(71190400001)(71200400001)(26005)(6506007)(86362001)(7696005)(76176011)(446003)(186003)(11346002)(97736004)(53546011)(102836004);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3689;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: IDvJi3IBulAYbeJMXumgTKXwWiSQSxnHCP/2X1ylT9Rt3oRxRCnRveAxq1MfFNf+uElCx4r8/IAl1HIsQst3XHNIGh3OcHbO4kvEIZR0anK3arrvDEaITUvbS8Z5DKmUCkwsBVxBDNRJZvzWIM8rmsvF9uGvhxPbEsil0yGU07r1axWcpJAWuXhdtbe6LVb+MK9y0dkOpJY/qAFeSJmfX5f0+QE0N9vyoPebt3TjijE5Ct9OTAFgexNL9iBy4RBT4fCWBAnnOYXJhjhf5eapGsBHU+LubtxInp+tKqdrOMD13Y9zuG0alxZ4gjG+PP1g spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: 80339d82-0d05-421c-80ae-08d6689e8ca1 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Dec 2018 06:19:09.2551 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3689 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEpvbmF0aGFuDQoNCkJlc3QgUmVnYXJkcyENCkFuc29uIEh1YW5nDQoNCj4gLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSm9uYXRoYW4gQ2FtZXJvbiBbbWFpbHRvOmppYzIz QGtlcm5lbC5vcmddDQo+IFNlbnQ6IDIwMTjE6jEy1MIyM8jVIDE6MTUNCj4gVG86IEFuc29uIEh1 YW5nIDxhbnNvbi5odWFuZ0BueHAuY29tPg0KPiBDYzoga25hYWNrLmhAZ214LmRlOyBsYXJzQG1l dGFmb28uZGU7IHBtZWVyd0BwbWVlcncubmV0Ow0KPiBsaW51eC1paW9Admdlci5rZXJuZWwub3Jn OyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBmZXN0ZXZhbUBnbWFpbC5jb207DQo+IHBy ZWlkQGVsZWN0cm9tYWcuY29tLmF1OyBkbC1saW51eC1pbXggPGxpbnV4LWlteEBueHAuY29tPg0K PiBTdWJqZWN0OiBSZTogW1BBVENIIFY3XSBpaW86IGxpZ2h0OiBpc2wyOTAxODogYWRkIHZjYyBy ZWd1bGF0b3Igb3BlcmF0aW9uDQo+IHN1cHBvcnQNCj4gDQo+IE9u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