From patchwork Thu Jul 7 14:11:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9218999 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A84E60467 for ; Thu, 7 Jul 2016 14:12:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DAC31FFCA for ; Thu, 7 Jul 2016 14:12:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2273026E81; Thu, 7 Jul 2016 14:12:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2E3226E8A for ; Thu, 7 Jul 2016 14:12:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751344AbcGGOMJ (ORCPT ); Thu, 7 Jul 2016 10:12:09 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:35005 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbcGGOMG (ORCPT ); Thu, 7 Jul 2016 10:12:06 -0400 Received: by mail-lf0-f43.google.com with SMTP id l188so12247721lfe.2 for ; Thu, 07 Jul 2016 07:11:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=CSGxeBCHQnGFkvwB2SDFDZtjwHlGz4DDvgBPkYp5LOI=; b=P6OjPPZGqTDTsQHq68VC/L/W3GhSDe4OBN9+rxHIrf7V8XrO4Im2EGnl1ircSAE7g7 2kVI3UVSYNYWTEbUJx3F58rRgVucb5F/nYYEriVLtiFIwTmhB7mEiVkJ9whfX+tjaydr YX5W+Feos0sYiJ7BU2ZQEKcXPFSCaM8jNDbrZ3gcxbY0KGMGEvtvQ3cqGqa1YwzRmuWW Wuo8LL6tfMsoY2rXYd4T6tGtw9CnaJlBtzX3ecVGS6UWxzbIZL8ISoCbAwipV0+38g3f gv9LuRIDO9CrXYnHQl4y66f95gKqWU4txsM1Aez233rd25m/jncL+AH963fQvUav/R2E H/CA== 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=CSGxeBCHQnGFkvwB2SDFDZtjwHlGz4DDvgBPkYp5LOI=; b=BO24uFgJLKHO9KehmMg2Ikrtf0p3EGWXSG5gfmEVmq4Bz9i/j0ZcsDGqtF2uVCyyb6 qC/SF6uLD7d1j6QRyNuAxFACeyabqOhVH5nbC/wXxZj447GIH3y2YMKx6bNGN+EhDvar zq2kC/mR94RbemRJVNyP2UGZpSX0MYPKMt4lk+IB0h9oCRlueq/S4I5dmFNXiv2CGKST 8CmskJjlqeexgR8u/Q6JBOb1qi/nQtvmiB62P25NgpB8a//TTe8uURupZhV1WWNd8NJX rrP9mvaIlrZx6tAHuIfHaZ6MJ27JP+L5jgsoHYYSNIzvRc+StOyiS1d+9RKd4+RxyVr7 SNMw== X-Gm-Message-State: ALyK8tI/T/GV2vdMem/vdIr8ZZLRxp7ln7BzluC0OuZQKmyR3d5ojfl8uOO1KAaK/M8OzQ== X-Received: by 10.46.1.27 with SMTP id 27mr129737ljb.26.1467900708475; Thu, 07 Jul 2016 07:11:48 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.83.44]) by smtp.gmail.com with ESMTPSA id j138sm7449058lfe.6.2016.07.07.07.11.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jul 2016 07:11:47 -0700 (PDT) From: Sergei Shtylyov To: linus.walleij@linaro.org, linux-gpio@vger.kernel.org, gnurou@gmail.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org Subject: [PATCH] gpio: rcar: add R8A7792 support Date: Thu, 07 Jul 2016 17:11:45 +0300 Message-ID: <3799541.jpRKLHA1Qm@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.4.13-200.fc22.x86_64; KDE/4.14.17; x86_64; ; ) In-Reply-To: <1501145.5ro9yfox2Z@wasted.cogentembedded.com> References: <1501145.5ro9yfox2Z@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Renesas R8A7792 SoC is a member of the R-Car gen2 family, add support for its GPIO controllers. Signed-off-by: Sergei Shtylyov --- The patch is against the 'devel' branch of Linus Walleij's 'linux-gpio.git' repo. It replaces previously posted patch "gpio: rcar: document R8A7792 support." Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 + drivers/gpio/gpio-rcar.c | 3 +++ 2 files changed, 4 insertions(+) Index: linux-gpio/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt =================================================================== --- linux-gpio.orig/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt +++ linux-gpio/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt @@ -7,6 +7,7 @@ Required Properties: - "renesas,gpio-r8a7779": for R8A7779 (R-Car H1) compatible GPIO controller. - "renesas,gpio-r8a7790": for R8A7790 (R-Car H2) compatible GPIO controller. - "renesas,gpio-r8a7791": for R8A7791 (R-Car M2-W) compatible GPIO controller. + - "renesas,gpio-r8a7792": for R8A7792 (R-Car V2H) compatible GPIO controller. - "renesas,gpio-r8a7793": for R8A7793 (R-Car M2-N) compatible GPIO controller. - "renesas,gpio-r8a7794": for R8A7794 (R-Car E2) compatible GPIO controller. - "renesas,gpio-r8a7795": for R8A7795 (R-Car H3) compatible GPIO controller. Index: linux-gpio/drivers/gpio/gpio-rcar.c =================================================================== --- linux-gpio.orig/drivers/gpio/gpio-rcar.c +++ linux-gpio/drivers/gpio/gpio-rcar.c @@ -335,6 +335,9 @@ static const struct of_device_id gpio_rc .compatible = "renesas,gpio-r8a7791", .data = &gpio_rcar_info_gen2, }, { + .compatible = "renesas,gpio-r8a7792", + .data = &gpio_rcar_info_gen2, + }, { .compatible = "renesas,gpio-r8a7793", .data = &gpio_rcar_info_gen2, }, {