All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 06/35] musb: sunxi: Add OTG device clkgate and reset for H3/H5
Date: Mon, 14 May 2018 11:05:20 +0200	[thread overview]
Message-ID: <20180514090520.mio3s37fxqfb3nfw@flea> (raw)
In-Reply-To: <839a26a0-2153-ff83-f554-e54376e3cf1a@denx.de>

On Sat, May 12, 2018 at 02:12:43PM +0200, Marek Vasut wrote:
> >>>>> Since the first post of these patches, you've asked to rework in a
> >>>>> significant manner the driver already, including doing a new PHY
> >>>>> driver to use the device model, and making other substantial changes
> >>>>> to it.
> >>>>
> >>>> Well yes, because it was crap at the beginning and I don't want to see
> >>>> the crap accumulating. It has become much better since, as you can see I
> >>>> only had a few minor comments.
> >>>
> >>> And that's totally your role, but at the same time, the point of this
> >>> series is not to fix the whole world, but rather add support for one
> >>> particular SoC that is using pretty much the same design than any of
> >>> our other SoCs' USB phy before. And here we are, 35 patches and
> >>> counting.
> >>
> >> If I said "yes" to every single patch adding just a minor additional bit
> >> of crap to the codebase, we'd be in the state in which we were in 2012,
> >> sinking under the boatload of ifdeffery and ad-hoc solutions. So I think
> >> some push is needed to avoid that situation.
> > 
> > I don't have any issue with the end goal, and your willingness to have
> > the code ported over to new APIs. But if from one day to another every
> > maintainer goes like this, this will simply not fly. This is not just
> > about having just a simple clock driver, but also a pinctrl one, and
> > converting all the consumer drivers to the device model, oh, and btw,
> > the DM doesn't fit in the SPL anymore, so we would probably need to do
> > an SPL driver as well. Probably with some painful Kconfig conversions
> > all over the tree even.
> 
> You are massively exaggerating right there. I recently did such a
> conversion for a platform and it didn't take nearly as much effort as
> you describe and/or it could be well segmented.

rmobile? The scale isn't quite the same. It looks like there's 4
similar SoCs, with a dozen of boards supported. We have a dozen of
SoCs supported, and around 120-130 boards. The clock tree looks much
simpler too, and it seems like it has less drivers.

And I don't really know what the constraints are on the SPL side, but
it's really tight on our end. So maybe I'm exagerating, but you're
definitely understating it too.

> > This is no longer a simple request, but some huge spaghetti changes
> > that need to be done, mostly by volunteers.
> 
> I am not sure this "volunteers" argument really works in this
> discussion, since this looks like a commercial contribution to me.

I have no idea to be honest. The maintainance however is volunteering
on my side, and I'm getting a bit tired to see that every one has an
agenda without any consideration about who has the time and resources
to actually do it.

> But if you want to discuss volunteering, did you ever consider that I
> also do the USB maintaining in my free time and the bulk of
> communication is random people demanding random stuff ? I also don't see
> people coming up saying "oh, hey, I'll spend some of my own free time to
> help out maintaining this piece of code". It tends to make people
> stressed and burnt out ...

I definitely understand and appreciate that, trust me. But the point
here is that you were asking too much, so I guess my point is that you
should spend *less* time reviewing stuff, which tends to make people
less stressed :)

Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180514/5da6c311/attachment.sig>

  reply	other threads:[~2018-05-14  9:05 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07  7:33 [U-Boot] [PATCH v7 00/35] phy: sunxi: Add Allwinner sun4i USB PHY Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 01/35] usb: sunxi: Simplify ccm reg base code Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 02/35] musb: sunxi: Add proper macros instead of numericals Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 03/35] musb: sunxi: Use simple way to fill musb_hdrc pdata Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 04/35] musb: sunxi: Add fifo config Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 05/35] sunxi: clock: Fix clock gating for H3/H5/A64 Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 06/35] musb: sunxi: Add OTG device clkgate and reset for H3/H5 Jagan Teki
2018-05-07 11:47   ` Marek Vasut
2018-05-07 14:52     ` Maxime Ripard
2018-05-07 15:32       ` Marek Vasut
2018-05-07 20:11         ` Maxime Ripard
2018-05-07 20:55           ` Marek Vasut
2018-05-11 21:29             ` Maxime Ripard
2018-05-12 12:12               ` Marek Vasut
2018-05-14  9:05                 ` Maxime Ripard [this message]
2018-05-14  9:13                   ` Marek Vasut
2018-05-18 11:51                     ` Maxime Ripard
2018-05-18 11:55                       ` Marek Vasut
2018-05-18 15:32                         ` Maxime Ripard
2018-05-08  6:26     ` Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 07/35] musb: sunxi: Use BIT instead of numerical shift Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 08/35] sunxi: clock: Fix OHCI clock gating for H3/H5 Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 09/35] musb: sunxi: Add support for H3/H5A64 Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 10/35] phy: Add Allwinner A64 USB PHY driver Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 11/35] phy: sun4i-usb: Add id_detect and vbus_detect ops Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 12/35] phy: sun4i-usb: Add H3/H5 PHY config Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 13/35] phy: sun4i-usb: Add V3S " Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 14/35] phy: sun4i-usb: Add A83T USB " Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 15/35] phy: sun4i-usb: Add A10/A13/A20 " Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 16/35] phy: sun4i-usb: Add A31 " Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 17/35] phy: sun4i-usb: Add A33 USB " Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 18/35] phy: sun4i-usb: Add A23 " Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 19/35] device-tree-bindings: phy: Sync sun4i-usb-phy bindings Jagan Teki
2018-05-07 11:49   ` Marek Vasut
2018-05-07  7:33 ` [U-Boot] [PATCH v7 20/35] board: sunxi: Use generic-phy for board_usb_cable_connected Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 21/35] phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 22/35] usb: sunxi: Switch to use generic-phy Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 23/35] sunxi: Drop legacy usb_phy.c Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 24/35] sunxi: h3: Sync OTG and HCI nodes from Linux DT Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 25/35] arm64: allwinner: a64: bananapi-m64: Sync usb_otg node from Linux Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 26/35] configs: bananapi-m64: Enable USB OTG peripheral mode Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 27/35] ARM: dts: sun8i: a83t: Sync usbphy node from Linux Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 28/35] arm64: allwinner: a64: bananapi-m64: Sync usb host nodes " Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 29/35] ARM: dts: sun8i-h3: bananapi-m2-plus: Sync usb otg " Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 30/35] configs: bananapi-m2-plus: Enable USB OTG peripheral mode Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 31/35] arm64: allwinner: h5: orangepi-pc2: Order nodes in alphabetic Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 32/35] arm64: allwinner: h5: orangepi-pc2: Sync usb otg nodes from Linux Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 33/35] configs: orangepi-pc2: Enable USB OTG peripheral mode Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 34/35] arm64: allwinner: h5: orangepi-prime: Sync usb otg nodes from Linux Jagan Teki
2018-05-07  7:33 ` [U-Boot] [PATCH v7 35/35] configs: orangepi-prime: Enable USB OTG peripheral mode Jagan Teki
2018-05-08  6:34 ` [U-Boot] [PATCH v7 00/35] phy: sunxi: Add Allwinner sun4i USB PHY Jagan Teki
2018-05-15  8:46 ` Jun Nie
2018-05-15 12:49   ` Jagan Teki
2018-05-22 12:40     ` [U-Boot] [linux-sunxi] " Jagan Teki
2018-05-22 12:44       ` Marek Vasut

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=20180514090520.mio3s37fxqfb3nfw@flea \
    --to=maxime.ripard@bootlin.com \
    --cc=u-boot@lists.denx.de \
    /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.