Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755856Ab2HNKVk (ORCPT ); Tue, 14 Aug 2012 06:21:40 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:46449 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755675Ab2HNKVj (ORCPT ); Tue, 14 Aug 2012 06:21:39 -0400 Message-ID: <502A26A3.5090100@ti.com> Date: Tue, 14 Aug 2012 12:21:23 +0200 From: Benoit Cousson Organization: Texas Instruments User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: CC: Sourav Poddar , , , , , Santosh Shilimkar Subject: Re: [PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support References: <1344852313-30484-1-git-send-email-sourav.poddar@ti.com> <1344852313-30484-3-git-send-email-sourav.poddar@ti.com> <502A20DD.5030707@ti.com> <20120814095923.GB11416@arwen.pp.htv.fi> In-Reply-To: <20120814095923.GB11416@arwen.pp.htv.fi> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2563 Lines: 67 Hi Felipe, On 08/14/2012 11:59 AM, Felipe Balbi wrote: > On Tue, Aug 14, 2012 at 11:56:45AM +0200, Benoit Cousson wrote: >> On 08/13/2012 12:05 PM, Sourav Poddar wrote: >>> Add tmp102 temperature sensor data in omap5 evm dts file. >>> >>> Tested on omap5430 evm with 3.5 custom kernel. >>> >>> Cc: Benoit Cousson >>> Cc: Felipe Balbi >>> Cc: Santosh Shilimkar >>> Acked-by: Felipe Balbi >>> Signed-off-by: Sourav Poddar >>> --- >>> arch/arm/boot/dts/omap5-evm.dts | 9 +++++++++ >>> 1 files changed, 9 insertions(+), 0 deletions(-) >>> >>> diff --git a/arch/arm/boot/dts/omap5-evm.dts b/arch/arm/boot/dts/omap5-evm.dts >>> index 200c39a..45a8aeb 100644 >>> --- a/arch/arm/boot/dts/omap5-evm.dts >>> +++ b/arch/arm/boot/dts/omap5-evm.dts >>> @@ -18,3 +18,12 @@ >>> reg = <0x80000000 0x40000000>; /* 1 GB */ >>> }; >>> }; >>> + >>> +&i2c4 { >>> + clock-frequency = <400000>; >> >> Have you checked if we cannot run at faster speed? Reducing the speed >> will impact every devices on the bus. >> It might be needed, I just wanted to be sure. >> >> You should maybe just add a small comment to explain what the device is >> doing with potentially a link to the HW spec if available. >> >> The same comments are applicable to the bmp085 patch. > > that sort of information should be placed on > Documentation/devicetree/bindings/*/$device.txt, right ? Why should we > replicate it on all dts files ? Well in that case, this is not part of the binding documentation, but that can be a good idea to update the documentation indeed. > Besides, there are only two such entries > on all ARM DTS files. Do we really want to make dts files bigger with > links to documentation which can even be moved at any time to other > location by the manufacturer's choice ? Will anyone actually keep track > of such links to make sure they aren't broken ? And even if someone does > track those links, do we really want to keep sending such patches for > the dts files ? A little bit of comment and documentation will never hurt anybody and will not have any impact on the DTB size. If that can save us some time to avoid googling to know what device we are taking about, it is already better than nothing. Regards, Benoit -- 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/