From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 022D5C43613 for ; Fri, 21 Jun 2019 17:39:06 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B53D62083B for ; Fri, 21 Jun 2019 17:39:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=fastmail.com header.i=@fastmail.com header.b="NLgrKba5"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="lk7kRsCq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B53D62083B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=fastmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92) (envelope-from ) id 1heNUp-0007Ba-B9; Fri, 21 Jun 2019 13:38:43 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1heNUm-0007BU-Gm for kernelnewbies@kernelnewbies.org; Fri, 21 Jun 2019 13:38:40 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id BC65C2FF; Fri, 21 Jun 2019 13:38:33 -0400 (EDT) Received: from imap4 ([10.202.2.54]) by compute3.internal (MEProxy); Fri, 21 Jun 2019 13:38:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=aWk4TcUgvgw60YamerezUrCEIB7syNu JEQHctzB+Lvo=; b=NLgrKba5nAs3ejljLVa2ug+k2L8qlhGJwyeuVry8ueL5DE4 V/CVWX4vt08KWoC/VYYxeFfwWOFwWSJHjYtCAeaGKgaoGeN/lLzF/24R7ARWCvAP wJYg9ZkwOSoz07aaWBHpKfUpLrSD3K5HNcvVAy6Ve80kE80Bcl/71Du3h8zX3uIG 6W+EdAuuHQJK4O8D0oD/KHPuoJ7AaU5zVa9iS0UHq8Zk/NtTykre73WK2+5f/uaY pldzub9o1YEv7KS3jqqQ6MUCRnztGvnYW804IQWU3ENjGgbfqN8am1ZbDCD7xrQ6 3uYZobK9xzeT/dkkI2D39EGCTrakCkDz4SDcE6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=aWk4Tc Ugvgw60YamerezUrCEIB7syNuJEQHctzB+Lvo=; b=lk7kRsCq6s1FtVipaAekkd RdGJcyrNDw9xWz025C/qtcsvQYkT/1X9nttnNSeQAsDwOaFr/FLBNdlgm7kgpRfw S9w2WVyscffKL187xd5mXtzPBDN8nXD53nwl4cDSp6VX7TlZZeZWfbYm85iBQVwk +wuobDyM9HlgiHmfFQsk7HjzlnX0KoRTc2ARhoQg5FWbQeGIci/6N04wH9gWfFk3 k3Gjib25UzAge7/LnrG5ajiA2c2652IMbTO7z0ekjQqY+qvwv4dc01yygFe5RAbs QzeBdGSzD8jjb+/zjIFCu52xr75CQFlwmndm7A42gwLS9P8FzifyCCyM+uagQI/w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrtdeigdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetlhgv gigrnhguvghrucfkvhgrnhhovhdfuceorghmihhvrghnohhvsehfrghsthhmrghilhdrtg homheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrmhhivhgrnhhovhesfhgrshhtmhgr ihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C435D3C00A0; Fri, 21 Jun 2019 13:38:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-728-g133121a-fmstable-20190620v1 Mime-Version: 1.0 Message-Id: <5606da30-626f-4cdc-8274-3a0271bff82f@www.fastmail.com> In-Reply-To: <20190621101206.GI9224@smile.fi.intel.com> References: <23630.1560537979@turing-police> <59c1b6d6-0545-4249-90cb-d1152b6ea728@www.fastmail.com> <25501.1560539366@turing-police> <15515.1560627024@turing-police> <20190617080614.GX9224@smile.fi.intel.com> <61e483bc-6bf9-4438-87de-7a01fac1ae5b@www.fastmail.com> <20190618084034.GI9224@smile.fi.intel.com> <20190621101206.GI9224@smile.fi.intel.com> Date: Fri, 21 Jun 2019 10:39:23 -0700 From: "Alexander Ivanov" To: "Andy Shevchenko" Subject: Re: GPIO Driver for Skylake-Y PCH Cc: Linus Walleij , =?UTF-8?Q?Valdis_Kl=C4=93tnieks?= , Jean Delvare , =?UTF-8?Q?Bj=C3=B8rn_Mork?= , kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Fri, 21 Jun 2019 03:12 -07:00, Andy Shevchenko wrote: > > Usually to check this is better to run > grep -H 15 /sys/bus/acpi/devices/*/status > which return you the list of *present and available* ACPI devices. It looks like INT344B device is neither present nor available. This device isn't in the list returned by above grep. Its status actually returns 0. What could be reasons for that? > > to use character device; libgpiod tools will help you with that It's good to know there is C library for handling gpio. But this is user-land thing. I'm interested in kernel's means to handle gpios. And for experiments I'd rather use tools/gpio/. Anyway, I can figure out how to use kernel API. At the moment though I need to understand what's wrong with my platform and how can I fix/make it work. Thx! _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies