Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp697554ybi; Fri, 24 May 2019 10:00:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzS5EwPYUiLw00cavby/LWA0682SAx21hCQT/OsQ3qrgKfgebPid6bCppSXjCCB2hqFFhb3 X-Received: by 2002:a17:902:2a69:: with SMTP id i96mr11603536plb.218.1558717215400; Fri, 24 May 2019 10:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558717215; cv=none; d=google.com; s=arc-20160816; b=wPi8leIiAVxmI2IasOMY+bDMyt1HqPRxvbeV60YtbbTzkW/U59uEmJklIDEutOCBks nmMkDOG11bHvepOt8nyXZRg+SQtbuYNl3qHyQaKxHZ/S+a8lRrYuoVplhQlsygWoyhIy pc7LLC+q46DoZZSJXfmWD0VFHoS8Ux37B1LtJZVO2sZdyh5QhAd8mpB4kE34YsUc7dex QxfBASeDEo/skl1NqyH8s/LdLCGxkjgP0KFDfHxP7kTQjUUpJqgChFgOca0BIkedzZEt kkMPUN9meJoJ+w17njoT7TaaV4Xw/32FlHOGdrTOoLXxwreh5sH5zE/Rnu7qv612u/EF 8kxA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MoMLCOnVhZSHe+BQlTmS5wevE0lJU4Hf7dR7NZTK0SA=; b=AfO2vC1GDEPt8H3AP/D3CNSG6+TWvJlMedlKDU/mA0F8VI2eBWrG13HboAS+Emv/Y0 JdPpei0qrv1D4LQq1xkRXPJaRzb1cTpfuehpO1ycLnB3rpW+HHI8I4bbwjULoFVNZKPG M3zfrqxUB9HFLflRTydq0+gsjB5k1wpNsho0TaPijc3B/Qg2QAcFvKfB07UzfIbMpsjB n+m7qd8YGBSHys0YCPXGc6i4K6u+r5wQvdgy2eBb11N3vhSG0OKDa1hAEW/RynkSGPCo JgVXAhEatIrsNku3uyVhjRVAXCPykxeKppWOgPhLDV1KyigeEuH+RNiwZ3GFuM2lD93S W7/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=fPQsvYSJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q32si4733283pjc.5.2019.05.24.09.59.59; Fri, 24 May 2019 10:00:15 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=fPQsvYSJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391037AbfEXQ6Q (ORCPT + 99 others); Fri, 24 May 2019 12:58:16 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:54149 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390511AbfEXQ6Q (ORCPT ); Fri, 24 May 2019 12:58:16 -0400 Received: by mail-it1-f194.google.com with SMTP id m141so16889035ita.3 for ; Fri, 24 May 2019 09:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MoMLCOnVhZSHe+BQlTmS5wevE0lJU4Hf7dR7NZTK0SA=; b=fPQsvYSJ7q6ZkPN90gdwNY/gQFwW2BaNnP1VwwHH5cSJOM97xQcxAYi/ejEfDdwLUF trMZf7pzYgvhyTAZInqDKQOFn1cyKxmEpjkQK/1MUgGJc0EAk98MHydqd/Rdfqiv4HO9 0rzP7L2tUL2e9UyqcDSFdQltXMrBWBEkqmq1WYe0nGW3kz2bpvkXi25HzKwgIlvyH5RA VhfUn2vUXnc2+nxXtlMk7B4ydxKMwlCRIVALMRSTz1D28y7y0KGdSVXiZ4HuPtqH4r8F fXM8PL4o8NK3EDm4JmW8FvSjtq3NyfUr4q7VH32Jc1vVX7mKV+4JyWwiGh+JRSiP6zOn JKbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MoMLCOnVhZSHe+BQlTmS5wevE0lJU4Hf7dR7NZTK0SA=; b=Clk+QnqfH752Erok8WlT/LgqnGoNyZWrj4axSMIqMbkzw4HkdzM8iLEpK+P/AapxmL PsyQ8Tw57p18niCL3BFNXFCY8Kg/XxLfVaomoqzqea+ITN/89zHvAomaxKgndzCAGGJN pI+akUQkunOVBps03uUx3koumUH/yGivx2KZGxe50+7K5HG8AyEgTy3HwIhE+nP499A5 qxW4V54Jx6rK998cbaBLsOaluZGlX35/a6wgx/oAt0262hkwN0wXj034EGyTWamkp+jJ 4zYNQUDydqiZeWRR6VXCXcW1d8xhvEz7IWkZWhAFeYJSj2vrj1cfSUsMztBffJhmo3Mu Vn2g== X-Gm-Message-State: APjAAAX/c7Ie2nPKigq7bewJGltcW6x93wqU3kyh74eCXZeiCSr1Zr/0 Jz+kgazOQW5+6DJNsmDASfR8kM6CGMlj2ySqDiTet8Cj X-Received: by 2002:a05:6638:233:: with SMTP id f19mr6778463jaq.24.1558717095212; Fri, 24 May 2019 09:58:15 -0700 (PDT) MIME-Version: 1.0 References: <20190417152701.23391-1-brgl@bgdev.pl> <20190417152701.23391-5-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Fri, 24 May 2019 18:58:04 +0200 Message-ID: Subject: Re: [PATCH v5 4/5] ARM: dts: da850-evm: enable cpufreq To: Bartosz Golaszewski Cc: Adam Ford , Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland , David Lechner , arm-soc , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 23 kwi 2019 o 11:15 Bartosz Golaszewski napisa=C5=82(a): > > =C5=9Br., 17 kwi 2019 o 19:09 Adam Ford napisa=C5=82= (a): > > > > On Wed, Apr 17, 2019 at 10:27 AM Bartosz Golaszewski wr= ote: > > > > > > From: Bartosz Golaszewski > > > > > > Enable cpufreq-dt support for da850-evm. The cvdd is supplied by the > > > tps65070 pmic with configurable output voltage. By default da850-evm > > > boards support frequencies up to 375MHz so enable this operating > > > point. > > > > Have you done any testing with the LCD on any of the devices you have? > > > > I enabled the ondemand governor, and I got a bunch of splat from the > > LCD controller: > > > > tilcdc 1e13000.display: effective pixel clock rate (50000000Hz) > > differs from the calculated rate (54000000Hz) > > tilcdc 1e13000.display: tilcdc_crtc_irq(0x00000161): FIFO underflow > > tilcdc 1e13000.display: tilcdc_crtc_irq(0x00000161): FIFO underflow > > ... [ snip] > > tilcdc 1e13000.display: effective pixel clock rate (50000000Hz) > > differs from the calculated rate (54000000Hz) > > tilcdc 1e13000.display: effective pixel clock rate (50000000Hz) > > differs from the calculated rate (54000000Hz) > > tilcdc 1e13000.display: tilcdc_crtc_irq(0x00000161): FIFO underflow > > > > It appears to go on forever. I don't necessarily want to hold it up, > > but I don't know the clocking system well enough to know where to go > > investigate it. I can certainly live without ondemand. Using > > userspace as the default governor is fine for me for now. > > > > adam > > Hi Adam, > > I did test the tilcdc on da850-lcdk. The only message I'm getting > during transitions is a single: > > tilcdc : tilcdc_crtc_irq(
): FIFO underflow > > but this is fairly normal - we also get this during modeset and it > doesn't affect the display. > > The problem with the pixel clock may come from the bootloader - are > you using a recent version of u-boot? > > Bart > > > > > > > Signed-off-by: Bartosz Golaszewski > > > Reviewed-by: Adam Ford > > > --- > > > arch/arm/boot/dts/da850-evm.dts | 13 +++++++++++++ > > > 1 file changed, 13 insertions(+) > > > > > > diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da85= 0-evm.dts > > > index f04bc3e15332..f94bb38fdad9 100644 > > > --- a/arch/arm/boot/dts/da850-evm.dts > > > +++ b/arch/arm/boot/dts/da850-evm.dts > > > @@ -191,6 +191,19 @@ > > > }; > > > }; > > > > > > +&cpu { > > > + cpu-supply =3D <&vdcdc3_reg>; > > > +}; > > > + > > > +/* > > > + * The standard da850-evm kits and SOM's are 375MHz so enable this o= perating > > > + * point by default. Higher frequencies must be enabled for custom b= oards with > > > + * other variants of the SoC. > > > + */ > > > +&opp_375 { > > > + status =3D "okay"; > > > +}; > > > + > > > &sata { > > > status =3D "okay"; > > > }; > > > -- > > > 2.21.0 > > > Hi Adam, did you figure out the problem by chance? Are you OK with merging this seri= es? Bart