From patchwork Sun Feb 23 12:43:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 3703781 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 493459F2ED for ; Sun, 23 Feb 2014 12:44:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 79C45201BF for ; Sun, 23 Feb 2014 12:44:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 605DC201BC for ; Sun, 23 Feb 2014 12:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751112AbaBWMoE (ORCPT ); Sun, 23 Feb 2014 07:44:04 -0500 Received: from sauhun.de ([89.238.76.85]:55908 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbaBWMoC (ORCPT ); Sun, 23 Feb 2014 07:44:02 -0500 Received: from p4fe25164.dip0.t-ipconnect.de ([79.226.81.100]:41009 helo=localhost) by pokefinder.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1WHYPa-0005Gx-4l; Sun, 23 Feb 2014 13:44:02 +0100 From: Wolfram Sang To: linux-sh@vger.kernel.org Cc: Simon Horman , Magnus Damm , Laurent Pinchart , Wolfram Sang Subject: [RFC] ARM: shmobile: koelsch: activate i2c6 bus Date: Sun, 23 Feb 2014 13:43:57 +0100 Message-Id: <1393159437-14456-1-git-send-email-wsa@the-dreams.de> X-Mailer: git-send-email 1.8.5.1 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.4 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 Signed-off-by: Wolfram Sang Acked-by: Laurent Pinchart --- I used this patch to test my IIC(B) enablement patches. With i2ctools, I could scan this bus and read registers from the connected pmic. Actually, I don't think we should expose this bus unless really needed, but maybe you think different? arch/arm/boot/dts/r8a7791-koelsch.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index e6ca0e0..4557f8e 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -122,6 +122,11 @@ }; }; +&i2c6 { + status = "okay"; + clock-frequency = <100000>; +}; + &pfc { pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>; pinctrl-names = "default";