Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp682318imm; Wed, 10 Oct 2018 02:34:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV60znwsQsMaVigdBMa2q+w0e8wuuD6ljgelaMtnCNNqjesgaRRi0SO1ckYKY23mKjc35mczo X-Received: by 2002:a17:902:223:: with SMTP id 32-v6mr1486261plc.112.1539164071952; Wed, 10 Oct 2018 02:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539164071; cv=none; d=google.com; s=arc-20160816; b=D6EdXg/FOphNuIOinlN92++lAbml97CHzk/kcAQf8fNzEeNE8h9huNvRHi4Mm/2Pz9 pTuvf1uXXpOy6/0E/5U0xJFghyLPGgmCPwtio0zdFlbaZxeyGfSX9Syn1RSxWJDyfng4 X28a3y/YiHqWyRb7jLYRzrYkuGkFNf2Y7BtTDCjABheqFDiGd545tO+POfBzST/xuvkG BWLtNLa69wit1mtRl3MvIp9jwWr5cQ2x2fZHKWGgUMJpM3LqahpV0MfLEYgHkidhTQ+s 2rsl3aGbVuUo426Tdcw+i+OzUEmvspomJkmYImE8E1w0nCQi7pijaWUohNs8ejVooJRY PEIg== 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=2SuYgCcALMhRSrS7yI/RgkamIi66neFNEdOaN//I2Ro=; b=e7h87gWb3aVor5SmVDWQyl7qoEbHJtMiji9hTrV8duAKu4+LvZMKOIjJNak/tHYiWh gIbysqwPoBH0lBRhS+hid2Eo86TEWbvL9Kqf+EBJbXzsN3xf9ixfGSRps1eUjyyokoc5 yJx7qLpGSyqKBwyW5v5RnXsZnI6LkCzNR59RJUr4DXMMxkz0APGtZRa/zXnZlHt10+Pe 6AfH/DbVQRGEb2dHul27FT8O2/yNEeP48UDHsVNdiiKiTE8wO0cJcaz+qU9eKe43OfUx 1OFRpDTegEzIIck7sb3LXIiDroI4mT+RaFbx3hQKZN62UCvnk5PbzJpWoQYxyX+ERM4h 8Rsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ysoft.com header.s=selector1 header.b=RPsyWXzq; 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 z16-v6si21962600pgu.525.2018.10.10.02.34.17; Wed, 10 Oct 2018 02:34:31 -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=@ysoft.com header.s=selector1 header.b=RPsyWXzq; 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 S1727031AbeJJQzB (ORCPT + 99 others); Wed, 10 Oct 2018 12:55:01 -0400 Received: from mail-ve1eur01on0054.outbound.protection.outlook.com ([104.47.1.54]:51811 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726476AbeJJQyz (ORCPT ); Wed, 10 Oct 2018 12:54:55 -0400 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=2SuYgCcALMhRSrS7yI/RgkamIi66neFNEdOaN//I2Ro=; b=RPsyWXzqe/vY3V9FZM3ATA7SdEOWRaRnQTqswHdl269PLS4KpIBZAcEwmTEVnFPcctREx++/RMc0rQUDx0cEchfxY7i4zBvfhXBgxeD/MyxGKx4/W8mdMQ5jLch9D7B2dfrOAgSwfKV7xW9qRXdf4EOWpOCsdzwrKyup7Iq2Pqs= Received: from DB7PR04MB4667.eurprd04.prod.outlook.com (52.135.139.13) by DB7PR04MB5194.eurprd04.prod.outlook.com (20.176.236.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.27; Wed, 10 Oct 2018 09:33:26 +0000 Received: from DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::d971:723:f402:76bd]) by DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::d971:723:f402:76bd%3]) with mapi id 15.20.1228.020; Wed, 10 Oct 2018 09:33:26 +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?= , =?utf-8?B?Vm9rw6HEjSBNaWNoYWw=?= Subject: =?utf-8?B?W1JDRsKgUEFUQ0ggdjIgMi8yXSBwd206IGlteDogQ29uZmlndXJlIG91dHB1?= =?utf-8?Q?t_to_GPIO_in_disabled_state?= Thread-Topic: =?utf-8?B?W1JDRsKgUEFUQ0ggdjIgMi8yXSBwd206IGlteDogQ29uZmlndXJlIG91dHB1?= =?utf-8?Q?t_to_GPIO_in_disabled_state?= Thread-Index: AQHUYHxLNWnXvPuyf0G4S0CzwIUtng== Date: Wed, 10 Oct 2018 09:33:26 +0000 Message-ID: <1539163920-9442-3-git-send-email-michal.vokac@ysoft.com> References: <1539163920-9442-1-git-send-email-michal.vokac@ysoft.com> In-Reply-To: <1539163920-9442-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: VI1PR03CA0078.eurprd03.prod.outlook.com (2603:10a6:803:50::49) 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;DB7PR04MB5194;6:F709PehB4p+5pow4Tz1Mi6i+4xZJCAsrPnZ5QWkSwenKKmPlRqnS+kAUoyg2ht5sNy1kGDuyjdXQIgbfC28KlV8nRm29dJ2bxbp+9vSMkESXwEPM2GAelVfWG0nQpyXep4X7ZUu3WcfiD8pxK6/JH5fSgb4FpS61hXdjwcafYwk3O3dEvQoFwQdJRekKshrbwa4WGmcs8eh1Oy1JqDLJF0gu3rFuhnZe/wjqY3TST+VCUGqJKSjaZ9n6ecIcutJd4kaUbJ7YM2jDXiY4pyPNL4nY+egQ6nouuTShIGuUp1wEhIro6qx5OseAWuCRo/Cr9yE/KdgsxvLOy0XmqmCAkIuZbZMl3w93ybIIg64Q/9n0fGT0hFMMgPgApvA8Up44hhXrTBJZa/353s/+kgnxQXdCJY10YM5l9gZ5JPLs138wPw/yJqvu05EvILq5/eE7orVdmzZQj0UfOUggSDqz7A==;5:fsH5BkXjFkxUO3Ja/Uz7tn6fQhW/vLLI23LhVTBHrIPMs/l/OwnG+ViuFxeRBYirTYufdjstGXLph8agqXm+ruDvLqWtIfgojTDg8BLG3R1SRIe3xgEopcpVi3pB++25AyijBPDDoILPrfcGzDPy64JrMFIzGosTX8LyrrxU/KU=;7:v1LUIbdbMJmbXRVGgxtECMKXLNyaJrnWIlYsiEFFUyJnatT8lvTgELZrjfXu45iyC2euPXw6Mi8gCjelwj0rek6KQfbyEgbhLhzbAaCsSyOoFdBkNbMZ9aZlzHPsRNQ5TDvWXfty5/Nx8ZJFmWuCav2xA06Ix1unn+24aBJoJy8GR25/b9WHqYxxKWySSnuyYtT10miNkR6lKs+txfkxEbJuR6rS9X3bwEIuOYYa8enrC2/e5bFp85INDdsASqSF x-ms-office365-filtering-correlation-id: e9a25d60-7a68-4e4f-fb60-08d62e936dfc x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB5194; x-ms-traffictypediagnostic: DB7PR04MB5194: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051);SRVR:DB7PR04MB5194;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB5194; x-forefront-prvs: 08213D42D3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(396003)(366004)(346002)(376002)(39850400004)(189003)(199004)(6436002)(26005)(186003)(6486002)(68736007)(6512007)(2900100001)(66066001)(2906002)(256004)(85182001)(5250100002)(97736004)(316002)(102836004)(14444005)(86362001)(81166006)(305945005)(54906003)(25786009)(107886003)(105586002)(36756003)(110136005)(76176011)(71190400001)(476003)(7736002)(72206003)(478600001)(52116002)(4326008)(14454004)(71200400001)(53936002)(6116002)(3846002)(386003)(2616005)(106356001)(486006)(81156014)(8936002)(446003)(5660300001)(6506007)(11346002)(99286004)(39060400002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB5194;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: mHpEXaRMvA5mszd6xm+firyY8H/fGQ12ULigyPGxv7FbSOts9dcKjpCG1NEVCJvq29i9ana24Nvs3yXnGOBSUY0zWvAiwEPHPfBMsOSiMJKfXtpjXXDlxRWkng/n+0akLATyamc+clRpsLopsMxUcIpLoCDG0Wv5Mqk2dmoJ1iLXgbE+I+UjDS/AxDtKYL+V29CFNMo9/fYL/GGBLTmG5L/w65/G2tA4h95v/1hdG52syAxKEDI5VQL3ZwFt29ncaxdsWndd2hMl4BXsdlleqlszYLKLXk0D3iJEqNFKOpZUx0ZoH8+yd0z/h16GzVLBWug/H6cxpbzf7gKTveZifRFCsb8tzj3YQbioAgnu0xY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <1B3A97A781D508498FD89649644DED9F@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: e9a25d60-7a68-4e4f-fb60-08d62e936dfc X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2018 09:33:26.3732 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5194 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tm9ybWFsbHkgdGhlIFBXTSBvdXRwdXQgaXMgaGVsZCBMT1cgd2hlbiBQV00gaXMgZGlzYWJsZWQu IFRoaXMgY2FuIGNhdXNlDQpwcm9ibGVtcyB3aGVuIGludmVydGVkIFBXTSBzaWduYWwgcG9sYXJp dHkgaXMgbmVlZGVkLiBXaXRoIHRoaXMgYmVoYXZpb3INCnRoZSBjb25uZWN0ZWQgY2lyY3VpdCBp cyBmZW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waW5jdHJsOg0KDQorLS0t LS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tKy0tLS0tLS0tLS0tLS0tLSstLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0rDQp8IEFmdGVyIHJlc2V0ICB8IEJvb3Rsb2FkZXIgfCBMaW51eCBwaW5jdHJs IHwgVXNlciAoc3lzZnMsIGJhY2tsaWdodC4uKSB8DQp8IDEwMGsgcHVsbC11cCB8IChub3QgdXNl ZCkgfCAgICAgICAgICAgICAgIHwgICBlbmFibGUgICAgfCAgIGRpc2FibGUgICB8DQorLS0tLS0t LS0tLS0tLS0rLS0tLS0tLS0tLS0tKy0tLS0tLS0tLS0tLS0tLSstLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0rDQogX19fX19fX19fX19fX19fX19fX19fX19fX19fICAgIGRlZmF1bHQgICAgICAg IF8gICBfICAgXw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIHxfX19fX19fX19fX19fX19f X3wgfF98IHxffCB8X3xfX19fX19fX19fX19fDQoNCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBwd20gKyBncGlvDQogX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fXyAgIF8gICBfICAgXyAgIF9fX19fX19fX19fX18NCiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgfF98IHxffCB8X3wgfF98DQoNClNpZ25lZC1vZmYtYnk6IE1p Y2hhbCBWb2vDocSNIDxtaWNoYWwudm9rYWNAeXNvZnQuY29tPg0KLS0tDQpDaGFuZ2VzIGluIHYy Og0KIC0gVXRpbGl6ZSB0aGUgInB3bSIgYW5kICJncGlvIiBwaW5jdHJsIHN0YXRlcy4NCiAtIFVz ZSB0aGUgcHdtLWdwaW9zIHNpZ25hbCB0byBkcml2ZSB0aGUgb3V0cHV0IGluICJncGlvIiBwaW5j dHJsIHN0YXRlLg0KIC0gU2VsZWN0IHRoZSByaWdodCBwaW5jd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