* [PATCH] ARM: dts: i.MX35: Fix can support
@ 2015-07-22 15:01 Denis Carikli
2015-07-22 18:04 ` Uwe Kleine-König
0 siblings, 1 reply; 8+ messages in thread
From: Denis Carikli @ 2015-07-22 15:01 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Denis Carikli <denis@eukrea.com>
---
arch/arm/boot/dts/imx35.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi
index b6478e9..e6540b5 100644
--- a/arch/arm/boot/dts/imx35.dtsi
+++ b/arch/arm/boot/dts/imx35.dtsi
@@ -286,8 +286,8 @@
can1: can at 53fe4000 {
compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
reg = <0x53fe4000 0x1000>;
- clocks = <&clks 33>;
- clock-names = "ipg";
+ clocks = <&clks 33>, <&clks 33>;
+ clock-names = "ipg", "per";
interrupts = <43>;
status = "disabled";
};
@@ -295,8 +295,8 @@
can2: can at 53fe8000 {
compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
reg = <0x53fe8000 0x1000>;
- clocks = <&clks 34>;
- clock-names = "ipg";
+ clocks = <&clks 34>, <&clks 34>;
+ clock-names = "ipg", "per";
interrupts = <44>;
status = "disabled";
};
--
2.4.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] ARM: dts: i.MX35: Fix can support
2015-07-22 15:01 [PATCH] ARM: dts: i.MX35: Fix can support Denis Carikli
@ 2015-07-22 18:04 ` Uwe Kleine-König
2015-07-23 8:31 ` [PATCH v2] " Denis Carikli
0 siblings, 1 reply; 8+ messages in thread
From: Uwe Kleine-König @ 2015-07-22 18:04 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
On Wed, Jul 22, 2015 at 05:01:30PM +0200, Denis Carikli wrote:
> Signed-off-by: Denis Carikli <denis@eukrea.com>
something like:
Since commit 23147826523 ("asjksad dsajksdkljf") the can driver
requires a dt nodes to have a second clock. Add them to imx35 to
fix probing the flex can driver on the respective platforms.
in the changelog would be nice.
Best regards,
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] ARM: dts: i.MX35: Fix can support.
2015-07-22 18:04 ` Uwe Kleine-König
@ 2015-07-23 8:31 ` Denis Carikli
2015-07-23 8:58 ` Stefan Wahren
2015-07-25 3:38 ` Shawn Guo
0 siblings, 2 replies; 8+ messages in thread
From: Denis Carikli @ 2015-07-23 8:31 UTC (permalink / raw)
To: linux-arm-kernel
Since commit 3d42a379b6fa5b46058e3302b1802b29f64865bb
("can: flexcan: add 2nd clock to support imx53 and newer")
the can driver requires a dt nodes to have a second clock.
Add them to imx35 to fix probing the flex can driver on the
respective platforms.
Signed-off-by: Denis Carikli <denis@eukrea.com>
---
arch/arm/boot/dts/imx35.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi
index b6478e9..e6540b5 100644
--- a/arch/arm/boot/dts/imx35.dtsi
+++ b/arch/arm/boot/dts/imx35.dtsi
@@ -286,8 +286,8 @@
can1: can at 53fe4000 {
compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
reg = <0x53fe4000 0x1000>;
- clocks = <&clks 33>;
- clock-names = "ipg";
+ clocks = <&clks 33>, <&clks 33>;
+ clock-names = "ipg", "per";
interrupts = <43>;
status = "disabled";
};
@@ -295,8 +295,8 @@
can2: can at 53fe8000 {
compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
reg = <0x53fe8000 0x1000>;
- clocks = <&clks 34>;
- clock-names = "ipg";
+ clocks = <&clks 34>, <&clks 34>;
+ clock-names = "ipg", "per";
interrupts = <44>;
status = "disabled";
};
--
2.4.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2] ARM: dts: i.MX35: Fix can support.
2015-07-23 8:31 ` [PATCH v2] " Denis Carikli
@ 2015-07-23 8:58 ` Stefan Wahren
2015-07-23 9:29 ` Marc Kleine-Budde
2015-07-25 3:38 ` Shawn Guo
1 sibling, 1 reply; 8+ messages in thread
From: Stefan Wahren @ 2015-07-23 8:58 UTC (permalink / raw)
To: linux-arm-kernel
Hi Denis,
[ add Marc to CC ]
Am 23.07.2015 um 10:31 schrieb Denis Carikli:
> Since commit 3d42a379b6fa5b46058e3302b1802b29f64865bb
> ("can: flexcan: add 2nd clock to support imx53 and newer")
> the can driver requires a dt nodes to have a second clock.
> Add them to imx35 to fix probing the flex can driver on the
> respective platforms.
could you describe the problem more in detail or do you have a log in
case the probing failed?
According to Marc's commit this fix shouldn't be necessary.
Regards
Stefan
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] ARM: dts: i.MX35: Fix can support.
2015-07-23 8:58 ` Stefan Wahren
@ 2015-07-23 9:29 ` Marc Kleine-Budde
2015-07-23 9:48 ` Stefan Wahren
0 siblings, 1 reply; 8+ messages in thread
From: Marc Kleine-Budde @ 2015-07-23 9:29 UTC (permalink / raw)
To: linux-arm-kernel
On 07/23/2015 10:58 AM, Stefan Wahren wrote:
> Hi Denis,
>
> [ add Marc to CC ]
>
> Am 23.07.2015 um 10:31 schrieb Denis Carikli:
>> Since commit 3d42a379b6fa5b46058e3302b1802b29f64865bb
>> ("can: flexcan: add 2nd clock to support imx53 and newer")
>> the can driver requires a dt nodes to have a second clock.
>> Add them to imx35 to fix probing the flex can driver on the
>> respective platforms.
>
> could you describe the problem more in detail or do you have a log in
> case the probing failed?
>
> According to Marc's commit this fix shouldn't be necessary.
In the pre DT era and without a clock name, a single clock is
sufficient. But with clock name or DT with clock-name you need both a
"ipg" and a "per" clock. The imx35.dtsi was added with one clock only,
so it was probably never working on mx35 with DT.
Marc
--
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: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150723/5dca3f0e/attachment.sig>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] ARM: dts: i.MX35: Fix can support.
2015-07-23 9:29 ` Marc Kleine-Budde
@ 2015-07-23 9:48 ` Stefan Wahren
2015-07-23 9:54 ` Marc Kleine-Budde
0 siblings, 1 reply; 8+ messages in thread
From: Stefan Wahren @ 2015-07-23 9:48 UTC (permalink / raw)
To: linux-arm-kernel
Am 23.07.2015 um 11:29 schrieb Marc Kleine-Budde:
> On 07/23/2015 10:58 AM, Stefan Wahren wrote:
>> Hi Denis,
>>
>> [ add Marc to CC ]
>>
>> Am 23.07.2015 um 10:31 schrieb Denis Carikli:
>>> Since commit 3d42a379b6fa5b46058e3302b1802b29f64865bb
>>> ("can: flexcan: add 2nd clock to support imx53 and newer")
>>> the can driver requires a dt nodes to have a second clock.
>>> Add them to imx35 to fix probing the flex can driver on the
>>> respective platforms.
>> could you describe the problem more in detail or do you have a log in
>> case the probing failed?
>>
>> According to Marc's commit this fix shouldn't be necessary.
> In the pre DT era and without a clock name, a single clock is
> sufficient. But with clock name or DT with clock-name you need both a
> "ipg" and a "per" clock. The imx35.dtsi was added with one clock only,
> so it was probably never working on mx35 with DT.
Okay the other plaforms like mx25 and mx28 already had 2 clocks defined.
But why doesn't say the binding doc nothing about those required clocks?
Stefan
>
> Marc
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] ARM: dts: i.MX35: Fix can support.
2015-07-23 9:48 ` Stefan Wahren
@ 2015-07-23 9:54 ` Marc Kleine-Budde
0 siblings, 0 replies; 8+ messages in thread
From: Marc Kleine-Budde @ 2015-07-23 9:54 UTC (permalink / raw)
To: linux-arm-kernel
On 07/23/2015 11:48 AM, Stefan Wahren wrote:
> Am 23.07.2015 um 11:29 schrieb Marc Kleine-Budde:
>> On 07/23/2015 10:58 AM, Stefan Wahren wrote:
>>> Hi Denis,
>>>
>>> [ add Marc to CC ]
>>>
>>> Am 23.07.2015 um 10:31 schrieb Denis Carikli:
>>>> Since commit 3d42a379b6fa5b46058e3302b1802b29f64865bb
>>>> ("can: flexcan: add 2nd clock to support imx53 and newer")
>>>> the can driver requires a dt nodes to have a second clock.
>>>> Add them to imx35 to fix probing the flex can driver on the
>>>> respective platforms.
>>> could you describe the problem more in detail or do you have a log in
>>> case the probing failed?
>>>
>>> According to Marc's commit this fix shouldn't be necessary.
>> In the pre DT era and without a clock name, a single clock is
>> sufficient. But with clock name or DT with clock-name you need both a
>> "ipg" and a "per" clock. The imx35.dtsi was added with one clock only,
>> so it was probably never working on mx35 with DT.
>
> Okay the other plaforms like mx25 and mx28 already had 2 clocks defined.
>
> But why doesn't say the binding doc nothing about those required clocks?
Good question - Dokumentation bug...
Marc
--
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: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150723/c0a6912e/attachment.sig>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] ARM: dts: i.MX35: Fix can support.
2015-07-23 8:31 ` [PATCH v2] " Denis Carikli
2015-07-23 8:58 ` Stefan Wahren
@ 2015-07-25 3:38 ` Shawn Guo
1 sibling, 0 replies; 8+ messages in thread
From: Shawn Guo @ 2015-07-25 3:38 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jul 23, 2015 at 10:31:12AM +0200, Denis Carikli wrote:
> Since commit 3d42a379b6fa5b46058e3302b1802b29f64865bb
> ("can: flexcan: add 2nd clock to support imx53 and newer")
> the can driver requires a dt nodes to have a second clock.
> Add them to imx35 to fix probing the flex can driver on the
> respective platforms.
>
> Signed-off-by: Denis Carikli <denis@eukrea.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-07-25 3:38 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 15:01 [PATCH] ARM: dts: i.MX35: Fix can support Denis Carikli
2015-07-22 18:04 ` Uwe Kleine-König
2015-07-23 8:31 ` [PATCH v2] " Denis Carikli
2015-07-23 8:58 ` Stefan Wahren
2015-07-23 9:29 ` Marc Kleine-Budde
2015-07-23 9:48 ` Stefan Wahren
2015-07-23 9:54 ` Marc Kleine-Budde
2015-07-25 3:38 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).