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: 4882061 Return-Path: X-Original-To: patchwork-linux-arm@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 CE8CD9FC4D for ; Thu, 11 Sep 2014 04:33:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0BC92201EC for ; Thu, 11 Sep 2014 04:33:52 +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 3A8F3201DE for ; Thu, 11 Sep 2014 04:33:51 +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 1XRw2A-0002C6-Fy; Thu, 11 Sep 2014 04:31:02 +0000 Received: from mail-pd0-x234.google.com ([2607:f8b0:400e:c02::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XRw26-00028T-Oz for linux-arm-kernel@lists.infradead.org; Thu, 11 Sep 2014 04:30:59 +0000 Received: by mail-pd0-f180.google.com with SMTP id ft15so10392003pdb.25 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=PnZxpIMIiwFIUkG5NvJpkVyceNmLCmltK1RqII9t64nFoZAbiDodRoqjlPfhab9boU S0U9my/jZawasIDvScLHR1riCshZTUbIWbP5+PNhpgim1RMU/2AUincbsiVGwfuTUxAR 3mwExXcVr81bL7e7cEVMVUVp1QymUjabK4SKzlbXOmxZSIgL2GU9qYQKr+4udmD98SpC dQM/abEKFtZLwMhovj2fNU7zumnNk/bNwem0ZxEoZSVUT95vIbAwLOMJmt6EwKCZxty+ MRlIJ2BPQ/nnHDtiyAKQbotc22PyyLhUUUnguSOrnH5JTiNjCgvgss8fAQ3AK9TAddnC O2Eg== X-Gm-Message-State: ALoCoQkhEOAtJuyn8YzAYRRyFQDVZY2Z8kbPwanmj/XR1528zqPPiGEPQrdfAFvcYzh4INxkO6Mc 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_837822_64981F33 X-CRM114-Status: UNSURE ( 9.69 ) 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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 {