From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Liao Subject: Re: [PATCH v3 1/4] clk: dts: mediatek: add Mediatek MT8135 clock bindings Date: Tue, 20 Jan 2015 10:10:40 +0800 Message-ID: <1421719840.11981.4.camel@mtksdaap41> References: <1420601123-25859-1-git-send-email-jamesjj.liao@mediatek.com> <1420601123-25859-2-git-send-email-jamesjj.liao@mediatek.com> <20150119153549.22722.67372@quantum> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150119153549.22722.67372@quantum> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Mike Turquette Cc: Mark Rutland , Ashwin Chaugule , Vladimir Murzin , Russell King , Pawel Moll , srv_heupstream@mediatek.com, Ian Campbell , Catalin Marinas , linux-kernel@vger.kernel.org, henryc.chen@mediatek.com, jamesjj.liao@mediatek.com, devicetree@vger.kernel.org, Rob Herring , Sascha Hauer , Kumar Gala , Matthias Brugger , "Joe.C" , eddie.huang@mediatek.com, linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org On Mon, 2015-01-19 at 07:35 -0800, Mike Turquette wrote: > Quoting James Liao (2015-01-06 19:25:20) > > +Example: I2C controller node that consumes the clock generated by the clock > > + controller (refer to the standard clock bindings for information about > > + "clocks" and "clock-names" properties): > > + > > + i2c0: i2c@1100d000 { > > + compatible = "mediatek,mt8135-i2c", "mediatek,mt6589-i2c"; > > + reg = <0 0x1100d000 0 0x70>, <0 0x11000300 0 0x80>; > > + interrupts = ; > > + clock-div = <16>; > > + clocks = <&pericfg PERI_I2C0_CK>, <&pericfg PERI_AP_DMA_CK>; > > + clock-names = "main", "dma"; > > + }; > > Hello, > > Patch looks good to me overall. One suggestion for the next version is > that your example above include a node for the clock controller itself, > followed by the i2c controller example above. OK, I'll add pericfg in next patch. Best regards, James