Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4377545yba; Wed, 17 Apr 2019 10:10:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPGw4W3QsgzOjQPkegAiJe7QjPsOLZvivw1eLT36cu2m3ja2GL8MQEkyO6uMZMzjwXQIyU X-Received: by 2002:a62:6842:: with SMTP id d63mr92749943pfc.9.1555521041777; Wed, 17 Apr 2019 10:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555521041; cv=none; d=google.com; s=arc-20160816; b=vIXJnSr0YXu8Ln2whbavvplFXS0GokGQq7/cLO+86m4on0YqomOMsz4u8BC7+ZWma0 AulyQoJX48bXB+mtNs2sCnj/hW4JkxPT5VJwmVWBBjTQALostmlIZnoIdcpOpgSxIJha MZAi8IDLqbXyD+CJEOyNzgQ39/7UIdcVE7CTiov15GjS+UjVRYy/hfQHe1TCcO/UlZcb dpuvQo5/a37Kc4lDV1y4cHO/TIYqZgflccuymgkMHDMqy/pQMuKT18sbKiJ4XFzYMsxO JkX6yt9L7uKuIbnH/fmvW5vWAKQ1o7T/7xYxl6wEXLhwn8N8NAgw6ZYqrS/gJiXQB2q+ 6MBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=bl1k/2Ow+1MIZ3va3HH95vWhThaYGxFJLCOy/YeDWqc=; b=B7la1bAXTFaYf3V4nsCMrbkmTEzpSG2YyHH8A6rtXC7tvmWcHELLnGrpZXT7gNrSn2 Q+IC4JN8orCc7mXx6N0Ze2OLp2LG6zHBMVFTut2eSL189zQUa0GNA+Nv/IyKhkvkiJjI Y4+HAaIGmfQUE3QzqfaDxE+XTNh4/WP8TGoqcZHgKUD/0RPTNrtWxWTQnlqwgFYsxEni lszSxowdIJiA0Bdv9IvsQjXu40HZ4422HfVXhlu19U2cWfdO3bMe7uCj1vKswN1f3JrH OggZez379eg6vOfFS69N/3kb9vOcalPznWcf5j2U7qFkdYBRhdauAGq/PT0uwl/Y1gwK Lx3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Df51FEzg; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l73si38010481pge.333.2019.04.17.10.10.26; Wed, 17 Apr 2019 10:10:41 -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=@gmail.com header.s=20161025 header.b=Df51FEzg; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732965AbfDQRJa (ORCPT + 99 others); Wed, 17 Apr 2019 13:09:30 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:43747 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729395AbfDQRJ3 (ORCPT ); Wed, 17 Apr 2019 13:09:29 -0400 Received: by mail-io1-f68.google.com with SMTP id x3so21157747iol.10; Wed, 17 Apr 2019 10:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bl1k/2Ow+1MIZ3va3HH95vWhThaYGxFJLCOy/YeDWqc=; b=Df51FEzg2+mn8RTe6BeDUB0wjqLKHuzwJR5s33RHfgM9i+T8uRyKO9TKQijB6+M2gW JUsR9OdvG1dRhbUFnLMJQHDPkyjkjcHSZZM381gI4jEKSNGimHl1KRPF+2xgVEokEwba e/PHC5C0xeGYZKTkML77BBEvttzKYMUzBoDQM37CWsBBGVfQGTjVIWGZ/Ixf/5aYlDP7 R5mXEKH+Z8dbsO7YU3yrm595FaJbUFhEhBWjCd8DjdRqEKi/c5WOBzfj9mnfO43wvFcM 9Pnq2nEa4rU2GAvoDujMiN5aZ2n/uLf4jAbbqfwA3MtbsTX7oZkgKvtKmA6kT//uBLgi HqUg== 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; bh=bl1k/2Ow+1MIZ3va3HH95vWhThaYGxFJLCOy/YeDWqc=; b=m9iU6gWrf0wc8vA5oJZlNWTi3FQO8msud3OOpD9c8whl4sCrCqE1TAQN8z2yRnLGYz 3D+fPfP+ayzlrUIBfaCBe9h5YYlet+3jqsxeFnmGuZcjbOBkTmS1lkh5QvqK2vGQyz5X PGzSgquM0QxGkaMIjkOfMmSfXeUWCuFqc5+TLKaCMYXFBRcjZa9XJ2Eg3HV39p71wb2P niCZjUDOr7V/N+j8X18Bg6I+m2OUCEgoi3F/Rhi8q545Pv2+dXK1jZP3X6QWPPJwk6Ob GAj/7C+5HQsQjgIixOj6LLVgUxTsPcR0OgtFfF0M68WstwV+yXavmyeYWI/Kx370XqjD RhYw== X-Gm-Message-State: APjAAAVt1Q5mC/u/3wu+M5459bM7VHXcJGQitztPNekm0OYY463T6LNr +xEzBNIohMntpeEqW7tA3zIrVhNkVHptHjlABX8= X-Received: by 2002:a5e:8e03:: with SMTP id a3mr5234885ion.126.1555520968370; Wed, 17 Apr 2019 10:09:28 -0700 (PDT) MIME-Version: 1.0 References: <20190417152701.23391-1-brgl@bgdev.pl> <20190417152701.23391-5-brgl@bgdev.pl> In-Reply-To: <20190417152701.23391-5-brgl@bgdev.pl> From: Adam Ford Date: Wed, 17 Apr 2019 12:09:17 -0500 Message-ID: Subject: Re: [PATCH v5 4/5] ARM: dts: da850-evm: enable cpufreq To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland , David Lechner , arm-soc , devicetree , Linux Kernel Mailing List , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 17, 2019 at 10:27 AM Bartosz Golaszewski wrote: > > 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 > > 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/da850-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 = <&vdcdc3_reg>; > +}; > + > +/* > + * The standard da850-evm kits and SOM's are 375MHz so enable this operating > + * point by default. Higher frequencies must be enabled for custom boards with > + * other variants of the SoC. > + */ > +&opp_375 { > + status = "okay"; > +}; > + > &sata { > status = "okay"; > }; > -- > 2.21.0 >