Re: [PATCH v2] usb: phy-samsung-usb: Simplify PMU register handling
From: Felipe Balbi
Date: Mon Jul 29 2013 - 17:29:00 EST
On Mon, Jul 29, 2013 at 02:17:56PM -0700, Julius Werner wrote:
> This patch simplifies the way the phy-samsung-usb code finds the correct
> power management register to enable PHY clock gating. Previously, the
> code would calculate the register address from a device tree supplied
> base address and add an offset based on the PHY type.
> Since every PHY has its own device tree entry and needs only one
> register, we can just encode the address itself in the device tree and
> remove the diffentiation in the code. The bitmask needed to specify the
> bit within that register stays in place, allowing support for platforms
> like s3c64xx that use different bits within the same register. Due to
> this simplification, the whole complication of a Samsung-specific USB
> PHY type can be removed from the PHY driver.
> Change-Id: Id823f04bbf1942f307bd1d24ec9d8d55a69b0e56
remove this Gerrit Change-Id, please. Also resend with
linux-usb@xxxxxxxxxxxxxxx in Cc.
Description: Digital signature