From patchwork Sun Jul 14 03:53:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 1131679 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=reject dis=none) header.from=zoho.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="hC4i2tS9"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45md9m2tbRz9sND for ; Sun, 14 Jul 2019 17:11:08 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728218AbfGNHKn (ORCPT ); Sun, 14 Jul 2019 03:10:43 -0400 Received: from sender4-pp-o95.zoho.com ([136.143.188.95]:25549 "EHLO sender4-pp-o95.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726799AbfGNHKm (ORCPT ); Sun, 14 Jul 2019 03:10:42 -0400 X-Greylist: delayed 755 seconds by postgrey-1.27 at vger.kernel.org; Sun, 14 Jul 2019 03:10:42 EDT ARC-Seal: i=1; a=rsa-sha256; t=1563087330; cv=none; d=zoho.com; s=zohoarc; b=gHfazKbY3bxTbzBwtnkG5zaen4Usc5jwgYdOlSbeTMLnZfRYWmYfozIfXmCcSrmYWXP+qEtCAFiD/EIKjyG2Azm+fn6Kxwi+M41qimgWgX7UdaEz3mP83TN9hhSbDDvWyspGUIENx2HNYcoq2RGeZSanf1tuJj1UWa9hhHetdOM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563087330; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=hfnVfnh/vca8VDGXpOWZyOyDkom6iR+mQuHJWBcZOjY=; b=mJw93LBVvCy8P2JCcQjyhO11ml1/SUuRdBwrz7fEbByu80HGHxGCOxQLZA2NOpOZf7TRKA4+oiJsS1C1yzcm8cFSC/gcDaY9rt3IkgCKzZjFBftPiZsjb0VOAHp8Gbw2nYgWKfqOYfkaCqDIrtJGUPlaTxnp38p9/Sv285irkvQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=lvp+l4RPYUJv2MqMaz/yM9GofQyG7YNGo15EHJCAN5BEoG05gnwzn2lZl0yVocIHM53h84b2SzC3 +6VNjJzcvpmjXBTy/VFrMm3JdKVrJlHrzuPqQ+GL5pVWN0jx8pns DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563087330; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; l=1709; bh=hfnVfnh/vca8VDGXpOWZyOyDkom6iR+mQuHJWBcZOjY=; b=hC4i2tS9Pvopxxl1QUFjQwgEhXRIuxk/bFv4K9+zjtzz4VPFEoc0j7suK6/4bXXB 7+gx1Fi5HpcYX3bd3j4Rx5gsENOpQ3OXACJMlqg5uOT7Xq5QCmnCa6HRMvxIfCQVX83 wWvgtcpGMV6k6MRNyQbsP9RjsUP8wwth21vtOLdc= Received: from zhouyanjie-virtual-machine.localdomain (125.71.5.36 [125.71.5.36]) by mx.zohomail.com with SMTPS id 1563087330429598.9787410686005; Sat, 13 Jul 2019 23:55:30 -0700 (PDT) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, paul.burton@mips.com, linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH 1/6] dt-bindings: pinctrl: Add JZ4760 and JZ4760B bindings. Date: Sun, 14 Jul 2019 11:53:51 +0800 Message-Id: <1563076436-5338-2-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563076436-5338-1-git-send-email-zhouyanjie@zoho.com> References: <1563076436-5338-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the pinctrl bindings for the JZ4760 Soc and the JZ4760B Soc from Ingenic. Signed-off-by: Zhou Yanjie --- Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt index af20b0e..a80ff68 100644 --- a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt @@ -11,8 +11,8 @@ naming scheme "PxN" where x is a character identifying the GPIO port with which the pin is associated and N is an integer from 0 to 31 identifying the pin within that GPIO port. For example PA0 is the first pin in GPIO port A, and PB31 is the last pin in GPIO port B. The jz4740 contains 4 GPIO ports, PA to -PD, for a total of 128 pins. The jz4780 contains 6 GPIO ports, PA to PF, for a -total of 192 pins. +PD, for a total of 128 pins. The jz4760, the jz4770 and the jz4780 contains 6 +GPIO ports, PA to PF, for a total of 192 pins. Required properties: @@ -21,6 +21,8 @@ Required properties: - compatible: One of: - "ingenic,jz4740-pinctrl" - "ingenic,jz4725b-pinctrl" + - "ingenic,jz4760-pinctrl" + - "ingenic,jz4760b-pinctrl" - "ingenic,jz4770-pinctrl" - "ingenic,jz4780-pinctrl" - reg: Address range of the pinctrl registers. @@ -31,6 +33,7 @@ Required properties for sub-nodes (GPIO chips): - compatible: Must contain one of: - "ingenic,jz4740-gpio" + - "ingenic,jz4760-gpio" - "ingenic,jz4770-gpio" - "ingenic,jz4780-gpio" - reg: The GPIO bank number. From patchwork Sun Jul 14 03:53:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 1131682 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=reject dis=none) header.from=zoho.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="Uduj8Tqh"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45mdBb0gr1z9sNH for ; Sun, 14 Jul 2019 17:11:51 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728311AbfGNHLt (ORCPT ); Sun, 14 Jul 2019 03:11:49 -0400 Received: from sender4-pp-o95.zoho.com ([136.143.188.95]:25560 "EHLO sender4-pp-o95.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728065AbfGNHLr (ORCPT ); Sun, 14 Jul 2019 03:11:47 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563087394; cv=none; d=zoho.com; s=zohoarc; b=BCpHCA5wo5z5nzUNp9SGvMTYO48B6vv4zvpjYqyywOgT7hGylaq9jF7hxblQqNhzSQ6BOeIXdUvUTNPeDpsr1QfRdmsMUuUT6kBb+PA2C50bOYavarQazvOqDwnqBTIpcCi7uqM8sEZszscwqdtNEiQygd50q5bVrLM1WiMDgwc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563087394; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=iiMvhbTTX9+gS3xxepq+r5OQUY/fuvtJIF+KG5TROMc=; b=ARkBgkG6J1BFSpnEWFlYy9J+B93js6uataGq0jpsf203I2faFUibzRMv6Mo9+GNrDd6GeD6VTCWWnktjTpqiCSWULIsBfqb7h6NozYl8pe2r/CIi8w2NWKeo+T/xKLGemvW9yJmlp6S4QMFjuNx22dGlF0T47q4hk77g/rD+SZM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=B2vSbOKrnXPfdkzQ+Px1psIq1t5rE70gUas1N5Q+O4fTODIcz1mhXV3MJUaoyorlLigQ5BzwTnWR arn1Aj7Tov5vm1PJ05X5zhAsnrURI0Ujl5Zu7lVRPiUF6uDQpBaH DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563087394; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; l=2456; bh=iiMvhbTTX9+gS3xxepq+r5OQUY/fuvtJIF+KG5TROMc=; b=Uduj8TqhQK6hHx6iaYgEv39PWzWSCadM6MQG/MOb6ul3JTGA0v2XvUoTSj63RQET bbQ+WAnoILwCEWihMSrfNwl8F0JupnfnW0L04Cg/cGIxAq6HvX72Mx+qhgdloSEVD31 EIEunJ478TrecmEeiy9RcGBWzD2nlEuxVlF/bVtQ= Received: from zhouyanjie-virtual-machine.localdomain (125.71.5.36 [125.71.5.36]) by mx.zohomail.com with SMTPS id 1563087394688413.43827450011634; Sat, 13 Jul 2019 23:56:34 -0700 (PDT) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, paul.burton@mips.com, linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH 3/6] dt-bindings: pinctrl: Add X1000 and X1000E bindings. Date: Sun, 14 Jul 2019 11:53:53 +0800 Message-Id: <1563076436-5338-4-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563076436-5338-1-git-send-email-zhouyanjie@zoho.com> References: <1563076436-5338-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the pinctrl bindings for the X1000 Soc and the X1000E Soc from Ingenic. Signed-off-by: Zhou Yanjie --- .../devicetree/bindings/pinctrl/ingenic,pinctrl.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt index a80ff68..7e2ee46 100644 --- a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt @@ -1,18 +1,18 @@ -Ingenic jz47xx pin controller +Ingenic XBurst pin controller Please refer to pinctrl-bindings.txt in this directory for details of the common pinctrl bindings used by client devices, including the meaning of the phrase "pin configuration node". -For the jz47xx SoCs, pin control is tightly bound with GPIO ports. All pins may +For the XBurst SoCs, pin control is tightly bound with GPIO ports. All pins may be used as GPIOs, multiplexed device functions are configured within the GPIO port configuration registers and it is typical to refer to pins using the naming scheme "PxN" where x is a character identifying the GPIO port with which the pin is associated and N is an integer from 0 to 31 identifying the pin within that GPIO port. For example PA0 is the first pin in GPIO port A, and -PB31 is the last pin in GPIO port B. The jz4740 contains 4 GPIO ports, PA to -PD, for a total of 128 pins. The jz4760, the jz4770 and the jz4780 contains 6 -GPIO ports, PA to PF, for a total of 192 pins. +PB31 is the last pin in GPIO port B. The jz4740 and the x1000 contains 4 GPIO +ports, PA to PD, for a total of 128 pins. The jz4760, the jz4770 and the jz4780 +contains 6 GPIO ports, PA to PF, for a total of 192 pins. Required properties: @@ -25,6 +25,8 @@ Required properties: - "ingenic,jz4760b-pinctrl" - "ingenic,jz4770-pinctrl" - "ingenic,jz4780-pinctrl" + - "ingenic,x1000-pinctrl" + - "ingenic,x1000e-pinctrl" - reg: Address range of the pinctrl registers. @@ -36,6 +38,7 @@ Required properties for sub-nodes (GPIO chips): - "ingenic,jz4760-gpio" - "ingenic,jz4770-gpio" - "ingenic,jz4780-gpio" + - "ingenic,x1000-gpio" - reg: The GPIO bank number. - interrupt-controller: Marks the device node as an interrupt controller. - interrupts: Interrupt specifier for the controllers interrupt. From patchwork Sun Jul 14 03:53:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 1131685 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=reject dis=none) header.from=zoho.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="gYBDppZ3"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45mdDr5n4nz9sNH for ; Sun, 14 Jul 2019 17:13:48 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728221AbfGNHNr (ORCPT ); Sun, 14 Jul 2019 03:13:47 -0400 Received: from sender-pp-o92.zoho.com ([135.84.80.237]:25455 "EHLO sender-pp-o92.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726756AbfGNHNq (ORCPT ); Sun, 14 Jul 2019 03:13:46 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1563087513; cv=none; d=zoho.com; s=zohoarc; b=kguB6JxfqtlnhUmhR1Nb6MDJjeMxV1Dw1jwJxW5BbIt3EvxcTnZTnXa9/q0bC2/+KqWiKQzvn/Z6yCsbN1jpx/FzL6IEZ4hIGWqWsI92NPhiZ930NSmgAwRiDrs6dyZOAJpndf1UlOHIbrkCt7b2Cvc5CoXX5kVG+2CaW4VPX7k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563087513; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=G6QZl0yzswQY5OpXi5R+jneFKyyMKM0a1rnMjMmyboY=; b=TLcHWw8XWGRRd5eKWG3qJk0MBpg14JfpzVBY6MlQYVqdb6wy0YECUsLsUHS1z+PhYO1NMIhdptyi7OShXolHdOXKyMAILau9Yt0mAOcl2lF66WgYBtKYxl4DpzTwL15b28T2MUK73HxhFSABypat5DmfTg/tzGLX0OIWut6DhWA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=Gpz9h7K4r9vor+1DdyPFNrdHkjTbG4cznS7MGY+4ja8D/rsgAYJuIEWdTxCPE15W8tUFRw+Drt6W 5Qht/AZKJd5xyh7ywQAkAFEDivF5cC2090JmmgDRaY7Xzfc0WrgK DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1563087513; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; l=748; bh=G6QZl0yzswQY5OpXi5R+jneFKyyMKM0a1rnMjMmyboY=; b=gYBDppZ3+ygLODyqht3EzZD5JoeSd8UFNjKd+vqXw25NLZBY90L/ih1h7hCv88L+ EIcXV+LpaSP6oKmPrRZ1J0UR1/jJ5w531b6GP4NsNcON6bHVp7p0U/LcCwHJCbFt6R3 b5jVDg19ADLf8IISgJCdwxDOcR/4CUyzB1AMHqPQ= Received: from zhouyanjie-virtual-machine.localdomain (125.71.5.36 [125.71.5.36]) by mx.zohomail.com with SMTPS id 1563087512516142.16015020040902; Sat, 13 Jul 2019 23:58:32 -0700 (PDT) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, paul.burton@mips.com, linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH 5/6] dt-bindings: pinctrl: Add X1500 bindings. Date: Sun, 14 Jul 2019 11:53:55 +0800 Message-Id: <1563076436-5338-6-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563076436-5338-1-git-send-email-zhouyanjie@zoho.com> References: <1563076436-5338-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the pinctrl bindings for the X1500 Soc from Ingenic. Signed-off-by: Zhou Yanjie --- Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt index 7e2ee46..0014d98 100644 --- a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt @@ -27,6 +27,7 @@ Required properties: - "ingenic,jz4780-pinctrl" - "ingenic,x1000-pinctrl" - "ingenic,x1000e-pinctrl" + - "ingenic,x1500-pinctrl" - reg: Address range of the pinctrl registers.