Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752442AbbFAMuj (ORCPT ); Mon, 1 Jun 2015 08:50:39 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:34309 "EHLO mail-ob0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751993AbbFAMua (ORCPT ); Mon, 1 Jun 2015 08:50:30 -0400 MIME-Version: 1.0 In-Reply-To: <1432117823-1834-2-git-send-email-grygorii.strashko@linaro.org> References: <1432117823-1834-1-git-send-email-grygorii.strashko@linaro.org> <1432117823-1834-2-git-send-email-grygorii.strashko@linaro.org> Date: Mon, 1 Jun 2015 14:50:30 +0200 Message-ID: Subject: Re: [PATCH v2 1/3] gpiolib: debugfs: display gpios requested as irq only From: Linus Walleij To: Grygorii Strashko Cc: Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Johan Hovold Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1296 Lines: 45 On Wed, May 20, 2015 at 12:30 PM, Grygorii Strashko wrote: > Now GPIOs, wich are requested as IRQ only, will not be displayed > through GPIO debugfs. For example: > # cat /proc/interrupts > CPU0 CPU1 > ... > 209: 0 0 4805d000.gpio 11 Edge 0-0021 > > # cat /debug/gpio > ... > GPIOs 160-191, platform/4805d000.gpio, gpio: > <--- no info about gpio used as IRQ only here > > GPIOs 192-223, platform/48051000.gpio, gpio: > gpio-203 (vtt_fixed ) out hi > ... > > Hence, improve GPIO debugfs code to show such kind of GPIOs > > After this patch sys/kernel/debug/gpio will produce following output: > > # cat /debug/gpio > ... > GPIOs 160-191, platform/4805d000.gpio, gpio: > gpio-171 ((null) ) in hi IRQ > > GPIOs 192-223, platform/48051000.gpio, gpio: > gpio-203 (vtt_fixed ) out hi > > Cc: Johan Hovold > Signed-off-by: Grygorii Strashko OK why not. Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/