Received: by 10.223.176.5 with SMTP id f5csp1204549wra; Wed, 7 Feb 2018 14:44:56 -0800 (PST) X-Google-Smtp-Source: AH8x226NDXTNl0morEuTzc47e6UOP+p1Ekv2lE2xuNk2k1dh1Qi9Q7SV68Tw/q6y0K2lDWMe8a86 X-Received: by 10.101.77.134 with SMTP id p6mr6057741pgq.230.1518043496838; Wed, 07 Feb 2018 14:44:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518043496; cv=none; d=google.com; s=arc-20160816; b=C1NSBbCyHPIsdi/BSwUhIyOiSKYIDCF0IPPq39wVWahenMC7WBiV/8ZDSMPvkmi7Gd mLP9yb0MTxHZd1jPCdTcCvkdf+kx9XTwMPP/Ye4rDgHkQzMTbDhLJeHFiQsB1HmoR2zB hWg+0v4o+aBP6AwSGW0PiDFObDj2fsoVvhMsTuPF1tTpxIY5h+pSI1ZGt+xKQvmJOqwX OUXu7oJ/G4jAtIG9k7mPDlEsEXUAspAZiSxRue6YslbKF0XlMkc0ZIxmWQnrlSnVNTo0 +H2YCefF4jCVPk+NJ2V9FA9vN/s1z2VRwajRb71qrAWkqFg4QLTHLPmaT5jY8zsQRCI5 L9/w== 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 :arc-authentication-results; bh=QS4gAMtj0FwjQIQ6UqZg63xpZ2kR5bTg++kWowuFOzM=; b=dM9APcazoOztqE68BVyDttuxDE3SfKvu4RWewO7X4q6S23SZCkX2BYQMvJoqR1L1fD x1YEztL9tebVQHyF2/Iet3HpfNbvCytOgD9+GlhUY08ply6c+shMaAZ7unPDTTK2GNzD KJxmft80HTTFg6a2BAvACNPBrOQUg4ZrOZSa/rMToO8OLHcHcJ5A3hCcvkfJl6VDRSI6 qBApczT+c/mLpT6ftHqgUUIhTe7N2mLi0qEIL3EzhtG299SHW5MC1LzcbXpWNUbfT62Y Xmp1hv5KJScFqYRQZpnCRpSJOsVWwInyR/lOfbvuVjKSMKJ4T+u8CQBdAHC3gNGVwEJi zSlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=g94k6RrF; 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 h89-v6si1729514pld.590.2018.02.07.14.44.43; Wed, 07 Feb 2018 14:44:56 -0800 (PST) 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=fail header.i=@lechnology.com header.s=default header.b=g94k6RrF; 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 S1752337AbeBGWnu (ORCPT + 99 others); Wed, 7 Feb 2018 17:43:50 -0500 Received: from vern.gendns.com ([206.190.152.46]:40404 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752237AbeBGWnq (ORCPT ); Wed, 7 Feb 2018 17:43:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QS4gAMtj0FwjQIQ6UqZg63xpZ2kR5bTg++kWowuFOzM=; b=g94k6RrF+O9TeHvYLGS06Xb0jm JbynTV35tMvGcjDJg6LRovfkHJmW8dPRzYN/7DJjTUWJUW9mDwR20Ag+72MPtRUmXYNu2bsBn/kc/ 5p79B6F6bO3fTzeuP1VofkrVN3Icd/bXVSB3w3+WO4na55WYJ23CjXMZVxt5gXnTFLDsNJthdxduT gYeDO1bwzkZTmdsValKggXDOh/d0zO188dgGkkYz6Nkv+abLCCjmiEXmZ2USgNloUrGnl06LpluY4 hKl9nRugL0JngyzecELCt/aF3uirCiEV+YvPWp6cz5HEWdv9G9GGYWTRX4tR3a3ZWTH+JFNO/fhLF lVO+Cdrw==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:58232 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1ejYQP-000LSH-10; Wed, 07 Feb 2018 17:42:45 -0500 Subject: Re: [PATCH 0/7] ARM: davinci: add genpd support To: Bartosz Golaszewski , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Russell King Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski References: <20180207134553.13510-1-brgl@bgdev.pl> From: David Lechner Message-ID: <4dbc57ec-3506-eb1d-e00d-adfe75c3b39b@lechnology.com> Date: Wed, 7 Feb 2018 16:43:50 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180207134553.13510-1-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/07/2018 07:45 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Hi Sekhar et al, > > please take a look at the following patches. They add a simple genpd > driver and use it in DT mode on da850 boards. > > I was trying to use genpd in legacy mode too, but couldn't find neither > any interfaces nor users that would do that. For now I added a check in > arch/arm/mach-davinci/pm_domain.c that disables the clock pm setup if > we're using genpd. > > This series applies on top of and has been tested with David Lechner's > for-bartosz branch. It fixes the clock look-up issues we faced with > lcdc and emac. I'm starting to think that it makes more sense to just make the PSC driver a power-domain and reset provider rather than a clock provider. It is unfortunate that genpd is DT only.