* [PATCH] dt-bindings: phy: add rk3576 hdptx phy @ 2024-12-24 9:19 Andy Yan 2024-12-27 8:55 ` Krzysztof Kozlowski 2024-12-27 8:55 ` Krzysztof Kozlowski 0 siblings, 2 replies; 7+ messages in thread From: Andy Yan @ 2024-12-24 9:19 UTC (permalink / raw) To: heiko Cc: cristian.ciocaltea, detlev.casanova, krzk+dt, vkoul, kishon, robh, sebastian.reichel, linux-phy, devicetree, linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan From: Andy Yan <andy.yan@rock-chips.com> The HDPTX PHY on rk3576 is compatible with it on rk3588. Add compatible for it. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> --- .../devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml index 84fe59dbcf48..364db2049ce2 100644 --- a/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml +++ b/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml @@ -11,8 +11,11 @@ maintainers: properties: compatible: - enum: - - rockchip,rk3588-hdptx-phy + oneOf: + - const: rockchip,rk3588-hdptx-phy + - items: + - enum: + - rockchip,rk3576-hdptx-phy reg: maxItems: 1 -- 2.34.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: phy: add rk3576 hdptx phy 2024-12-24 9:19 [PATCH] dt-bindings: phy: add rk3576 hdptx phy Andy Yan @ 2024-12-27 8:55 ` Krzysztof Kozlowski 2024-12-27 10:46 ` Andy Yan 2024-12-27 8:55 ` Krzysztof Kozlowski 1 sibling, 1 reply; 7+ messages in thread From: Krzysztof Kozlowski @ 2024-12-27 8:55 UTC (permalink / raw) To: Andy Yan Cc: heiko, cristian.ciocaltea, detlev.casanova, krzk+dt, vkoul, kishon, robh, sebastian.reichel, linux-phy, devicetree, linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan On Tue, Dec 24, 2024 at 05:19:13PM +0800, Andy Yan wrote: > From: Andy Yan <andy.yan@rock-chips.com> > > The HDPTX PHY on rk3576 is compatible with it on > rk3588. Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit): https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597 > > Add compatible for it. "Add compatible for the HDPTX PHY on rk3576, which is fully compatible with foo bar." One sentence. > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > --- > > .../devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml > index 84fe59dbcf48..364db2049ce2 100644 > --- a/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml > @@ -11,8 +11,11 @@ maintainers: > > properties: > compatible: > - enum: > - - rockchip,rk3588-hdptx-phy > + oneOf: > + - const: rockchip,rk3588-hdptx-phy > + - items: Why items? > + - enum: Why enum? > + - rockchip,rk3576-hdptx-phy So that's just enum with previous entry... but you said compatible, yet nothing is here. Test your patches - DTS will fail on this. Driver as well (assuming you expressed properly compatibility). Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re:Re: [PATCH] dt-bindings: phy: add rk3576 hdptx phy 2024-12-27 8:55 ` Krzysztof Kozlowski @ 2024-12-27 10:46 ` Andy Yan 2024-12-28 9:36 ` Krzysztof Kozlowski 0 siblings, 1 reply; 7+ messages in thread From: Andy Yan @ 2024-12-27 10:46 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: heiko, cristian.ciocaltea, detlev.casanova, krzk+dt, vkoul, kishon, robh, sebastian.reichel, linux-phy, devicetree, linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan Hi Krzysztof, At 2024-12-27 16:55:27, "Krzysztof Kozlowski" <krzk@kernel.org> wrote: >On Tue, Dec 24, 2024 at 05:19:13PM +0800, Andy Yan wrote: >> From: Andy Yan <andy.yan@rock-chips.com> >> >> The HDPTX PHY on rk3576 is compatible with it on >> rk3588. > >Please wrap commit message according to Linux coding style / submission >process (neither too early nor over the limit): >https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597 > >> >> Add compatible for it. > >"Add compatible for the HDPTX PHY on rk3576, which is fully compatible >with foo bar." > >One sentence. Will do in V2, thanks. > >> >> Signed-off-by: Andy Yan <andy.yan@rock-chips.com> >> --- >> >> .../devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml | 7 +++++-- >> 1 file changed, 5 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml >> index 84fe59dbcf48..364db2049ce2 100644 >> --- a/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml >> +++ b/Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml >> @@ -11,8 +11,11 @@ maintainers: >> >> properties: >> compatible: >> - enum: >> - - rockchip,rk3588-hdptx-phy >> + oneOf: >> + - const: rockchip,rk3588-hdptx-phy >> + - items: > >Why items? > >> + - enum: > >Why enum? > >> + - rockchip,rk3576-hdptx-phy > >So that's just enum with previous entry... but you said compatible, yet >nothing is here. Test your patches - DTS will fail on this. Driver as >well (assuming you expressed properly compatibility). Is this the right way to write it ?: properties: compatible: - enum: - - rockchip,rk3588-hdptx-phy + oneOf: + - enum: + - rockchip,rk3588-hdptx-phy + - items: + - enum: + - rockchip,rk3576-hdptx-phy + - const: rockchip,rk3588-hdptx-phy > >Best regards, >Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: phy: add rk3576 hdptx phy 2024-12-27 10:46 ` Andy Yan @ 2024-12-28 9:36 ` Krzysztof Kozlowski 0 siblings, 0 replies; 7+ messages in thread From: Krzysztof Kozlowski @ 2024-12-28 9:36 UTC (permalink / raw) To: Andy Yan Cc: heiko, cristian.ciocaltea, detlev.casanova, krzk+dt, vkoul, kishon, robh, sebastian.reichel, linux-phy, devicetree, linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan On 27/12/2024 11:46, Andy Yan wrote: >> >>> + - rockchip,rk3576-hdptx-phy >> >> So that's just enum with previous entry... but you said compatible, yet >> nothing is here. Test your patches - DTS will fail on this. Driver as >> well (assuming you expressed properly compatibility). > > Is this the right way to write it ?: > > properties: > compatible: > - enum: > - - rockchip,rk3588-hdptx-phy > + oneOf: > + - enum: > + - rockchip,rk3588-hdptx-phy > + - items: > + - enum: > + - rockchip,rk3576-hdptx-phy > + - const: rockchip,rk3588-hdptx-phy Yes, assuming they are compatible. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: phy: add rk3576 hdptx phy 2024-12-24 9:19 [PATCH] dt-bindings: phy: add rk3576 hdptx phy Andy Yan 2024-12-27 8:55 ` Krzysztof Kozlowski @ 2024-12-27 8:55 ` Krzysztof Kozlowski 2024-12-27 20:08 ` Heiko Stübner 1 sibling, 1 reply; 7+ messages in thread From: Krzysztof Kozlowski @ 2024-12-27 8:55 UTC (permalink / raw) To: Andy Yan Cc: heiko, cristian.ciocaltea, detlev.casanova, krzk+dt, vkoul, kishon, robh, sebastian.reichel, linux-phy, devicetree, linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan On Tue, Dec 24, 2024 at 05:19:13PM +0800, Andy Yan wrote: > From: Andy Yan <andy.yan@rock-chips.com> > > The HDPTX PHY on rk3576 is compatible with it on > rk3588. > > Add compatible for it. > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > --- > > .../devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) Also: where are any users of this binding? We don't take bindings without *UPSTREAM* users. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: phy: add rk3576 hdptx phy 2024-12-27 8:55 ` Krzysztof Kozlowski @ 2024-12-27 20:08 ` Heiko Stübner 2024-12-28 7:00 ` Andy Yan 0 siblings, 1 reply; 7+ messages in thread From: Heiko Stübner @ 2024-12-27 20:08 UTC (permalink / raw) To: Andy Yan, Krzysztof Kozlowski Cc: cristian.ciocaltea, detlev.casanova, krzk+dt, vkoul, kishon, robh, sebastian.reichel, linux-phy, devicetree, linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan Hi Krzysztof, Andy, Am Freitag, 27. Dezember 2024, 09:55:59 CET schrieb Krzysztof Kozlowski: > On Tue, Dec 24, 2024 at 05:19:13PM +0800, Andy Yan wrote: > > From: Andy Yan <andy.yan@rock-chips.com> > > > > The HDPTX PHY on rk3576 is compatible with it on > > rk3588. > > > > Add compatible for it. > > > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > > --- > > > > .../devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml | 7 +++++-- > > 1 file changed, 5 insertions(+), 2 deletions(-) > > Also: where are any users of this binding? > > We don't take bindings without *UPSTREAM* users. Andy, can you do a (separate) DTS series that binds all the display stuff together on one rk3576 board? (iommu, hdptxphy, vop, hdmi) Depending on how the driver sides go, this may be need to be revised at the end, but should hopefully satisfy that "show a user" thing. I guess Kever's EVB-series [0] might be a good base to build upon, with it being a Rockchip EVB? For people reading along, that whole display chain consists of: - iommu [1] - core display-controller additions for the rk3576 [2] - this hdptxphy binding - additions for the dw-hdmi-qp glue [3] Heiko [0] https://lore.kernel.org/lkml/20241220101551.3505917-1-kever.yang@rock-chips.com/ [1] https://lore.kernel.org/lkml/20240920094947.7566-1-andyshrk@163.com/ [2] https://lore.kernel.org/lkml/20241214081831.3330714-1-andyshrk@163.com/ [3} https://lore.kernel.org/lkml/20241225103741.364597-1-andyshrk@163.com/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re:Re: [PATCH] dt-bindings: phy: add rk3576 hdptx phy 2024-12-27 20:08 ` Heiko Stübner @ 2024-12-28 7:00 ` Andy Yan 0 siblings, 0 replies; 7+ messages in thread From: Andy Yan @ 2024-12-28 7:00 UTC (permalink / raw) To: Heiko Stübner Cc: Krzysztof Kozlowski, cristian.ciocaltea, detlev.casanova, krzk+dt, vkoul, kishon, robh, sebastian.reichel, linux-phy, devicetree, linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan Hi Heikio, Krzysztof, At 2024-12-28 04:08:41, "Heiko Stübner" <heiko@sntech.de> wrote: >Hi Krzysztof, Andy, > >Am Freitag, 27. Dezember 2024, 09:55:59 CET schrieb Krzysztof Kozlowski: >> On Tue, Dec 24, 2024 at 05:19:13PM +0800, Andy Yan wrote: >> > From: Andy Yan <andy.yan@rock-chips.com> >> > >> > The HDPTX PHY on rk3576 is compatible with it on >> > rk3588. >> > >> > Add compatible for it. >> > >> > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> >> > --- >> > >> > .../devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml | 7 +++++-- >> > 1 file changed, 5 insertions(+), 2 deletions(-) >> >> Also: where are any users of this binding? >> >> We don't take bindings without *UPSTREAM* users. > >Andy, can you do a (separate) DTS series that binds all the display stuff >together on one rk3576 board? (iommu, hdptxphy, vop, hdmi) > >Depending on how the driver sides go, this may be need to be revised at >the end, but should hopefully satisfy that "show a user" thing. > >I guess Kever's EVB-series [0] might be a good base to build upon, with it >being a Rockchip EVB? As EVB patch series is still WIP, I will use rk3576-armsom-sige5.dts which is already in mainline as the base to collect all display related dts。 > > >For people reading along, that whole display chain consists of: >- iommu [1] >- core display-controller additions for the rk3576 [2] >- this hdptxphy binding >- additions for the dw-hdmi-qp glue [3] > >Heiko > > >[0] https://lore.kernel.org/lkml/20241220101551.3505917-1-kever.yang@rock-chips.com/ >[1] https://lore.kernel.org/lkml/20240920094947.7566-1-andyshrk@163.com/ >[2] https://lore.kernel.org/lkml/20241214081831.3330714-1-andyshrk@163.com/ >[3} https://lore.kernel.org/lkml/20241225103741.364597-1-andyshrk@163.com/ > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-12-28 9:38 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-12-24 9:19 [PATCH] dt-bindings: phy: add rk3576 hdptx phy Andy Yan 2024-12-27 8:55 ` Krzysztof Kozlowski 2024-12-27 10:46 ` Andy Yan 2024-12-28 9:36 ` Krzysztof Kozlowski 2024-12-27 8:55 ` Krzysztof Kozlowski 2024-12-27 20:08 ` Heiko Stübner 2024-12-28 7:00 ` Andy Yan
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).