From patchwork Fri Nov 27 01:55:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7709661 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 6D64BBF90C for ; Fri, 27 Nov 2015 01:55:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0706205F1 for ; Fri, 27 Nov 2015 01:55:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D2B92205FC for ; Fri, 27 Nov 2015 01:55:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828AbbK0Bzq (ORCPT ); Thu, 26 Nov 2015 20:55:46 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:46737 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753823AbbK0Bzp (ORCPT ); Thu, 26 Nov 2015 20:55:45 -0500 Received: from reginn.isobedori.kobe.vergenet.net (p5254-ipbfp1403kobeminato.hyogo.ocn.ne.jp [114.152.48.254]) by kirsty.vergenet.net (Postfix) with ESMTPA id 3D20725BE6A; Fri, 27 Nov 2015 12:55:39 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1448589339; bh=iaxGhbJOtvku/NyuL5VqqXDkgOXvuJqNOaMa1vdcMVE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PUxrso/t7AgBK1NYGeGZMZRveIdEs4KX52+d/R0LZ6FeeRXUaLRCNDlAEl4zBiz2l Tp+BAyzyWfP4Ce95Pv89vYj3OlMnyAp7DhmBbpZrBOInkd1VLT95Q9/lB+z6U+3aLe wy/6lFKizMFcRdzUu0mG+b0Kjm8q0kesx4lzttAk= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id 6E0C6940575; Fri, 27 Nov 2015 10:55:37 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Kuninori Morimoto , Simon Horman Subject: [PATCH 07/18] arm64: renesas: salvator-x: enable I2C Date: Fri, 27 Nov 2015 10:55:24 +0900 Message-Id: <637d801e0bb802dc18520ed6b7377acb2a9732ee.1448587800.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: 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.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 35ebb063bff6..d829fdae3c56 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -47,6 +47,11 @@ renesas,function = "scif2"; }; + i2c2_pins: i2c2 { + renesas,groups = "i2c2_a"; + renesas,function = "i2c2"; + }; + avb_pins: avb { renesas,groups = "avb_mdc"; renesas,function = "avb"; @@ -67,6 +72,13 @@ status = "okay"; }; +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + &avb { pinctrl-0 = <&avb_pins>; pinctrl-names = "default";