From patchwork Sat Jan 9 07:27:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7991951 Return-Path: X-Original-To: patchwork-linux-rockchip@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 8AE4B9F3F6 for ; Sat, 9 Jan 2016 07:29:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C5DC920211 for ; Sat, 9 Jan 2016 07:29:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DAF4A20204 for ; Sat, 9 Jan 2016 07:29:06 +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 1aHnxN-0007VJ-8T; Sat, 09 Jan 2016 07:29:01 +0000 Received: from mail-pf0-f175.google.com ([209.85.192.175]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHnxK-0007Un-4Q for linux-rockchip@lists.infradead.org; Sat, 09 Jan 2016 07:28:59 +0000 Received: by mail-pf0-f175.google.com with SMTP id n128so20048946pfn.3 for ; Fri, 08 Jan 2016 23:28:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id; bh=qlwqjG/z9GaexdmGwqEoKbh63FMFgnCDxZqLTxHakWI=; b=FyBcMovNg1mVj2qTBMaYMcyZAq570lqgsnRt9qErN2mzi6FvuoRvK8jVv5tL1TcA1l bFui4BGktei+y2X9niuM5TUz/cKHQtQt+drs7vDc+LeetHikNMnT6lnkw/KCTTQVN05R XtN2PQLwj5Zn9wJyWtOl3g98VrUSDxPA+5P+t5ETl55v9zwIYvU3Fej1ZuA4udX2j9dK HDL7E4u0qFWESt/93UbwB306KrZPaZxY0cKxGl5/TZ9lswnmaPaqmVbVxab88+3RZKxI hblCNSf1d2yCezbqpOIDmUlkhmY7fRKagsgkC1fM027uKpVr4r1DDXczELB/OUkT0SlM 6Neg== X-Received: by 10.98.13.77 with SMTP id v74mr10276615pfi.162.1452324517540; Fri, 08 Jan 2016 23:28:37 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id w2sm9187799pfi.12.2016.01.08.23.28.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jan 2016 23:28:36 -0800 (PST) From: Caesar Wang To: heiko@sntech.de, zhengxing@rock-chips.com Subject: [RFC PATCH] ARM: dts: rk3036: override operating-points to 600M on kylin board Date: Sat, 9 Jan 2016 15:27:57 +0800 Message-Id: <1452324477-22828-1-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160108_232858_215623_3A61C296 X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.4 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, Caesar Wang , leozwang@google.com, keescook@google.com 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 That's a hack way to make the emac working. Let the CPU can divide out the clock since the emac depends on the 50M clock to work. Moment, we add the hacy way to make the emac working firstly. We can revert it if we find the apll or other issues. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3036-kylin.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts index 992f9ca..1d0441c 100644 --- a/arch/arm/boot/dts/rk3036-kylin.dts +++ b/arch/arm/boot/dts/rk3036-kylin.dts @@ -60,6 +60,13 @@ status = "okay"; }; +&cpu0 { + operating-points = < + /* KHz uV */ + 600000 1000000 + >; +}; + &emmc { status = "okay"; };