From patchwork Thu Sep 11 04:30:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 4882051 Return-Path: X-Original-To: patchwork-linux-rockchip@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 D3838C0338 for ; Thu, 11 Sep 2014 04:31:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 155F4201D5 for ; Thu, 11 Sep 2014 04:31:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5427E2018E for ; Thu, 11 Sep 2014 04:31:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XRw29-0002Bx-Ch; Thu, 11 Sep 2014 04:31:01 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XRw26-00028S-P1 for linux-rockchip@lists.infradead.org; Thu, 11 Sep 2014 04:30:59 +0000 Received: by mail-pa0-f44.google.com with SMTP id kx10so9107611pab.31 for ; Wed, 10 Sep 2014 21:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=0DgTM6GtdfoKztl6VptI7KYe5VgTiWoDpW7HOe5ghmE=; b=XYV16P66DtPLRYBrsL8K6ZZDwXgKa3AGRMuGSmAATbABM9h/MiUmzdeWh6vxiFk64R nnG4XPLuJ3ME24sEQaGdhOHAVoDiDxfeLUzDYTEeFm0MRXVzUGxUI9NDCqNRUVvgbSFH dJx/WMRv5vruSdrUvbsLYie2KXZ1WvCWMtlFA= 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; bh=0DgTM6GtdfoKztl6VptI7KYe5VgTiWoDpW7HOe5ghmE=; b=blQuJIeoY7sqcqnwfae5CLHfGLILcehFj0rI0wu7T0VXymoKv9lifkzqC2K9V4pDhE ug+Kir3X9VjE0aeWPp+fx4Zdk0MWi8xPqXyqdGgWD8rgbN2HvlJ+yJIEqlzCmZw7zoGL WyosXtYkwWHniO4odALvK2txViiwQFPAJHWFL0Oj9N9i16Lmfo5GSIVXVi0GY8DTEWby 5BEPN3aqRsVO/xB3+a4ivgKgypxWZXWJwqppeLgrpyE0GAWQo5eru8FxzRi5txbKY3rD uJU3oyKLtf/QtEQxpkUJUOlVKJeoBp0vGmZL4fHdQdGPL58BA+03lMaUMRloXBuu/rGR HlzQ== X-Gm-Message-State: ALoCoQkxJ+S8GA/56s5xpbTWE0qW5KxHk/wNujrqjYYaDmHq6jiaSh7c67M+xYmnwxwR+NWomFNp X-Received: by 10.68.232.34 with SMTP id tl2mr43085982pbc.81.1410409837007; Wed, 10 Sep 2014 21:30:37 -0700 (PDT) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.162.15]) by mx.google.com with ESMTPSA id im1sm15908600pbb.29.2014.09.10.21.30.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Sep 2014 21:30:36 -0700 (PDT) From: Doug Anderson To: Heiko Stuebner Subject: [PATCH] ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808 Date: Wed, 10 Sep 2014 21:30:15 -0700 Message-Id: <1410409815-22200-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140910_213058_838697_1661E003 X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Addy Ke , linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, Doug Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, galak@codeaurora.org, Chris Zhong , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,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 We should be able to talk to the PMIC at 400kHz. No need to talk at the slow 100kHz. As measured by ftrace (with a bunch of extra patches, since cpufreq for rk808 hasn't landed yet): before this change: cpu0_set_target() => ~500us after this change: cpu0_set_target() => ~300us Signed-off-by: Doug Anderson --- arch/arm/boot/dts/rk3288-evb-rk808.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts b/arch/arm/boot/dts/rk3288-evb-rk808.dts index 36db177..ff522f8 100644 --- a/arch/arm/boot/dts/rk3288-evb-rk808.dts +++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts @@ -18,6 +18,7 @@ }; &i2c0 { + clock-frequency = <400000>; status = "okay"; rk808: pmic@1b {