Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4843307ybh; Tue, 6 Aug 2019 19:23:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlL16txMNHpRQrY9NT4gDywEWo+fsyoyMDzgznxSnj8wgjR+HqkQhAgRYXK6kOyWaZoPSh X-Received: by 2002:a63:2744:: with SMTP id n65mr5605799pgn.277.1565144614192; Tue, 06 Aug 2019 19:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565144614; cv=none; d=google.com; s=arc-20160816; b=aFvrhcqpjYCLpEv7PSswRdBxxgTneXQJidPldp4XxwtBI59QxSc4/xwQYdsa+9G5nL bbtPhHgAysIXd03bkQWu35ZFETDwHhfRFHfsBH6xPCX4uFcdoPu0zYhSpZKJW2G4BgDd 4Mchu5inCdwP/U0nZRMmRV8rIUz6b+9o/KSUrP7MLqP5d4PysmzZ90f5j2Jf03LgSLv+ nWisbuHcLMfh15BN0+ztL6Nz/UdH2NcCcRykrx/OwyVN5M7RFoGXtgP6LEb5LORAgppD 1RvkzLygyMrU3QBwBFMAqyFqzT5P9aiYOkRTBXcGnktJ1SOCo/8IYk/EifSMs5/LtzpJ SCSQ== 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=Be5SCEezggKLDKnvGgUYM9kgS/Tm/lLGKkTX/6DAZuU=; b=PzlMpgaKR40dxMgb3siImTCx8RcGvEBCqza9QIxJlP5R4TQp3y7geu2Bnm8tPe6hPf jTSiZiArk34GTTLJ8mkumw1dbjQtGlXYF/BZfjN71hbnmlOVcpn776r27oD7iob1WFg6 dx3p8QSHqH9YdsT7pbAzpTIgYu2BSz7zdTCyVnSxUI7Lxlaj6+9txr1xJyY81kmBqS0v vEINQWty4CTgIXLKWUD/KhUk3KQ+0uDCzSjwrgK2FrrZkSJchvHOnUK0ZrAEsRQFxrxl YB95M3fvNuqYRVWdLZ2+qAbCcndSLSmeEKbisDZVEezTkc4AvfV8AArPxE/ShoDrZv2L zw0Q== 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 t37si1614937pgk.593.2019.08.06.19.23.18; Tue, 06 Aug 2019 19:23:34 -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 S1729436AbfHGCWj (ORCPT + 99 others); Tue, 6 Aug 2019 22:22:39 -0400 Received: from inva020.nxp.com ([92.121.34.13]:60130 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728772AbfHGCWi (ORCPT ); Tue, 6 Aug 2019 22:22:38 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7216C1A01EF; Wed, 7 Aug 2019 04:22:36 +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 5AEB71A0064; Wed, 7 Aug 2019 04:22:31 +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 D2ED9402B5; Wed, 7 Aug 2019 10:22:24 +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 v3] gpio: mpc8xxx: Add new platforms GPIO DT node description Date: Wed, 7 Aug 2019 10:12:54 +0800 Message-Id: <20190807021254.49092-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 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt b/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt index 69d4616..baf95d9 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt @@ -4,7 +4,7 @@ Required properties: - compatible : Should be "fsl,-gpio" The following s are known to be supported: mpc5121, mpc5125, mpc8349, mpc8572, mpc8610, pq3, qoriq, - ls1021a, ls1043a, ls2080a. + ls1021a, ls1043a, ls2080a, ls1028a. - reg : Address and length of the register set for the device - interrupts : Should be the port interrupt shared by all 32 pins. - #gpio-cells : Should be two. The first cell is the pin number and @@ -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