From patchwork Wed Jan 29 09:10:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 23824 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3549B202FA for ; Wed, 29 Jan 2014 09:11:01 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id i4sf5593097oah.7 for ; Wed, 29 Jan 2014 01:11:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-transfer-encoding; bh=MZqnG32hB3OUlYPwSzdL0Rg0oIWQfx7is+ZJu5NbDdM=; b=kKORZGvn+XxNORa4PK8WY7+HY85sSvjFG4rDr7dZIhdqFnTOMdnXUkuSkNu7Vua6tn 7DhRwFu0AX+z+tPydeT/xPXj5ZPi9y+rl48LILV2TGV28xdbOYYbbLhBlfCImuxgDnct Vz+haztMYIWxKRiuHVeB1QJ0V1xB34dkD5fo2n85+u9HH4dsGQLXh0Ws4q/bd4oNwvxq X/OMx2RbLpmRlOQQNOg4MROLPqoffPljjPaGsEn2abJmSCrxiGTQkKYLOUAQvpDOVdbb KvwAu5TdSPc6qFzsanjSSz0+Q6A8o5wfngr5jt0Fk6Mb33z6B6Ky3rfoZytOtyPDKeJH ebmQ== X-Gm-Message-State: ALoCoQn72snc0iHRniIEGAq5q/Qyknmmms1KVMFURB4/j8eU1GQ123KRLRdwVME4tz17IEL4kYv+ X-Received: by 10.50.18.49 with SMTP id t17mr11659742igd.3.1390986661080; Wed, 29 Jan 2014 01:11:01 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.49 with SMTP id v46ls30328qge.6.gmail; Wed, 29 Jan 2014 01:11:00 -0800 (PST) X-Received: by 10.58.123.70 with SMTP id ly6mr101896veb.26.1390986660877; Wed, 29 Jan 2014 01:11:00 -0800 (PST) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by mx.google.com with ESMTPS id w14si585132vco.78.2014.01.29.01.11.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 01:11:00 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.47; Received: by mail-vb0-f47.google.com with SMTP id p6so956102vbe.6 for ; Wed, 29 Jan 2014 01:11:00 -0800 (PST) X-Received: by 10.220.95.139 with SMTP id d11mr5600932vcn.21.1390986660726; Wed, 29 Jan 2014 01:11:00 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp97448vcz; Wed, 29 Jan 2014 01:11:00 -0800 (PST) X-Received: by 10.68.172.37 with SMTP id az5mr6691116pbc.139.1390986659601; Wed, 29 Jan 2014 01:10:59 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qv10si1827206pbb.82.2014.01.29.01.10.58; Wed, 29 Jan 2014 01:10:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751166AbaA2JKn (ORCPT + 27 others); Wed, 29 Jan 2014 04:10:43 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:53462 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750834AbaA2JKj (ORCPT ); Wed, 29 Jan 2014 04:10:39 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s0T9AY4p001980; Wed, 29 Jan 2014 03:10:34 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0T9AYkQ017244; Wed, 29 Jan 2014 03:10:34 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Wed, 29 Jan 2014 03:10:33 -0600 Received: from [172.22.232.69] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s0T9AUR6000687; Wed, 29 Jan 2014 03:10:31 -0600 Message-ID: <52E8C586.7040907@ti.com> Date: Wed, 29 Jan 2014 11:10:30 +0200 From: Tero Kristo User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ivaylo Dimitrov , Tomi Valkeinen CC: "linux-omap@vger.kernel.org" , , , , , Subject: Re: [BISECTED] OMAP: DSS: clk rate mismatch References: <52E697C0.6000202@gmail.com> <52E7614E.8010903@ti.com> <52E76EE0.2060006@ti.com> <52E7F451.7040708@gmail.com> In-Reply-To: <52E7F451.7040708@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: t-kristo@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , On 01/28/2014 08:17 PM, Ivaylo Dimitrov wrote: > > > On 28.01.2014 10:48, Tomi Valkeinen wrote: > >> I made a somewhat hacky quickfix for beagle. Applying that and the >> clk-divider from the link above makes things work for me. However, as I >> said, the issue with n900 might be different, but it'd be interesting to >> hear if it has any effect. >> >> Tomi >> > > Applying those 2 patches doesn't help, still get exactly the same warning. > > Find attached my clk_summary (with my hacky patch applied, otherwise I > cannot boot the device) > > Ivo It looks like the omap36xx version of the omap96m_alwon_fck is modelled improperly in the dts files. I don't have access to omap36xx hardware myself, but give a try for the following patch: From: Tero Kristo Date: Wed, 29 Jan 2014 11:03:46 +0200 Subject: [PATCH] ARM: dts: omap36xx: fix omap96m_alwon_fck OMAP36xx has different hardware implementation for the omap96m_alwon_fck compared to other OMAP3 variants. Reflect this properly in the dts file. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/omap36xx-clocks.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/omap36xx-clocks.dtsi b/arch/arm/boot/dts/omap36xx-clocks.dtsi index 2fcf253..24ddf3f 100644 --- a/arch/arm/boot/dts/omap36xx-clocks.dtsi +++ b/arch/arm/boot/dts/omap36xx-clocks.dtsi @@ -88,3 +88,12 @@ <&mcbsp4_ick>, <&uart4_fck>; }; }; + +&omap_96m_alwon_fck { + compatible = "ti,divider-clock"; + clocks = <&omap_192m_alwon_fck>; + ti,bit-shift = <12>; + ti,max-div = <2>; + reg = <0x0a40>; + ti,index-starts-at-one; +};