From patchwork Fri Jun 19 10:38:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 6644121 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5F491C0020 for ; Fri, 19 Jun 2015 10:40:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7FAE2206D2 for ; Fri, 19 Jun 2015 10:40:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 965582044B for ; Fri, 19 Jun 2015 10:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751311AbbFSKkZ (ORCPT ); Fri, 19 Jun 2015 06:40:25 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:33651 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754840AbbFSKih (ORCPT ); Fri, 19 Jun 2015 06:38:37 -0400 Received: by wibee9 with SMTP id ee9so5547139wib.0 for ; Fri, 19 Jun 2015 03:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=3rLaB5ai0MCtw5RvweDYthJv3e0cWoYkXl+OonGA9WE=; b=dcxBA4r6BU0U2pbCej2RJDMhwBoUWIHxec/XjsgzB7dMMcRbxpLkmrqsoW4C+ga+yd aGrYZXnCdqJV9SKa2uogWXxSb6rUplE5ZAuSfNHv7QwEuC6yMUMKXrMY9sJM3XAM+m1I rL73qzZ0JbXqr+I+gviXDtscvmaX6enrFGmVG7VHg1awd7F0Txg98tiPr+udsNqzpAbn aUr8CGXvaLlNR/2nHCbR6BPqNXDo/vN4KBl9sDdnhcgkNky7dWQbR4Zr/8lR2ZBqiyyA dIaOVVUs+gpZQElhSMkDjAsrAy5YVCEs7isx2O6hUNOYrAaC9Q9K9UQ5M4vXgUoJKZsO MCAw== X-Received: by 10.180.90.228 with SMTP id bz4mr5326938wib.69.1434710316527; Fri, 19 Jun 2015 03:38:36 -0700 (PDT) Received: from groucho.site (ipbcc06181.dynamic.kabel-deutschland.de. [188.192.97.129]) by mx.google.com with ESMTPSA id hn7sm3085620wib.5.2015.06.19.03.38.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2015 03:38:35 -0700 (PDT) From: Ulrich Hecht To: linux-sh@vger.kernel.org Cc: horms@verge.net.au, linus.walleij@linaro.org, magnus.damm@gmail.com, geert+renesas@glider.be, Ulrich Hecht Subject: [PATCH] gpio: rcar: Add r8a7795 (R-Car H3) support Date: Fri, 19 Jun 2015 12:38:28 +0200 Message-Id: <1434710308-15901-1-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.4.2 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP R-Car Gen3's GPIO blocks are identical to Gen2's in every respect. Signed-off-by: Ulrich Hecht --- Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 + drivers/gpio/gpio-rcar.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt index 38fb86f..f60e2f4 100644 --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt @@ -9,6 +9,7 @@ Required Properties: - "renesas,gpio-r8a7791": for R8A7791 (R-Car M2-W) 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. - "renesas,gpio-rcar": for generic R-Car GPIO controller. - reg: Base address and length of each memory resource used by the GPIO diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index fd39774..e962ad5 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -318,6 +318,9 @@ static const struct of_device_id gpio_rcar_of_table[] = { .compatible = "renesas,gpio-r8a7794", .data = &gpio_rcar_info_gen2, }, { + .compatible = "renesas,gpio-r8a7795", + .data = &gpio_rcar_info_gen2, + }, { .compatible = "renesas,gpio-rcar", .data = &gpio_rcar_info_gen1, }, {