Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5896771imm; Tue, 12 Jun 2018 15:32:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKukl+vu/zzU3Hdn7v2q+4loqa88N/sBKQbVO3eshnlWrplb0uNvXwOwakgIfKrS2LP1PYh X-Received: by 2002:a17:902:8e8b:: with SMTP id bg11-v6mr2353723plb.95.1528842750351; Tue, 12 Jun 2018 15:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528842750; cv=none; d=google.com; s=arc-20160816; b=HJlmyPxTuMOtysEWaoX4q+B+NP38GrAY/N78qKKojFnGVysJXAHkUzGp5dHrfUnRjt JonzT81YCWOu5dKMNifW7nEDY/lEl2ark60m1BFZ4iGq4e8YQ9DiVB7hM+cXlZTSH+1D llx5QHrXhlO6IluGRjeiNyo2D26J/JkTPA/nfIBMLNt1X7limXOFWEjryCnbchJFs13r clDVD+pSd3caMlsNeCyuSxKOQsVf0h0ObDct4It5qNzeLqQlME1IORJF9yC7PdXls7vf LzEP6YMc83YQ7hn9+Olh4rdP88bm+Ks43+6v5fsNlD1fS6RiorpOL+AqZ7D4wRP7tsDY QJrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=hnmKm7rpFDKdViozsx57KeQ2owOgOEmOxtUHRT8SSfE=; b=zaG2nn0iOGg8Fsuh5Nrxq2GQgCc3JVM8YQYYpVe9v/be4mA15Cm0tAGOx0PWuVgjxt pmy3f4Bd+p0AAJVnFJD841c4KWIJ3q0AUruHFkkho6Ij83qQXNRijWjG3KaQioO7eEoJ /nIFxP5Z2K3TaOYypt/zzPTlRjMR/j7lrCAulgW7+cdwDPsgQISTCc89kmU6u5/sUws1 anVL+9C0ANjGfNC80YEwB+LA7Ae/GvCfI7Lr1NFh+K3uXEU1+HIpIjjJzTTTFDORKWZe Ep9cz+FAliZYdy/ZrcRU4yqcTnxUUxxrFvRlgSkazfHdSlbsrtIcIl45Qy6i1LY9sLbN Sw+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e2Bsy+6c; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h67-v6si1108319pfh.240.2018.06.12.15.32.15; Tue, 12 Jun 2018 15:32:30 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e2Bsy+6c; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934854AbeFLWYC (ORCPT + 99 others); Tue, 12 Jun 2018 18:24:02 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:34656 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934418AbeFLWYA (ORCPT ); Tue, 12 Jun 2018 18:24:00 -0400 Received: by mail-pg0-f67.google.com with SMTP id q4-v6so248315pgr.1; Tue, 12 Jun 2018 15:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hnmKm7rpFDKdViozsx57KeQ2owOgOEmOxtUHRT8SSfE=; b=e2Bsy+6ciboA77z99rAkDMXdr6vspVsQGqTv0vHVq5BbhHoWe9XGbRazfaXFrlD9q3 HApQINsKgBnJBoFcgkNpNERvld0CHTFIGkcPquyJOoFWLmEWugcN9HVAyuYQy5rh7Q68 zxhHBtN9rYtL7WmEQYGnd5Q0eCoz6fgmq0jV09Gxi6zMdOSXSOtqS5uCQdwFgOCL//hs djx8qarKEu74gbiohryijNWaqHlQx4/NwPQs0cPizaedCcD11GQYTCGBuV9Rt7dXxTW+ QlJwzXRJ15Kk8buGS1/7TO9QeMTK1PYLDSmazWGqsbKqsyNseL1mU1w1I5+IT9G4yMWX dUNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hnmKm7rpFDKdViozsx57KeQ2owOgOEmOxtUHRT8SSfE=; b=nasQ8cMxu32ui2D3SO4oecy/K+VJ/3PMBCfJNDDpeh2yzO9G9+4gMvWwXjb/4163LZ nbSJaXRC+D8IhXApG+nvOGv3gL5U9joUNa/C6N85AmrZXq/O2bBsxuk9h2vT104WsK91 Mr7BJDYMz6BZJ660gXBm/Jy6cgHu6bpVOKi3Id7lPZRMtvIPJx6DOKgxFnNrJoDXrvHs UU2LAbu690S7rWoA06ieI1NYJ8K8wCsl6CEBAJBTdkf5nYehl2eTBwwWkV5TqybxbiW1 YqwG+2HveR64aXy9bojHPN4NT6eIJxgWajEKA6WqljJACfEk0aZn0DQZwbr/xjVzQfU+ 2brA== X-Gm-Message-State: APt69E0BDC0HbF0Vio8jssNBbynXgo81oDdAaiPZ6z9BEIVmJb/x1e5c YO4MCQh5TCD1/i39mbeSU/c= X-Received: by 2002:a62:6cc4:: with SMTP id h187-v6mr2207794pfc.145.1528842239426; Tue, 12 Jun 2018 15:23:59 -0700 (PDT) Received: from dtor-ws ([2620:0:1000:1511:8de6:27a8:ed13:2ef5]) by smtp.gmail.com with ESMTPSA id d88-v6sm1545339pfb.43.2018.06.12.15.23.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jun 2018 15:23:58 -0700 (PDT) Date: Tue, 12 Jun 2018 15:23:56 -0700 From: Dmitry Torokhov To: Janusz Krzysztofik Cc: Tony Lindgren , Aaro Koskinen , "David S . Miller" , Mauro Carvalho Chehab , Greg Kroah-Hartman , Andrew Morton , Randy Dunlap , Liam Girdwood , Mark Brown , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/10] ARM: OMAP1: ams-delta: drop GPIO lookup table for serio device Message-ID: <20180612222356.GD38773@dtor-ws> References: <20180609140224.32606-1-jmkrzyszt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180609140224.32606-1-jmkrzyszt@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Janusz, On Sat, Jun 09, 2018 at 04:02:15PM +0200, Janusz Krzysztofik wrote: > GPIO lookup table for ams-delta-serio device was introduced by commit > 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables"). > Unfortunately, a follow up patch "Input: ams_delta_serio: use GPIO > lookup table" was not accepted by subystem maintainer who requested > conversion of the driver to a platform driver, replacepemnt of IRQ GPIO > pin with IRQ resource, replacement of GPIO pin providing keyboard power > with a regulator and removal of remaining GPIO pins from the driver as > not handled by it. > > Let's start with removal of no the longer needed GPIO lookup table from > the board init file. > > Series created and tested on top of next-20180608 tag from linux-next > tree. This all is really nice (modulo a couple of questions), thank you for implementing this. How do you want to merge this? Through OMAP tree or input? > > Signed-off-by: Janusz Krzysztofik > --- > arch/arm/mach-omap1/board-ams-delta.c | 19 ------------------- > 1 file changed, 19 deletions(-) > > diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c > index 80f54cb54276..18e0ff437b27 100644 > --- a/arch/arm/mach-omap1/board-ams-delta.c > +++ b/arch/arm/mach-omap1/board-ams-delta.c > @@ -504,20 +504,6 @@ static struct platform_device cx20442_codec_device = { > .id = -1, > }; > > -static struct gpiod_lookup_table ams_delta_serio_gpio_table = { > - .table = { > - GPIO_LOOKUP(OMAP_GPIO_LABEL, AMS_DELTA_GPIO_PIN_KEYBRD_DATA, > - "data", 0), > - GPIO_LOOKUP(OMAP_GPIO_LABEL, AMS_DELTA_GPIO_PIN_KEYBRD_CLK, > - "clock", 0), > - GPIO_LOOKUP(LATCH2_LABEL, LATCH2_PIN_KEYBRD_PWR, > - "power", 0), > - GPIO_LOOKUP(LATCH2_LABEL, LATCH2_PIN_KEYBRD_DATAOUT, > - "dataout", 0), > - { }, > - }, > -}; > - > static struct platform_device *ams_delta_devices[] __initdata = { > &latch1_gpio_device, > &latch2_gpio_device, > @@ -534,7 +520,6 @@ static struct platform_device *late_devices[] __initdata = { > > static struct gpiod_lookup_table *ams_delta_gpio_tables[] __initdata = { > &ams_delta_audio_gpio_table, > - &ams_delta_serio_gpio_table, > }; > > static struct gpiod_lookup_table *late_gpio_tables[] __initdata = { > @@ -580,10 +565,6 @@ static void __init ams_delta_init(void) > */ > ams_delta_audio_gpio_table.dev_id = > dev_name(&ams_delta_audio_device.dev); > - /* > - * No device name is assigned to GPIO lookup table for serio device > - * as long as serio driver is not converted to platform device driver. > - */ > > gpiod_add_lookup_tables(ams_delta_gpio_tables, > ARRAY_SIZE(ams_delta_gpio_tables)); > -- > 2.16.1 > -- Dmitry