dt-bindings: clock: add lpc32xx clock frequency output
Subsystems (2)
PATCH 2/2 dt-bindings: clock: add lpc32xx clock frequency output
From: Sylvain Lemieux <[email protected]>
This patch add an optional parameter to setup the
xtal clock frequency output.
--- Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt +3 -0
@@ -10,6 +10,9 @@ Required properties: - clock-names: list of external oscillator clock names, must contain "xtal_32k" and may have optional "xtal" +Optional properties: +- xtal,clock-output-frequency: define the "xtal" clock frequency output in Hz + Examples: /* System Control Block */
Signature · 1 line
1.8.3.1
Hi Sylvain,
Quoted 15 lines · On 09.02.2016 20:47, [email protected] wrote:
From: Sylvain Lemieux <[email protected]>
This patch add an optional parameter to setup the
xtal clock frequency output.Signed-off-by Sylvain Lemieux <[email protected]>--- Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt | 3 +++ 1 file changed, 3 insertions(+)Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt +0
-0
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt Required properties: · line 15
Quoted 6 lines
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt +3
-0@@ -10,6 +10,9 @@ Required properties: - clock-names: list of external oscillator clock names, must contain "xtal_32k" and may have optional "xtal" +Optional properties: +- xtal,clock-output-frequency: define the "xtal" clock frequency output in Hz +
this one looks wrong in sense that from patch 1/2 the property configures a PLL output clock rate, which is not an oscillator (xtal) clock rate.
I believe switching to "assigned-clock-rates" should make this change obsolete.
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt Required properties: · line 18
Quoted 4 lines
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt +0
-0Examples: /* System Control Block */
--
With best wishes,
Vladimir
Quoted 28 lines · Vladimir Zapolskiy
Hi Sylvain,
Quoted 15 lines · On 09.02.2016 20:47, [email protected] wrote:
From: Sylvain Lemieux <[email protected]>
This patch add an optional parameter to setup the
xtal clock frequency output.Signed-off-by Sylvain Lemieux <[email protected]>--- Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt | 3 +++ 1 file changed, 3 insertions(+)Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt +0
-0Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt Required properties: · line 15
Quoted 6 lines
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt +3
-0@@ -10,6 +10,9 @@ Required properties: - clock-names: list of external oscillator clock names, must contain "xtal_32k" and may have optional "xtal" +Optional properties: +- xtal,clock-output-frequency: define the "xtal" clock frequency output in Hz +this one looks wrong in sense that from patch 1/2 the property configures a PLL output clock rate, which is not an oscillator (xtal) clock rate.
Quoted 3 lines
I believe switching to "assigned-clock-rates" should make this change obsolete.
Agreed, this change is not needed;
Sylvain
Quoted 8 lines
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt Required properties: · line 18
Quoted 4 lines
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt +0
-0Examples: /* System Control Block */--
With best wishes,
Vladimir