Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2139544ybi; Sat, 13 Jul 2019 07:37:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzocnf5QXZ8sraU2HJJBNkDABCX3KfuVPkhXVfyQkHjuwC+cGV7cYe/ECPvzCuuklsRuoyV X-Received: by 2002:a63:2f44:: with SMTP id v65mr16851884pgv.185.1563028649816; Sat, 13 Jul 2019 07:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563028649; cv=none; d=google.com; s=arc-20160816; b=rnvZS7ZPYDuAyLYLsubB+thAinO1NmPQKanXtl+2gNsJ8pOkj7zkQamFQRWaNyFCFw IOM0ow6xPTs0SHUSAEdSwwzgZYvWTpdEuy2UiE+Rx6kqzOc0Z2vSpgclHggcVDZoi7tU 1pSH7zJlxmpzXLb8NGqaolr0EGyHOKeSwIjD/tzTXl9nHS7m9BHia/+7icGRuyxJW151 xf9zRia++uBVn9LiYHZzaIq9zU1xBCrLJsGa8/oEpQ/ZDgEBgwTjg9d5NAO1zG70+lFj 4DHtNfcXLcpn55wuMzK6/rAJKUXwDkLvlzBKUZ3+FU2qqWsz71HGkUQdIm7O9psod0Om dlVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=xSG0fAG/gIip3THX1+42f7N2URz9x8gXLQEY+J8J4To=; b=pTXOHnGDJUEhX7kNbV3wRh5xqdwqF7XO1dCcBWHfevR2PlmNPVIFmgZkrun9h7zFcl X+QlPdu0KjqckVsSUPojBLpdeldWI0FLkqmkugX9J1th6ftAa6B4U3wbQ7CujKw1EmVN CfR04ns/FlUOioHHfgyxR0Uw7dfVe1lYiLXNHj9Z57UyI68AZ8oPLdscVG+FKy2K3poo AgyEgCeJWMB9YZq0u4TzO8h0hewTxFHegCqLs0jRNfktLiykWw9cJRULhATLeD0H1xAb xU61MKIzBFShG076CjcAUPXZKtKHNraKcXpxh4UPuyetB9P1dDSYwgUSJukJN8H+7idT hE8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 200si11868403pfy.101.2019.07.13.07.37.14; Sat, 13 Jul 2019 07:37:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727877AbfGMOgz (ORCPT + 99 others); Sat, 13 Jul 2019 10:36:55 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:34607 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727504AbfGMOgz (ORCPT ); Sat, 13 Jul 2019 10:36:55 -0400 Received: from [192.168.1.110] ([95.114.35.189]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MEmpp-1hfxbZ3JOt-00GLtU; Sat, 13 Jul 2019 16:36:38 +0200 Subject: Re: [PATCH] platform/x86: pcengines-apu2 needs gpiolib To: Arnd Bergmann , Darren Hart , Andy Shevchenko Cc: linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, platform-driver-x86@vger.kernel.org, Andy Shevchenko , "Enrico Weigelt, metux IT consult" , Randy Dunlap , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org References: <20190712085437.4007720-1-arnd@arndb.de> From: "Enrico Weigelt, metux IT consult" Organization: metux IT consult Message-ID: Date: Sat, 13 Jul 2019 16:36:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190712085437.4007720-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:F7Bx1iEZ00JHjygR9CYKTD/F5605d0pFDcWaxn95S/PAyp3hxEu UhrALD/kDGETh91QL+CLArgovGI5jvHFpDE315r684R/9HdQBsfNO94teG1gdgkcDMTlsa6 D/9RpuO0V74lqkluprvr10GH0XtYdCwzHAKlkB0kO8BlLzCZXx/bfw+kPrs/TQ6uWwso4Lj 7f91K33um10ysGW4rqL8g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FCEWFvElarQ=:ecKfbDh8tqANzzRfepbk+8 lFD3DwMrEvYRmSqY1PvotZA7Zca0hqcK/EcGLhXXlJv5amv65ryvRsxr6HWRYA3D3TCxmuT/4 pTOpj0hSB299DR+944uhPt5EC/kauFVxI/Tu7nPB3ulu1VU37hmGXhU/sEHlYJy7EYit3wxNk dkvWns1zMioVeV3qjOEWlE2QKMipYT1qedF9ZzFP2btmrj3Acb5FVqFhu2t3UUJ9seUunDrVu ywXR7XN9aaLtTCl5miIJ9YO+A0QVl6HeaUIkQkUwAeTSqWh2sZK+mOW3ydk+3zs7xCKeuaMu/ oWJNlTzMyv8zr7oBNaTcokMdXMA27618xdNijW6NiG52Von1j0h+06zMjNZZDUNSv+IxaAJ2o fPv5i2C1zNYwUXyw+B+Bo7qN6gmCP+bx8mTDIpkFXgKA7A8zQCiSplJ/I5R8BmVvAQdxckwDz NJjGt+5OiFvD77hYhUwiL4tLS4nMejtvf/4FK+ygnz7Eju8w3sI7uV1dQP5JZ26+OZ3mqOMXw bJpMbyrTs9PirwtLsn4S8yfikBcnliZiyo974YtbeDbCfF2VLvjnz48jKak8ewXAUuZfxB0NH PK5X2PYAOqQDOmBRE3VZQMraMv7fiOEPi+1BJwapy4p/MTsEzePoFSeVAeOKbgFlcdA+Yb4E0 6DZHU6dXwUXoDqhP1RWMVOj+en40KPjgb22FxZm1BDIK0L/McATYZPutFBGufRhjYsk3U5LDD NtYlEp1aN3pUwiXpc4raOYlR5Ba3cdcj519OmY73mVBd80Lm/jl5kD8CyRc= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12.07.19 10:54, Arnd Bergmann wrote: Hi, > diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig > index e869a5c760b6..cf48b9068843 100644 > --- a/drivers/platform/x86/Kconfig > +++ b/drivers/platform/x86/Kconfig > @@ -1324,8 +1324,8 @@ config PCENGINES_APU2 > tristate "PC Engines APUv2/3 front button and LEDs driver" > depends on INPUT && INPUT_KEYBOARD > depends on LEDS_CLASS > - select GPIO_AMD_FCH > - select KEYBOARD_GPIO_POLLED > + select GPIO_AMD_FCH if GPIOLIB > + select KEYBOARD_GPIO_POLLED if GPIOLIB > select LEDS_GPIO > help > This driver provides support for the front button and LEDs on That might compile but the driver won't work, if KEYBOARD_GPIO_POLLED or GPIO_AMD_FCH isn't there. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287