From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH 1/9] ARM: STi: DT: STiH416: 416 DT Entry for clockgen A0/1/10/11/12 Date: Mon, 19 May 2014 10:30:38 +0100 Message-ID: <20140519093038.GF4978@lee--X1> References: <1399305223-18703-1-git-send-email-gabriel.fernandez@linaro.org> <1399305223-18703-2-git-send-email-gabriel.fernandez@linaro.org> <20140506071843.GD5206@lee--X1> <20140508080344.GE5307@lee--X1> <5373586A.5000302@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <5373586A.5000302@st.com> Sender: linux-kernel-owner@vger.kernel.org To: Maxime Coquelin Cc: Gabriel Fernandez , Gabriel FERNANDEZ , Srinivas Kandagatla , Patrice Chotard , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-arm-kernel@lists.infradead.org, kernel@stlinux.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Pankaj Dev List-Id: devicetree@vger.kernel.org On Wed, 14 May 2014, Maxime Coquelin wrote: > Hi Lee, >=20 > On 05/08/2014 10:03 AM, Lee Jones wrote: > >>>>Patch adds DT entries for clockgen A0/1/10/11/12 > >>>> > >>>>Signed-off-by: Pankaj Dev > >>>>Signed-off-by: Gabriel Fernandez > >>>>--- > >>>> arch/arm/boot/dts/stih416-clks.h | 15 ++ > >>> > >>>This should live in include/dt-bindings/clk > >>> > >>include/dt-bindings/clk or include/dt-bindings/clock ? > > > >I have no idea what the difference between the two are. I guess you > >are in a better position to answer that. My point was just that the > >includes should be in the include directory, rather than being held > >locally in the 'dts' directory. >=20 > Even if these .h files are only used by the DTS files?? >=20 > There are some .h files for pincfg related stuff, shouldn't we do > the same in this case? I believe so. There are a few include files which are only referenced from DTS(I) files. I would be cautious about needlessly overloading arch/arm/boot/dts with files which do not need to be there. This is my personal opinion though, perhaps the DT guys have other ideas. > >>>> arch/arm/boot/dts/stih416-clock.dtsi | 477 ++++++++++++++++++++= ++++++++++++++ > >>>> arch/arm/boot/dts/stih416.dtsi | 10 +- > >>>> 3 files changed, 497 insertions(+), 5 deletions(-) > >>>> create mode 100644 arch/arm/boot/dts/stih416-clks.h > > --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog