S Simon Horman #
Message details and related content
On Wed, Jan 29, 2014 at 04:26:55PM +0400, Sergei Shtylyov wrote:
Hello. On 29-01-2014 16:22, Simon Horman wrote:quoted
quoted
quoted
quoted
[snip]quoted
quoted
quoted
quoted
quoted
quoted
+static struct of_device_id rcar_gen2_usb_phy_ofmatch[] = { + { .compatible = "renesas,usb-phy-r8a7790", }, + { .compatible = "renesas,rcar-gen2-usb-phy", },quoted
quoted
quoted
quoted
quoted
Frankly speaking, I don't understand the need for the clearly duplicate entries.quoted
quoted
quoted
quoted
Thanks, will look into remove it. Anyone else have any comments on this?quoted
quoted
quoted
I would like you to leave it there.quoted
quoted
quoted
As we know the r8a7790 is an R-Car Gen2 SoC. But there are other R-Car Gen2 SoCs, such as the r8a7791, they it could plausibly make use of rcar-gen2-usb-phy until the driver is updated with a usb-phy-r8a7791 entry.quoted
quoted
Why not just "update" the driver this way now, may I ask?quoted
Because I don't believe that Ben has access to r8a7791 hardware to test the change and thus it makes sense to handle it separately.I believe Valentine has already tested the driver with both SoCs.
Oh, great. Then I guess the compat string for r8a7791 can be added as you suggest. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html