From patchwork Thu Feb 25 21:44:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 588384 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 74E7F140556 for ; Fri, 26 Feb 2016 08:44:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=x6wb7bEo; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750717AbcBYVoy (ORCPT ); Thu, 25 Feb 2016 16:44:54 -0500 Received: from mail-lf0-f46.google.com ([209.85.215.46]:36680 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750789AbcBYVox (ORCPT ); Thu, 25 Feb 2016 16:44:53 -0500 Received: by mail-lf0-f46.google.com with SMTP id 78so41841954lfy.3 for ; Thu, 25 Feb 2016 13:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mfCkV8j5u/+Xn0zr0IC7oWf37zmLrEVfLXtmUhxxKdI=; b=x6wb7bEoed9B39hd85is4PqFJCM5ggYOBNcc9CUsY64D3xnEfTBi+nedPiL/lHTth0 oBNAxecuBcWg6H9I7ZlTiIsUJr33ySa4huazj6q468yEqmpXHS1vWvDxDxc68MLdPAkd sW6rIeXsLlxdE7zAto43deeVV2nZl2bP54JMXF3CQcePiJmUI7XPNDok8mT095TYOlIp AWvr3PHQqoPrYemhPHwnzl4Jej5NUQheTQIf1Wgsq2bWK7bWkuIARDHMOIdcye5uZu5+ +W8qte9G1iwWhKnfLbPjjY6+iJ4npwF7W6euSbjPt0ZUTpL1BZb4q8IzEkP/6Hhw7+Qs qh9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mfCkV8j5u/+Xn0zr0IC7oWf37zmLrEVfLXtmUhxxKdI=; b=X4CZX4YZlhWxd/SluSXpNxbHo7ETr4CLHj2MPnEiDUBRe3vNPBfPDL5YBVDNAOql1r vLJlMNmS6l/ZTJLT8YR6SUumUbecQHxtFjvoT/1rKduxqBBheehIYTrT5c0nr11HTMpW OVJ10/sdBtugyh6PfU3Ifj+6+YV6WzBBEydLxJZmVzFLt8bgpKPpolPnWN8HArDU3pI2 60q8/m8HXTRLGpVxZsLH1Zd5rBVZCY2aZjID3l1+fPXPgQw7/Ycollg/tVbyoWhIlo+L FibqJJiDGsOlauRfQ5TfxWPpCEIXb8bJjOpKqVLOBYkCiIHItAr4+KHgcQ/pr8ptM2ZL phQg== X-Gm-Message-State: AG10YOTBswliOSyI4iRs6qHbwf59sG2ivWdu4lG0sJUJ91GphnpSNlO1AN4/3cRM15j43g== X-Received: by 10.25.15.226 with SMTP id 95mr18655866lfp.85.1456436691750; Thu, 25 Feb 2016 13:44:51 -0800 (PST) Received: from localhost.localdomain (141.89-11-213.nextgentel.com. [89.11.213.141]) by smtp.gmail.com with ESMTPSA id yf3sm553391lbb.37.2016.02.25.13.44.50 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 13:44:51 -0800 (PST) From: Joachim Eastwood To: linus.walleij@linaro.org Cc: Joachim Eastwood , linux-gpio@vger.kernel.org Subject: [PATCH v2 3/3] pinctrl: lpc1850-scu: document nxp, gpio-pin-interrupt Date: Thu, 25 Feb 2016 22:44:39 +0100 Message-Id: <1456436679-22077-4-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1456436679-22077-1-git-send-email-manabian@gmail.com> References: <1456436679-22077-1-git-send-email-manabian@gmail.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Update devicetree documention for lpc1850-scu with the new nxp,gpio-pin-interrupt property. Signed-off-by: Joachim Eastwood Acked-by: Rob Herring --- .../devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt b/Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt index df0309c57505..bd8b0c69fa44 100644 --- a/Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt +++ b/Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt @@ -22,6 +22,10 @@ The following generic nodes are supported: - input-schmitt-disable - slew-rate +NXP specific properties: + - nxp,gpio-pin-interrupt : Assign pin to gpio pin interrupt controller + irq number 0 to 7. See example below. + Not all pins support all properties so either refer to the NXP 1850/4350 user manual or the pin table in the pinctrl-lpc18xx driver for supported pin properties. @@ -54,4 +58,14 @@ pinctrl: pinctrl@40086000 { bias-disable; }; }; + + gpio_joystick_pins: gpio-joystick-pins { + gpio_joystick_1_cfg { + pins = "p9_0"; + function = "gpio"; + nxp,gpio-pin-interrupt = <0>; + input-enable; + bias-disable; + }; + }; };