From patchwork Mon Jun 10 17:10:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 166335 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1271796ilk; Mon, 10 Jun 2019 10:11:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEBdHvTDh4w0n4OzFx8E379LTs3qLj1flrjdyvG3Mu0R4MtnJPLaFVjTw26I2PXMuKPP4W X-Received: by 2002:a17:902:7894:: with SMTP id q20mr62873794pll.339.1560186685869; Mon, 10 Jun 2019 10:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560186685; cv=none; d=google.com; s=arc-20160816; b=dwE39pH0wzzoSCObI0TCcAZnkVom1GYEvNphtru/rGUrpjbV7vYVI565Nds4F7exNo wv+fFdG6kxNJnfvAVWbRswup3I9yyZL/hZNpF4NLp1g4w5RpY3SQiE0pOKwucqZRDGI4 XCvIr3g8Nejv6O/cGe7S3i1OUQqYgoVdMo1n0WdWKQ4GWNyKFHZzEs4rmuu6eBUpt4NK aqmd4K5LhQjPy9aNmhLVMQrlNpCBiUY2ku64FGwMQXTq9FaUBwgxu2dkvYbu/Nk9kuVE xIC+wD4BpqjEPzAsOr//xG7H+r7WiAZvhDzyVd2+LpQmR3tUf/ZKRmvmjTSo0IkimryJ DU+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=t38w1L4mrxYXXMjDQM1becdv+NFut23PDyS5X30wChs=; b=oNnTxxODAnxHTkazDGkeDL5OIBUw4JUzh/GUwJ20LeWKIYpz1sb31VX8xP24WDSkcx 2JeKubDoy9AlaK3m3OhCGLH1r/dQ4JgAl+z+BN1BzSECWmKDjUEfmBhkv8mQ5swEOMS3 PnEAY/BgnV0oyk2DJZgTYvffNpiQU6pvrh3oqV6VyNcUBzhb98VFE2LDx4zo6BAtG8rT eiWV+7bQNmDaKdflTfHqJ7VJogpPr4PaeuEg/R/huHmhRVvXia48VxzPIYN7I7dr9c+z Wd/B657/bjgN+D6aSltktyLwrHdDcD+Bw9RsxpwQa2xL3KWHlIYx2ETsxl8LI+ONHLJV VH4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=IY7mJsgQ; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f33si3856pjg.81.2019.06.10.10.11.25; Mon, 10 Jun 2019 10:11:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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=@ti.com header.s=ti-com-17Q1 header.b=IY7mJsgQ; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387396AbfFJRLY (ORCPT + 5 others); Mon, 10 Jun 2019 13:11:24 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:44254 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728373AbfFJRLY (ORCPT ); Mon, 10 Jun 2019 13:11:24 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x5AHBCWa121338; Mon, 10 Jun 2019 12:11:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1560186672; bh=t38w1L4mrxYXXMjDQM1becdv+NFut23PDyS5X30wChs=; h=From:To:CC:Subject:Date; b=IY7mJsgQmMZXyAx1hLY3wQu261gSm79u4CiTJ53uSmXqLjbf7invQW++CCrFO2mb7 V3Ag3YM3RSQuMRUJmbTfgRAYLvLu9YCWbjTDjb2g9UXuZTI1p4doIEb1128wCPwOh/ RgT+mKi7stL9fx7C4U/xUt+07bLYEVs1JPf9DCb4= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x5AHBCiO079481 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Jun 2019 12:11:12 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 10 Jun 2019 12:11:11 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 10 Jun 2019 12:11:11 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x5AHBAaL066346; Mon, 10 Jun 2019 12:11:11 -0500 From: Grygorii Strashko To: Russell King , Linus Walleij , Tony Lindgren CC: Bartosz Golaszewski , , , , Santosh Shilimkar , Grygorii Strashko Subject: [PATCH-next 00/20] gpio: gpio-omap: set of fixes and big clean-up Date: Mon, 10 Jun 2019 20:10:43 +0300 Message-ID: <20190610171103.30903-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Linus, Russell, Tony, All, This series contains set of patches from Russell King which were circulated internally for quite some time already and I fill it's reasonable to move future discussion upstream (and also avoid rebasing). Fisrt two patches are fixes and the rest are big, great clean up from Russell King. Personally, I like this clean up and refactoring very much and don't want it to be lost. Code can be found at: git@git.ti.com:~gragst/ti-linux-kernel/gragsts-ti-linux-kernel.git branch: lkml-next-gpio-clean-up Russell King (20): gpio: gpio-omap: ensure irq is enabled before wakeup gpio: gpio-omap: fix lack of irqstatus_raw0 for OMAP4 gpio: gpio-omap: remove remainder of list management gpio: gpio-omap: clean up edge interrupt handling gpio: gpio-omap: remove irq_ack method gpio: gpio-omap: move omap_gpio_request() and omap_gpio_free() gpio: gpio-omap: simplify omap_gpio_get_direction() gpio: gpio-omap: simplify get() method gpio: gpio-omap: simplify get_multiple() gpio: gpio-omap: simplify set_multiple() gpio: gpio-omap: simplify bank->level_mask gpio: gpio-omap: simplify read-modify-write gpio: gpio-omap: simplify omap_toggle_gpio_edge_triggering() gpio: gpio-omap: simplify omap_set_gpio_irqenable() gpio: gpio-omap: remove dataout variation in context handling gpio: gpio-omap: clean up omap_gpio_restore_context() gpio: gpio-omap: constify register tables gpio: gpio-omap: clean up wakeup handling gpio: gpio-omap: irq_startup() must not return error codes gpio: gpio-omap: clean up register access in omap2_set_gpio_debounce() drivers/gpio/gpio-omap.c | 497 ++++++++---------------- include/linux/platform_data/gpio-omap.h | 2 +- 2 files changed, 161 insertions(+), 338 deletions(-) -- 2.17.1 Tested-by: Tony Lindgren