linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: [linux-sunxi] Re: [PATCH v3 1/4] ARM: sunxi: Add driver for sunxi usb phy
Date: Sat, 01 Mar 2014 14:14:31 +0100	[thread overview]
Message-ID: <5311DD37.9000106@redhat.com> (raw)
In-Reply-To: <530B136E.8080702@ti.com>

Hi,

On 02/24/2014 10:39 AM, Kishon Vijay Abraham I wrote:
> Hi,
> 
> On Sunday 23 February 2014 05:39 PM, Hans de Goede wrote:
>> The Allwinner A1x / A2x SoCs have 2 or 3 usb phys which are all accessed
>> through a single set of registers. Besides this there are also some other
>> phy related bits which need poking, which are per phy, but shared between the
>> ohci and ehci controllers, so these are also controlled from this new phy
>> driver.
>>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
<snip>

>> --- a/drivers/phy/Kconfig
>> +++ b/drivers/phy/Kconfig
>> @@ -64,4 +64,15 @@ config BCM_KONA_USB2_PHY
>>  	help
>>  	  Enable this to support the Broadcom Kona USB 2.0 PHY.
>>  
>> +config PHY_SUN4I_USB
>> +	tristate "Allwinner sunxi SoC USB PHY driver"
>> +	depends on ARCH_SUNXI
>> +	select GENERIC_PHY
> 
> recently some errors have been reported if you don't have depends on HAS_IOMEM.
> Also add depends on CONFIG_OF.

Fixed for v4.

<snip>

>> +		/* set the data bit and clear usbc bit*/
>> +		temp = readb(phy_data->base + REG_PHYCTL);
>> +		if (data & 0x1)
>> +			temp |= BIT(7);
> 
> From the comment, I assume it to be a data bit. Let's add a macro for it?
> 
> If you can fix these minor comments while changing the $subject (PHY: sunxi) it
> should be good to get merged.

All fixed for v4.

Regards,

Hans

  reply	other threads:[~2014-03-01 13:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-23 12:09 [PATCH v3 0/4] ARM: sunxi: Add driver for sunxi usb phy + usb dts bindings Hans de Goede
2014-02-23 12:09 ` [PATCH v3 1/4] ARM: sunxi: Add driver for sunxi usb phy Hans de Goede
2014-02-24  9:27   ` Maxime Ripard
2014-02-24  9:39   ` Kishon Vijay Abraham I
2014-03-01 13:14     ` Hans de Goede [this message]
2014-02-26 15:12   ` [linux-sunxi] " Chen-Yu Tsai
2014-03-01 13:17     ` Hans de Goede
2014-02-23 12:09 ` [PATCH v3 2/4] ARM: sun4i: dt: Add USB host bindings Hans de Goede
2014-02-23 12:09 ` [PATCH v3 3/4] ARM: sun5i: " Hans de Goede
2014-02-23 12:09 ` [PATCH v3 4/4] ARM: sun7i: " Hans de Goede
2014-02-24  9:34 ` [PATCH v3 0/4] ARM: sunxi: Add driver for sunxi usb phy + usb dts bindings Kishon Vijay Abraham I

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=5311DD37.9000106@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).