[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FEAC89C.3000405@pengutronix.de>
Date: Wed, 27 Jun 2012 10:47:24 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Shawn Guo <shawn.guo@...aro.org>
CC: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/2] net: flexcan: clock-frequency is optional for device
tree probe
On 06/26/2012 10:49 AM, Shawn Guo wrote:
> The property clock-frequency is optional for device tree probe. When
> it's absent, the flexcan driver will try to get the frequency from clk
> system by calling clk_get_rate.
>
> Signed-off-by: Shawn Guo <shawn.guo@...aro.org>
Acked-by: Marc Kleine-Budde <mkl@...gutronix.de>
As Oliver pointed out, this doesn't go through the net tree.
Marc
> ---
> .../devicetree/bindings/net/can/fsl-flexcan.txt | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
> index f31b686..8ff324e 100644
> --- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
> +++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
> @@ -11,6 +11,9 @@ Required properties:
>
> - reg : Offset and length of the register set for this device
> - interrupts : Interrupt tuple for this device
> +
> +Optional properties:
> +
> - clock-frequency : The oscillator frequency driving the flexcan device
>
> Example:
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (263 bytes)
Powered by blists - more mailing lists