Received: by 10.192.165.156 with SMTP id m28csp436495imm; Fri, 13 Apr 2018 01:38:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx48CeSnTOJrJHzJFhHj0vFiY0tFeZSFMww3dc7KDcnG+14enjvZeTIdyDQkNTv1Y9Yni+o/E X-Received: by 10.101.72.203 with SMTP id o11mr3444071pgs.130.1523608739754; Fri, 13 Apr 2018 01:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523608739; cv=none; d=google.com; s=arc-20160816; b=UWgnLPP9vGdi+rkZH+q9xnsAdkx8VultibLhxf4psI0NRocsTGTulIEs+arRqB+CVw IAMX28Ih03AlvI5yBjLhTQHljeR6Rof8RId6DoK4tRr3envPUD+pxqNiswoQ4at/pwBK yyJpf1u+Bk8NO37LMJeU4jXx6sl5k+8KTYwNwN6HJekki4l4nz/6JOJMPfLP5AAdQwLK uN/fOWe2zC3631Fij7UDZKbqLrezIzckO+ASk1IwuSClh4L2iZQSnTqWsDLyTe9yDiCd BCvywE9/UIrYMbHWV9zft97u5loFkESEgoBHS1Oi7fOFY4To9HgMpSNVq6dfp9YDEY6B Q+5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Ybr17a0Z2QRfrb8CLZiZ/0zTIJ4e/Ifh+sJ9uHht1qU=; b=f5Qw+QObnLiSUmaDKrJ3BlMMGUQI6App2l87kHeAFi5rdqZUz5Ho8uDSYAh4arStq6 lU7gXNYgy1NlejpfcHB0MZcsvIPCKMKMF0PQpN8XjHu+YmRdvufPVKVCjt7V9rcwvd6q JBrysLFnp6FuaKpdP+WkK+G9z7Kc3mfnFz8nwgMmzbncBPIHThF0X7FMiqsK8okvw8/n VZDK5V0nlLtJLvWu/wxDbxXBF7MkmaBhEPV9nzY/9DmNudyyVQmg+Os0GnkhgGj3uTxA STyahaGCbb8Drc0kOHzDZe9dDA7TRh0tQMt7A++ZiHAA6ryT5Cn3zb7YNyufF2K1UEQe QroA== 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 n24si4038557pff.382.2018.04.13.01.38.45; Fri, 13 Apr 2018 01:38:59 -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 S1753603AbeDMIIj (ORCPT + 99 others); Fri, 13 Apr 2018 04:08:39 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:16656 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753103AbeDMIIh (ORCPT ); Fri, 13 Apr 2018 04:08:37 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 13 Apr 2018 17:08:35 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 438308612E; Fri, 13 Apr 2018 17:08:35 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.48,444,1517842800"; d="scan'208";a="276685054" Received: from unknown (HELO vbox.ree.adwin.renesas.com) ([10.226.37.67]) by relmlii1.idc.renesas.com with ESMTP; 13 Apr 2018 17:08:32 +0900 From: Phil Edworthy To: Hoan Tran , Linus Walleij , Rob Herring , Mark Rutland , Lee Jones Cc: Andy Shevchenko , Michel Pollet , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Phil Edworthy Subject: [PATCH v2 0/2] gpio: dwapb: Add support for 1 interrupt per port A GPIO Date: Fri, 13 Apr 2018 09:08:18 +0100 Message-Id: <1523606900-2332-1-git-send-email-phil.edworthy@renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All details about the change is in patch 0001. patch 0002 fixes up other users of 'struct dwapb_port_property'. One point to mention is that I have made it possible for users to have unconncted interrupts by specifying holes in the list of interrupts. This is done by supporting the interrupts-extended DT prop. However, I have no use for this and had to hack some test case for this. Perhaps the driver should support 1 interrupt or all GPIOa as interrupts? Phil Edworthy (2): gpio: dwapb: Add support for 1 interrupt per port A GPIO mfd: intel_quark_i2c_gpio: Update Synopsys GPIO interrupts .../devicetree/bindings/gpio/snps-dwapb-gpio.txt | 9 ++++- drivers/gpio/gpio-dwapb.c | 43 +++++++++++++++++----- drivers/mfd/intel_quark_i2c_gpio.c | 3 +- include/linux/platform_data/gpio-dwapb.h | 3 +- 4 files changed, 45 insertions(+), 13 deletions(-) -- 2.7.4