From patchwork Tue Sep 2 18:02:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 4827581 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 844A1C0338 for ; Tue, 2 Sep 2014 18:02:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 77D0720170 for ; Tue, 2 Sep 2014 18:02:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 63A4820176 for ; Tue, 2 Sep 2014 18:02:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754439AbaIBSCn (ORCPT ); Tue, 2 Sep 2014 14:02:43 -0400 Received: from sauhun.de ([89.238.76.85]:56526 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754277AbaIBSCm (ORCPT ); Tue, 2 Sep 2014 14:02:42 -0400 Received: from p4fe244cd.dip0.t-ipconnect.de ([79.226.68.205]:56194 helo=localhost) by pokefinder.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XOsPg-0004t1-NP; Tue, 02 Sep 2014 20:02:40 +0200 From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: linux-sh@vger.kernel.org, Wolfram Sang Subject: [PATCH 3/3] WIP: adapt dts for i2c slave use Date: Tue, 2 Sep 2014 20:02:41 +0200 Message-Id: <1409680961-12632-4-git-send-email-wsa@the-dreams.de> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1409680961-12632-1-git-send-email-wsa@the-dreams.de> References: <1409680961-12632-1-git-send-email-wsa@the-dreams.de> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 not for upstream yet. Signed-off-by: Wolfram Sang --- arch/arm/boot/dts/r8a7790-lager.dts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 0118cbfd1cb3..93ff6ce357bb 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -205,9 +205,9 @@ renesas,function = "msiof1"; }; - iic1_pins: iic1 { - renesas,groups = "iic1"; - renesas,function = "iic1"; + i2c1_pins: i2c1 { + renesas,groups = "i2c1"; + renesas,function = "i2c1"; }; iic2_pins: iic2 { @@ -365,10 +365,15 @@ status = "ok"; }; -&iic1 { +&i2c1 { status = "ok"; - pinctrl-0 = <&iic1_pins>; + pinctrl-0 = <&i2c1_pins>; pinctrl-names = "default"; + + eeprom@64 { + compatible = "i2c-slave-eeprom"; + reg = <0x64>; + }; }; &iic2 {