Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2293265imu; Fri, 14 Dec 2018 08:43:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/WjinbLeooXBmOH7XZ/SiM0VwhLWeFoWZa/XVpkCHTdxPavNJpWKwzU71084Hzo2Ed9H2o0 X-Received: by 2002:a17:902:bf03:: with SMTP id bi3mr3526457plb.83.1544805806110; Fri, 14 Dec 2018 08:43:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544805806; cv=none; d=google.com; s=arc-20160816; b=OtQmEI6XFpxb4qMWb/COF6IWNvBG8KuNqr5VfdJVEVENjaSgUJBhBEOAhWOrxQoKnh aWvpb9+yQOun4av7FdfKnQ5NgxAqGA04x4ABX6DPjPz7lqUstl0uc9xs81fyrX22z39Z WsuUm+rSIl39VX+N62ZPSXucaRufvCcBBHTsGZlKh1qqNt2pt9CD+TLhNeEx4+YhN1iZ olMKYE5yf7sAYcEu0BteG+odCJC1XBWUGwbIYvpJqNEtZNYZBuPZ/ACnDWapEW4O69A1 v8lzCQJR1JeC0PfErSUMvczdQ2yxTOIE34a9jy6Sp+JdOZ5fHLL7H53N9Y0ZBm7AqzB4 lz2g== 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-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=5PLml7wBhSI+w/Nxvs6/51jZ+I1XV3Uwd8BTliBO8do=; b=OoXQDjuWLazKNXDfktlDbB3dePEJBfQt/ay9zmfIV3eThz6ppL9rLoWP3L2rizMEu0 69fwCenBUFWK+43g2FvjzNAwCrucwri50aE0kA6PzJwYKbAMzUL+BAx/jDzcKssMV6Ha 9f6cD3GgGQBSt9f4t/XMAw/2l7vxpqYH5v0nzpHDDtjPpGQdNqXCwpnXWghV8Y2NmTzk WpnHlLHY2hnwvaT9qzZ0dKpUKCmeL2iaPBtKVTY5/55cp8TtuT2p3efsbhTtzd7iQsWl i3QvWXCTDWdYWwf6vbbcWkJzKTreBd4gevNNPXHE2+Ph5PNQjOvKsJFOXxxsSLmEh++j oTGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ysoft.com header.s=selector1 header.b=yznXgIlx; 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=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si4441460plq.138.2018.12.14.08.43.05; Fri, 14 Dec 2018 08:43:26 -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=@ysoft.com header.s=selector1 header.b=yznXgIlx; 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=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730179AbeLNQke (ORCPT + 99 others); Fri, 14 Dec 2018 11:40:34 -0500 Received: from mail-eopbgr150041.outbound.protection.outlook.com ([40.107.15.41]:24640 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729672AbeLNQke (ORCPT ); Fri, 14 Dec 2018 11:40:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5PLml7wBhSI+w/Nxvs6/51jZ+I1XV3Uwd8BTliBO8do=; b=yznXgIlxHief0QN74+724Pn9HHES8cW+PcS/Mpnm6zP58O4W1Hw9rVo5tpkX/vAVaHD9uiw2F11T4nCjg58vNv5C05mvKIhKHedR/oJrTdxJbyyv10nmso9RMr2ij8ytmoSwi4GFKKTD3LOVE1a7C8cjeyVO6fF78M0bNGgYoBQ= Received: from DB7PR04MB4667.eurprd04.prod.outlook.com (52.135.139.13) by DB7PR04MB4204.eurprd04.prod.outlook.com (52.135.131.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.22; Fri, 14 Dec 2018 16:40:30 +0000 Received: from DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::2561:ec02:4e5e:f490]) by DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::2561:ec02:4e5e:f490%3]) with mapi id 15.20.1425.021; Fri, 14 Dec 2018 16:40:30 +0000 From: =?utf-8?B?Vm9rw6HEjSBNaWNoYWw=?= To: =?utf-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= CC: Thierry Reding , "linux-pwm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [3/3] pwm: imx: Implement get_state() function for hardware readout Thread-Topic: [3/3] pwm: imx: Implement get_state() function for hardware readout Thread-Index: AQHUkgijcYBGTtAP70mgN1nU8kTgYKV+c18A Date: Fri, 14 Dec 2018 16:40:30 +0000 Message-ID: <37cc424e-cafd-acb6-d7d2-c6c98abf53de@ysoft.com> References: <1538403588-68850-3-git-send-email-michal.vokac@ysoft.com> <20181212105118.GA9268@taurus.defre.kleine-koenig.org> In-Reply-To: <20181212105118.GA9268@taurus.defre.kleine-koenig.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR0202CA0011.eurprd02.prod.outlook.com (2603:10a6:803:14::24) To DB7PR04MB4667.eurprd04.prod.outlook.com (2603:10a6:5:37::13) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michal.Vokac@ysoft.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [89.24.100.190] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB7PR04MB4204;6:pFjrei3UFGpZREF48YFRXvwQyicRZMlRH1kPHY4MdF1Oj6INJ5DHrEQfAeyPNitQnAX6XNKdtGsBYHv7W+kcHPCRZmgWGILUekWJS91m1I+5gkKPAzz9lhXoEvUyrWRU1wwB6zCOUDAnBKq8LNVndTAwd2q4bmQGKRgPfEeTypFn8Xsw5engcSGGxGmkWOwiQgiraqQDtR39g4Vl8FWdz3Wwko68S6K+dBTqZBrPgFlZ6wVPvCG8eAybkLTMzQAHbKlbJ4igi6BqE2JO5dUDk3MYRt0ZvN1PRkBCdPrdF0mqYQEyuHRreTWfqJvStEe6+xDyqzJxyJuj0bIAP2ILfD8WSh6ki2F2d8Ce6Ll3v5vtKUHGcjKJoj9aPYopFG1KUV9xTIz/uLBx9iI/60GUxKezTPqPw1Er/D63D2XHXK9lS3sfwKkUqF82YNlmFVpmhpiXtm5l42gcIAUYLRYOvA==;5:wXbF+IGxBEACYoPa7TbQ8G28bto/qDx4ngX5DnZdcyj79CPMlbY1WfjDsuztDxUBEW2fa/pD1Ln7WbkXNRGGbSGMRNFMfhBgLKlxAYr80o/E2LRqp9MIGUfWaYZgBveM2xVQckTeVQvCRexx6vUQARtcRh45Z8PIRYt3oA6QyJg=;7:5uza+eRnMdXfObs1DchYos56mDNgJLLfpcgbnPSlSGhjXy9x+r/A2xLmjJGnYvEoxQgIupzf2+Nkr4gtbsPvz+QZIwbz8wlNMrJbz38mHI62IO54JbvvykhZSd3hCgQyRgS/Ur0hT0gnQl7DjRm+tQ== x-ms-office365-filtering-correlation-id: e1bb04cc-6cd4-49f9-7d19-08d661e2dc49 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB4204; x-ms-traffictypediagnostic: DB7PR04MB4204: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(3230021)(999002)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231475)(944501520)(52105112)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:DB7PR04MB4204;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB4204; x-forefront-prvs: 08864C38AC x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(366004)(376002)(39850400004)(396003)(136003)(199004)(189003)(386003)(6506007)(53546011)(6486002)(54906003)(6246003)(316002)(102836004)(66066001)(99286004)(6116002)(3846002)(2906002)(6916009)(71190400001)(76176011)(81166006)(5660300001)(71200400001)(36756003)(97736004)(25786009)(8936002)(31686004)(6512007)(256004)(14444005)(39060400002)(53936002)(66574011)(486006)(2616005)(11346002)(446003)(8676002)(52116002)(81156014)(476003)(4326008)(229853002)(31696002)(7736002)(305945005)(186003)(86362001)(478600001)(68736007)(72206003)(14454004)(106356001)(85182001)(105586002)(6436002)(26005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4204;H:DB7PR04MB4667.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: ysoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: il33yXLyoVRHjRkpPMGLMpvl7lCwBMlF8fSaq6DgJGIQBWUxMEohs108R5upET+/txEurj1rc5U3p6klbu+wvxRgtbbhhuSytWMR66sDKD3y1/qFCPi5kJcWB5tEGqqdoSrymIonvHfZjb7h1chNLRD5wqSFGycZvcJ55OMBh1vLT2c3gLHDGF8tZPA8V4IvOHWAajqUdPppUPvI63And21LNj8qWNgh5Sz9gVUB9XEBnp/KUAkuPMUfUcVE+WcbYB5/gZGB6JrXmONVxjmYU2ApI5t9y2p4gzCgnhEjMT5s8bA3WjJUJXnAj3DDVVL3 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <000F27EA2DB23041AA4355250AD4BF89@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1bb04cc-6cd4-49f9-7d19-08d661e2dc49 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Dec 2018 16:40:30.8072 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4204 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTIuMTIuMjAxOCAxMTo1MSwgVXdlIEtsZWluZS1Lw7ZuaWcgd3JvdGU6DQo+IEhlbGxvLA0K PiANCj4gT24gTW9uLCBPY3QgMDEsIDIwMTggYXQgMDQ6MTk6NDhQTSArMDIwMCwgTWljaGFsIFZv a8OhxI0gd3JvdGU6DQo+PiBJbXBsZW1lbnQgdGhlIGdldF9zdGF0ZSgpIGZ1bmN0aW9uIGFuZCBz ZXQgdGhlIGluaXRpYWwgc3RhdGUgdG8gcmVmbGVjdA0KPj4gcmVhbCBzdGF0ZSBvZiB0aGUgaGFy ZHdhcmUuIFRoaXMgYWxsb3dzIHRvIGtlZXAgdGhlIFBXTSBydW5uaW5nIGlmIGl0IHdhcw0KPj4g ZW5hYmxlZCBpbiBib290bG9hZGVyLiBJdCBpcyB2ZXJ5IHNpbWlsYXIgdG8gdGhlIEdQSU8gYmVo YXZpb3IuIEdQSU8gcGluDQo+PiBzZXQgYXMgb3V0cHV0I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