From: Roger Quadros <rogerq@ti.com>
To: Nishanth Menon <nm@ti.com>, "Balbi, Felipe" <balbi@ti.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>,
Tony Lindgren <tony@atomide.com>,
george.cherian@ti.com, linux-omap <linux-omap@vger.kernel.org>,
dt list <devicetree@vger.kernel.org>,
linux-usb@vger.kernel.org
Subject: Re: [PATCH v2 3/7] phy: omap-usb2: Use generic clock names "wkupclk" and "refclk"
Date: Mon, 5 May 2014 12:23:32 +0300 [thread overview]
Message-ID: <53675894.1090703@ti.com> (raw)
In-Reply-To: <53673C6D.5060400@ti.com>
On 05/05/2014 10:23 AM, Roger Quadros wrote:
> On 04/30/2014 06:20 PM, Nishanth Menon wrote:
>> On Tue, Apr 29, 2014 at 11:16 AM, Felipe Balbi <balbi@ti.com> wrote:
>>> On Tue, Apr 29, 2014 at 11:14:20AM -0500, Felipe Balbi wrote:
>>>> On Tue, Apr 29, 2014 at 10:50:39AM +0300, Roger Quadros wrote:
>>>>> +Nishant
>>>>>
>>>>> Hi,
>>>>>
>>>>> On 04/28/2014 07:03 PM, Felipe Balbi wrote:
>>>>>> Hi,
>>>>>>
>>>>>> On Mon, Apr 28, 2014 at 05:01:23PM +0300, Roger Quadros wrote:
>>>>>>> As clocks might be named differently on multiple platforms, use a generic
>>>>>>> name in the driver and allow device tree node to specify the platform
>>>>>>> specific clock name.
>>>>>>>
>>>>>>> Signed-off-by: Roger Quadros <rogerq@ti.com>
>>>>>>> ---
>>>>>>> drivers/phy/phy-omap-usb2.c | 8 ++++----
>>>>>>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>>>>>>
>>>>>>> diff --git a/drivers/phy/phy-omap-usb2.c b/drivers/phy/phy-omap-usb2.c
>>>>>>> index a2205a8..fb5e515 100644
>>>>>>> --- a/drivers/phy/phy-omap-usb2.c
>>>>>>> +++ b/drivers/phy/phy-omap-usb2.c
>>>>>>> @@ -275,16 +275,16 @@ static int omap_usb2_probe(struct platform_device *pdev)
>>>>>>> if (IS_ERR(phy_provider))
>>>>>>> return PTR_ERR(phy_provider);
>>>>>>>
>>>>>>> - phy->wkupclk = devm_clk_get(phy->dev, "usb_phy_cm_clk32k");
>>>>>>> + phy->wkupclk = devm_clk_get(phy->dev, "wkupclk");
>>>>>>
>>>>>> doesn't this patch cause a regression ? I mean, you're changing the
>>>>>> clock name before fixing DTS. Also, that DTS has been in a major version
>>>>>> of the kernel, so we need to maintain compatibility with it. How about:
>>>>>
>>>>> I'm changing the DTS in Patch 4, but I prefer to do it in this patch
>>>>> to prevent synchronization issues in -next.
>>>>>
>>>>> About backward compatibility, I agree with you but at the same time I
>>>>> don't think anyone using TI SoCs burns the DTB to ROM and needs
>>>>> backward compatibility. We supply our BSPs/SDKs with the updated DTBs.
>>>>> Do you feel strict backward compatibility is worth the effort for TI
>>>>> specific blocks?
>>>>
>>>> dunno, but it would, at least, avoid "synchronization issues with
>>>> linux-next" :-)
>>>
>>> and the bisectability issue.
>>
>> I agree - we cannot drop backward compatibility for DTBs
>> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a9330010bea5982a5c6593824bc036bf62d67b7
>
> That says backward compatibility for stable bindings.
> In this case, the binding that I changed doesn't even exist in Documentation/devicetree/bindings,
> so it never was a stable binding.
Forgot to mention, I'm sending a revised version based on your and Felipe's suggestion.
cheers,
-roger
next prev parent reply other threads:[~2014-05-05 9:23 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 14:01 [PATCH v2 0/7] USB support for DRA7-evm Roger Quadros
[not found] ` <1398693687-13967-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 14:01 ` [PATCH v2 1/7] ARM: dts: dra7-clock: Add "l3init_960m_gfclk" clock gate Roger Quadros
2014-04-28 14:01 ` [PATCH v2 2/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss Roger Quadros
2014-04-28 14:01 ` [PATCH v2 3/7] phy: omap-usb2: Use generic clock names "wkupclk" and "refclk" Roger Quadros
[not found] ` <1398693687-13967-4-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:03 ` Felipe Balbi
[not found] ` <20140428160347.GG30292-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-29 7:50 ` Roger Quadros
[not found] ` <535F59CF.6050002-l0cyMroinI0@public.gmane.org>
2014-04-29 16:14 ` Felipe Balbi
[not found] ` <20140429161420.GH633-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-29 16:16 ` Felipe Balbi
[not found] ` <20140429161616.GI633-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-30 7:16 ` Roger Quadros
2014-04-30 15:20 ` Nishanth Menon
2014-05-05 7:23 ` Roger Quadros
2014-05-05 9:23 ` Roger Quadros [this message]
2014-04-28 14:01 ` [PATCH v2 4/7] ARM: dts: omap4+: Add clocks to USB2 PHY node Roger Quadros
[not found] ` <1398693687-13967-5-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:04 ` Felipe Balbi
2014-04-28 14:01 ` [PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding Roger Quadros
[not found] ` <1398693687-13967-6-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:04 ` Felipe Balbi
2014-04-28 17:23 ` Sergei Shtylyov
2014-04-29 7:57 ` Roger Quadros
2014-04-28 14:01 ` [PATCH v2 6/7] ARM: dts: dra7: Add USB related nodes Roger Quadros
2014-04-28 16:05 ` Felipe Balbi
2014-04-28 14:01 ` [PATCH v2 7/7] dts: dra7-evm: add USB support Roger Quadros
[not found] ` <1398693687-13967-8-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:07 ` Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53675894.1090703@ti.com \
--to=rogerq@ti.com \
--cc=balbi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=george.cherian@ti.com \
--cc=kishon@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=nm@ti.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.