Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1768592imu; Wed, 12 Dec 2018 04:06:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wpo+VvKIz48YyoOFbb0i8h1cpdENq9Jr/nEThfUBdisSg4XDEYZ4rFR8TJYp6chI6BzrA6 X-Received: by 2002:a17:902:2dc3:: with SMTP id p61mr19163969plb.166.1544616412367; Wed, 12 Dec 2018 04:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544616412; cv=none; d=google.com; s=arc-20160816; b=VB4dqUzFQN9hyW3rRBhl9ekn4omL/K+yu5rJTv95oI+RElMKAzHLGFM9s//XnnpoLu cdq9I5zmf0p7uDg5M2n/ZZ+ygeCaeQkhgfOJiaab4g3vTOpouke+u99ZgAlBD3SyJB7U zfPSiBuGqHuVTjr4ld+4Qy99Zl7sVOofahneeOwbo3ITuTppvvkAB72daCHHFczTSiBk H5SN6VS6s/TL5ncxIvICbp6a6qhoKqBPTH9xuY82pOh1Bvgew6f381o4NP+3FyFb9E8t YwFpOK9q9eG3XG+uSwrCrOFC1e3kUiqjgZAFoew+q8f1L1dRu6119s6G8RJQhLfZdaAI 7Upg== 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=b+I31AhgTuWyV+rK6j7iY7ASSG6AQb57N/al32nl934=; b=hKpYcmMXbeNuFtlsiPc/NGUP6CizhDwM5hWeoCzIwXYSP+FYf/XF9pSX6Tor9p04GY eZJpyV0ly9WXM7dgY3TV9wFocc8AmesSALIGee+9C/ig4QgopNhN06IJeYmjf/wxeDYn TjpUBaeEeApTipmcN30o4Rz/fRyK60swoa4tw6oj2TkUy0U5qhxJaVs8YfIlFiLSvDmr AnLIQ1Yy5MjFKmohC5FmU2oVv4ON0QEl/dVE/8DmDvvwTDv+KcnVJK9bk/FahLvc7aYq Yy9HnBcEAfwgJ3lx2nEP59ZyET5yXdSb+azDxNuTwIRqSh2lw39QsiGwoWZLE/Qtno9A 4q3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ysoft.com header.s=selector1 header.b=GC1w9bCy; 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 u34si14932584pgk.24.2018.12.12.04.06.37; Wed, 12 Dec 2018 04:06:52 -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=GC1w9bCy; 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 S1727446AbeLLMFD (ORCPT + 99 others); Wed, 12 Dec 2018 07:05:03 -0500 Received: from mail-eopbgr10042.outbound.protection.outlook.com ([40.107.1.42]:2323 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727326AbeLLMFB (ORCPT ); Wed, 12 Dec 2018 07:05:01 -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=b+I31AhgTuWyV+rK6j7iY7ASSG6AQb57N/al32nl934=; b=GC1w9bCyH8iUgeyJ5l+z2/UCfs8dhT7skaK8qL1VUTlKTpQqFe/F8/BJbHxt74i/3B1Pk5xE7ljaljOn7AbItYtKtF68jjrL8g6SwA5FSKt4sAMzQUGVYu1Bd6163vmDyg/NpsGkCo2KyDWUnah+pgUuW8pFenkZ8yavKALMomI= Received: from DB7PR04MB4667.eurprd04.prod.outlook.com (52.135.139.13) by DB7PR04MB4121.eurprd04.prod.outlook.com (52.135.130.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.18; Wed, 12 Dec 2018 12:04:51 +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.016; Wed, 12 Dec 2018 12:04:51 +0000 From: =?utf-8?B?Vm9rw6HEjSBNaWNoYWw=?= To: Thierry Reding , Rob Herring CC: Mark Rutland , "devicetree@vger.kernel.org" , "linux-pwm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Lukasz Majewski , Fabio Estevam , =?utf-8?B?TG90aGFyIFdhw59tYW5u?= , Linus Walleij , =?utf-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= , =?utf-8?B?Vm9rw6HEjSBNaWNoYWw=?= Subject: [RFC PATCH v4 2/2] pwm: imx: Configure output to GPIO in disabled state Thread-Topic: [RFC PATCH v4 2/2] pwm: imx: Configure output to GPIO in disabled state Thread-Index: AQHUkhLirFnKXujZwEq6KFuGhzIyhg== Date: Wed, 12 Dec 2018 12:04:51 +0000 Message-ID: <1544616263-82642-3-git-send-email-michal.vokac@ysoft.com> References: <1544616263-82642-1-git-send-email-michal.vokac@ysoft.com> In-Reply-To: <1544616263-82642-1-git-send-email-michal.vokac@ysoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0701CA0022.eurprd07.prod.outlook.com (2603:10a6:203:51::32) 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;DB7PR04MB4121;6:P3pzOZOfxvo+a01xC7pA65BUsD93rqxyHTzxWx8PrFrNJJQN737mRRzheDOIsUEpssC6mWF+lCepGcbyLFChTKqnkHP5ENyOaDm2tCq6NSZo+3r1JWos06CcT9SHNmRWioACUknxXLorG7EO8lG3f2kRThWpmBHawL5qI+KK02I+3rAVlj3hdWv6JFn7Dvnif+A94Ea40r2aN5NrLnYwYUrWiopdbfM63bYaj55Ks/VDtnfRJHo5UK7INbEuT1PrS2yUz111NBLF2DgUXPENM675Y8aibWJ5qWt2WZMNB/0y730B8suUtbcLQ4EKREPUoXAZ3nvY6R6uaEEYmisqSeJtx/ZuUCvzQdbm9xD5MqZQFeDrAGq6HudorB9Bz+BazUccnFocgbOzN96cGmDyvL2qlWCP4SsE9JcPNzjR5ZCbukzJRAkQz/rRh5fyEmb2zgsIBlnCJqjgAh8hqoFJ4g==;5:uj+TTn1a//q2fzuIo8qtrf7icz6HbQEQZi/+11mNyXw7WV9D5qxhfS/Xh/PWhK6thoA9G0YbfuVHzsN4KlTMVTVNaatI2dEaIID06dpT2rMl9mjIOd/VyAMdZgHd5Kmf0o2eS/N/ROtaJTQ1wsg1/VlsWuReDKlOzXxFl4v/wMk=;7:xr4bAoAIcRcsSwcrujNTy3S/yoUIW+KP4PW5almaZ/2X3OXJPcCP70MpUg0NPo3vJsqzJ6rwkPXnsHEH6ayybkE97rCqkeZMN04dF40kjFipofyU2UYoXNGrFjRUcnN59Fa9eO6nqZgT3nTmMcdmXQ== x-ms-office365-filtering-correlation-id: bd9dc6fa-592e-4e08-2a3b-08d6602a0525 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB4121; x-ms-traffictypediagnostic: DB7PR04MB4121: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231455)(999002)(944501520)(52105112)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:DB7PR04MB4121;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB4121; x-forefront-prvs: 0884AAA693 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(346002)(376002)(39850400004)(396003)(366004)(189003)(199004)(66066001)(105586002)(6436002)(71190400001)(14454004)(106356001)(71200400001)(7736002)(72206003)(4326008)(7416002)(97736004)(25786009)(305945005)(86362001)(5660300001)(478600001)(8676002)(6512007)(39060400002)(53936002)(107886003)(14444005)(256004)(68736007)(11346002)(486006)(446003)(3846002)(6506007)(102836004)(386003)(2906002)(26005)(476003)(316002)(2616005)(85182001)(186003)(52116002)(110136005)(99286004)(6116002)(81166006)(76176011)(36756003)(81156014)(54906003)(6486002)(217873002)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4121;H:DB7PR04MB4667.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: ysoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: d9hhcOGuirLG4NRtuJXD2qBkz5DtSu1awqd54Gej9Zoo0XNPJ+IbOS4j7j37KtdqXr1HY4+li2w5pgnr4GnJ2OshA1Jf38XxSYJu4g5OS9CE6rP9cSi3LGlPc5YW8PntfZ3Y6ns7BjX7VvoymlCBv0JYmLEo5gzKeAPx8ExUJmcsONkNeUip7+VHaVwrCa9zlwHgoqpcecxVwcjixGT4FZS5AbiSw4YI6AWrXsa13nL00lRoJ9GfJMGoFiQT/W/99efHDJ0wY07U0adR82bGAuf7Qivs+4pWaT9ZKo306xn9lJYCtowDjQpDsIH54mN9 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <9F579DD93FFB0646BEA8CB848C771C29@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd9dc6fa-592e-4e08-2a3b-08d6602a0525 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2018 12:04:51.3420 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4121 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tm9ybWFsbHkgdGhlIFBXTSBvdXRwdXQgaXMgaGVsZCBMT1cgd2hlbiBQV00gaXMgZGlzYWJsZWQu IFRoaXMgY2FuIGNhdXNlDQpwcm9ibGVtcyB3aGVuIGludmVydGVkIFBXTSBzaWduYWwgcG9sYXJp dHkgaXMgbmVlZGVkLiBXaXRoIHRoaXMgYmVoYXZpb3INCnRoZSBjb25uZWN0ZWQgY2lyY3VpdCBp cyBmZWQgYnkgMTAwJSBkdXR5IGN5Y2xlIGluc3RlYWQgb2YgYmVpbmcgc2h1dC1vZmYuDQoNCkFs bG93IHVzZXJzIHRvIGRlZmluZSBhICJwd20iIGFuZCBhICJncGlvIiBwaW5jdHJsIHN0YXRlcy4g VGhlIHB3bSBwaW5jdHJsDQpzdGF0ZSBpcyBzZWxlY3RlZCB3aGVuIFBXTSB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Rsb2FkZXIgfCAgIFBXTSBwcm9iZSAgIHwgICAgIFBX TSAgICB8ICAgICBQV00gICAgIHwNCnwgMTAwayBwdWxsLXVwIHwgICAgICAgICAgICB8ICAgICAg ICAgICAgICAgfCBlbmFibGUgMzAlIHwgICBkaXNhYmxlICAgfA0KKy0tLS0tLS0tLS0tLS0tKy0t LS0tLS0tLS0tLSstLS0tLS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tKy0tLS0tLS0tLS0tLS0rDQp8 IHBpbmN0cmwgICAgICB8ICAgIG5vbmUgICAgfCAgICBkZWZhdWx0ICAgIHwgICBkZWZhdWx0ICB8 ICAgZGVmYXVsdCAgIHwNCnwgb3V0IEggICBfX19fX19fX19fX19fX19fX18gICAgICAgICAgICAg ICAgICAgX18gICBfXyAgICAgICAgICAgICAgICAgfA0KfCBvdXQgTCAgICAgICAgICAgICAgICAg ICAgIFxfX19fX19fX19fX19fX19fXy8gIFxfLyAgXF8vXF9fX19fX19fX19fXyB8DQp8ICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF4gICAgXiAgICBeICAgICAgICAg ICAgICAgIHwNCistLS0tLS0tLS0tLS0tLSstLS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tLS0tKy0t LS0tLS0tLS0tLSstLS0tLS0tLS0tLS0tKw0KfCBwaW5jdHJsICAgICAgfCAgICBub25lICAgIHwg ICAgICBncGlvICAgICB8ICAgICBwd20gICAgfCAgICAgZ3BpbyAgICB8DQp8IG91dCBIICAgX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXyAgIF9fICAgX18gICBfX19fX19fX19fX19f IHwNCnwgb3V0IEwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXF8vICBcXy8g IFxfLyAgICAgICAgICAgICAgfA0KfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBeICAgIF4gICAgXiAgICAgICAgICAgICAgICB8DQorLS0tLS0tLS0t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