From mboxrd@z Thu Jan 1 00:00:00 1970 From: josephl@nvidia.com (Joseph Lo) Date: Thu, 7 Mar 2013 18:46:21 +0800 Subject: [PATCH 03/10] ARM: tegra: get power management configurations for PMC from DT In-Reply-To: <51363A95.8090000@wwwdotorg.org> References: <1362397207-5597-1-git-send-email-josephl@nvidia.com> <51363A95.8090000@wwwdotorg.org> Message-ID: <1362653181.1890.3.camel@jlo-ubuntu-64.nvidia.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, 2013-03-06 at 02:33 +0800, Stephen Warren wrote: > On 03/04/2013 04:40 AM, Joseph Lo wrote: > > If the system supports deep sleep mode (i.e. suspend), it should have > > the power management configuration for PMC in the DT under the sub-node > > of PMC. Different system may have different configurations, it should > > be parsed from DT. > > > diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c > > > @@ -143,6 +161,10 @@ static const struct of_device_id matches[] __initconst = { > > static void tegra_pmc_parse_dt(void) > > { > > struct device_node *np; > > + u32 prop; > > + enum tegra_suspend_mode suspend_mode; > > + u32 core_good_time[2] = {0, 0}; > > + u32 lp0_vec[2] = {0, 0}; > > > > np = of_find_matching_node(NULL, matches); > > BUG_ON(!np); > > This files doesn't look like that; the BUG_ON() isn't present upstream. > yet. So, this series depends on some other patches not yet applied. You > need to explicitly document your patch dependencies somewhere. Hopefully > I can work it out... > Sorry for that. > The DT binding documentation patch (5/10) should be squashed into this > patch; both document and implement the bindings in the same patch. IIRC, you asked me to separate the binding documentation and implementation into two different patch in internal review. Should I squash these two now? (I can do that, just want to confirm.) Thanks, Joseph