From: mkl@pengutronix.de (Marc Kleine-Budde)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] net: flexcan: clock-frequency is optional for device tree probe
Date: Wed, 27 Jun 2012 10:47:24 +0200 [thread overview]
Message-ID: <4FEAC89C.3000405@pengutronix.de> (raw)
In-Reply-To: <1340700563-8386-2-git-send-email-shawn.guo@linaro.org>
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@linaro.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120627/063fb563/attachment.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Shawn Guo <shawn.guo@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] net: flexcan: clock-frequency is optional for device tree probe
Date: Wed, 27 Jun 2012 10:47:24 +0200 [thread overview]
Message-ID: <4FEAC89C.3000405@pengutronix.de> (raw)
In-Reply-To: <1340700563-8386-2-git-send-email-shawn.guo@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]
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@linaro.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.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 |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2012-06-27 8:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 8:49 [PATCH 0/2] flexcan driver updates Shawn Guo
2012-06-26 8:49 ` Shawn Guo
2012-06-26 8:49 ` [PATCH 1/2] net: flexcan: clock-frequency is optional for device tree probe Shawn Guo
2012-06-26 8:49 ` Shawn Guo
2012-06-27 8:47 ` Marc Kleine-Budde [this message]
2012-06-27 8:47 ` Marc Kleine-Budde
2012-06-27 8:56 ` Shawn Guo
2012-06-27 8:56 ` Shawn Guo
2012-06-27 8:59 ` Marc Kleine-Budde
2012-06-27 8:59 ` Marc Kleine-Budde
2012-06-26 8:49 ` [PATCH 2/2] net: flexcan: add transceiver switch gpio support Shawn Guo
2012-06-26 8:49 ` Shawn Guo
2012-06-26 16:55 ` [PATCH 0/2] flexcan driver updates Oliver Hartkopp
2012-06-26 16:55 ` Oliver Hartkopp
2012-06-27 0:26 ` Shawn Guo
2012-06-27 0:26 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FEAC89C.3000405@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.