Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp197045img; Mon, 18 Mar 2019 00:43:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJN/CzQRpvywuQ3Xe29Umn1bShwvLVgomJEF2yA1QEcP/jVZuDPZex9uqeP3M/Npi47c9X X-Received: by 2002:a63:6903:: with SMTP id e3mr16527335pgc.147.1552895012651; Mon, 18 Mar 2019 00:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552895012; cv=none; d=google.com; s=arc-20160816; b=QzyAoQ4Ekiq4q/JYAiAVmeAmkSIXJT26fjzDjI0rlaHIna+nwYTzNmVQ6azkMWB7Vi HdHrIU0oMMkychRMoxe5S1MsCm/kJ/qfOnQflCzmQd+ZiWp+MqT4DAe6oGSiyyyN62Bk hTTAfZ4I4R6xParle3Tv9rbMyGnUcJ7Tdh00/cJpDbzf380rUuD/f/ugqpTu+b1/f3zO ZaKIGzvQP4dQOF3L76M4/QOewT0OSBesjvMQrP9OsSxQbttStBCI9WoJSlqEyyxiHjUc mSs7170Pys9AW5vKbas9iK/HPmn8S/M57cx++LNXMRLzG1wvXlempy6e0uhxia0hV0Br sqFg== 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=++wxAQ+UE2/rs9IzsEOboAoDIvAOOB3F5P0/3NslrkI=; b=mPvzncPCfRbSeoha7YScLgyQLFb1/LmTs8cgiLaf67pTXB1YT0nEa+5FYEoN8GsCPe bAw6bJviBbgOuscV0T+XMFoEy364RwAkEEXTpBU/ntj4RhR+6/0zNAvvYJSXN2dvqDhO BXUJhPyq98zi2jqeleXP8BIu67gCZYH39f8Wir0r2wNvpIxScfV0dcV+g6kvA7Hi75RQ QWA7pHzjh+MnKPF7F3Hz6rFccfv2YTCgbmeG28QJmF+sN3I4cqAjd6zEzH2XQK9H9HIv +B0cdaaxyw9fFm2oTL61GxniUa42cZWO6wC0cV9Th8nxEN5o/Sl/YyGd3SMDDT0f3RXU q7iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="ChCa/W9G"; 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 k17si7169863pfa.181.2019.03.18.00.43.17; Mon, 18 Mar 2019 00:43:32 -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=selector1 header.b="ChCa/W9G"; 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 S1727382AbfCRHlW (ORCPT + 99 others); Mon, 18 Mar 2019 03:41:22 -0400 Received: from mail-eopbgr70087.outbound.protection.outlook.com ([40.107.7.87]:17764 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726135AbfCRHlV (ORCPT ); Mon, 18 Mar 2019 03:41:21 -0400 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=++wxAQ+UE2/rs9IzsEOboAoDIvAOOB3F5P0/3NslrkI=; b=ChCa/W9GrAK8A8pzwuVBVNyjIlToGdpMeGp7PNKb5O9oaP3qqr6CacaZVEEF1KQfPDSvs1vPfQ6xqXE7LA+kYCMml7IPl3ImBZ+6To7LzP1ly+pftKbEd76S2QXVrMtCdTdyXfJgF+831XDqrSYE1Kon5Y0wYhYQZ+FgE7RYjFw= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3868.eurprd04.prod.outlook.com (52.134.71.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Mon, 18 Mar 2019 07:41:02 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08%6]) with mapi id 15.20.1709.015; Mon, 18 Mar 2019 07:41:02 +0000 From: Anson Huang To: =?utf-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= CC: "thierry.reding@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux@armlinux.org.uk" , "otavio@ossystems.com.br" , "stefan@agner.ch" , Leonard Crestez , "schnitzeltony@gmail.com" , "jan.tuerk@emtrion.com" , Robin Gong , "linux-pwm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH V4 2/5] pwm: Add i.MX TPM PWM driver support Thread-Topic: [PATCH V4 2/5] pwm: Add i.MX TPM PWM driver support Thread-Index: AQHU2siU0bWGOMWkiUi6PBGed50RsKYMb0wAgARM6KA= Date: Mon, 18 Mar 2019 07:41:02 +0000 Message-ID: References: <1552610505-13568-1-git-send-email-Anson.Huang@nxp.com> <1552610505-13568-3-git-send-email-Anson.Huang@nxp.com> <20190315093532.xw5ivfkxrwvrkvix@pengutronix.de> In-Reply-To: <20190315093532.xw5ivfkxrwvrkvix@pengutronix.de> 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: 7791c183-1e9b-4743-94a3-08d6ab75123e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3868; x-ms-traffictypediagnostic: DB3PR0402MB3868: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 098076C36C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(136003)(396003)(39860400002)(346002)(376002)(189003)(199004)(13464003)(5660300002)(14444005)(68736007)(966005)(476003)(14454004)(97736004)(45080400002)(52536014)(66574012)(7416002)(44832011)(486006)(11346002)(446003)(71200400001)(6246003)(71190400001)(26005)(30864003)(25786009)(105586002)(478600001)(106356001)(4326008)(186003)(86362001)(81156014)(6436002)(6916009)(9686003)(8936002)(55016002)(53946003)(2906002)(229853002)(6306002)(33656002)(66066001)(3846002)(6116002)(305945005)(74316002)(102836004)(7736002)(76176011)(54906003)(81166006)(53936002)(7696005)(6506007)(8676002)(256004)(53546011)(316002)(99286004)(579004);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3868;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: tsTOaZLlux+JEp2qJH6M59PNv5F/v0ZMPSUn3dt9EJ9BldPpOPcmkPgp3w1aPphr6H1ncWssywitJdnbzhGF9ezD5ivFYamw+TvYKpPJlCj8jNpFkzNrFg/xxF+2g7HNMbOJFU8toSiim4SZ9CnNWqJwqo90O6Pa52b8dUEFYELimaaWDlVP3W8baMfy4mrP4BxTVTcCCDQ9bjo6ovCSIxDzOPsJKb8ZGq9qn6vXRAL9GQbNI8L7iAkppvFGiAaX+DXYziiWddP1aGs78k/oJ/1qe6v2qrg5fUHkevCws1uRTSmzsYKae+wuvjWewQdH7/01/E5+VS3HF2Uzh20B4KMQcaUGDhkbhuLe3TbK+pDPbN0VKuj4Br58gxfuDNwrk+7X1BdiDCNwT80y0EyhqXaNTz4uJT4WBOY1NX7nh1g= 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: 7791c183-1e9b-4743-94a3-08d6ab75123e X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2019 07:41:02.3036 (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-Transport-CrossTenantHeadersStamped: DB3PR0402MB3868 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksVXdlDQoNCkJlc3QgUmVnYXJkcyENCkFuc29uIEh1YW5nDQoNCj4gLS0tLS1PcmlnaW5hbCBN ZXNzYWdlLS0tLS0NCj4gRnJvbTogVXdlIEtsZWluZS1Lw7ZuaWcgW21haWx0bzp1LmtsZWluZS1r b2VuaWdAcGVuZ3V0cm9uaXguZGVdDQo+IFNlbnQ6IDIwMTnlubQz5pyIMTXml6UgMTc6MzYNCj4g VG86IEFuc29uIEh1YW5nIDxhbnNvbi5odWFuZ0BueHAuY29tPg0KPiBDYzogdGhpZXJyeS5yZWRp bmdAZ21haWwuY29tOyByb2JoK2R0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