From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753496AbaIZFWq (ORCPT ); Fri, 26 Sep 2014 01:22:46 -0400 Received: from mga01.intel.com ([192.55.52.88]:56373 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751202AbaIZFWo (ORCPT ); Fri, 26 Sep 2014 01:22:44 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="391854141" Message-ID: <5424F80D.9070400@intel.com> Date: Fri, 26 Sep 2014 13:22:21 +0800 From: Aaron Lu MIME-Version: 1.0 To: Linus Walleij CC: Alexandre Courbot , Samuel Ortiz , Lee Jones , Arnd Bergmann , "linux-gpio@vger.kernel.org" , "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Jacob Pan , Lejun Zhu , Radivoje Jovanovic , =?windows-1252?Q?Dani?= =?windows-1252?Q?el_Gl=F6ckner?= , ACPI Devel Maling List , "Rafael J. Wysocki" Subject: Re: [PATCH v2 1/2] gpio / CrystalCove: support virtual GPIO References: <1410229968-11638-1-git-send-email-aaron.lu@intel.com> <1410229968-11638-2-git-send-email-aaron.lu@intel.com> <54238496.70505@intel.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/25/2014 09:16 PM, Linus Walleij wrote: > On Thu, Sep 25, 2014 at 4:57 AM, Aaron Lu wrote: > >> The virtual GPIO introduced in ACPI table of Baytrail-T based system is >> used to solve a problem under Windows. We do not have such problems >> under Linux so we do not actually need them. But we have to tell GPIO >> library that the Crystal Cove GPIO chip has this many GPIO pins or the >> common GPIO handler will refuse any access to those high number GPIO >> pins, which will resulted in a failure evaluation of every ACPI control >> method that is used to turn on/off power resource and/or report sensor >> temperatures. >> >> Signed-off-by: Aaron Lu >> --- >> v2: remove the hunk to increase NR_GPIO to 512. > > Patch applied with Mika's ACK, also renumbered 0x5e to 94. Thanks for taking care of this. Regards, Aaron > > Yours, > Linus Walleij >