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: 645909 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3rlfhL5Nybz9sCj for ; Fri, 8 Jul 2016 00:12:18 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=cogentembedded-com.20150623.gappssmtp.com header.i=@cogentembedded-com.20150623.gappssmtp.com header.b=P6OjPPZG; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751395AbcGGOMK (ORCPT ); Thu, 7 Jul 2016 10:12:10 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:33893 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751052AbcGGOMG (ORCPT ); Thu, 7 Jul 2016 10:12:06 -0400 Received: by mail-lf0-f47.google.com with SMTP id h129so12261517lfh.1 for ; Thu, 07 Jul 2016 07:11:49 -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=gTf7UhJQsKG04ll90VlsDhzGG+VWB4qVE4aObxxGfWaECqLCJFs1ubngDMgejmtidN Ar6RS7O61YoAbQCsmbE5Yw9HkZFKFrY7fS7RzmYd/EMzOIp4U49iA7lUYERHaJcBUcD+ 22nkRUKpLhB9mmWSrTWVsllc//D2Vtg11RsV7Bu3XGd3kEMOxtNbvrcTqliR4REB6o3n v4u/oUnhDkwRzHniYzYxobI9VUHEYmIrm3v7ZtqJfUOzwCJun4fwkBVp8aTh9Irp8yH3 vDTV4rGrRDoRf7l2rNHQewMK40aeAH73EOsQWXMO3B+RcRdn42ybW6FYSNaVDg6MNi0a Ev+w== X-Gm-Message-State: ALyK8tKiZ402qAo5AthkQLTiFhw8GzcEtADV2r3xIKt6Mx94gPMUVjkZ5aeGkewTdtn52g== 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-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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(+) -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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, }, {