dt-bindings: phy: drop #clock-cells from rockchip,px30-dsi-dphy
Subsystems (3)
Heiko Stuebner
maintainerPATCH RESEND 1/2 dt-bindings: phy: drop #clock-cells from rockchip,px30-dsi-dphy
From: Heiko Stuebner <[email protected]>
Further review of the dsi components for the px30 revealed that the phy shouldn't expose the pll as clock but instead handle settings via phy parameters.
As the phy binding is new and not used anywhere yet, just drop them so they don't get used.
---
Hi Kishon,
maybe suitable as a fix for 5.5-rc?
Thanks
Heiko
.../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 5 ----- 1 file changed, 5 deletions(-)
Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml +0 -5
@@ -13,9 +13,6 @@ properties: "#phy-cells": const: 0 - "#clock-cells": - const: 0 - compatible: enum: - rockchip,px30-dsi-dphy
@@ -49,7 +46,6 @@ properties: required: - "#phy-cells" - - "#clock-cells" - compatible - reg - clocks
@@ -66,7 +62,6 @@ examples: reg = <0x0 0xff2e0000 0x0 0x10000>; clocks = <&pmucru 13>, <&cru 12>; clock-names = "ref", "pclk"; - #clock-cells = <0>; resets = <&cru 12>; reset-names = "apb"; #phy-cells = <0>;
Signature · 1 line
2.23.0
Heiko Stuebner
maintainerPATCH RESEND 2/2 phy/rockchip: inno-dsidphy: generalize parameter handling
From: Heiko Stuebner <[email protected]>
During review it came to light that exposing the pll clock outside is not the right approach and struct phy_configure_opts_mipi_dphy exists just for that reason to transfer parameters to the phy.
So drop the exposed clock and rely on the phy configure options to bring in the correct rate. That way we can also just drop the open coded timing struct and default values function.
---
Hi Kishon,
maybe suitable as a fix for 5.5-rc?
Thanks
Heiko
drivers/phy/rockchip/Kconfig | 1 + .../phy/rockchip/phy-rockchip-inno-dsidphy.c | 319 ++++++------------ 2 files changed, 100 insertions(+), 220 deletions(-)
drivers/phy/rockchip/Kconfig +1 -0
@@ -39,6 +39,7 @@ config PHY_ROCKCHIP_INNO_DSIDPHY tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver" depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF select GENERIC_PHY + select GENERIC_PHY_MIPI_DPHY help Enable this to support the Rockchip MIPI/LVDS/TTL PHY with Innosilicon IP block.
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c +99 -220
433 lines not on this page · raw message
Signature · 1 line
2.23.0
Rob Herring
maintainerQuoted 14 lines · Heiko Stuebner
From: Heiko Stuebner <[email protected]>
Further review of the dsi components for the px30 revealed that the phy shouldn't expose the pll as clock but instead handle settings via phy parameters.
As the phy binding is new and not used anywhere yet, just drop them so they don't get used.
Fixes 3817c7961179 ("dt-bindings: phy: add yaml binding for rockchip,px30-dsi-dphy")Signed-off-by Heiko Stuebner <[email protected]>---
Hi Kishon,
Quoted 8 lines
maybe suitable as a fix for 5.5-rc?
Thanks
Heiko.../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 5 ----- 1 file changed, 5 deletions(-)
Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply.
If a tag was not added on purpose, please state why and what changed.
Hi Rob,
Am Montag, 16. Dezember 2019, 18:56:15 CET schrieb Rob Herring:
Quoted 24 lines · Heiko Stuebner
Quoted 14 lines
From: Heiko Stuebner <[email protected]>
Further review of the dsi components for the px30 revealed that the phy shouldn't expose the pll as clock but instead handle settings via phy parameters.
As the phy binding is new and not used anywhere yet, just drop them so they don't get used.
Fixes 3817c7961179 ("dt-bindings: phy: add yaml binding for rockchip,px30-dsi-dphy")Signed-off-by Heiko Stuebner <[email protected]>---
Hi Kishon,Quoted 8 lines
maybe suitable as a fix for 5.5-rc?
Thanks
Heiko.../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 5 ----- 1 file changed, 5 deletions(-)
Quoted 5 lines
Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply.
If a tag was not added on purpose, please state why and what changed.
sorry about that. The original response somehow did not thread correctly in my mail client, probably some fault on my side, so I've only found your mail just now by digging hard.
@Kishon, the original mail already got an
Quoted 33 lines · Heiko Stübner
Hi Rob,
Am Montag, 16. Dezember 2019, 18:56:15 CET schrieb Rob Herring:
Quoted 24 lines · Heiko Stuebner
Quoted 14 lines
From: Heiko Stuebner <[email protected]>
Further review of the dsi components for the px30 revealed that the phy shouldn't expose the pll as clock but instead handle settings via phy parameters.
As the phy binding is new and not used anywhere yet, just drop them so they don't get used.
Fixes 3817c7961179 ("dt-bindings: phy: add yaml binding for rockchip,px30-dsi-dphy")Signed-off-by Heiko Stuebner <[email protected]>---
Hi Kishon,Quoted 8 lines
maybe suitable as a fix for 5.5-rc?
Thanks
Heiko.../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 5 ----- 1 file changed, 5 deletions(-)Quoted 5 lines
Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply.
If a tag was not added on purpose, please state why and what changed.
Quoted 7 lines
sorry about that. The original response somehow did not thread correctly in my mail client, probably some fault on my side, so I've only found your mail just now by digging hard.
@Kishon, the original mail already got an
Acked-by Rob Herring <[email protected]>
merged now, Thanks!
-Kishon
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Heiko Stübner
maintainerHi Kishon,
Am Freitag, 20. Dezember 2019, 12:21:28 CET schrieb Kishon Vijay Abraham I:
Quoted 39 lines · Heiko Stübner
Quoted 37 lines
Hi Rob,
Am Montag, 16. Dezember 2019, 18:56:15 CET schrieb Rob Herring:
Quoted 24 lines · Heiko Stuebner
Quoted 14 lines
From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>
Further review of the dsi components for the px30 revealed that the phy shouldn't expose the pll as clock but instead handle settings via phy parameters.
As the phy binding is new and not used anywhere yet, just drop them so they don't get used.
Fixes 3817c7961179 ("dt-bindings: phy: add yaml binding for rockchip,px30-dsi-dphy")---
Hi Kishon,Quoted 8 lines
maybe suitable as a fix for 5.5-rc?
Thanks
Heiko.../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 5 ----- 1 file changed, 5 deletions(-)Quoted 5 lines
Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply.
If a tag was not added on purpose, please state why and what changed.
sorry about that. The original response somehow did not thread correctly in my mail client, probably some fault on my side, so I've only found your mail just now by digging hard.
Quoted 5 lines
Quoted 3 lines
@Kishon, the original mail already got an
Acked-by Rob Herring <[email protected]>merged now, Thanks!
thanks ... just to make sure, did you also see the driver changes in patch2? As I don't see them in either of your branches :-)
Thanks
Heiko
Hi,
Quoted 42 lines · Heiko Stübner
Hi Kishon,
Am Freitag, 20. Dezember 2019, 12:21:28 CET schrieb Kishon Vijay Abraham I:
Quoted 39 lines · Heiko Stübner
Quoted 37 lines
Hi Rob,
Am Montag, 16. Dezember 2019, 18:56:15 CET schrieb Rob Herring:
Quoted 24 lines · Heiko Stuebner
Quoted 14 lines
From: Heiko Stuebner <[email protected]>
Further review of the dsi components for the px30 revealed that the phy shouldn't expose the pll as clock but instead handle settings via phy parameters.
As the phy binding is new and not used anywhere yet, just drop them so they don't get used.
Fixes 3817c7961179 ("dt-bindings: phy: add yaml binding for rockchip,px30-dsi-dphy")Signed-off-by Heiko Stuebner <[email protected]>---
Hi Kishon,Quoted 8 lines
maybe suitable as a fix for 5.5-rc?
Thanks
Heiko.../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 5 ----- 1 file changed, 5 deletions(-)Quoted 5 lines
Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply.
If a tag was not added on purpose, please state why and what changed.
sorry about that. The original response somehow did not thread correctly in my mail client, probably some fault on my side, so I've only found your mail just now by digging hard.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
@Kishon, the original mail already got an
Acked-by Rob Herring <[email protected]>merged now, Thanks!
thanks ... just to make sure, did you also see the driver changes in patch2? As I don't see them in either of your branches :-)
For some reason, patch 2 of the "RESEND" series is not in my inbox. However looking at your original series, looks like this is a candidate for 5.6. I'll take patch 2 from your original series.
Thanks
Kishon
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel