From patchwork Thu Sep 10 07:16:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7151411 X-Patchwork-Delegate: horms@verge.net.au 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 76C50BEEC1 for ; Thu, 10 Sep 2015 07:17:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6C4020914 for ; Thu, 10 Sep 2015 07:17:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBE2A20903 for ; Thu, 10 Sep 2015 07:16:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752709AbbIJHQ5 (ORCPT ); Thu, 10 Sep 2015 03:16:57 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:63038 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752055AbbIJHQx (ORCPT ); Thu, 10 Sep 2015 03:16:53 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie3.idc.renesas.com with ESMTP; 10 Sep 2015 16:16:51 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 93EE449FAC; Thu, 10 Sep 2015 16:16:51 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 909981806F; Thu, 10 Sep 2015 16:16:51 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 86B471800A; Thu, 10 Sep 2015 16:16:51 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac3.idc.renesas.com with ESMTP id SAL15312; Thu, 10 Sep 2015 16:16:51 +0900 X-IronPort-AV: E=Sophos;i="5.17,502,1437404400"; d="scan'";a="195342344" Received: from mail-sg2apc01lp0244.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.244]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 10 Sep 2015 16:16:50 +0900 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 HKXPR06MB0600.apcprd06.prod.outlook.com (10.161.181.149) with Microsoft SMTP Server (TLS) id 15.1.262.15; Thu, 10 Sep 2015 07:16:48 +0000 Message-ID: <87h9n2n3x1.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 07/14][RFC] arm64: renesas: salvator-x: enable I2C User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Wolfram Sang , Simon CC: Magnus , Linux-SH In-Reply-To: <87si6mn452.wl%kuninori.morimoto.gx@renesas.com> References: <87si6mn452.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 10 Sep 2015 07:16:48 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0002.jpnprd01.prod.outlook.com (25.161.131.140) To HKXPR06MB0600.apcprd06.prod.outlook.com (25.161.181.149) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0600; 2:ePo/m3Uxdp8lRrIhjvkKYQFngipaXOnJ3QUknRmU13ltTMtteA9neYTQ5atTuW3D3wc86OLxTiYQXokhc4LMUMnh2wm4I/v2RPBQOqOsYBuT1nkycq0XQ29Ar43JX8V6ooAP/vaKTf6mS3X9/PUDLYB/yxaV92uV5znOykX3VU0=; 3:lJWtK8t38lRdwFNfBzutExA3JxFt3NKu81VRfsFjPwpXBvVhOqtmZyL7TfpJeF0ERGdqw5kqU8oq2jQmxoPzgb5B8F5amGTloqQSBs9cFvG6JfTUrQ5/86fimhfGXL5oB1fmSe+J367vvE4kVsHaZw==; 25:4+rUhDuHzgAlkCn6IBd6u0VsPo5EQMF5wY7kp7mLh0XtLywhl13GSC6chl7kpOpdx3EHXzto1Qe4akRLOtOBFuf9MW3Ihuz899DIIxY2/jfy5WeTJ1bQENntomAd2RHR9J4rHncFc5xUnUFvkrkbmAGi0xtW5dAp6SI9e4WKGgHDR4ZpGfkbZcZ+qeF5hRipPswAyEB88CyPjPjoDghTaqAuRZZrBl+8/ElEWxmRW59W0maLY+czA846uX2+kKckIk0Zsnxv86cKKcDXRCgxxA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB0600; X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0600; 20:U6+PQjgi4cX15EdoCiBoHbi1yOfLmGEqx8N2YAsGanhiH0lI3RZr7+Qx2yNpRVj9TYfESlQcETJsIXoJ6+88AqOjVxbVeyT0cVoxRllmNUqTevW1SJ9A/fx9am5x80gsNQJmqRsUs1dA9D6OU64oZAwAGwef02o7SujtNK6MSkbthpGm560TTkPf32I7pUAXZG8+PEYoFzkLshvasnyE62RQSGzJepmLJKNfUfiVXULBk5XYDDF6qoVlMw1iwU49ispAU/fBW3CtbBkYFopR02FARi81hYL/lsPY3uTOIky9D+IW9LX3E5na4zKLADobKuyHJRhZzyOr0XcmPW8pxUh4+llg27aE3Gnl9rHXMVz8H6TQ9zogcxDUVGchW7bU5gFt6cwjD/uFimQAB587jhpAKy8BAm8xap32QEQ5G6Uf9BjVlZsSIsQsq26vy1MFMoNL13pxNjq1obfHYLAMocKD92SUpKjGVRuT5rovp9KF5O1lPW6C0NEf3IU6h9yx; 4:L/gHpeWnJriDEEkxvFPFkn6tynbdUou8gQ1XDAtZJSqSSuIho5qx9ZU9aoI6ctJ8cFd16M3RBOeKr8q/IfdacW9cvFGpJQB5c/+O2M+r3+vVSrSd14zEfqgJ/gN1u6olsE70J4B3SAqoyiuBW3ZiX1IRDFizaIcKPOZ0wPmGjXAARXXYtAB73xckZp+iLAb/TaYYv66ZNNYQrYjDKjmrzWNm8hIYVVGKjm+WQE6cRyuq/u+cplByt6cG10HsPYGdRcX+cQnj//JJkQ3PZbpbGwdaOK1iuw8sJK6MwNRQ6LKn2C36Xoa/8yXTrudH1e+Z X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:HKXPR06MB0600; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB0600; X-Forefront-PRVS: 06952FC175 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(53416004)(5007970100001)(77156002)(50466002)(23726002)(5004730100002)(2950100001)(54356999)(42186005)(62966003)(76176999)(105586002)(106356001)(83506001)(87976001)(92566002)(4001540100001)(19580395003)(50986999)(5001830100001)(36756003)(33646002)(229853001)(97736004)(5001770100001)(81156007)(64706001)(46406003)(66066001)(19580405001)(86362001)(69596002)(40100003)(122386002)(46102003)(101416001)(189998001)(5001920100001)(68736005)(5001860100001)(47776003)(77096005)(5001960100002)(4001350100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB0600; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB0600; 23:+3kkuKbTEcdNDQ0hku+kA1D0asaaB2xiJiAn33yo8?= =?us-ascii?Q?B5f+0C3A9LpkLV1/8jzYAuTWGbAm8RdNNzNq3g7D3JVJXr7Xd8p3V+l0Wkol?= =?us-ascii?Q?d7RAnXdWGaH3YS1wyexcA4OqCgXGoPZdsy4+OOmLf7tukza9VMKUfjuwotci?= =?us-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iSXbfO5S8HyPKE1WBOktMU4TRGr0+MbngYB?= =?us-ascii?Q?tyx65TWXQfZkS5USp6gplhlUTWDw+ztjUhsK+gLsHXXg7M6JbnepYJ+7kuRZ?= =?us-ascii?Q?qRR1j6dShHSbwW33++7BDUxE3ubmzkRhmaDmU8vbBl78inuDccbSk0aOTQ6k?= =?us-ascii?Q?PW1O0qZvN2Y7bbsH2WUlu3iBxVZWPnyLI8KG+jDeSJoNwGq/r4CEdFaQrQlH?= =?us-ascii?Q?4EsXCvDWw7zfaU/YElsrk6CM7F9lQC41YY9KzTrfNl10M4qpG41UNIoj+9jZ?= =?us-ascii?B?UT09?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0600; 5:bgi7eFVc58gJQH6hy/bUaYVkxHeGCRuWzI9uk7pwNJZIJCDSRNzSVFibmGF2TrydxYfwDksKKqLMe70lzLGjgtUtZLed+GBhzeB9xmjaiIeD4VYLQ9l2E6yAv6W0XU+gGitM8xRpcV6VpObza3vzzg==; 24:8RuwLzayHiEeOwam8qn/5bE0j5oVfznP2Dy9+ZtnJEBDS6jNLUSXWkbeAJlN3VdhPkpbriW0RkWOUwa+4lFyaJTqjoB2Nye6k9c+vXKsgDc=; 20:LJQVaVr+KcclNWRfcJ1Y0o/Wos5ogQ2J8sfhrnT4rpKeIEENyyOsvJADx9qgAptnAqM5jIZoCTiTsrspS+2Y47YGDAlbAGcp35gVQSQJzpMGX5rBS1uoZg8cZ7gZMi5fLR8HObZNucX4m8otViwvDTcUwXjsHFdBKEaLRgSl53Y= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2015 07:16:48.4567 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB0600 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: Kuninori Morimoto Signed-off-by: Kuninori Morimoto Acked-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index f522fda..0599b2b 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -45,6 +45,11 @@ renesas,groups = "scif2_data_a"; renesas,function = "scif2"; }; + + i2c2_pins: i2c2 { + renesas,groups = "i2c2_a"; + renesas,function = "i2c2"; + }; }; &scif1 { @@ -60,3 +65,10 @@ status = "okay"; }; + +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; +};