Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4819078imu; Tue, 8 Jan 2019 06:54:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN4YdO4flf2RvcXm6x2MXT37hXJZtXneH1ZSaOPzZPFaSBuiNH7rBzvQHB8JIVsT8DAEjY4a X-Received: by 2002:a17:902:468:: with SMTP id 95mr2057324ple.3.1546959253892; Tue, 08 Jan 2019 06:54:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546959253; cv=none; d=google.com; s=arc-20160816; b=fpPhb/GOk44GkyJ4C5t7MipAah0mTzUpmathw0I/6tUSZcY4NbsCmGAVkNiATIKIVH nTKUAc/ixH4RrFsrJqfgwdolEIsg/va7wRBEIY8oNmOoddJ9CJcTVMDbfIGoGOH59Trv Kb6PS4tKWKsSSluqOQRqseBbVLf7YB0ef1jBt1aTM9LH11vgJciBPlDfck5aoGnMCxda DBLMUIH63/GPof8KTxgWyEc9qsusALS7NuQMBCYNHgZjJURnt+iRaG6eBlA+nOF8n3ZE LTZtk7rwIs6WAcFUbx5y1J57E1HFPfjFuAcMgxn7bjNWO3jrcF8X0PAqSAlsnzt0rMyh tvRQ== 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=sUKBRtUWDF7IBbsWSfzWkrzjksyH6jWmlLuYEriEtMs=; b=RgcrTSr0l0GCcBcqUnXXzvHDEegLPC6pScQSMuLpaYgGrJ929ITQvkzsuZoQRPG/T6 jhIc69vyfMyHwaTHDCKfBB/wHetWrK2jEl65CQkvl8ecCXmfNEEj+PEvQWn6oJHqYplX MhxFbepGDEaHUb8cddN++9J5pwPd5zVyVPFERTJw7wGefbkxsTYa4ELVXTLa8Q3EmVpF yWf+BrK6DnlO4MQL7gV7x8KM46VRJmujc81oJRSQSWOueoM3LrnWtRJmXOP7FsFbVaPj cLtC66SvrLPFuBUn50rmCLuylL62bQKON10Anpe4/CvDPt99y9+Xl8SXe+qWLnbeND2J yJFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=uStqF1H8; 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 v184si8731389pgd.295.2019.01.08.06.53.58; Tue, 08 Jan 2019 06:54:13 -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=uStqF1H8; 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 S1728211AbfAHOsy (ORCPT + 99 others); Tue, 8 Jan 2019 09:48:54 -0500 Received: from mail-eopbgr80074.outbound.protection.outlook.com ([40.107.8.74]:44486 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727739AbfAHOsy (ORCPT ); Tue, 8 Jan 2019 09:48:54 -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=sUKBRtUWDF7IBbsWSfzWkrzjksyH6jWmlLuYEriEtMs=; b=uStqF1H8bFcfCyt41XX/w0yKz4bP0g9Vg+7pilkCIVNyg2uR9U4Tp2cM37LER20Eb55rErNOv8JoqjtQj5O3VQrNBMqSYUiQJl8oI+Hhjaoolyq9ASQtbGVP5wBk5FQE93O2jhRZYb0xGtHEqRFVJqy3Y0cb9qRGB25yiR+qMD8= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3948.eurprd04.prod.outlook.com (52.134.70.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.9; Tue, 8 Jan 2019 14:48:48 +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 14:48:48 +0000 From: Anson Huang To: Martin Kepplinger CC: "jic23@kernel.org" , "knaack.h@gmx.de" , "lars@metafoo.de" , "pmeerw@pmeerw.net" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "gustavo@embeddedor.com" , "gregkh@linuxfoundation.org" , Leonard Crestez , "rtresidd@electromag.com.au" , "linux-iio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH V7 2/2] iio: accell: mma8452: add vdd/vddio regulator operation support Thread-Topic: [PATCH V7 2/2] iio: accell: mma8452: add vdd/vddio regulator operation support Thread-Index: AQHUpzKBbJ60rFCTZESZwo8trBif4KWlP60AgAA0dDs= Date: Tue, 8 Jan 2019 14:48:48 +0000 Message-ID: <4CB70D1B-06A6-4E34-B701-58E72B1AC9D9@nxp.com> References: <1546938556-26969-1-git-send-email-Anson.Huang@nxp.com> <1546938556-26969-2-git-send-email-Anson.Huang@nxp.com>,<84c2971b-29d5-a0d0-c830-11504c381dd2@posteo.de> In-Reply-To: <84c2971b-29d5-a0d0-c830-11504c381dd2@posteo.de> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [183.192.23.231] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB3PR0402MB3948;6:zAGcc+yHfn/rW48LunSxtiyKdBe3bZG7vBEfAciPMZQKMw7ACsjnVOZK+UKjrmuMThQ4Gb+dcGTCo0bKPghCLlKctjHWkSOfG7xWZrQEJh13c0sygCNwbIsoYVYnCsfxM9RiUKQkvRxLY3GX0RYI0iBtoQtAbHSVbVxe3haEqE8Nu5NPrtGv+bAoGwApVmbvCj3rnpaGyPlSj9BJMJFQu5dBhDOBKw973FTbrkjFhewRKxKEerM8vpaiBRgPwE2kyLKpmGfkKRTvNpgw0r5+CW/6SZkfJGY/8eiXKLu0uCTdi8YeHTduez/KoJV6HVQv/JXtTtDuPZOZFlIXiXU33ghHTXgUS84heO6u5U0bpquO6/rHx4i6peDeOpsjHqn/mV0S0DKMScL3pehJIgalqF+5CFtV0D1Zpm2mv7pEXNNjQJjhK7GUQWOIM1IzyrVRv3qnwa3ShKoz75LU9n+aDQ==;5:oGGU+7ELB+OsXK8qRAKAArgsU++ghSvASUcduOD2hXaNZhMIybFuRa+R0+wUqrLPjZuLIIxCh7KBmDeFKtxRTzCAfQsF8NC+WdmC8skgcRYwZ1ODlOU5BHx1ioGmw2m8U3fCtpHwYwU55mvGIsDOB1i50HgG6LD9/Bytv6a8j8bfrN822gLwMEDMD4l54eA5nH08uZiUho2UmyQU+0wzlw==;7:DBj3foudclcBFOnA0SeJipsMlIz+Kv2xWUemmAFhI1um9hpyohUSioa7t4jIqNilcls1krQhYBpmzhQKJ3jcZlBnxn6gAYUtWJmDPS0ztyWjE6nH+FRUjKgWntVSWnyGgWZSzQyRtWu4AgQYBuQJJg== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: e833f022-4576-4e6d-2a6c-08d6757865f4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3948; x-ms-traffictypediagnostic: DB3PR0402MB3948: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:DB3PR0402MB3948;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3948; x-forefront-prvs: 0911D5CE78 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(396003)(136003)(39860400002)(346002)(199004)(189003)(54534003)(33656002)(81156014)(2906002)(68736007)(3846002)(76176011)(6116002)(256004)(7736002)(14444005)(305945005)(316002)(81166006)(8676002)(6246003)(4326008)(54906003)(44832011)(486006)(66066001)(97736004)(8936002)(476003)(6512007)(83716004)(6916009)(71190400001)(86362001)(99286004)(25786009)(53936002)(26005)(575784001)(446003)(71200400001)(53546011)(6506007)(229853002)(2616005)(102836004)(478600001)(14454004)(6436002)(6486002)(7416002)(186003)(36756003)(106356001)(105586002)(5660300001)(11346002)(82746002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3948;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: VNz2o4WPSQUa6lc2x4EmPgtZi9et/8Ou2MzQo0dgo7kqzTNICY9AK+y9tK+7gLr9LdGYDi1ZumGrdZfpfixNfZ63CthG3qBpK/KAejR9GCPI0Qf69MPVqoieM6lF6ItS4cvky/DpElJY6iMMRlZvhDm13Q8ARw6w5SRxN7+4A8WEG2q9aMzn+NaxwV7GVA1rqqcbrT5utLzoL12g1B2sMTf8NPawUD8qetHXBsZ929ZCQsNBxLZsEyBFnpO8Udx1HaM/f7/HjCH17xule1YCWY547Q8rlEngkcwWzVXIk35OG5E7etK9tQQhWlT9Pst0 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: e833f022-4576-4e6d-2a6c-08d6757865f4 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 14:48:48.5378 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3948 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIE1hcnRpbg0KDQpGcm9tIEFuc29uJ3MgaVBob25lIDYNCg0KDQo+IOWcqCAyMDE55bm0Meac iDjml6XvvIwxOTo0Me+8jE1hcnRpbiBLZXBwbGluZ2VyIDxtYXJ0aW5rQHBvc3Rlby5kZT4g5YaZ 6YGT77yaDQo+IA0KPj4gT24gMDguMDEuMTkgMTA6MTQsIEFuc29uIEh1YW5nIHdyb3RlOg0KPj4g VGhlIGFjY2VsZXJvbWV0ZXIncyBwb3dlciBzdXBwbHkgY291bGQgYmUgY29udHJvbGxhYmxlIG9u IHNvbWUNCj4+IHBsYXRmb3Jtcywgc3VjaCBhcyBpLk1YNlEtU0FCUkVTRCBib2FyZCwgdGhlIG1t YTg0NTEncyBwb3dlciBzdXBwbGllcw0KPj4gYXJl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