All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Peter Seiderer <ps.report@gmx.net>
Cc: buildroot@buildroot.org, Martin Bark <martin@barkynet.com>,
	Mahyar Koshkouei <mahyar.koshkouei@gmail.com>,
	Arthur Courtel <arthur.courtel@smile.fr>
Subject: Re: [Buildroot] [PATCH v5 2/6] board/raspberrypicm4io: enable RTC and USB overlays
Date: Wed, 20 Oct 2021 21:47:46 +0200	[thread overview]
Message-ID: <20211020194746.GC2400@scaer> (raw)
In-Reply-To: <20211017225422.2e0348ce@gmx.net>

On 2021-10-17 22:54 +0200, Peter Seiderer spake thusly:
> On Sun, 17 Oct 2021 22:27:17 +0200, "Yann E. MORIN" <yann.morin.1998@free.fr> wrote:
> > On 2021-09-21 22:21 +0200, Peter Seiderer spake thusly:
> > > - add RTC and USB dtoverlay entries to config_cm4io.txt
> > Why specifically the RTC and USB? And why only on the CM, and not the
> > other boards?
> The config is not for the CM4 standalone, but specific to the
> CM4 IO Board, equipped (as the only RPi original one) with an
> RTC chip....

Ah, OK, that makes sense, then.

> > IIRC, dwc2 is an OTG chip, too, and it is also wired on the rpi0. Well,
> > by experience, I know that the rpi0 *can* do USB slave/OTG.
> And as far as I know the USB is enabled with all RPi's with
> exception of the CM4: 'The  USB  interface  is  disabled  to  save  power  by
> default  on  the  CM4' (see [1] page 5)
> 
> According to [2]:
> 
> 	Name:   dwc-otg
> 	Info:   Selects the dwc_otg USB controller driver which has fiq support. This
> 	        is the default on all except the Pi Zero which defaults to dwc2.
> 	Load:   dtoverlay=dwc-otg
> 	Params: <None>
> 
> 
> 	Name:   dwc2
> 	Info:   Selects the dwc2 USB controller driver
> 	Load:   dtoverlay=dwc2,<param>=<val>
> 	Params: dr_mode                 Dual role mode: "host", "peripheral" or "otg"
> 
> 	        g-rx-fifo-size          Size of rx fifo size in gadget mode
> 
> 	        g-np-tx-fifo-size       Size of non-periodic tx fifo size in gadget
> 	                                mode


> Would interpret 'defaults to dwc2' on Pi Zero as enabled by default...

Yes, it is enabled by default, as a host-only controller, not OTG, which
has to be explictly requested.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2021-10-20 19:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-21 20:21 [Buildroot] [PATCH v5 1/6] package/rpi-firmware: rework boot/config file handling Peter Seiderer
2021-09-21 20:21 ` [Buildroot] [PATCH v5 2/6] board/raspberrypicm4io: enable RTC and USB overlays Peter Seiderer
2021-10-17 20:27   ` Yann E. MORIN
2021-10-17 20:54     ` Peter Seiderer
2021-10-20 19:47       ` Yann E. MORIN [this message]
2022-01-13 22:13   ` Thomas Petazzoni
2021-09-21 20:21 ` [Buildroot] [PATCH v5 3/6] board/raspberrypicm4io-64: " Peter Seiderer
2022-01-13 22:13   ` Thomas Petazzoni
2021-09-21 20:21 ` [Buildroot] [PATCH v5 4/6] package/rpi-firmware: add option for the debug set of start/fixup boot files Peter Seiderer
2021-10-17 20:22   ` Yann E. MORIN
2021-09-21 20:21 ` [Buildroot] [PATCH v5 5/6] package/rpi-firmware: convert dtb overlay install loop to make-level foreach loop Peter Seiderer
2021-10-17 20:22   ` Yann E. MORIN
2021-09-21 20:21 ` [Buildroot] [PATCH v5 6/6] package/rpi-wifi-firmware: provide convenience links for RPi3A+, RPi3B+ and RPi4B firmware configuration files Peter Seiderer
2021-10-17 20:23   ` Yann E. MORIN
2021-10-17 20:21 ` [Buildroot] [PATCH v5 1/6] package/rpi-firmware: rework boot/config file handling Yann E. MORIN

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=20211020194746.GC2400@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=arthur.courtel@smile.fr \
    --cc=buildroot@buildroot.org \
    --cc=mahyar.koshkouei@gmail.com \
    --cc=martin@barkynet.com \
    --cc=ps.report@gmx.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.