Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3601927ybn; Fri, 27 Sep 2019 08:38:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfSpSDhVUFpSYJjD4p5PSSAeOcNJC/B2+dWOaF4WYtKAYWKPxaVqwb+DE4lLRAFVvTrFn2 X-Received: by 2002:a50:a666:: with SMTP id d93mr5261076edc.217.1569598709000; Fri, 27 Sep 2019 08:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569598708; cv=none; d=google.com; s=arc-20160816; b=RsSEbZ4hZS2PMJfefNrkNeSljyvNMgy6fstBKUp3cbj7a7dGRmod3ENRcz0lggOG// dTg2uBefVZ7cDc/CJaAj91bYxvnploYHRql8Ss8O1XICNuvDxrbFAwlpjsBl5DSBbrUc LrE1spvhGggYAA2xm23wAEuc7JMIWRPH9IzT43a/lcKOYIUQ7473ru/PhM6cG/nmknOg bO0xs/lOivI3L4s2kIMe4Pmqa8g0lTH+pWx57E8RhuiSzpHsbvFsUNrfvHsnQgbEiZjw rQkfJjwATgc1Z6tv5mXic39iSui3/+oF6JqHANN/Ss8J3HrX3TF1/44gIkofi+hntQV+ LpQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Lqo9bBRFGck3umPvJYDrWptfCEGsJ4lcKhD97BGvgh4=; b=zb/ysJmFUVCDZpN50vb+1nt3EapYaIuF0/OvUjlLM9SCh9+79ivuZmfAf/Rk5+aih9 YWruEYKXzPGTLROVyNYCn4/W6flp2dIPeSpAtE58Vd/BVoo83lPtJl6mcfwOwtgz0BK6 0ZkiIswcu6zYczB58foLBxH+D9nmGhv3l+CouS2SP0kUDWsg5IBMKC9Bbri+kRW6AP66 6u2mX4XJh2KuRI9hrGtiDAxTDHRCBSf8c999A4zJ/vwfUSi4Gko6EhX8AH4Jmu5Esics v376MFZaDWtb14F15leHmWZ6WMT0jDupVEnXHAW4ZnK7oaYOfJ4PEoQsccnYcLnXyQAT U+pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tw1025iq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14si2118232eda.8.2019.09.27.08.38.03; Fri, 27 Sep 2019 08:38:28 -0700 (PDT) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tw1025iq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727666AbfI0Phr (ORCPT + 99 others); Fri, 27 Sep 2019 11:37:47 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:55662 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727207AbfI0Phr (ORCPT ); Fri, 27 Sep 2019 11:37:47 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8RFbeYx051670; Fri, 27 Sep 2019 10:37:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569598661; bh=Lqo9bBRFGck3umPvJYDrWptfCEGsJ4lcKhD97BGvgh4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=tw1025iq5dUXluSa0qqR4U6Bp2835f/huQP/igQAdoBf7BB9A6bmoqA6aXnTtrg0O Ci6gi14TCsYVDllFYOrN+WaIZG6gl6l46r44G4j7qzkkMdu8wcV2nGcTS4qr+7kJNV EK90yh8PU6/aLkGC+Q3CDLZh1e5gb7RHko52UUCk= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8RFbeNn015785; Fri, 27 Sep 2019 10:37:40 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 27 Sep 2019 10:37:32 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 27 Sep 2019 10:37:40 -0500 Received: from [127.0.0.1] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8RFba8k044922; Fri, 27 Sep 2019 10:37:37 -0500 Subject: Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts To: Tomi Valkeinen , Adam Ford CC: Tony Lindgren , Linux-OMAP , Adam Ford , =?UTF-8?Q?Beno=c3=aet_Cousson?= , dri-devel , devicetree , Linux Kernel Mailing List References: <20190510194229.20628-1-aford173@gmail.com> <7ada0752-6f65-2906-cb29-a47c9490fd57@ti.com> <845055e2-8182-de74-2077-629fdf50ac6c@ti.com> <854f6130-c8a8-81cb-aa76-4830f218ae54@ti.com> <0473526e-df0a-94a5-5c22-debd0084ab16@ti.com> From: Tero Kristo Message-ID: <36369388-e9c8-22cd-8c19-e2bdf2d0389b@ti.com> Date: Fri, 27 Sep 2019 18:37:35 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <0473526e-df0a-94a5-5c22-debd0084ab16@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/09/2019 16:47, Tomi Valkeinen wrote: > On 27/09/2019 15:33, Adam Ford wrote: > >>> It looks like a bug in omap clock handling. >>> >>> DSS uses dss1_alwon_fck_3430es2 as fclk. dss1_alwon_fck_3430es2 comes >>> from dpll4_ck, and there's a divider after the PLL, dpll4_m4_ck. >>> >>> When the DSS driver sets dss1_alwon_fck_3430es2 rate to 27000000 or >>> 27870967, which can be created with m4 dividers 32 and 31, it looks like >>> the divider goes to bypass, or to a very small value. DSS gets a very >>> high clock rate and breaks down. >> >> Is there anything I can do to help troubleshoot this?  I could insert >> a hack that checks if we're omap3 and if so make the divider equal to >> 4, but that seems like just a hack. >> I can run more tests or insert code somewhere if you want. > > I think it's up to someone who's knowledgeable in omap clock framework. > I'm kind of hoping that Tero or Tony would be willing to debug =). I can > try to find time to debug the omap clk framework, but I'll be going on > blindly there. If you can provide details about what clock framework / driver does wrong (sample clk_set_xyz call sequence, expected results via clk_get_xyz, and what fails), I can take a look at it. Just reporting arbitrary display driver issues I won't be able to debug at all (I don't have access to any of the displays, nor do I want to waste time debugging them without absolutely no knowledge whatsoever.) -Tero -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki