From patchwork Tue Jun 10 22:45:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4332441 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 B2771BEEAA for ; Tue, 10 Jun 2014 22:45:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ECB2D20295 for ; Tue, 10 Jun 2014 22:45:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1BD120274 for ; Tue, 10 Jun 2014 22:45:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752547AbaFJWp0 (ORCPT ); Tue, 10 Jun 2014 18:45:26 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:59201 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751948AbaFJWpZ (ORCPT ); Tue, 10 Jun 2014 18:45:25 -0400 Received: by mail-la0-f50.google.com with SMTP id b8so4350814lan.37 for ; Tue, 10 Jun 2014 15:45:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:cc:from:organization:date :mime-version:content-type:content-transfer-encoding:message-id; bh=JbHeLjmoh/sl15FzFABfnpIOht08t+MVjmgL3nkKWbQ=; b=VsKta7Myj31haeFHyWU6tNt0ThUGxrOB/QldMn98CrttG/kMHB6QjFVh6+6dlr7ba/ QW5CaYs7HqY15ydYZj3tyHElhwx9za8UN3WfiPTQVh0En3+YIA5d8aBacHhNoLgKo5/U c8S9KE0zmtKvs1zMbPoGD7NDszMAHQnKaj2gXXs3MR6IS0hF98GsQwPq04Pwzw5BjScS E2GDooqAeCtJvVJJdIG+C2bzmRMO2jAXJsxPfX3ulyXIZsDKffbJAXW/JnVETqDzW/pW iI+gIQRxKyz8fLCJLXdfe7fl8YWDPb/vrd8kLiCuJHm1eD5B7eg8OcaGvEcvd/xGAc5v m6fA== X-Gm-Message-State: ALoCoQlgzmNe7eGQL0S/lI2mmRMxVqJs9B3GrcNXsHOr54qo6xvzuRc5wYZFbRQMXOGLFUtgtKLX X-Received: by 10.112.17.102 with SMTP id n6mr23296115lbd.39.1402440323950; Tue, 10 Jun 2014 15:45:23 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp29-44.pppoe.mtu-net.ru. [81.195.29.44]) by mx.google.com with ESMTPSA id i10sm22831018lbc.16.2014.06.10.15.45.22 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 15:45:23 -0700 (PDT) To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2] ARM: shmobile: henninger: add I2C2 DT support Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org From: Sergei Shtylyov Organization: Cogent Embedded Date: Wed, 11 Jun 2014 02:45:21 +0400 MIME-Version: 1.0 Message-Id: <201406110245.22692.sergei.shtylyov@cogentembedded.com> 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.5 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 Define the Henninger board dependent part of the I2C2 device node. Based on the Koelsch I2C2 device tree patch by Wolfram Sang. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-v3.15-20140610' tag of Simon Horman's 'renesas.git' repo. Changes in version 2: - removed I2C devices, to be added by separate patches. arch/arm/boot/dts/r8a7791-henninger.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -110,6 +110,11 @@ renesas,function = "sdhi2"; }; + i2c2_pins: i2c2 { + renesas,groups = "i2c2"; + renesas,function = "i2c2"; + }; + qspi_pins: spi0 { renesas,groups = "qspi_ctrl", "qspi_data4"; renesas,function = "qspi"; @@ -170,6 +175,14 @@ status = "okay"; }; +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &qspi { pinctrl-0 = <&qspi_pins>; pinctrl-names = "default";