From patchwork Thu Jan 19 21:01:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 9526883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E90126020B for ; Thu, 19 Jan 2017 21:09:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DACA228451 for ; Thu, 19 Jan 2017 21:09:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE63428639; Thu, 19 Jan 2017 21:09:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A5B528451 for ; Thu, 19 Jan 2017 21:09:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751316AbdASVJB (ORCPT ); Thu, 19 Jan 2017 16:09:01 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33676 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751220AbdASVJA (ORCPT ); Thu, 19 Jan 2017 16:09:00 -0500 Received: by mail-wm0-f67.google.com with SMTP id r144so1924528wme.0 for ; Thu, 19 Jan 2017 13:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=O2QcIut0JjcHQrPm4HEPHa/GnC3LX+AkGchFxRhiFwk=; b=TsEcmoaWUQphkjQ+msDorQuTimwMS3hdxkbZdCZNbNnK9lMGdqx6T5l4Y9KfNRzRrx avwp0kMphmiKw8lgtnZ1DX70vXcjypnptRrp2lnxqrE6U8v1NFj4ojlqJoz92kSbwMJl 76AOciU3bOhtR9vwWB7r81R7hycsxjdX36OEFFp4qGGM5eyFvHLwsSnLtGSN7hKBQ9f0 RIl5SxGlcT+f0dhXtl4SY2mtHjeOvCxreDJN+WZx2QSXL6vXTI1uSVMMjWKr7uhQz923 /cIN0pVTxuQmgOz1mF1XoAs53OpQ1R83Mu27zDU5x0wHuwkGB7wIpBth3xvtaKqtRK5l Hixw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=O2QcIut0JjcHQrPm4HEPHa/GnC3LX+AkGchFxRhiFwk=; b=QNFwGFQB4HZgD4X8DqYye9OS5gOFs4gsUtG49WSou5dewDNH7+f+4W94ig5zqAh8bA HThsy9CArHlpkfNku/TcYkXc1JQFjvUyOmKqrXtuLKlMrRTzdnxL+BucyGYMBZvODum5 3X7Hp+IY20niARkvgfOh43NeSRW+zRjqGdqmbBKNCkkILHjtYm76DiZhmEVr9zIevA0t 0CcsqwNGf0hequGIP5cw35jqWmQ5s3WnO2LW+tQgX72bEh7Xu19qVTTjNiitm1qd9PLd u3OkvvEqMg/VBLJc1Fq+UtTh3JUtUyfN0Lpp0SyE4TvCIkXbKga0tEXf8N9w371GDV9X kdFw== X-Gm-Message-State: AIkVDXJnbPi49hVHLLHEpDBTjWjyNbJFc3K1sJj6rQ0yGkmSUu3MDPwnPdxTbCilRve69Mw1EO8vSISUJGkJgA== X-Received: by 10.28.111.78 with SMTP id k75mr496687wmc.71.1484859712926; Thu, 19 Jan 2017 13:01:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.136.137 with HTTP; Thu, 19 Jan 2017 13:01:52 -0800 (PST) In-Reply-To: <20161215161627.GE4920@atomide.com> References: <20161214195259.GB4920@atomide.com> <20161215154002.GD4920@atomide.com> <20161215161627.GE4920@atomide.com> From: Adam Ford Date: Thu, 19 Jan 2017 15:01:52 -0600 Message-ID: Subject: Re: OMAP3 DM3730 1GHz mainline support To: Tony Lindgren Cc: Daniel Gomez , linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Thu, Dec 15, 2016 at 10:16 AM, Tony Lindgren wrote: > * Adam Ford [161215 07:53]: >> On Thu, Dec 15, 2016 at 9:40 AM, Tony Lindgren wrote: >> > * Adam Ford [161215 07:27]: >> >> On Thu, Dec 15, 2016 at 2:44 AM, Daniel Gomez wrote: >> >> > Thanks for your answer Tony, >> >> > >> >> > I would like to fix it but I don't know how to start. Any idea or >> >> > suggestion please? >> >> > I have patched kernel 4.3 with this patch with the same result: >> >> > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-October/294018.html >> >> > >> >> > Furthermore, which kernel version is recommended to be use? >> >> > >> >> > Daniel >> >> > >> >> > 2016-12-14 20:52 GMT+01:00 Tony Lindgren : >> >> >> >> >> >> * Daniel Gomez [161214 08:14]: >> >> >> > HI, >> >> >> > >> >> >> > I would like to know about the status for supporting 1GHz of DM3730 >> >> >> > processor (omap3) in the kernel mainline. Daniel, I was able to get my DM3730 working at 1GHz with the following patch: I looked at the device tree for omap36 and abb_mpu_iva: regulator-abb-mpu shows 1375000 with ABB set to 1 What I am not sure is how to confirm whether or not there is more to do. I confirmed that vdd1 (which powers the CPU on my board) is running at 1.375 volts. >> >> >> >> >> >> Yeah unfortunately the voltdomain support is still missing. Somebody >> >> >> just needs to fix it.. >> >> >> Tony - Can you elaborate on what voltdomain support is? I'm willing to look into it. >> >> >> >> I modified the om36xx.dtsi file to list 1000000 and 1375000 uV, but I >> >> couldn't figure out how to autodetect whether or not the >> >> DM3730/OMAP3630 was 800MHz or 1000. >> >> > > Tony [snip] I also pushed a patch to the U-Boot which updates the proper reading and display of 800/1GHz versions of the various DM37/AM37 processors, but it hasn't been reviewed or approved yet. I don't know what Tony's opinion is, but if we don't have a good way (yet) to limit the 800 MHz version to 800MHz with the 1000 entry in the device tree, we might be able to use U-Boot to determine which speed is correct and load/modify the device tree before the kernel boots. adam --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi index 718fa88..2c97783 100644 --- a/arch/arm/boot/dts/omap36xx.dtsi +++ b/arch/arm/boot/dts/omap36xx.dtsi @@ -25,6 +25,7 @@ 300000 1012500 600000 1200000 800000 1325000 + 1000000 1375000 >; clock-latency = <300000>; /* From legacy driver */ };