From patchwork Thu Sep 17 04:20:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7201801 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C7BAD9F380 for ; Thu, 17 Sep 2015 04:21:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A44BB2045E for ; Thu, 17 Sep 2015 04:21:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A47BA20450 for ; Thu, 17 Sep 2015 04:21:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751385AbbIQEVB (ORCPT ); Thu, 17 Sep 2015 00:21:01 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:44549 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751375AbbIQEVA (ORCPT ); Thu, 17 Sep 2015 00:21:00 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 17 Sep 2015 13:20:59 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 6CEC93C114; Thu, 17 Sep 2015 13:20:59 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 656EC1806F; Thu, 17 Sep 2015 13:20:59 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 5D17A1800A; Thu, 17 Sep 2015 13:20:59 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac3.idc.renesas.com with ESMTP id PAC08965; Thu, 17 Sep 2015 13:20:59 +0900 X-IronPort-AV: E=Sophos;i="5.17,543,1437404400"; d="scan'208";a="195829340" Received: from mail-pu1apc01lp0016.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.16]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 17 Sep 2015 13:20:58 +0900 Received: from HK2PR06MB0593.apcprd06.prod.outlook.com (10.161.187.144) by HK2PR06MB0739.apcprd06.prod.outlook.com (10.162.207.153) with Microsoft SMTP Server (TLS) id 15.1.274.16; Thu, 17 Sep 2015 04:20:57 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR06MB0593.apcprd06.prod.outlook.com (10.161.187.144) with Microsoft SMTP Server (TLS) id 15.1.268.17; Thu, 17 Sep 2015 04:20:56 +0000 Message-ID: <87si6d7k9h.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 02/20 v2] i2c: sh_mobile: add support for r8a7795 (R-Car H3) User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Simon , Magnus , Linux-SH In-Reply-To: <87vbb97kci.wl%kuninori.morimoto.gx@renesas.com> References: <87vbb97kci.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 17 Sep 2015 04:20:56 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0025.jpnprd01.prod.outlook.com (25.161.131.163) To HK2PR06MB0593.apcprd06.prod.outlook.com (25.161.187.144) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0593; 2:4GNg9DPPcDJpzI8chgPNWx7CpLRBaQUbhd9C9p5Pyzg6EnrIF7bk0rBfaU7Bcg5K4p14oG36ZF6Tec92PZdhtWQ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dJZaB4koXf25BzS9M4L2w2OfyQkflEjRWNfsrbE7gl9yP4BU5nm9; 4:jt3xS1yQFTnXI6IwupCDwlKDpP6m1PiztGhBOCk2LclcY+8k36eZxD7x2hyeRQlNxi+qBZfqgTJnor1bW3cmm/VIa70h1kpPpcB/oJ16ZNSZVb3yySKCcdZmaAlJaX4zXy78xtKahdmTt0ObjfIvrzEswmuYc2urjQ7U36j2nMjQwKim0jIaGEupdsCuqxL8beQ9/fbXSsgmWz4fUHADSJgfyzkscaMwHV9Z+wNgVMe8jUpyPXmpFtzptnRYJVZhSOADvwxf2AFHTJ9wG7DtmslpS3gIIUpBbclpwUm6j/eyBX5UsWO65RMu8VrGZfPobW0Cb98xSd6YVkEEY6DeNQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520078)(8121501046)(5005006)(3002001); SRVR:HK2PR06MB0593; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0593; X-Forefront-PRVS: 07025866F6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(5004730100002)(33646002)(40100003)(5001830100001)(92566002)(76176999)(122386002)(54356999)(87976001)(19580405001)(42186005)(36756003)(101416001)(229853001)(50986999)(50466002)(97736004)(19580395003)(4001350100001)(53416004)(5001860100001)(46406003)(106356001)(81156007)(4001540100001)(189998001)(83506001)(5001920100001)(5001770100001)(77156002)(107886002)(86362001)(105586002)(23726002)(5007970100001)(69596002)(68736005)(64706001)(2950100001)(62966003)(47776003)(46102003)(66066001)(77096005)(5001960100002); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0593; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB0593; 23:tQeiJzINfA8u2WXtPKlxptQIWgmjKP9CDBHN9nEvF?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ep 2015 04:20:56.4420 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0593 X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0739; 2:0KO/fV3OvM1/wZwipVDVseQE0hPAHYGeJzTik4/oqS7h61IX9+t8y4NvGQMViXb9BVlkirPG5aRVQQ1m03OUmb/SgnXqwJIFP6BxsPewW25wyWhJdCmaljNZD70DyaBPyTx6fCOzIs3EmYxmRy6YLPhr657a9WXrJRAPKb3fkBs=; 23:VzHpAKw+qS2TvIMVkISc+6sPzIM59CX1Bc0O5+5uWFQdJdG1lxyNlWjVyfikVHFSqlK8gIoGwBFb4ebkLEXN0SFPGVFnSHxxouUl3ZsnshvzmE21a3Fqvv/Yke0MsYKTJu8GDPb7kXKJ4zYolf3C855j05oeBH+VkUZFlPukzjzAjhlSo9GFTTJ0Eybw0cEw X-OriginatorOrg: renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 From: Wolfram Sang Enable the I2C core for this SoC. It is compitable to Gen2 SoCs, so reuse the settings. Signed-off-by: Wolfram Sang Signed-off-by: Kuninori Morimoto Acked-by: Geert Uytterhoeven --- v1 -> v2 - no change Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt | 1 + drivers/i2c/busses/i2c-sh_mobile.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt index 2bfc6e7..214f94c 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt @@ -10,6 +10,7 @@ Required properties: - "renesas,iic-r8a7792" (R-Car V2H) - "renesas,iic-r8a7793" (R-Car M2-N) - "renesas,iic-r8a7794" (R-Car E2) + - "renesas,iic-r8a7795" (R-Car H3) - "renesas,iic-sh73a0" (SH-Mobile AG5) - reg : address start and address range size of device - interrupts : interrupt of device diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c index 47659a9..7d2bd3e 100644 --- a/drivers/i2c/busses/i2c-sh_mobile.c +++ b/drivers/i2c/busses/i2c-sh_mobile.c @@ -836,6 +836,7 @@ static const struct of_device_id sh_mobile_i2c_dt_ids[] = { { .compatible = "renesas,iic-r8a7792", .data = &fast_clock_dt_config }, { .compatible = "renesas,iic-r8a7793", .data = &fast_clock_dt_config }, { .compatible = "renesas,iic-r8a7794", .data = &fast_clock_dt_config }, + { .compatible = "renesas,iic-r8a7795", .data = &fast_clock_dt_config }, { .compatible = "renesas,iic-sh73a0", .data = &fast_clock_dt_config }, {}, };