From: Vinod Koul <vkoul@kernel.org>
To: Andre Przywara <andre.przywara@arm.com>
Cc: "Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Jernej Škrabec" <jernej.skrabec@gmail.com>,
"Chen-Yu Tsai" <wens@csie.org>,
"Samuel Holland" <samuel@sholland.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Icenowy Zheng" <uwu@icenowy.me>,
soc@kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-phy@lists.infradead.org,
linux-usb@vger.kernel.org
Subject: Re: [PATCH v3 03/11] phy: sun4i-usb: add support for the USB PHY on F1C100s SoC
Date: Thu, 24 Nov 2022 23:19:30 +0530 [thread overview]
Message-ID: <Y3+uqtNe/tafRwp2@matsya> (raw)
In-Reply-To: <20221115175708.3e69dcd8@donnerap.cambridge.arm.com>
On 15-11-22, 17:57, Andre Przywara wrote:
> On Tue, 15 Nov 2022 17:29:09 +0100
> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:
>
> Hi,
>
> > On 15/11/2022 17:19, Andre Przywara wrote:
> > > On Tue, 15 Nov 2022 16:00:54 +0100
> > > Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:
> > >
> > > Hi,
> > >
> > >> On 15/11/2022 11:44, Andre Przywara wrote:
> > >>> On Tue, 15 Nov 2022 11:03:24 +0100
> > >>> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:
> > >>>
> > >>> Hi,
> > >>>
> > >>>> On 15/11/2022 07:01, Jernej Škrabec wrote:
> > >>>>> Dne četrtek, 10. november 2022 ob 08:35:39 CET je Vinod Koul napisal(a):
> > >>>>>> On 06-11-22, 15:48, Andre Przywara wrote:
> > >>>>>>> From: Icenowy Zheng <uwu@icenowy.me>
> > >>>>>>>
> > >>>>>>> The F1C100s SoC has one USB OTG port connected to a MUSB controller.
> > >>>>>>>
> > >>>>>>> Add support for its USB PHY.
> > >>>>>>
> > >>>>>> This does not apply for me, please rebase and resend
> > >>>>>>
> > >>>>>> Also, consider splitting phy patches from this. I dont think there is
> > >>>>>> any dependency
> > >>>>>
> > >>>>> DT patches in this series depend on functionality added here.
> > >>>>>
> > >>>>
> > >>>> DTS always goes separately from driver changes because it is a hardware
> > >>>> description. Depending on driver means you have potential ABI break, so
> > >>>> it is already a warning sign.
> > >>>
> > >>> We understand that ;-)
> > >>> What Jernej meant was that the DTS patches at the end depend on patch
> > >>> 01/10, which adds to the PHY binding doc. I am not sure if Vinod's
> > >>> suggestion was about splitting off 01/10, 03/10, and 10/10, or just the
> > >>> two latter which touch the driver.
> > >>>
> > >>> I can split off 03/10 and 10/10, rebased on top of linux-phy.git/next, and
> > >>> send that to Vinod.
> > >>> Then I would keep 01/10 in a respin of this series here, to satisfy the
> > >>> dependency of the later DTS patches, and Vinod can pick that one patch from
> > >>> there?
> > >>
> > >> There is no hard dependency of DTS on bindings. You can split these (and
> > >> some maintainers prefer that way) and in DTS patches just provide the
> > >> link to the bindings, saying it is in progress.
> > >
> > > But that breaks "make dtbs_check", doesn't it?
> >
> > The check will be broken anyway because binding goes via driver
> > subsystem and DTS goes via arm-soc.
> >
> > If both make to the linux-next and next release, then it's not a problem.
> >
> > >
> > > I would think that the DT bits - bindings first, then DTS files using it -
> > > should be bundled. This is how I imagine the future(TM), where DTs and
> > > bindings live outside the kernel repo.
> >
> > Yes, that's preferred. Therefore in DTS patch you say the binding is not
> > merged and it is here - lore link.
> >
> > >
> > >> The bindings should be however kept with driver changes as it goes the
> > >> same way.
> > >
> > > I understand that the bindings describe the contract the driver acts on,
> > > but going forward I think driver changes would need to come later, then
> > > (since they will live in a separate repo at some day)?
> > > Maybe pointing to the binding changes in progress?
> >
> > Later as one commit later - yes. Later as other option - not really, why?
> >
> > > So with a separate repo we would actually need to upstream just the
> > > bindings first, then could push driver changes and .dts files
> > > independently?
> >
> > There is no separate repo, so we talk about Linux case now.
> >
> > > And for now it looks like we are stuck with putting everything in one
> > > series, to make both checkpatch and dtbs_check happy.
> >
> > You should rather make maintainers happy :) and here one asked to split.
>
> Well, he asked to split off the USB PHY patches from the rest of the
> series, since there is some conflict with the recently merged H616 USB PHY
> patches. It is still unclear to me whether this split includes the binding
> patch, or just the two patches touching the actual code.
That mean split off USB phy and binding patches from rest and send for
review
DTS or anything else should not be part of that
--
~Vinod
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-11-24 17:50 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-06 15:48 [PATCH v3 00/11] ARM: suniv: USB and PopStick board support Andre Przywara
2022-11-06 15:48 ` [PATCH v3 01/11] dt-bindings: phy: add binding document for Allwinner F1C100s USB PHY Andre Przywara
2022-11-13 22:32 ` Samuel Holland
2022-11-06 15:48 ` [PATCH v3 02/11] dt-bindings: usb: sunxi-musb: add F1C100s MUSB compatible string Andre Przywara
2022-11-13 22:34 ` Samuel Holland
2022-11-06 15:48 ` [PATCH v3 03/11] phy: sun4i-usb: add support for the USB PHY on F1C100s SoC Andre Przywara
2022-11-07 17:18 ` Jernej Škrabec
2022-11-10 7:35 ` Vinod Koul
2022-11-15 6:01 ` Jernej Škrabec
2022-11-15 10:03 ` Krzysztof Kozlowski
2022-11-15 10:44 ` Andre Przywara
2022-11-15 15:00 ` Krzysztof Kozlowski
2022-11-15 16:19 ` Andre Przywara
2022-11-15 16:29 ` Krzysztof Kozlowski
2022-11-15 17:57 ` Andre Przywara
2022-11-24 17:49 ` Vinod Koul [this message]
2022-11-24 22:13 ` Andre Przywara
2022-11-06 15:48 ` [PATCH v3 04/11] musb: sunxi: add support for the F1C100s MUSB controller Andre Przywara
2022-11-06 15:48 ` [PATCH v3 05/11] ARM: dts: suniv: add USB-related device nodes Andre Przywara
2022-11-07 17:19 ` Jernej Škrabec
2022-11-06 15:48 ` [PATCH v3 06/11] ARM: dts: suniv: licheepi-nano: enable USB Andre Przywara
2022-11-07 17:19 ` Jernej Škrabec
2022-11-06 15:48 ` [PATCH v3 07/11] dt-bindings: vendor-prefixes: add Source Parts Andre Przywara
2022-11-06 15:48 ` [PATCH v3 08/11] dt-binding: arm: sunxi: add compatible strings for PopStick v1.1 Andre Przywara
2022-11-06 15:48 ` [PATCH v3 09/11] ARM: dts: suniv: add device tree " Andre Przywara
2022-11-07 17:35 ` Jernej Škrabec
2022-11-15 16:47 ` Andre Przywara
2022-11-13 22:41 ` Samuel Holland
2022-11-14 0:17 ` Andre Przywara
2022-11-14 0:41 ` Samuel Holland
2022-11-06 15:48 ` [PATCH v3 10/11] phy: sun4i-usb: Replace types with explicit quirk flags Andre Przywara
2022-11-06 15:54 ` Icenowy Zheng
2022-11-10 7:34 ` Vinod Koul
2022-11-10 11:40 ` Icenowy Zheng
2022-11-10 12:07 ` Andre Przywara
2022-11-13 23:52 ` Samuel Holland
2022-11-14 0:20 ` Andre Przywara
2022-11-07 17:44 ` Jernej Škrabec
2022-11-06 15:48 ` [PATCH v3 11/11] usb: musb: sunxi: Introduce config struct Andre Przywara
2022-11-07 17:56 ` Jernej Škrabec
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=Y3+uqtNe/tafRwp2@matsya \
--to=vkoul@kernel.org \
--cc=andre.przywara@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux-usb@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=samuel@sholland.org \
--cc=soc@kernel.org \
--cc=uwu@icenowy.me \
--cc=wens@csie.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).