Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10716230imu; Thu, 6 Dec 2018 05:45:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/WzDVJRvN0/N180lf4ep0xjuNqRk7JfN71JvRkmCr3RGkqvDEeXQ+P76CYmiRyAROOHVpjO X-Received: by 2002:a63:7044:: with SMTP id a4mr22586909pgn.359.1544103933512; Thu, 06 Dec 2018 05:45:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544103933; cv=none; d=google.com; s=arc-20160816; b=O1QUPWAd8aU2y8B4tm6uqd+CuFB32WEwOaaoEmZun5KTu+xE1MNaLp54aw6/msnZIk viIxiqqVnUPC2jOH7Byu4h1qcjPHFenQwwyTxu2jLq/G5tZzZFcMKmq+oH5fDsgBi8oC 44UA9nhPlSSqp1ML78xvtS+c90PzBrWFLaHTLJkmoSw55ZJOhmKhPEUUrv7PAiKUkXkM CttFLsPsHrpw69rG3HhyDywHQTgBN+F6nCHKYAg3lFQKHkjB4hn8YXotbT184OEnSVlx 38rhsGOGrpnk0Frp1D1tVS2h759syarBakcAQxBEXaPCu56711qN/BB2LmJeITQ7zU3m s79g== 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=4IFaE/eIntzfo6Ur3O1CG2n2qvh4xWiETO4TMoDwYGM=; b=lGIwLpTeE4x/vTcLAJ8jKjXnxc+C+XR2Mr49TGH8n48LV9rPRK0Q/q5wX/O9uVNffF q3t/0XLasYqX3Lsd4h5EpgDlNiHqivDocDZFY+ybaDkEadVO+c0LuxPF7nz5KAvtMxFN fahWnOXOsjatNY3fZ/ebm7ugu7orGF8V0A7dTqd5X72pZ2GYTgDcs7QJGRtCuKjCibrB Fu6oWY3kx/LcrBxOH+gRKjmfUprK0rNiDkyM2lB8mCUyG/fQj6Bo5idn1INR99OzrB/f 0jg4qcYvuk2PCm/QY/1w+0wtraz0lWzc+9DZqVhU8BQE6lR9XUMx4mQDjU+LEYcV9HoM 7NDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ysoft.com header.s=selector1 header.b=jKzqNWtl; 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 b2si271074pgh.475.2018.12.06.05.45.14; Thu, 06 Dec 2018 05:45:33 -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=jKzqNWtl; 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 S1729694AbeLFNls (ORCPT + 99 others); Thu, 6 Dec 2018 08:41:48 -0500 Received: from mail-eopbgr80059.outbound.protection.outlook.com ([40.107.8.59]:3406 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727704AbeLFNls (ORCPT ); Thu, 6 Dec 2018 08:41:48 -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=4IFaE/eIntzfo6Ur3O1CG2n2qvh4xWiETO4TMoDwYGM=; b=jKzqNWtl6RKdv+4U35rePadZCTBsn72LuI9pFmF+Xegvi9GCaR5NS9r1yxWZh4E7IggQPRC6Fuf3B6y1+yuzpgJBHZaFVePGMqUJYMJyq0Y51fbzoAK+4jxWbBtu1xCt6HRrojFfJDyAvfvLd1LOMGr0iCF4CH4QRsC2slxOLP0= Received: from DB7PR04MB4667.eurprd04.prod.outlook.com (52.135.139.13) by DB7PR04MB4508.eurprd04.prod.outlook.com (52.135.138.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.19; Thu, 6 Dec 2018 13:41:32 +0000 Received: from DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::2561:ec02:4e5e:f490]) by DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::2561:ec02:4e5e:f490%2]) with mapi id 15.20.1404.020; Thu, 6 Dec 2018 13:41:32 +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?Vm9rw6HEjSBNaWNoYWw=?= Subject: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state Thread-Topic: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state Thread-Index: AQHUjWllpnSfybe6SEqAejrjFKHx0Q== Date: Thu, 6 Dec 2018 13:41:31 +0000 Message-ID: <1544103655-104466-3-git-send-email-michal.vokac@ysoft.com> References: <1544103655-104466-1-git-send-email-michal.vokac@ysoft.com> In-Reply-To: <1544103655-104466-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: AM6P192CA0088.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::29) 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;DB7PR04MB4508;6:0jBNVraE6qlGP/UrXPS1Pi2eFj8T76WWHYU4YtpMwG2NxjVA0hZ0tJhimCp9aiH0rlAZiupKMMVzWvW474Qob9Acljyr8XCv0KGbPdcea08uqkRipvsDo93xjdUONRscCi6/ONMVghX5gre6nhuX1+xvxA7SRiBJ+Z2nvJT8BkW+ZznyjjI9zGKZ1cR4VRPFldAEtDo1WZgm6u7hzRyfjt4f9RVj1AdOv/np5LZfjCsnu2+J+s7pcXATiQIULZuH6YCKBxkgiYWmxf0d2qa5yGRlPhqhlM/awdUj7Zt0+b72SU4LI8QRw9/YGy4kx0BRNwO3qtw2KQD3DEkAIbgXBui+uEFTgNlDKlkI1i6kceqvas1uJwn6VnstPPhA8lc+b39NlbfsNTREXPJOlvaf6l697iEae3ThvfO9eWLqafqX4HuVGsbOwC/KfoClFacGTgyeBEj0QGPn+mgtCl2JMQ==;5:3XDp2nuWnopH4HyzUaU0qc1uwHi3NgMn95n9uEB8DWeIKdJIVoHPjwub4hwXahSmaonlyjOn705UBMmMvdUrZsIslfG1+EIqhSF/7Nqr9UStHBPAVoOh2sHm3D4wveen6/svWyX/+FUDyfoGI0R315Zy3Li8VrbrCPGh26PdUxo=;7:9SBoutxVKybOrqXfHqsEGUFOml8cSGplRNQySqqIv5vsrkGtbMRYdrJ4cfZDKuROO79/ZTC34fxMFQqnEPgJ7TkWZLPTcoT5UBHEGXC58cqKNTgSPsTrNS+dAYoqpzSqHmyKMspiIKYNrc5SiY02Og== x-ms-office365-filtering-correlation-id: 4e9824ff-a6f4-4394-3237-08d65b808819 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB4508; x-ms-traffictypediagnostic: DB7PR04MB4508: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231455)(999002)(944501520)(52105112)(148016)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:DB7PR04MB4508;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB4508; x-forefront-prvs: 087894CD3C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(39850400004)(366004)(136003)(346002)(376002)(396003)(199004)(189003)(6506007)(26005)(2906002)(106356001)(86362001)(72206003)(105586002)(486006)(110136005)(81156014)(54906003)(8676002)(99286004)(81166006)(102836004)(5660300001)(52116002)(71200400001)(316002)(7416002)(85182001)(71190400001)(6116002)(14454004)(53936002)(6436002)(3846002)(68736007)(66066001)(8936002)(76176011)(36756003)(386003)(97736004)(2616005)(14444005)(6486002)(6512007)(476003)(256004)(305945005)(217873002)(478600001)(39060400002)(11346002)(4326008)(107886003)(446003)(7736002)(25786009)(186003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4508;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: kBMZOtTulEfY5uNrSTeHcpw2U/FSusjxfYcO2vXQ3WpIz4VdU27TOaDr0LI1X7YPpszGpwnE5Jx6YUria8kaXq96h726GF0Ro1hu7sWEcw975iq5mDqeBIBYNqoJFAneSgWUJbLZ1vep+gDSqksCamBLR5J9eF+CrMXNKPDLzR3rTQK4NujVbUcDTKZJRKt5fPwiQzmGz2lq+ZlqjckKFaO64ndOCslEn+1SgxKySQTNZDGyvMi4/AzUNUHeJLFMwQpafNyOcf7DNkG5fME8xwOhcSfVS13AYDixPO0EJnvykPWu69SKIqrjeAikJurb4NwcXTXo+cLBHp2gLcv9il53OPu8GR4knVGsXfNvshg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <577EB1F8DB007F45B32FB85FF5611041@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4e9824ff-a6f4-4394-3237-08d65b808819 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2018 13:41:31.9141 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4508 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tm9ybWFsbHkgdGhlIFBXTSBvdXRwdXQgaXMgaGVsZCBMT1cgd2hlbiBQV00gaXMgZGlzYWJsZWQu IFRoaXMgY2FuIGNhdXNlDQpwcm9ibGVtcyB3aGVuIGludmVydGVkIFBXTSBzaWduYWwgcG9sYXJp dHkgaXMgbmVlZGVkLiBXaXRoIHRoaXMgYmVoYXZpb3INCnRoZSBjb25uZWN0ZWQgY2lyY3VpdCBp cyBmZWQgYnkgMTAwJSBkdXR5IGN5Y2xlIGluc3RlYWQgb2YgYmVpbmcgc2h1dC1vZmYuDQoNCkFs bG93IHVzZXJzIHRvIGRlZmluZSBhICJwd20iIGFuZCBhICJncGlvIiBwaW5jdHJsIHN0YXRlcy4g VGhlIHB3bSBwaW5jdHJsDQpzdGF0ZSBpcyBzZWxlY3RlZ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c2V0ICB8IEJvb3Rsb2FkZXIgfCAgIFBXTSBwcm9iZSAgIHwgICAgIFBX TSAgICB8ICAgICBQV00gICAgIHwNCnwgMTAwayBwdWxsLXVwIHwgICAgICAgICAgICB8ICAgICAg ICAgICAgICAgfCBlbmFibGUgMzAlIHwgICBkaXNhYmxlICAgfA0KKy0tLS0tLS0tLS0tLS0tKy0t LS0tLS0tLS0tLSstLS0tLS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tKy0tLS0tLS0tLS0tLS0rDQp8 IHBpbmN0cmwgICAgICB8ICAgIG5vbmUgICAgfCAgICBkZWZhdWx0ICAgIHwgICBkZWZhdWx0ICB8 ICAgZGVmYXVsdCAgIHwNCnwgb3V0IEggICBfX19fX19fX19fX19fX19fX18gICAgICAgICAgICAg ICAgICAgX18gICBfXyAgICAgICAgICAgICAgICAgfA0KfCBvdXQgTCAgICAgICAgICAgICAgICAg ICAgIFxfX19fX19fX19fX19fX19fXy8gIFxfLyAgXF8vXF9fX19fX19fX19fXyB8DQp8ICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF4gICAgXiAgICBeICAgICAgICAg ICAgICAgIHwNCistLS0tLS0tLS0tLS0tLSstLS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tLS0tKy0t LS0tLS0tLS0tLSstLS0tLS0tLS0tLS0tKw0KfCBwaW5jdHJsICAgICAgfCAgICBub25lICAgIHwg ICAgICBncGlvICAgICB8ICAgICBwd20gICAgfCAgICAgZ3BpbyAgICB8DQp8IG91dCBIICAgX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXyAgIF9fICAgX18gICBfX19fX19fX19fX19f IHwNCnwgb3V0IEwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXF8vICBcXy8g IFxfLyAgICAgICAgICAgICAgfA0KfCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBeICAgIF4gICAgXiAgICAgICAgICAgICAgICB8D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