Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3492584ybh; Mon, 5 Aug 2019 20:00:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7OSjx5TZfmSI5M9AI/BbmUYAMj4SJPnHE5wy20q0rQOLuzRn+alaBQ0HDTAZA1QUXzARb X-Received: by 2002:a17:902:8689:: with SMTP id g9mr825219plo.252.1565060429008; Mon, 05 Aug 2019 20:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565060428; cv=none; d=google.com; s=arc-20160816; b=jK3+brItxds3SV4tZ5c9nKczK1l89EpZA7npHa463zviOeZCGmAWueVe9oIc5P0HlY FhA37cHVhCRyLO9XlnrJvXDsWx/IR64rfLYxfhGlDQuMMmMvSMIHL0c+9XsmXXwh7PsT KTzL0Mfq1pvWefwEQ36Woyxdh0YnrTk3XcSNGO3tdVhBx4H0SIYyMRcfZzQ0cRxdaCHL p/nHgkbJfGxQiFON5219M3GQ8/sRi7VV5f8uKWpZXwW5/LENM+lhnKXWsnHMMxzvEhlU BDJY4hRGDXfacSg4Ex16L0trh8mL1QJ4z+RGBUlP7cs3741bat95QEltbv7RqdfAThp6 5E4Q== 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; bh=53XVoeLHvKEz1OnK7LUodxO5d10MI9NtABfkRsMqPMk=; b=TbVxWTg08KRsH+wd5YZv7ax22SpALi/Hl9LqG1I2BojxzdPE21oTnudKFN30H0wSU5 f4pnyidkEykkqbtWFp46IDYG1bEQM/aA1ery9MPPgxye/ALbFgfGgI6TmiGpCOH0F1in jA3cG80orVoQjKoP8WOkeOERYuLQTGaXR/jQtYs5WSbkhxtfiklnxIDNjIaEvnURAQ61 mRjm5z2M+PG75/O8qBqGouRcUgDO7COr+N38GcBQWSizky8WeLdS1NGQ4AcDioiZNnP0 zck6hmDZ/pXdKGvdvNpdthoFQa5Zy3/aZpJ0QW9CPO/M1yYhNRgBJTYYjcQhBJE61Xnn i4Ng== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si45545965pld.221.2019.08.05.20.00.13; Mon, 05 Aug 2019 20:00:28 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731492AbfHFC7I (ORCPT + 99 others); Mon, 5 Aug 2019 22:59:08 -0400 Received: from inva020.nxp.com ([92.121.34.13]:33618 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729170AbfHFC7H (ORCPT ); Mon, 5 Aug 2019 22:59:07 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7DECF1A009A; Tue, 6 Aug 2019 04:59:06 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B0CA41A0043; Tue, 6 Aug 2019 04:59:00 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 5FC6E402B5; Tue, 6 Aug 2019 10:58:53 +0800 (SGT) From: Hui Song To: Shawn Guo , Li Yang , Rob Herring , Mark Rutland , Linus Walleij , Bartosz Golaszewski Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Song Hui Subject: [PATCH v2] gpio: mpc8xxx: Add new platforms GPIO DT node description Date: Tue, 6 Aug 2019 10:49:23 +0800 Message-Id: <20190806024923.34355-1-hui.song_1@nxp.com> X-Mailer: git-send-email 2.9.5 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Song Hui Update the NXP GPIO node dt-binding file for QorIQ and Layerscape platforms, and add one more example with ls1028a GPIO node. Signed-off-by: Song Hui --- Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt b/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt index 69d4616..2df5fc0 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt @@ -37,3 +37,17 @@ gpio0: gpio@2300000 { interrupt-controller; #interrupt-cells = <2>; }; + + +Example of gpio-controller node for a ls1028a SoC: + +gpio1: gpio@2300000 { + compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio"; + reg = <0x0 0x2300000 0x0 0x10000>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + little-endian; +}; -- 2.9.5