dt-bindings: display: stm32: correct clock-names in dsi panel example
Subsystems (4)
PATCH 1/1 dt-bindings: display: stm32: correct clock-names in dsi panel example
In the dsi panel example, clock names in the "clock-names" field have been swapped:
* "pclk" (peripheral clock) is <&rcc 1 CLK_F469_DSI> on stm32f4
* "ref" (dsi phy pll ref clock) is <&clk_hse> on stm32f4
--- Documentation/devicetree/bindings/display/st,stm32-ltdc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/display/st,stm32-ltdc.txt +1 -1
@@ -98,7 +98,7 @@ Example 2: DSI panel compatible = "st,stm32-dsi"; reg = <0x40016c00 0x800>; clocks = <&rcc 1 CLK_F469_DSI>, <&clk_hse>; - clock-names = "ref", "pclk"; + clock-names = "pclk", "ref"; resets = <&rcc STM32F4_APB2_RESET(DSI)>; reset-names = "apb";
Signature · 6 lines
2.15.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 15 lines · Philippe Cornu
In the dsi panel example, clock names in the "clock-names" field have been swapped:
* "pclk" (peripheral clock) is <&rcc 1CLK_F469_DSI> on stm32f4
* "ref" (dsi phy pll ref clock) is <&clk_hse> on stm32f4Signed-off-by Philippe Cornu <[email protected]>--- Documentation/devicetree/bindings/display/st,stm32-ltdc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/display/st,stm32-ltdc.txt +0
-0
Documentation/devicetree/bindings/display/st,stm32-ltdc.txt Example 2: DSI panel · line 101
Quoted 5 lines
Documentation/devicetree/bindings/display/st,stm32-ltdc.txt +1
-1@@ -98,7 +98,7 @@ Example 2: DSI panel compatible = "st,stm32-dsi"; reg = <0x40016c00 0x800>; clocks = <&rcc 1 CLK_F469_DSI>, <&clk_hse>; - clock-names = "ref", "pclk"; + clock-names = "pclk", "ref";
There is no way to tell they are reversed because pclk is not even documented. Please fix that too.
Quoted 6 lines
Documentation/devicetree/bindings/display/st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IGFsbCANCm1hbmRhdG9yeSBwcm9wZXJ0aWVzICYgbm9kZXMsIHBsZWFzZSBy ZWZlciB0byB0aGUgcmVsYXRlZCBkb2N1bWVudGF0aW9uIA0KaW4gWzVdIi4NCg0KRG8geW91IHRo aW5rIGl0IGlzIGNsZWFyIGVub3VnaD8NCg0KTWFueSB0aGFua3MsDQpQaGlsaXBwZSA6LSkNCg0K Pj4gICAgICAgICAgICAgICAgICAgICAgICAgIHJlc2V0cyA9IDwmcmNjIFNUTTMyRjRfQVBCMl9S RVNFVChEU0kpPjsNCj4+ICAgICAgICAgICAgICAgICAgICAgICAgICByZXNldC1uYW1lcyA9ICJh cGIiOw0KPj4NCj4+IC0tDQo+PiAyLjE1LjENCj4+
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 29 lines · Philippe CORNU
Hi Rob,
Quoted 11 lines · Rob Herring
Quoted 10 lines · Philippe Cornu
In the dsi panel example, clock names in the "clock-names" field have been swapped:
* "pclk" (peripheral clock) is <&rcc 1CLK_F469_DSI> on stm32f4
* "ref" (dsi phy pll ref clock) is <&clk_hse> on stm32f4Signed-off-by Philippe Cornu <[email protected]>--- Documentation/devicetree/bindings/display/st,stm32-ltdc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 14 lines
Documentation/devicetree/bindings/display/st,stm32-ltdc.txt Example 2: DSI panel · line 101
Quoted 10 lines
Documentation/devicetree/bindings/display/st,stm32-ltdc.txt +1
-1@@ -98,7 +98,7 @@ Example 2: DSI panel compatible = "st,stm32-dsi"; reg = <0x40016c00 0x800>; clocks = <&rcc 1 CLK_F469_DSI>, <&clk_hse>; - clock-names = "ref", "pclk"; + clock-names = "pclk", "ref";There is no way to tell they are reversed because pclk is not even documented. Please fix that too.
Quoted 4 lines
Many thanks for your review.
pclk is already described in the generic part (
Documentation/devicetree/bindings/display/bridge/dw_mipi_dsi.txt).
Ah, okay.
Quoted 6 lines
In st,stm32-ltdc.txt (specific part), I have documented: "For all mandatory properties & nodes, please refer to the related documentation in [5]".
Do you think it is clear enough?
Yes.
Please resend both patches and I'll apply.
Rob