Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2022750yba; Mon, 15 Apr 2019 03:23:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwepjDUjr3JMwVvqY9zr8N3dECgWJjaUmM39RuFrHnS+J+2idTTa4/GdZja7s0QUeBef5tg X-Received: by 2002:a63:1d26:: with SMTP id d38mr64444065pgd.357.1555323803921; Mon, 15 Apr 2019 03:23:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555323803; cv=none; d=google.com; s=arc-20160816; b=jWprjYV69ukV7FlDiPpagaWn9nMnFnBU71Gxvjz0SdA1NVq2GNeNL1lFIkPp6iPzAu +SSH3jaAuRIo4KDFClItkt521RgSuv92q/H5EJBaAs5p6Ai9RtBlOE2krYWZOddpUc2g giljABMQceE/3eBjCdgdkrRVyiuASI2yZkH6GGH9JFhIT1efwY/HbJ2Ac0RxOvNNmAkF FORiBaKpuWK6/AGRbojbIKEyWoreZ94Pl2ATWU2cxZ657fB7sshoxCSwvn4KEUrh3Dk4 UZ4yLVRYupGDkaIfekilTXuxku9dNN80rvBYmm6iq/pUO/ZWLyIDDDHw5mdwgt4vcjZz btbQ== 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=8b6kBhBFdSOPc8SDTqfFQA0rlFoTm7OJpkSsvharSJM=; b=Klc6KSuTrYWnmwluA5ivGQ+Pcxk2PEgumAqugGv2HojOJ1xKvZ1u9o0BqvwQV8YBnD kXjEgJUCSE9ZWV+Mna+UCDiPF8RvsoGzyyrbDAMOBFpCP24Ol6bh2KgYOV6j6T6FDaOK AlTOA9JIMnO3ZHsacygonruFldZeUNHcDT+L37sNUzvhL703iB966TSwPFDBJ3sRuEPx 93RkFPsCQV/jvrBG26q/gMF/wBYFeMTMAxId3L3QrkegnCR70EAM2A/cV15gD+KD3Dtn gyPKI/qi2cAfkq/w0qPqjmJmuwq4hxzjl61FbRKqOFIFbr3Rifh3YIhQ0/7V29mEVhma 0JLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KoQdK5wB; 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 z25si29422022pgv.442.2019.04.15.03.23.07; Mon, 15 Apr 2019 03:23:23 -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=KoQdK5wB; 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 S1726751AbfDOKWN (ORCPT + 99 others); Mon, 15 Apr 2019 06:22:13 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:45646 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbfDOKWN (ORCPT ); Mon, 15 Apr 2019 06:22:13 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x3FALJZT110511; Mon, 15 Apr 2019 05:21:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1555323679; bh=8b6kBhBFdSOPc8SDTqfFQA0rlFoTm7OJpkSsvharSJM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=KoQdK5wBVpzrrLzM8DGwZAvw6QIEXMeSjnqx65zHyPGTU4yaLZeL4mZWMGpAEs3xg pCWE7QdSODuK2/LpLkZbkwSszNXVVoHlHoEUisDi8ZzH2QahlhkaNpazmPTJpEBaEw wtm6YBB5arWBwi2BQ33SSLN0AXBf2GiPajwTVIiA= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x3FALITm046495 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 15 Apr 2019 05:21:19 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 15 Apr 2019 05:21:18 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) 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, 15 Apr 2019 05:21:18 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x3FALEpE020868; Mon, 15 Apr 2019 05:21:15 -0500 Subject: Re: [PATCH v3 1/3] ARM: dts: da850: add cpu node and operating points to DT To: Bartosz Golaszewski CC: Kevin Hilman , Rob Herring , Mark Rutland , David Lechner , Adam Ford , Linux ARM , devicetree , Linux Kernel Mailing List , Bartosz Golaszewski References: <20190408075924.2284-1-brgl@bgdev.pl> <20190408075924.2284-2-brgl@bgdev.pl> <5f72a26b-428a-c50e-cb6a-7c888ea22329@ti.com> <3f6c906b-53b0-8284-bf4d-9b404f341e7b@ti.com> From: Sekhar Nori Message-ID: <6ff5711c-b607-1f3a-e362-709b53762179@ti.com> Date: Mon, 15 Apr 2019 15:51:13 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" 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 12/04/19 9:01 PM, Bartosz Golaszewski wrote: > pt., 12 kwi 2019 o 15:53 Sekhar Nori napisał(a): >> >> On 12/04/19 5:41 PM, Bartosz Golaszewski wrote: >>> pt., 12 kwi 2019 o 13:26 Sekhar Nori napisał(a): >>>> >>>> Hi Bartosz, >>>> >>>> On 08/04/19 1:29 PM, Bartosz Golaszewski wrote: >>>>> From: David Lechner >>>>> >>>>> This adds a cpu node and operating points to the common da850.dtsi file. >>>>> >>>>> Additionally, a regulator is added to the LEGO EV3 board along with >>>>> some board-specific CPU configuration. >>>>> >>>>> Regulators need to be hooked up on other boards to get them working. >>>>> >>>>> Signed-off-by: David Lechner >>>>> Signed-off-by: Bartosz Golaszewski >>>> >>>> I remember you mentioning about some problems using OCHI and cpufreq >>>> together. Are those resolved now? CPU PLL on DA850 can affect other >>>> peripheral clock frequencies too. So enabling it should really be a >>>> per-board decision. >>>> >>> >>> The problems are still there. I've never been able to find the >>> culprit, but it also occurs on TI BSP in the same way (a couple >>> cpufreq transitions will make the controller unresponsive). >> >> Is that on LCDK as well? As I recall cpufreq was never enabled on LCDK >> in TI BSP. >> > > Yes, I just verified that the bug occurs on LCDK with patches from this series. > >> If the OHCI problem is present on LCDK, then there is a user visible >> regression on mainline after this patch. Lets enable cpufreq in LCDK >> only if all working peripherals keep working afterwards. >> > > The OHCI driver doesn't register any cpufreq transition notifier > callbacks. I can't really find anything in the datasheet, but I'm > wondering if we shouldn't do something similar to what the driver for > davinci i2c controller does. I'll try a couple things tomorrow. Even if OHCI issue is fixed, with a fixed regulator like on LCDK, I am not sure the benefits of just frequency scaling will be justifiable enough. Fixing the OHCI issue may help in other boards like da850-evm use it though. So that will be a good thing. How do you feel about keeping all OPPs disabled by default in da850.dtsi and enabling only the ones that make sense for a board in .dts? Empty OPP table is illegal, so this does mean that every board must enable at least one OPP. Thanks, Sekhar