Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753848AbbFWHzV (ORCPT ); Tue, 23 Jun 2015 03:55:21 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34463 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752527AbbFWHzO (ORCPT ); Tue, 23 Jun 2015 03:55:14 -0400 Date: Tue, 23 Jun 2015 13:25:09 +0530 From: Viresh Kumar To: Lee Jones Cc: robh@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, rjw@rjwysocki.net, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, ajitpal.singh@st.com Subject: Re: [PATCH 8/8] dt: cpufreq: st: Provide bindings for ST's CPUFreq implementation Message-ID: <20150623075509.GF16776@linux> References: <1434987837-24212-1-git-send-email-lee.jones@linaro.org> <1434987837-24212-9-git-send-email-lee.jones@linaro.org> <20150623023458.GC16776@linux> <20150623070651.GA3245@x1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150623070651.GA3245@x1> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1831 Lines: 60 On 23-06-15, 08:06, Lee Jones wrote: > > [Adding Rob] > > Rob is not the only DT Maintainer, there are many of them. The DT > list was CC'ed, which they are all part of. Adding them all > separately is not required IMO. I didn't Cc him because you missed him, but because we have been discussing opp-v2 bindings recently and this was somehow related to that. :) > > On 22-06-15, 16:43, Lee Jones wrote: > > > > At least some description was required here on why you need additional > > bindings are what are they. > > Sure, I can do that. > > > Over that, this patch should have been present before any other > > patches using these bindings. > > I've never heard that one before, but it's easy to re-order the set. I don't know, but it seems obvious to me: Bindings first and then the code. > > > +Required properties: > > > +------------------- > > > +- compatible : Supported values are: > > > + "st,stih407-cpufreq" > > > > Nodes for virtual devices aren't allowed in DT. > > Then why do Exynos, Spear, HREF and Snowball have CPUFreq nodes? > > One rule for one ... ? Not really, but I got a bit confused now with your reply. So, what I meant when I wrote: "Nodes for virtual devices aren't allowed in DT", was that we aren't supposed to do something like: cpufreq { ... } in DT as cpufreq isn't a device here. A CPU is a device and that can contain whatever property we feel is reasonable. What SPEAr and Exyons did was putting something in the cpu-node. Not a node for cpufreq device itself. Couldn't find HREF and snowball's bindings though.. -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/