Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1307389pxk; Fri, 2 Oct 2020 06:31:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1WbC/D9dyYA1OOeEz3JXQZIu5K1Mi0cwkJSRfg+uCCdnAXkXo3QLe/MkgOgoJEJMCt1na X-Received: by 2002:aa7:d991:: with SMTP id u17mr2346434eds.11.1601645468067; Fri, 02 Oct 2020 06:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601645468; cv=none; d=google.com; s=arc-20160816; b=cpV+ydsUHw3OOykVnlRrBdm3kD69dBNJtsEZVxUaB24l6kmbELa7D29vaHM6Z8iH12 B3mNUBYY8cEtMoLod5aAKeu3fuMo30gNA8wghWceQiQvDUhUIAs1CmgheR0hFgaIq1q0 gywEitCiyJSZ8IQhcOwjvZonCXNQk7oUkcP4WM3XNGjgpLEg0TCw8rZPemw+Crl2Ptix IValhPxfIpqFzt7X378fRajYl8PeODvsupuS4ZJ9aclJ8uUqgtiTRrSYtd5c2fW6QcU6 JWuvcFIpveK1fAQPcA3biQEWB3gK5XIlDsUZ1S6TNDdHO7a1ko/kwsDFsojiVwhKxShT wM8w== 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=FTkToKqs6K4/rQj+GZTic305fifcCk0Uc3jxasUugsk=; b=W3bz7b+GOJrMdHW5W5nCEIJ7RCHvNH47H3JgQac3J/e1bcIrbr+jxODsWwkNSsLLGu xRZwPX0ZKMmw3dNaLNlCIMyS3oFSpy0yhfbIwvjjyp4oQaRn0adLhJXSF77iNHL0brqu RGO/Es0vxHnKHzQ13xKvc3gCQDbIGgAHHryOliJ04/ArQzwyXMN903KNugVHahe87UVI lmogV9y2opMmpbCxrwp8H0dl9FEDQOVaQABv2Keh3SQ6ae40lEZpyL0TVL9GDNZxpHXB B4j+e1aTldUaMWswEE4ZbfcpKUiQu0WIqIOv72J/29LIzlHyfMYJR2FCU12mJzgB+WOP KW/A== 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 e22si1051824edv.198.2020.10.02.06.30.45; Fri, 02 Oct 2020 06:31:08 -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 S2387717AbgJBN3P (ORCPT + 99 others); Fri, 2 Oct 2020 09:29:15 -0400 Received: from smtp.asem.it ([151.1.184.197]:54089 "EHLO smtp.asem.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbgJBN3P (ORCPT ); Fri, 2 Oct 2020 09:29:15 -0400 Received: from webmail.asem.it by asem.it (smtp.asem.it) (SecurityGateway 6.5.2) with ESMTP id SG000520443.MSG for ; Fri, 02 Oct 2020 15:29:07 +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; Fri, 2 Oct 2020 15:29:06 +0200 Received: from ASAS044.asem.intra ([::1]) by ASAS044.asem.intra ([::1]) with mapi id 15.01.1979.003; Fri, 2 Oct 2020 15:29:06 +0200 From: Flavio Suligoi To: Andy Shevchenko CC: Bartosz Golaszewski , "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//6Yg1CAAsA0gP//s0vAAA+m6wAAAI1qgP/9IPng//o02AD/9F/YAP/onSjw Date: Fri, 2 Oct 2020 13:29:06 +0000 Message-ID: <809e219eabd44f3886af1da853c58db4@asem.it> References: <9152bb8be33e4192a7766eb53c6ca9af@asem.it> <22753b53cd7d4dfba4ef3610f71cc462@asem.it> <20200930130113.GQ3956970@smile.fi.intel.com> <2c26adae711145639d0b982a354aff3c@asem.it> <757023db21e642a3a4b6d33428c191cc@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.0A090211.5F772B23.0003,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 SEkgQW5keSwNCg0KPiA+IFNvLCB3aGF0IGFib3V0IGFkZGluZyB0aGUgZm9sbG93aW5nDQo+ID4N Cj4gPg0KPiA+IChSZXBsYWNlICcuLi4nIHdpdGggbWVhbmluZ2Z1bCBsaW5lIG5hbWVzIG9yIGRy b3AgZm9yIG5vdywgYnV0IGluIGFueQ0KPiA+IGNhc2UgeW91IG5lZWQgdG8gcHJvdmlkZSBhcyBt dWNoIG5hbWVzIGFzIGxpbmVzIG9mIHN1Y2ggR1BJTw0KP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