From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Wed, 6 Mar 2013 16:48:30 +0000 Subject: [V8 PATCH 01/16] usb: phy: mv_usb2: add PHY driver for marvell usb2 controller In-Reply-To: References: <1361419646-9052-1-git-send-email-chao.xie@marvell.com> <1361419646-9052-2-git-send-email-chao.xie@marvell.com> <20130304142143.GG3397@arwen.pp.htv.fi> <20130305110457.GF7899@arwen.pp.htv.fi> <20130306081044.GD28587@arwen.pp.htv.fi> Message-ID: <20130306164829.GP17833@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Mar 06, 2013 at 04:24:58PM +0800, Chao Xie wrote: > The clock numbers and names are depent of SOCes, No they aren't. The clock names used to describe them in your documentation may vary, but their _purpose_ for the sake of the device will be fixed - and you should name them appropriately from the _device_ point of view. Not the SoC point of view. That way leads to total madness. We've proven this over the years that we've had the clk API and people have come up with trash implementations that do that crap. After many years of struggling, they've seen the light and fixed their shite up to work the way I originally intended, and... instantly benefited from it.