From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755759AbbBCKxn (ORCPT ); Tue, 3 Feb 2015 05:53:43 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:49333 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755413AbbBCKxl (ORCPT ); Tue, 3 Feb 2015 05:53:41 -0500 Message-ID: <54D0A8A6.5040805@imgtec.com> Date: Tue, 3 Feb 2015 10:53:26 +0000 From: Zubair Lutfullah Kakakhel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Lars-Peter Clausen , CC: , , , Subject: Re: [PATCH_V4 1/3] dt: usb: jz4740: Add DT binding document for OHCI References: <1422958640-25723-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1422958640-25723-2-git-send-email-Zubair.Kakakhel@imgtec.com> <54D0A3C4.6010100@metafoo.de> In-Reply-To: <54D0A3C4.6010100@metafoo.de> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.154.89] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/02/15 10:32, Lars-Peter Clausen wrote: > On 02/03/2015 11:17 AM, Zubair Lutfullah Kakakhel wrote: > [...] >> V4 Changes >> Removed clock binding because of pending work in clock tree. Will add >> binding later. Rather than introduce a bad binding now and change later. > > But this patch is introducing a bad binding. The part needs the clock to work. The binding you are specifying right now says that it works fine without any clocks. Facing a chicken and egg problem with these patches here.. When the new clock driver gets in we can add the correct clock binding and replace devm_clk_get(&pdev->dev, "uhc"); with devm_clk_get(&pdev->dev, NULL); Specifying the current binding got NAKed by Arnd who mentioned that clock names shouldn't be needed as required properties. And even if needed, then it shouldn't be "uhc" and more close to what other ohci drivers have. Hence rather than bad binding now, we'll add a binding later.. > >> [...] >> +Example for jz4740: >> + >> +/ { >> + ohci: jz4780-ohci@0x134a0000 { > > s/jz4780/jz4740 Thanks ZubairLK > >> + compatible = "ingenic,jz4740-ohci"; >> + reg = <0x134a0000 0x10000>; >> + >> + interrupts = <5>; >> + }; >> +}; >> + >> >