From patchwork Thu Sep 17 04:32:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 7201901 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 D3CEF9F40A for ; Thu, 17 Sep 2015 04:32:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EDB5D20774 for ; Thu, 17 Sep 2015 04:32:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 122DF2076F for ; Thu, 17 Sep 2015 04:32:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751754AbbIQEcF (ORCPT ); Thu, 17 Sep 2015 00:32:05 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:38807 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751487AbbIQEcE (ORCPT ); Thu, 17 Sep 2015 00:32:04 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 17 Sep 2015 13:32:02 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id D851E4AD41; Thu, 17 Sep 2015 13:32:02 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id C9532480A3; Thu, 17 Sep 2015 13:32:02 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id C2E7848014; Thu, 17 Sep 2015 13:32:02 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id PAD25666; Thu, 17 Sep 2015 13:32:02 +0900 X-IronPort-AV: E=Sophos;i="5.17,543,1437404400"; d="scan'";a="194625753" Received: from mail-pu1apc01lp0023.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.23]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 17 Sep 2015 13:32:02 +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 SG2PR06MB0601.apcprd06.prod.outlook.com (10.161.10.151) with Microsoft SMTP Server (TLS) id 15.1.268.17; Thu, 17 Sep 2015 04:32:00 +0000 Message-ID: <87eghx7jr0.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 13/20 v2] arm64: renesas: salvator-x: enable I2C 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:32:00 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0023.apcprd06.prod.outlook.com (25.164.91.33) To SG2PR06MB0601.apcprd06.prod.outlook.com (25.161.10.151) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0601; 2:B+D+fKxw7Oatx2v55F4Tx43d7jYXza0PT0NJEZe6phoDGge0D4W5CamQ9t+ZOWN5iSL4zIEaopIrmhE1/vWuuEU5cGKwqaESgBVv6vzHDWPR6FCvHGIM9ymYbbFPQC0saObMS2WQ4ShAsRBxd3QTteY717hxhUye3nsMTItjGfo=; 3:EufHazspnlQ7jBrfduWvZGI+++EpxD6YdFFZH4taH4I5LoE4wOtbKa96kF4NiiYVA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0K7SeyyGWmdss8s5AfYfo+C43ZJdKQv1209m6+6NNWBujqoMl2JZNuivYuhnoP5kOLA4q6SepT0m7lXYEtNaG5hUdMeis/7Wqp7n1qTU8qJnkVmbiHAcHRoRdFFnvR/rsMGCHGs6dmodQHjQn2/Idal793kCT3sG3QwQ+kDsiyBO0449quYnNogCnkJ99TcTpYmW5yhD7oWDD/4Fsl/oafAhcF+ZWROPSwDOCOSez+TgUBFn8D2ow== 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:SG2PR06MB0601; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0601; X-Forefront-PRVS: 07025866F6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(36756003)(46406003)(76176999)(107886002)(19580405001)(5007970100001)(5001770100001)(92566002)(2950100001)(5001860100001)(5001830100001)(122386002)(5004730100002)(40100003)(19580395003)(81156007)(86362001)(97736004)(4001540100001)(54356999)(189998001)(33646002)(77096005)(106356001)(229853001)(83506001)(50466002)(5001960100002)(4001350100001)(87976001)(68736005)(69596002)(47776003)(62966003)(23726002)(42186005)(66066001)(105586002)(64706001)(77156002)(101416001)(46102003)(53416004)(50986999); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0601; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0601; 23:F/qZl9HnzCBqAu7HeZw0Vwp4YtRn9JpKJXWx/EPZp?= =?us-ascii?Q?kM6jriuBN6G6y/7njqEGsaH6VONw+atd25Fk4mDS6hsF4TBoilJ3O2XNLegP?= =?us-ascii?Q?WFK1gMasW0vCwlyKlAK4i00VvcShohAGY5WRnFO0MqAWHsEp3kn7gbENga10?= =?us-ascii?Q?ArNzu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le5+F4ysCiJKnOrWCha3OIW?= =?us-ascii?Q?NQXQmijL8/PaRGT/W4nlITVClPNFOXEXTXlJnYXFGzmge4U6sCDbOIzLIDwq?= =?us-ascii?Q?3mFo3gs5+2roHSzjj7RdXSAfpa2QDwEqx8nqzpJevi2DPkubEyxPSSL4qoLm?= =?us-ascii?Q?/VjKgnAfMhilpi3V8mpkIakP9jA/lqi8D+Rcu2kq8oveIzCeldBRQ4fodVaM?= =?us-ascii?Q?gf0TZCl/FvQkJiQxFbxBYry6jMch/EUEYjURX8d?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0601; 5:HWCjMlEK1vTa2TLpdPLenPae9ZDuUdi/Ds4khYq5KtbafseWZmX3OS5Xt3LPFtUG9XlB2kCf8hT3Y61BfoAmWKohDd5KGgCx4HAKICI1mBaMJTMvfXByNxARqJe982E1cUfIKVhdMR2fYLCj1LRs5Q==; 24:HQUTjkzMyzMsJg3Jil/pwfJHMyyHaoTKXRRBgQt5YN0wEIF+29A8CWY+azwuImwT4Gjh9sJpPXFvkIqLZ8wLGhhQ/SjAadZEExQvzHfV8DM=; 20:DTKwNEEnsGohKTAVkPZuts8Fy50sYCa+Ym8VphZlaOKmMPvHn8SEg8nwfP0Z6jIjUe9xwLHIMGquE/Fg2EMflxJ1/i0ulqSZ64Uf3/Noq18q7sKtkogPmwLSSHTrLYemEGVrkvO7gKMcA1bwsqUIrdOKl12sz9A7E7G/j3QUo3I= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2015 04:32:00.6252 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0601 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 --- v1 -> v2 - add Acked-by Geert - clock-frequency = <100000> will be added in other patch 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 3f45d56..de7561e5 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -98,6 +98,11 @@ renesas,groups = "avb_mdc"; renesas,function = "avb"; }; + + i2c2_pins: i2c2 { + renesas,groups = "i2c2_a"; + renesas,function = "i2c2"; + }; }; &scif1 { @@ -141,3 +146,10 @@ }; }; + +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; +};