From patchwork Thu Oct 8 21:44:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7355781 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 1BDE19F4DC for ; Thu, 8 Oct 2015 21:44:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C3FA20451 for ; Thu, 8 Oct 2015 21:44:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C1D42043C for ; Thu, 8 Oct 2015 21:44:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755965AbbJHVoa (ORCPT ); Thu, 8 Oct 2015 17:44:30 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:34604 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753753AbbJHVo2 (ORCPT ); Thu, 8 Oct 2015 17:44:28 -0400 Received: by lbbwt4 with SMTP id wt4so61765162lbb.1 for ; Thu, 08 Oct 2015 14:44:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:mime-version:content-transfer-encoding:content-type; bh=V3lSjF5YIYk4G2hcATjhJfXWlHhMBWpFg5NtzmMxUB4=; b=W4HVK2zfRM6lPRRwWWDS/SmnZUNzybpjpBq9fzw+xlYdLnLZ8s5aKIMnB5L3Zbr5Iw 9rNv9kiB5LlyyORCsVrwCtw5wxtzhweOl4ztF9jHCsrBjfqdehavuCmhoORQbNNfryuB N9osQUH3Q3z/Q8ubN4eXgcGmJczZKeRN6CXNkFdOH6Fqm6lswfUbHc8UKvtEYnQQdFkh /6yU12GaAyeFBU+QHYOqiy+8z1DCBhLXqHaBno2xs9BAFkvW4yTun30J52tYoVFD6LJU OfODOolsFOX/pI3pJwodxnKS2GT0m3Dvh6cORIlmE7wDZG5zNZ/kZQj0CufiOm7MYXYV VN6A== X-Gm-Message-State: ALoCoQmapkrFWflqe80a3BsbXrCdaMUF/tEHs7dcG/lKzKf39MeVlSyyilCI1ywunhe4VfO6qokd X-Received: by 10.112.13.201 with SMTP id j9mr4746402lbc.45.1444340666834; Thu, 08 Oct 2015 14:44:26 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-252-73.pppoe.mtu-net.ru. [83.237.252.73]) by smtp.gmail.com with ESMTPSA id oh8sm7561454lbb.29.2015.10.08.14.44.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 14:44:19 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: shmobile: porter: add I2C2 DT support Date: Fri, 09 Oct 2015 00:44:18 +0300 Message-ID: <84974694.25bFZffQKN@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.8-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 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 Define the Porter board dependent part of the I2C2 device node. This patch is analogous to the commit 29a647c396a0 ("ARM: shmobile: henninger: add I2C2 DT support") as there are no differences between the boards in this respect. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-20151008-v4.3-rc4' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7791-porter.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-porter.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts +++ renesas/arch/arm/boot/dts/r8a7791-porter.dts @@ -109,6 +109,11 @@ renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; renesas,function = "sdhi2"; }; + + i2c2_pins: i2c2 { + renesas,groups = "i2c2"; + renesas,function = "i2c2"; + }; }; &scif0 { @@ -155,6 +160,14 @@ status = "okay"; }; +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + &sata0 { status = "okay"; };