From patchwork Tue Oct 27 23:05:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7505181 X-Patchwork-Delegate: horms@verge.net.au 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 894E19F399 for ; Tue, 27 Oct 2015 23:05:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BA29D204D9 for ; Tue, 27 Oct 2015 23:05:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C23F020699 for ; Tue, 27 Oct 2015 23:05:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932286AbbJ0XFp (ORCPT ); Tue, 27 Oct 2015 19:05:45 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:49126 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932260AbbJ0XFo (ORCPT ); Tue, 27 Oct 2015 19:05:44 -0400 Received: from penelope.kanocho.kobe.vergenet.net (q036059.ppp.asahi-net.or.jp [203.181.36.59]) by kirsty.vergenet.net (Postfix) with ESMTPSA id 4CAAC25B7B6; Wed, 28 Oct 2015 10:05:40 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1445987140; bh=VfFpFPgQPiDlZb4lRkzH3sdbXMDakresylXrYgQB8ak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R8O0+CEa631Qyo4jQ3QDBUNMNNdOPq911oTnk9y7UbTrfrEeP4glQWZbSxXJqgpwd v4pMkHJzn0dTPP+vtRvmc/hf3i8rzTSFrpnUubijmr4Dkweqgnr6bBjBTJ0GLQcM/a vpu87eUHcgblCJUtglOxnZO1hHqFlRNOrz1nOWHQ= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id 0C842605E5; Wed, 28 Oct 2015 08:05:39 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Kuninori Morimoto Subject: [PATCH v4 2/3] arm64: renesas: salvator-x: enable I2C Date: Wed, 28 Oct 2015 08:05:28 +0900 Message-Id: <1445987129-13496-3-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1445987129-13496-1-git-send-email-horms+renesas@verge.net.au> References: <1445987129-13496-1-git-send-email-horms+renesas@verge.net.au> 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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 Signed-off-by: Simon Horman 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 f522fda7843a..0599b2be90ab 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"; +};