Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4514515imu; Tue, 8 Jan 2019 01:21:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN4qZyHmEYMWxKMxM8MpeuSiZXvXtD7rs5e8/v83qG6g0MF5JIJlDJ6bC68V7kqYPb8XaD4T X-Received: by 2002:a63:2263:: with SMTP id t35mr829477pgm.69.1546939274333; Tue, 08 Jan 2019 01:21:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546939274; cv=none; d=google.com; s=arc-20160816; b=f2nw9FcEN67fPJfZFnTmEZyHFSJJB70bLl974sCprhXJt3cYUB2jwISk6TGGK25RZD UWvUL2aoCL0DOhEuCr7d27EDOh5t+/j9s80TPi8D65vsfgIdg5URktddvGHi3BLIB9ii zEJu17P5ErLAUmDv1sTStzsAvKJjHt8zPLrBWSfla1Lnuq3M+E1tJjG4DHYUFVg89Ryb 7z71M1hxXRPn5uDRdKW+mzxyrIl/jf+/Lli44hpH9CyBkeoiIDPMEU/Z9q1xT+POXAxN zxnrYHJef3Tr4TYzk3VS5zhD8Zqgk6NryU9OkO3jj3zUvbvELwhgpgbLi1VJYxNAJV65 6gGA== 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=AxggIkx2MZ+1z8vfTUh3SQh2Q1LS5R54Oq41VQgMaXA=; b=QdYyKSjGn5kvHMrzJ6XcxWLTJsvmSiy5rqiF4Lgi9JhatzeCcSn5O4OLd7ysDHGHTC gqbHSlU2ypJziG1YsvStMl1u9mwPtLNHrz403wORklwKbhnf5Iw9O+E2MEawxfEPyzDW i5Ac699fYViij0vRw/fkMMtdr6ZTmTxRlckpi3qSFY0qdN+ozKfYh4Vr8yhKsMrBte3G o3aHb+cjsVGJgLv8Mk+XLCqYIvjdk+dSWkobSYOySPS2ojMpUUD0yyaM+MV/87EZQtFd S9NiKjzM7oJi29vyS2B7K7AcLQdHG9cZmoHJwDmqsUZHLxvqDq6WRRrvptKoEkHDqFEe FUgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=pxGbNu1g; 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 cc16si11479858plb.377.2019.01.08.01.20.59; Tue, 08 Jan 2019 01:21:14 -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=pxGbNu1g; 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 S1728336AbfAHJSh (ORCPT + 99 others); Tue, 8 Jan 2019 04:18:37 -0500 Received: from mail-eopbgr150054.outbound.protection.outlook.com ([40.107.15.54]:62149 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727295AbfAHJSg (ORCPT ); Tue, 8 Jan 2019 04:18:36 -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=AxggIkx2MZ+1z8vfTUh3SQh2Q1LS5R54Oq41VQgMaXA=; b=pxGbNu1gjdG91OdXLjb12EmwC8vSeeOlf+irkPylsZ49hP4uoF6TCD/EqxlK5g5gn0X+i6bRWGZ23co9+cCBxGBpDi4r/Xc3sdjV7HT3XrhNVwDBMlY4AcoaALwv/d5TV6SKMoEYKmsK702A5+9rDUP/oMb/vGaDLbG+O961lpU= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3643.eurprd04.prod.outlook.com (52.134.66.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Tue, 8 Jan 2019 09:18:31 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::59d2:55a0:dbe3:2a97]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::59d2:55a0:dbe3:2a97%6]) with mapi id 15.20.1495.011; Tue, 8 Jan 2019 09:18:31 +0000 From: Anson Huang To: Jonathan Cameron CC: "knaack.h@gmx.de" , "lars@metafoo.de" , "pmeerw@pmeerw.net" , "rtresidd@electromag.com.au" , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH V6] iio: magnetometer: mag3110: add vdd/vddio regulator operation support Thread-Topic: [PATCH V6] iio: magnetometer: mag3110: add vdd/vddio regulator operation support Thread-Index: AQHUmoZ8ihE2Fil8TkuuElxHBF09WKWhCCcAgAQo0oA= Date: Tue, 8 Jan 2019 09:18:30 +0000 Message-ID: References: <1545545266-6741-1-git-send-email-Anson.Huang@nxp.com> <20190105174636.4971accb@archlinux> In-Reply-To: <20190105174636.4971accb@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;DB3PR0402MB3643;6:/52fGvFUXOvEgxFsblx+kLc1beCoMN8x4LKZ1EpAMVkkuuM4sNGu0VMvJ1zJV9irLXIGPLrpIs59vMct/OCYElqOtBu00TSQxE4XTzLS6HlPbOTXbB9PSjRHjaZFsXXOhME65xDrmIvrJu3mhIXQNDW8y5jXC+os2KF3GGmwYMpv4wL9v9mvXJDRLUBulz30J3JUZ7LiaIGPF1OJ9f4VHkKudphupMIGW4I1SUdCh8GzA+/5I7apS+TFcs6TvlIMtlnZ1qZ2xxzLSacwsukdXTdorIQIMW+iwbAeX1gnRElltDOgocx1pPhXHE1ukKeLjiGwCmc8XGnRKxHkxzzWRhAQqguhFlmbZ/X/2w3bO5MmxKkTDF+Jzm8RcAEHsTFxyBEs1D/AGstk7IqYJkjgSR+49Wx0IUOullseBzuA5mIM6fD7H8O5bVVlht8VrLg1pvqlFir0lKPxK4JK45bGNg==;5:oxMV3M7VwLQYv2lZcE88ABdpXzan3Jhd2VtW4kDNH5OKscWTozfVpu0xG/1X61qyzwr3e4LHPOc3bOzI7FWWpa1b5wowPVfK16t2QZEThJcsg9vc2Kf7V1nJfHcTO8kzThu81Usbrn3LbeyD97MvWS/+0oZ2Fb5zPt7dhU+/wzO0YiSCEdb/Os/BfT/p087eksERD0Nr15d8ZOcRsGgP8g==;7:I7Ou3OyHKGJEmfOXVFsacsqYzr3d0lSXKWmZEFzrjqDdK9ZM8WFkQNk8HHrhaHWwwvCGIXiG6ZtcY1rYmERXHcVAsKdM9kUA1q5wxF04Df7tZn2RrTVXKx4tuEJDI2uIk7v2Y3lkoIGzbTuoLVbgWQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: c9d63245-4b99-4591-fc38-08d6754a41bc x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3643; x-ms-traffictypediagnostic: DB3PR0402MB3643: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(10201501046)(3231475)(944501520)(52105112)(93006095)(93001095)(6055026)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:DB3PR0402MB3643;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3643; x-forefront-prvs: 0911D5CE78 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(346002)(136003)(366004)(376002)(199004)(189003)(54534003)(13464003)(8676002)(7696005)(6436002)(81166006)(53546011)(316002)(99286004)(76176011)(81156014)(54906003)(305945005)(6916009)(446003)(6116002)(44832011)(2906002)(5660300001)(476003)(7736002)(11346002)(486006)(33656002)(14454004)(74316002)(25786009)(105586002)(106356001)(53936002)(55016002)(3846002)(66066001)(8936002)(71190400001)(71200400001)(9686003)(6246003)(26005)(256004)(102836004)(6506007)(4326008)(86362001)(229853002)(14444005)(68736007)(186003)(97736004)(478600001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3643;H:DB3PR0402MB3916.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: 15NpB/fVnJu5JnEffKW2D5Wy7nq0bcvbxTkRJtK8nU8udEvymSt7IupJY3+P+J+AMIOCj66JLDbYtKPPDMkfkPUXK17S/iKweWjrziHEdFDWCHW+0z0apf8K6HHSzYFb1nHPDKO0IGkiIzYiuu2u3+zNZaDHZDeoJ9vZyY79cEc82jPdnUjdK8bN1bilkNwbANUNxpcotxQFMk69diGMazluq48amrQRB0J9b5KThftQa8SNzn1uZyHcyDnKM9jUXBWWG3KkVQ4+gQumd4fpRTUyQC7A+akIuLSGOnESwkxhuctklDRhc7vlYUpJmVKX 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: c9d63245-4b99-4591-fc38-08d6754a41bc X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 09:18:30.9657 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3643 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIEpvbmF0aGFuDQoNCkJlc3QgUmVnYXJkcyENCkFuc29uIEh1YW5nDQoNCj4gLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSm9uYXRoYW4gQ2FtZXJvbiBbbWFpbHRvOmppYzIz QGtlcm5lbC5vcmddDQo+IFNlbnQ6IDIwMTnE6jHUwjbI1SAxOjQ3DQo+IFRvOiBBbnNvbiBIdWFu ZyA8YW5zb24uaHVhbmdAbnhwLmNvbT4NCj4gQ2M6IGtuYWFjay5oQGdteC5kZTsgbGFyc0BtZXRh Zm9vLmRlOyBwbWVlcndAcG1lZXJ3Lm5ldDsNCj4gcnRyZXNpZGRAZWxlY3Ryb21hZy5jb20uYXU7 IGxpbnV4LWlpb0B2Z2VyLmtlcm5lbC5vcmc7DQo+IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5v cmc7IGRsLWxpbnV4LWlteCA8bGludXgtaW14QG54cC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbUEFU Q0ggVjZdIGlpbzogbWFnbmV0b21ldGVyOiBtYWczMTEwOiBhZGQgdmRkL3ZkZGlvDQo+IHJlZ3Vs Y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