Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1404023 > unrolled thread
| Started by | Caesar Wang <wxt@rock-chips.com> |
|---|---|
| First post | 2016-05-20 02:00 +0200 |
| Last post | 2016-05-20 15:20 +0200 |
| Articles | 6 — 4 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 Caesar Wang <wxt@rock-chips.com> - 2016-05-20 02:00 +0200
Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 Shawn Lin <shawn.lin@kernel-upstream.org> - 2016-05-20 14:40 +0200
Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 Caesar Wang <wxt@rock-chips.com> - 2016-05-20 15:00 +0200
Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 15:10 +0200
Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 Heiko Stuebner <heiko@sntech.de> - 2016-05-20 15:00 +0200
Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-20 15:20 +0200
| From | Caesar Wang <wxt@rock-chips.com> |
|---|---|
| Date | 2016-05-20 02:00 +0200 |
| Subject | [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 |
| Message-ID | <rAG1b-6u9-9@gated-at.bofh.it> |
That's seem the incorrect string to match the spi driver.
Fixes commit f629fcfab2cd
("ARM: dts: rockchip: support the spi for rk3036")
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: linux-rockchip@lists.infradead.org
---
Changes in v2: None
arch/arm/boot/dts/rk3036.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi
index d0f4bb7..a30700a 100644
--- a/arch/arm/boot/dts/rk3036.dtsi
+++ b/arch/arm/boot/dts/rk3036.dtsi
@@ -431,7 +431,7 @@
};
spi: spi@20074000 {
- compatible = "rockchip,rockchip-spi";
+ compatible = "rockchip,rk3036-spi";
reg = <0x20074000 0x1000>;
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
clocks =<&cru PCLK_SPI>, <&cru SCLK_SPI>;
--
2.7.4
[toc] | [next] | [standalone]
| From | Shawn Lin <shawn.lin@kernel-upstream.org> |
|---|---|
| Date | 2016-05-20 14:40 +0200 |
| Subject | Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 |
| Message-ID | <rARSG-5u5-17@gated-at.bofh.it> |
| In reply to | #1404023 |
在 2016/5/20 7:56, Caesar Wang 写道:
> That's seem the incorrect string to match the spi driver.
>
Will it break the backward compatibility for some dtb if not
falling back to "rockchip,rockchip-spi" ?
> Fixes commit f629fcfab2cd
> ("ARM: dts: rockchip: support the spi for rk3036")
>
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: linux-rockchip@lists.infradead.org
>
> ---
>
> Changes in v2: None
>
> arch/arm/boot/dts/rk3036.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi
> index d0f4bb7..a30700a 100644
> --- a/arch/arm/boot/dts/rk3036.dtsi
> +++ b/arch/arm/boot/dts/rk3036.dtsi
> @@ -431,7 +431,7 @@
> };
>
> spi: spi@20074000 {
> - compatible = "rockchip,rockchip-spi";
> + compatible = "rockchip,rk3036-spi";
> reg = <0x20074000 0x1000>;
> interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
> clocks =<&cru PCLK_SPI>, <&cru SCLK_SPI>;
>
[toc] | [prev] | [next] | [standalone]
| From | Caesar Wang <wxt@rock-chips.com> |
|---|---|
| Date | 2016-05-20 15:00 +0200 |
| Subject | Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 |
| Message-ID | <rASc3-5AE-37@gated-at.bofh.it> |
| In reply to | #1404400 |
于 2016年05月20日 20:35, Shawn Lin 写道:
> 在 2016/5/20 7:56, Caesar Wang 写道:
>> That's seem the incorrect string to match the spi driver.
>>
>
> Will it break the backward compatibility for some dtb if not
> falling back to "rockchip,rockchip-spi" ?
The rk3036 shouldn't work if you read the driver/spi/spi-rockchip.c.
since the "rockchip,rockchip-spi" is *not* exist in linux kernel.
..
static const struct of_device_id rockchip_spi_dt_match[] = {
{ .compatible = "rockchip,rk3066-spi", },
{ .compatible = "rockchip,rk3188-spi", },
{ .compatible = "rockchip,rk3288-spi", },
{ .compatible = "rockchip,rk3399-spi", },
{ },
}
..
-Caesar
>
>> Fixes commit f629fcfab2cd
>> ("ARM: dts: rockchip: support the spi for rk3036")
>>
>> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
>> Cc: Heiko Stuebner <heiko@sntech.de>
>> Cc: linux-rockchip@lists.infradead.org
>>
>> ---
>>
>> Changes in v2: None
>>
>> arch/arm/boot/dts/rk3036.dtsi | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/boot/dts/rk3036.dtsi
>> b/arch/arm/boot/dts/rk3036.dtsi
>> index d0f4bb7..a30700a 100644
>> --- a/arch/arm/boot/dts/rk3036.dtsi
>> +++ b/arch/arm/boot/dts/rk3036.dtsi
>> @@ -431,7 +431,7 @@
>> };
>>
>> spi: spi@20074000 {
>> - compatible = "rockchip,rockchip-spi";
>> + compatible = "rockchip,rk3036-spi";
>> reg = <0x20074000 0x1000>;
>> interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
>> clocks =<&cru PCLK_SPI>, <&cru SCLK_SPI>;
>>
>
>
>
>
--
caesar wang | software engineer | wxt@rock-chip.com
[toc] | [prev] | [next] | [standalone]
| From | Shawn Lin <shawn.lin@rock-chips.com> |
|---|---|
| Date | 2016-05-20 15:10 +0200 |
| Subject | Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 |
| Message-ID | <rASlH-5T9-25@gated-at.bofh.it> |
| In reply to | #1404405 |
在 2016/5/20 20:57, Caesar Wang 写道:
>
> 于 2016年05月20日 20:35, Shawn Lin 写道:
>> 在 2016/5/20 7:56, Caesar Wang 写道:
>>> That's seem the incorrect string to match the spi driver.
>>>
>>
>> Will it break the backward compatibility for some dtb if not
>> falling back to "rockchip,rockchip-spi" ?
>
> The rk3036 shouldn't work if you read the driver/spi/spi-rockchip.c.
> since the "rockchip,rockchip-spi" is *not* exist in linux kernel.
>
okay, so that means we take "rockchip,rockchip-spi" from local branch
by mistake?
> ..
> static const struct of_device_id rockchip_spi_dt_match[] = {
> { .compatible = "rockchip,rk3066-spi", },
> { .compatible = "rockchip,rk3188-spi", },
> { .compatible = "rockchip,rk3288-spi", },
> { .compatible = "rockchip,rk3399-spi", },
> { },
> }
> ..
>
>
> -Caesar
>
>>
>>> Fixes commit f629fcfab2cd
>>> ("ARM: dts: rockchip: support the spi for rk3036")
>>>
>>> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
>>> Cc: Heiko Stuebner <heiko@sntech.de>
>>> Cc: linux-rockchip@lists.infradead.org
>>>
>>> ---
>>>
>>> Changes in v2: None
>>>
>>> arch/arm/boot/dts/rk3036.dtsi | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/arm/boot/dts/rk3036.dtsi
>>> b/arch/arm/boot/dts/rk3036.dtsi
>>> index d0f4bb7..a30700a 100644
>>> --- a/arch/arm/boot/dts/rk3036.dtsi
>>> +++ b/arch/arm/boot/dts/rk3036.dtsi
>>> @@ -431,7 +431,7 @@
>>> };
>>>
>>> spi: spi@20074000 {
>>> - compatible = "rockchip,rockchip-spi";
>>> + compatible = "rockchip,rk3036-spi";
>>> reg = <0x20074000 0x1000>;
>>> interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
>>> clocks =<&cru PCLK_SPI>, <&cru SCLK_SPI>;
>>>
>>
>>
>>
>>
>
--
Best Regards
Shawn Lin
[toc] | [prev] | [next] | [standalone]
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Date | 2016-05-20 15:00 +0200 |
| Message-ID | <rASc4-5AE-63@gated-at.bofh.it> |
| In reply to | #1404400 |
Am Freitag, 20. Mai 2016, 20:35:53 schrieb Shawn Lin:
> 在 2016/5/20 7:56, Caesar Wang 写道:
> > That's seem the incorrect string to match the spi driver.
>
> Will it break the backward compatibility for some dtb if not
> falling back to "rockchip,rockchip-spi" ?
in what dtb did you see "rockchip,rockchip-spi"?
I.e. it isn't part of any current _mainline_ devicetree files.
Heiko
>
> > Fixes commit f629fcfab2cd
> > ("ARM: dts: rockchip: support the spi for rk3036")
> >
> > Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> > Cc: Heiko Stuebner <heiko@sntech.de>
> > Cc: linux-rockchip@lists.infradead.org
> >
> > ---
> >
> > Changes in v2: None
> >
> > arch/arm/boot/dts/rk3036.dtsi | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/rk3036.dtsi
> > b/arch/arm/boot/dts/rk3036.dtsi index d0f4bb7..a30700a 100644
> > --- a/arch/arm/boot/dts/rk3036.dtsi
> > +++ b/arch/arm/boot/dts/rk3036.dtsi
> > @@ -431,7 +431,7 @@
> >
> > };
> >
> > spi: spi@20074000 {
> >
> > - compatible = "rockchip,rockchip-spi";
> > + compatible = "rockchip,rk3036-spi";
> >
> > reg = <0x20074000 0x1000>;
> > interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
> > clocks =<&cru PCLK_SPI>, <&cru SCLK_SPI>;
[toc] | [prev] | [next] | [standalone]
| From | Shawn Lin <shawn.lin@rock-chips.com> |
|---|---|
| Date | 2016-05-20 15:20 +0200 |
| Subject | Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036 |
| Message-ID | <rASvn-5Wx-1@gated-at.bofh.it> |
| In reply to | #1404407 |
On 2016/5/20 20:58, Heiko Stuebner wrote:
> Am Freitag, 20. Mai 2016, 20:35:53 schrieb Shawn Lin:
>> 在 2016/5/20 7:56, Caesar Wang 写道:
>>> That's seem the incorrect string to match the spi driver.
>>
>> Will it break the backward compatibility for some dtb if not
>> falling back to "rockchip,rockchip-spi" ?
>
> in what dtb did you see "rockchip,rockchip-spi"?
I'm not 100% sure, but I remember we toke this name on local
branch for rk3036 when we were developing this Soc.
> I.e. it isn't part of any current _mainline_ devicetree files.
>
Caesar, Could you check our develop-3.10 branch to see if it does
exist?
Anyway, "rockchip,rockchip-spi" isn't a part of mainline dt property.
>
> Heiko
>
>>
>>> Fixes commit f629fcfab2cd
>>> ("ARM: dts: rockchip: support the spi for rk3036")
>>>
>>> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
>>> Cc: Heiko Stuebner <heiko@sntech.de>
>>> Cc: linux-rockchip@lists.infradead.org
>>>
>>> ---
>>>
>>> Changes in v2: None
>>>
>>> arch/arm/boot/dts/rk3036.dtsi | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/arm/boot/dts/rk3036.dtsi
>>> b/arch/arm/boot/dts/rk3036.dtsi index d0f4bb7..a30700a 100644
>>> --- a/arch/arm/boot/dts/rk3036.dtsi
>>> +++ b/arch/arm/boot/dts/rk3036.dtsi
>>> @@ -431,7 +431,7 @@
>>>
>>> };
>>>
>>> spi: spi@20074000 {
>>>
>>> - compatible = "rockchip,rockchip-spi";
>>> + compatible = "rockchip,rk3036-spi";
>>>
>>> reg = <0x20074000 0x1000>;
>>> interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
>>> clocks =<&cru PCLK_SPI>, <&cru SCLK_SPI>;
>
>
--
Best Regards
Shawn Lin
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web