All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K
@ 2021-04-23  1:52 xiaochuan mao
  2021-04-23  2:37 ` zhangqing
  2021-04-23 11:47 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 5+ messages in thread
From: xiaochuan mao @ 2021-04-23  1:52 UTC (permalink / raw)
  To: Rob Herring, Thomas Bogendoerfer, Qing Zhang, Jiaxun Yang
  Cc: devicetree, linux-mips, linux-kernel, xiaochuan mao

from Loongson-2K1000 user manual know that under pci bus
the device num is 4, function number is 2 and register is 0x2200
is ohci. the ohci interrupt number is 51. because Loongson-2K1000 has
64 interrupt sources, 0-31 correspond to the device tree liointc0 device
 node, and the other correspond to liointc1 node. so it should be
number 19 correspon to liointc1.

Signed-off-by: xiaochuan mao <maoxiaochuan@loongson.cn>
---
 arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
index fd0e99bfe57b..89f079097f32 100644
--- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
+++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
@@ -125,14 +125,14 @@
 				interrupt-parent = <&liointc1>;
 			};
 
-			ehci@4,2 {
+			ohci@4,2 {
 				compatible = "pci0014,7a24.0",
 						   "pci0014,7a24",
 						   "pciclass0c0310",
 						   "pciclass0c03";
 
 				reg = <0x2200 0x0 0x0 0x0 0x0>;
-				interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
+				interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
 				interrupt-parent = <&liointc1>;
 			};
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K
  2021-04-23  1:52 [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K xiaochuan mao
@ 2021-04-23  2:37 ` zhangqing
       [not found]   ` <tencent_A816CB57EADAD19FD3FFC04C3598E81B5608@qq.com>
  2021-04-23 11:47 ` Thomas Bogendoerfer
  1 sibling, 1 reply; 5+ messages in thread
From: zhangqing @ 2021-04-23  2:37 UTC (permalink / raw)
  To: xiaochuan mao, Rob Herring, Thomas Bogendoerfer, Jiaxun Yang
  Cc: devicetree, linux-mips, linux-kernel


On 04/23/2021 09:52 AM, xiaochuan mao wrote:
> from Loongson-2K1000 user manual know that under pci bus
> the device num is 4, function number is 2 and register is 0x2200
> is ohci. the ohci interrupt number is 51. because Loongson-2K1000 has
> 64 interrupt sources, 0-31 correspond to the device tree liointc0 device
>   node, and the other correspond to liointc1 node. so it should be
> number 19 correspon to liointc1.
>
> Signed-off-by: xiaochuan mao <maoxiaochuan@loongson.cn>
>
Hi, xiaozhuan


Thanks for the patch, this is my mistake.

Can you correct the GPL-3.0 of this file to GPL-2.0 by the way?

Thanks

-Qing


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 回复: [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K
       [not found]   ` <tencent_A816CB57EADAD19FD3FFC04C3598E81B5608@qq.com>
@ 2021-04-23  4:02     ` Jiaxun Yang
  2021-04-23  8:19       ` Xiaochuan Mao
  0 siblings, 1 reply; 5+ messages in thread
From: Jiaxun Yang @ 2021-04-23  4:02 UTC (permalink / raw)
  To: maoxiaochuan, Qing Zhang, xiaochuan mao, Rob Herring,
	Thomas Bogendoerfer
  Cc: devicetree, linux-mips, linux-kernel



On Fri, Apr 23, 2021, at 10:47 AM, maoxiaochuan wrote:
> Ok, I will send a another patch for it.

Please correct your email client setup.


https://www.kernel.org/doc/html/latest/process/email-clients.html

>  
> 祝好
>  
> 
> 
> ------------------ 原始邮件 ------------------
> *发件人:* "zhangqing"<zhangqing@loongson.cn>; 
> *发送时间:* 2021年4月23日(星期五) 上午10:37
> *收件人:* "xiaochuan mao"<maoxiaochuan@loongson.cn>; "Rob 
> Herring"<robh+dt@kernel.org>; "Thomas 
> Bogendoerfer"<tsbogend@alpha.franken.de>; "Jiaxun 
> Yang"<jiaxun.yang@flygoat.com>; 
> *抄送:* "devicetree"<devicetree@vger.kernel.org>; 
> "linux-mips"<linux-mips@vger.kernel.org>; 
> "linux-kernel"<linux-kernel@vger.kernel.org>; 
> *主题:* Re: [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci 
> for Loongson-2K
> 
> 
> On 04/23/2021 09:52 AM, xiaochuan mao wrote:
> > from Loongson-2K1000 user manual know that under pci bus
> > the device num is 4, function number is 2 and register is 0x2200
> > is ohci. the ohci interrupt number is 51. because Loongson-2K1000 has
> > 64 interrupt sources, 0-31 correspond to the device tree liointc0 device
> >   node, and the other correspond to liointc1 node. so it should be
> > number 19 correspon to liointc1.
> >
> > Signed-off-by: xiaochuan mao <maoxiaochuan@loongson.cn>
> >
> Hi, xiaozhuan
> 
> 
> Thanks for the patch, this is my mistake.
> 
> Can you correct the GPL-3.0 of this file to GPL-2.0 by the way?
> 
> Thanks
> 
> -Qing


-- 
- Jiaxun

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 回复: [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K
  2021-04-23  4:02     ` 回复: " Jiaxun Yang
@ 2021-04-23  8:19       ` Xiaochuan Mao
  0 siblings, 0 replies; 5+ messages in thread
From: Xiaochuan Mao @ 2021-04-23  8:19 UTC (permalink / raw)
  To: Jiaxun Yang, Qing Zhang, Rob Herring, Thomas Bogendoerfer
  Cc: devicetree, linux-mips, linux-kernel


On 2021/4/23 下午12:02, Jiaxun Yang wrote:
>
> On Fri, Apr 23, 2021, at 10:47 AM, maoxiaochuan wrote:
>> Ok, I will send a another patch for it.
> Please correct your email client setup.
>
>
> https://www.kernel.org/doc/html/latest/process/email-clients.html
thanks for your suggest.
>>  
>> 祝好
>>  
>>
>>
>> ------------------ 原始邮件 ------------------
>> *发件人:* "zhangqing"<zhangqing@loongson.cn>; 
>> *发送时间:* 2021年4月23日(星期五) 上午10:37
>> *收件人:* "xiaochuan mao"<maoxiaochuan@loongson.cn>; "Rob 
>> Herring"<robh+dt@kernel.org>; "Thomas 
>> Bogendoerfer"<tsbogend@alpha.franken.de>; "Jiaxun 
>> Yang"<jiaxun.yang@flygoat.com>; 
>> *抄送:* "devicetree"<devicetree@vger.kernel.org>; 
>> "linux-mips"<linux-mips@vger.kernel.org>; 
>> "linux-kernel"<linux-kernel@vger.kernel.org>; 
>> *主题:* Re: [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci 
>> for Loongson-2K
>>
>>
>> On 04/23/2021 09:52 AM, xiaochuan mao wrote:
>>> from Loongson-2K1000 user manual know that under pci bus
>>> the device num is 4, function number is 2 and register is 0x2200
>>> is ohci. the ohci interrupt number is 51. because Loongson-2K1000 has
>>> 64 interrupt sources, 0-31 correspond to the device tree liointc0 device
>>>   node, and the other correspond to liointc1 node. so it should be
>>> number 19 correspon to liointc1.
>>>
>>> Signed-off-by: xiaochuan mao <maoxiaochuan@loongson.cn>
>>>
>> Hi, xiaozhuan
>>
>>
>> Thanks for the patch, this is my mistake.
>>
>> Can you correct the GPL-3.0 of this file to GPL-2.0 by the way?
>>
>> Thanks
>>
>> -Qing
>
-- 
--xiaochuan


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K
  2021-04-23  1:52 [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K xiaochuan mao
  2021-04-23  2:37 ` zhangqing
@ 2021-04-23 11:47 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Bogendoerfer @ 2021-04-23 11:47 UTC (permalink / raw)
  To: xiaochuan mao
  Cc: Rob Herring, Qing Zhang, Jiaxun Yang, devicetree, linux-mips,
	linux-kernel

On Fri, Apr 23, 2021 at 09:52:34AM +0800, xiaochuan mao wrote:
> from Loongson-2K1000 user manual know that under pci bus
> the device num is 4, function number is 2 and register is 0x2200
> is ohci. the ohci interrupt number is 51. because Loongson-2K1000 has
> 64 interrupt sources, 0-31 correspond to the device tree liointc0 device
>  node, and the other correspond to liointc1 node. so it should be
> number 19 correspon to liointc1.
> 
> Signed-off-by: xiaochuan mao <maoxiaochuan@loongson.cn>
> ---
>  arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-23 12:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23  1:52 [PATCH] MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K xiaochuan mao
2021-04-23  2:37 ` zhangqing
     [not found]   ` <tencent_A816CB57EADAD19FD3FFC04C3598E81B5608@qq.com>
2021-04-23  4:02     ` 回复: " Jiaxun Yang
2021-04-23  8:19       ` Xiaochuan Mao
2021-04-23 11:47 ` Thomas Bogendoerfer

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.