From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH RFC 04/10] base: power: Add generic OF-based power domain look-up Date: Tue, 14 Jan 2014 07:42:26 -0800 Message-ID: <87r48a8t99.fsf@linaro.org> References: <1389469372-17199-1-git-send-email-tomasz.figa@gmail.com> <1389469372-17199-5-git-send-email-tomasz.figa@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1389469372-17199-5-git-send-email-tomasz.figa@gmail.com> (Tomasz Figa's message of "Sat, 11 Jan 2014 20:42:46 +0100") Sender: linux-samsung-soc-owner@vger.kernel.org To: Tomasz Figa Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Pavel Machek , Len Brown , Russell King , Kukjin Kim , Kumar Gala , Ian Campbell , Mark Rutland , Pawel Moll , Rob Herring , Bartlomiej Zolnierkiewicz , Stephen Warren , Tomasz Figa List-Id: devicetree@vger.kernel.org Tomasz Figa writes: > This patch introduces generic code to perform power domain look-up using > device tree and automatically bind devices to their power domains. > Generic device tree binding is introduced to specify power domains of > devices in their device tree nodes. > > Backwards compatibility with legacy Samsung-specific power domain > bindings is provided, but for now the new code is not compiled when > CONFIG_ARCH_EXYNOS is selected to avoid collision with legacy code. This > will change as soon as Exynos power domain code gets converted to use > the generic framework in further patch. > > Signed-off-by: Tomasz Figa I haven't read through this in detail yet, but wanted to make sure that the DT representation can handle nested power domains. At least SH-mobile has a hierarchy of power domains and the genpd code can handle that, so wanted to make sure that the DT representation can handle it as well. Thanks, Kevin