From: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
To: Robert Jarzmik <robert.jarzmik-GANU6spQydw@public.gmane.org>
Cc: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v3 3/4] usb: gadget: pxa27x_udc device-tree documentation
Date: Mon, 30 Jun 2014 08:58:33 +0200 [thread overview]
Message-ID: <4540204.8qvSdV7QSr@wuerfel> (raw)
In-Reply-To: <1404050473-19669-3-git-send-email-robert.jarzmik-GANU6spQydw@public.gmane.org>
On Sunday 29 June 2014 16:01:12 Robert Jarzmik wrote:
> +Required properties:
> + - compatible: Should be "marvell,pxa270-udc" for USB controllers
> + used in device mode.
> + - reg: usb device MMIO address space
> + - interrupts: single interrupt generated by the UDC IP
> + - clocks: input clock of the UDC IP (see clock-bindings.txt)
> +
> +Optional properties:
> + - gpios:
> + - gpio activated to control the USB D+ pullup (see gpio.txt)
> +
> +Example:
> +
> + pxa27x_udc: udc@40600000 {
> + compatible = "marvell,pxa270-udc";
> + reg = <0x40600000 0x10000>;
> + interrupts = <11>;
> + clocks = <&pxa2xx_clks 11>;
> + clock-names = "udc";
> + gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
> + };
>
If you use a clock-names property, you have to list the required
clock names in the documentation above. Alternatively, just make
it an anonymous clock in the driver and change the example
to remove the clock-names.
IIRC there is a some confusion in the pxa/mmp USB drivers regarding
the clock names, and this has to be cleaned up in order to have proper
bindings.
Arnd
--
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
next prev parent reply other threads:[~2014-06-30 6:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1404050473-19669-1-git-send-email-robert.jarzmik@free.fr>
[not found] ` <1404050473-19669-1-git-send-email-robert.jarzmik-GANU6spQydw@public.gmane.org>
2014-06-29 14:01 ` [PATCH v3 2/4] usb: gadget: pxa27x_udc: add devicetree support Robert Jarzmik
2014-06-29 14:01 ` [PATCH v3 3/4] usb: gadget: pxa27x_udc device-tree documentation Robert Jarzmik
[not found] ` <1404050473-19669-3-git-send-email-robert.jarzmik-GANU6spQydw@public.gmane.org>
2014-06-30 6:58 ` Arnd Bergmann [this message]
2014-07-05 8:20 ` Robert Jarzmik
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=4540204.8qvSdV7QSr@wuerfel \
--to=arnd-r2ngtmty4d4@public.gmane.org \
--cc=balbi-l0cyMroinI0@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=robert.jarzmik-GANU6spQydw@public.gmane.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