Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC0EDC433FE for ; Fri, 26 Nov 2021 18:23:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241853AbhKZS0e (ORCPT ); Fri, 26 Nov 2021 13:26:34 -0500 Received: from mga14.intel.com ([192.55.52.115]:9803 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236624AbhKZSYe (ORCPT ); Fri, 26 Nov 2021 13:24:34 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10180"; a="235940782" X-IronPort-AV: E=Sophos;i="5.87,266,1631602800"; d="scan'208";a="235940782" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2021 10:13:03 -0800 X-IronPort-AV: E=Sophos;i="5.87,266,1631602800"; d="scan'208";a="458268263" Received: from smile.fi.intel.com ([10.237.72.184]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2021 10:13:01 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1mqfiV-00As4E-AB; Fri, 26 Nov 2021 20:12:59 +0200 Date: Fri, 26 Nov 2021 20:12:59 +0200 From: Andy Shevchenko To: Hans de Goede Cc: Mika Westerberg , Andy Shevchenko , Linus Walleij , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, Yauhen Kharuzhy Subject: Re: [PATCH v2 3/3] pinctrl: cherryview: Ignore INT33FF UID 5 ACPI device Message-ID: References: <20211118105650.207638-1-hdegoede@redhat.com> <20211118105650.207638-3-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Thu, Nov 18, 2021 at 01:28:02PM +0200, Andy Shevchenko wrote: > On Thu, Nov 18, 2021 at 11:56:50AM +0100, Hans de Goede wrote: > > Many Cherry Trail DSDTs have an extra INT33FF device with UID 5, > > the intel_pinctrl_get_soc_data() call will fail for this extra > > unknown UID, leading to the following error in dmesg: > > > > cherryview-pinctrl: probe of INT33FF:04 failed with error -61 > > > > Add a check for this extra UID and return -ENODEV for it to > > silence this false-positive error message. > > Hmm... Interesting. Why do they have it? > Give me some time to check this... _DDN in ACPI describes this as Virtual GPIO. The only documentation at hand right now tells me that this is a "solution" to represent the "virtual GPIO" as fifth community (no connection to any pads, minimum configuration, etc). The goal as far as I can see is "to convert a PME event generated by PCI device to a GPIO interrupt". Seems like we better have a driver for it, but the only purpose of it is to generate interrupts based on PME. I'll try to dig more may be next week, but for now I would like to postpone the patch. Do you agree? -- With Best Regards, Andy Shevchenko