Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4512666pxk; Wed, 30 Sep 2020 05:06:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLDLMyRtm9OQezRJflGs9VTtuA+1PjjTYS49Pk0gfiE1kCkVco2ZP/vU+Xs1obvxtFMwh9 X-Received: by 2002:a17:906:3a8c:: with SMTP id y12mr2312150ejd.531.1601467592728; Wed, 30 Sep 2020 05:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601467592; cv=none; d=google.com; s=arc-20160816; b=0KlLU3LHir2oOSHdE8kAQknAJ/RgRdDwzmVldPpTl0a2i9BmjNs6tVDVO1lD+iBXoK 9JhOKow+zKGmLbqCkXWhSM89O48BYdjg6F5J5vqTYiROxlEbcyrRAms5jtzQVW2yYgiA aQZMSPQ51JO4StEQS19LUiCWfjS8A4rWbP0YSCxxCAwzlsM+Q+GQ6uwGGufHye3IgAMV qE1yGRh1Ce4PX8xenG7lke+W84XXvp+XBDlRqfZy4cfOSTbmAB5MmZHz6+a0/0dO+9ZU XDXVz195/lfEyMqxsTvs1U4lB9nUL3dW2y8TB2pNxodimqWFt5c/NURBlk5iUaZDADTQ Gs8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=0qZ4FqnqSKqTuM/dxuH95pX+q1m2wigBM9eoK33se8U=; b=kEuFR940u+ABu26S/ajJPP6uN5me+LqwdhTC195nlPwAOPorgDP70qViSgQzZe9lFa JzTTC+uxbMC6tTFu7ZvPQa13fLJY6hX6VjNRXeIrs/P/pht4gxiLzcE6OevOXHNYFXHw Ff7+K3HV3kvGDaWHI0tK2V+B3/0+LKheQl8O9kIpvvFdtfuQAhkdKH0E1ibsatk9a2gj 7JjYSv01jDIp78e3NGw6d4hhhOTWcG982g2EWrBUi6uk45hDKNS16xRQxROkEwjjZ12G wNZirVyaEmel/v/2N8J8dH4KNXkSJpA2kKR/OW2kYYuhG51YewW+BIh0tCULg3llfzF0 1hig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=asem.it Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si901521edt.556.2020.09.30.05.06.10; Wed, 30 Sep 2020 05:06:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=asem.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729586AbgI3MEv (ORCPT + 99 others); Wed, 30 Sep 2020 08:04:51 -0400 Received: from smtp.asem.it ([151.1.184.197]:63339 "EHLO smtp.asem.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729561AbgI3MEu (ORCPT ); Wed, 30 Sep 2020 08:04:50 -0400 Received: from webmail.asem.it by asem.it (smtp.asem.it) (SecurityGateway 6.5.2) with ESMTP id SG000514340.MSG for ; Wed, 30 Sep 2020 14:04:45 +0200S Received: from ASAS044.asem.intra (172.16.16.44) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 30 Sep 2020 14:04:43 +0200 Received: from ASAS044.asem.intra ([::1]) by ASAS044.asem.intra ([::1]) with mapi id 15.01.1979.003; Wed, 30 Sep 2020 14:04:43 +0200 From: Flavio Suligoi To: Andy Shevchenko CC: Bartosz Golaszewski , Andy Shevchenko , "linux-gpio@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: How to use an ACPI declared GPIO in a userspace ... Thread-Topic: How to use an ACPI declared GPIO in a userspace ... Thread-Index: AdaWdniTedAZ6+9wQdyYYgE5sQ27yP//4UoAgAAGTYD//91o0IAAJ14A//6Yg1A= Date: Wed, 30 Sep 2020 12:04:43 +0000 Message-ID: <22753b53cd7d4dfba4ef3610f71cc462@asem.it> References: <9152bb8be33e4192a7766eb53c6ca9af@asem.it> In-Reply-To: Accept-Language: it-IT, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.17.208] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SGHeloLookup-Result: pass smtp.helo=webmail.asem.it (ip=172.16.16.44) X-SGSPF-Result: none (smtp.asem.it) X-SGOP-RefID: str=0001.0A09020E.5F74745C.0040,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 (_st=1 _vt=0 _iwf=0) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5keSwNCg0KPiA+ID4gPiA+IEkgd2FzIHdvbmRlcmluZyBpZiB0aGVyZSBpcyBhIGdlbmVy aWMgR1BJTyBkcml2ZXIgdGhhdCBJIGNhbiB1c2UNCj4gTWF5YmUgSSB3YXMgbm90IHNvIGNsZWFy LCBidXQgYXMgQmFydCBtZW50aW9uZWQgdGhlIGxlYXN0IHlvdSBjYW4gZG8NCj4gaXMgc2ltcGx5 IGRlZmluZSBsaW5lIG5hbWUgdmlhICJncGlvLWxpbmUtbmFtZXMiIHByb3BlcnR5LiBUaGUgcHJv YmxlbQ0KPiBoZXJlIGlzIHdoZW4gYW5kIGhvdyB5b3Ugd291bGQgbGlrZSB0byBoYXZlIHRoZW0g aW5jb3Jwb3JhdGVkLg0KDQpJIGFsc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