[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130729212835.GC6901@radagast>
Date: Tue, 30 Jul 2013 00:28:35 +0300
From: Felipe Balbi <balbi@...com>
To: Julius Werner <jwerner@...omium.org>
CC: Felipe Balbi <balbi@...com>, <linux-kernel@...r.kernel.org>,
<linux-samsung-soc@...r.kernel.org>,
Tomasz Figa <t.figa@...sung.com>,
Vivek Gautam <gautam.vivek@...sung.com>,
<devicetree@...r.kernel.org>,
Sylwester Nawrocki <sylvester.nawrocki@...il.com>
Subject: Re: [PATCH v2] usb: phy-samsung-usb: Simplify PMU register handling
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@...r.kernel.org in Cc.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists