Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7023262ybn; Mon, 30 Sep 2019 07:31:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUViiaDggNTLrnKeAh9SN3sXEXT8459IHt6PxN0XV10wnxtY1Hr5d3MmCPPswn3OyTdOjS X-Received: by 2002:a17:906:fac5:: with SMTP id lu5mr19662632ejb.71.1569853904805; Mon, 30 Sep 2019 07:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569853904; cv=none; d=google.com; s=arc-20160816; b=YI3BFVLvtv+fiYfVjz2FFo/Dkx3p42nPe2e4DpG+6J8j5u73ecKujYICkp/rokt13Y DwUId/sT94d99KW2Eaa3g+5X1GY3lqTkQypTrul03X9C+VqsSw7waE/fD3x/fvlNkbDV vAiOslUSgFzPXcB4Drdbq7K/plKUE19c8SaxbbphGLaz6pKmQzlNH1tZ4TjrktUSvSf6 8EOxzM9sVIpwgknw3styEQ76VnrUUhV+l7BjHXrg3AVwE9m4by/t0nBkK7LayhCo9ACo VKqn6qaXqFYK76Vx6XwIMVVcQNpNAeyG7hsi2TnkE6Xygx9FZzpT5HDvFDuXmxvFwuLT t8UQ== 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:references:cc:to:from:subject:dkim-signature; bh=19UZeQW7iCMEPJGBu3CVRVx3eQA8RyzMg8BIyoBYUWY=; b=n8cZssRE8nVX2fvQWHFRbFY5fC54jE+94Nbbg6mHfiuBVa27vwOa0zK9H/k2COmzFu gcOMFfSmJvfHITm5eGi/BLMANlwqa6LhXdzc50FAN27syxL8G+cEfIoqOKAF1TcLdG5d xfIgwsDMfs1vYfWOTpJEKzElr5RIjDWkUInixkt+oeJ+wjBveuKIyDW4HkclXG4xXcN3 Avbrq95Orrf22vyU0z3Phqgj8qYV2ZGshYZQaehgFUcgAxMrukAvwpYFm62r5quqeLXk WJstbsQNgHxgwKPkUwBIX+YUVGsu0/iCetY2u9DD2sWQjF6a2QaywixprApXBEdPXOp1 L3RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mqAFLfcV; 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 b3si7211071ede.118.2019.09.30.07.31.18; Mon, 30 Sep 2019 07:31:44 -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=mqAFLfcV; 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 S1731549AbfI3O1R (ORCPT + 99 others); Mon, 30 Sep 2019 10:27:17 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:37168 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726314AbfI3O1R (ORCPT ); Mon, 30 Sep 2019 10:27:17 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8UER9D4010738; Mon, 30 Sep 2019 09:27:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569853629; bh=19UZeQW7iCMEPJGBu3CVRVx3eQA8RyzMg8BIyoBYUWY=; h=Subject:From:To:CC:References:Date:In-Reply-To; b=mqAFLfcVc72peDTQaVTX3krGNWa4dUGqG37HuzfVHniEjLFEVSOh8YoKdxbgpNypn 9JTrY0Nwc+jZwsA4tAyvBkeNUyOL86+NmKHRKznpqBPY2bLbEqdihnIkEZpky/3syV aD/H/j8j0s3Fyh4XLDHzYd3fjjECs/1Fh8fCCAe0= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8UER9qU042622; Mon, 30 Sep 2019 09:27:09 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 30 Sep 2019 09:27:09 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE110.ent.ti.com (157.170.170.21) 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; Mon, 30 Sep 2019 09:27:09 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8UER6Ak067205; Mon, 30 Sep 2019 09:27:06 -0500 Subject: Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts From: Tomi Valkeinen To: Adam Ford , "H. Nikolaus Schaller" CC: Tero Kristo , 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> <36369388-e9c8-22cd-8c19-e2bdf2d0389b@ti.com> <23eba53a-9304-2ceb-d97e-01891ec0b3ed@ti.com> <04306a5e-f9be-35a4-1aa1-5795d780e289@ti.com> Message-ID: <3777f1b1-2d9a-334b-b9e7-99dfda2ae29b@ti.com> Date: Mon, 30 Sep 2019 17:27:05 +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: <04306a5e-f9be-35a4-1aa1-5795d780e289@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 30/09/2019 17:20, Tomi Valkeinen wrote: > Let's see what Tero says, but yeah, something is odd here. I expected > the max divider to be 16 with Tero's patch, but I don't see it having > that effect. I can get the div to 31. > > You can see this from the clock register 0x48004e40 (CM_CLKSEL_DSS). The > lowest bits are the divider, 5 to 0. The TRM says max div is 32. > > Tero said for him the dividers > 16 didn't "stick" to the register. I'm > now wondering if he has an old beagleboard with OMAP34xx, which has max > div 16. So testing a bit more here, I can see the DSS working fine and fps as expected when I write values directly to CM_CLKSEL_DSS:5:0, with dividers up to 31. With 32, DSS breaks. The TRM (AM/DM37x) says value 32 is valid. Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki