From patchwork Sat Nov 23 18:30:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 1199864 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) 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="WWhlVeMN"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 47L21w3Pyhz9sPW for ; Sun, 24 Nov 2019 05:31:32 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726494AbfKWSb2 (ORCPT ); Sat, 23 Nov 2019 13:31:28 -0500 Received: from sender4-pp-o97.zoho.com ([136.143.188.97]:25796 "EHLO sender4-pp-o97.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726775AbfKWSb2 (ORCPT ); Sat, 23 Nov 2019 13:31:28 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574533858; cv=none; d=zohomail.com; s=zohoarc; b=O4sP79V9V7m1rQ3mKdz4EqZWHaLAz/pA5djUKpikShdQST4zF6YvktB0K0jij17rPe1s4/tVLxgwGrmXEaghPaVPrx4O+Xdi/Uc4coo4E5Mcr6ia83BHskUymdquZeSZp6djeqTifbQcegClvpLHWdqRbhEmyw1nTfEpHOzVvRE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574533858; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=WN/NoUQp3+KIKTRqXiL9cxz4qXpzRVmsOgrE57gDNXQ=; b=XOg6hFymt39vLw760MnU8BpvXHMtNB+4y0IV3z0WobVPRzwAlieTCYDVRdIKaz49aQhgQ36CzhTiaBb+9/irYEOIodRVJTYTVMiw5XADQxNbuGyjKn9VFhU7M6/eH4IXg1Cais2JXP4KmyCuZpIhPoceC5vWzdPCBk/84gbADYU= ARC-Authentication-Results: i=1; mx.zohomail.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=eTYnJER7548y+iJ2hqTJYdC1YCh5sKYjbCgNgxVlDwy+cyqegPen9VRNNgT4+TuSY6GsIsnNMFlv RGao5pVVLZTocFhMheLlIxTpstMYV0U8h+RTkaglQdEETzxuahzR DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574533858; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=WN/NoUQp3+KIKTRqXiL9cxz4qXpzRVmsOgrE57gDNXQ=; b=WWhlVeMNHnno0OY9dm2bmw9XXrUTUjizS9ly4rlJI9+1T0ehEwKEqOg53Q0ZLh6N eyM5xIhYlFQiOgJVrLsBvwm0bFH16kBdRmFY2Y8UBqlaMLr7yddmbwilOclPe61l9jZ hVLzTAtASJkwzRxlri5YNB7m93SbkkstZ0l/14zg= Received: from localhost.localdomain (171.221.112.247 [171.221.112.247]) by mx.zohomail.com with SMTPS id 1574533856846996.7893699181645; Sat, 23 Nov 2019 10:30:56 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, mark.rutland@arm.com, linus.walleij@linaro.org, paul@crapouillou.net Subject: [PATCH RESEND v4 3/4] dt-bindings: pinctrl: Add bindings for Ingenic X1830. Date: Sun, 24 Nov 2019 02:30:05 +0800 Message-Id: <1574533806-112333-4-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574533806-112333-1-git-send-email-zhouyanjie@zoho.com> References: <1574533806-112333-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 X1830 Soc from Ingenic. Signed-off-by: Zhou Yanjie Acked-by: Rob Herring --- Notes: v2: New patch. v2->v3: No change. v3->v4: No change. Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt index 0014d98..d9b2100 100644 --- a/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt @@ -10,9 +10,9 @@ 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 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. +PB31 is the last pin in GPIO port B. The jz4740, the x1000 and the x1830 +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: @@ -28,6 +28,7 @@ Required properties: - "ingenic,x1000-pinctrl" - "ingenic,x1000e-pinctrl" - "ingenic,x1500-pinctrl" + - "ingenic,x1830-pinctrl" - reg: Address range of the pinctrl registers. @@ -40,6 +41,7 @@ Required properties for sub-nodes (GPIO chips): - "ingenic,jz4770-gpio" - "ingenic,jz4780-gpio" - "ingenic,x1000-gpio" + - "ingenic,x1830-gpio" - reg: The GPIO bank number. - interrupt-controller: Marks the device node as an interrupt controller. - interrupts: Interrupt specifier for the controllers interrupt.