Re: [PATCH v2 2/4] spi: Add devicetree bindings documentation for Loongson SPI

2020-12-08 Thread zhangqing
Hi Sergei Shtylyov, On 12/08/2020 04:40 PM, Sergei Shtylyov wrote: Hello! On 08.12.2020 10:44, Qing Zhang wrote: Add spi-ls7a binding documentation. Signed-off-by: Qing Zhang --- Documentation/devicetree/bindings/spi/spi-ls7a.txt | 31 ++ 1 file changed, 31 inserti

Re: [PATCH v2 2/4] spi: Add devicetree bindings documentation for Loongson SPI

2020-12-08 Thread zhangqing
On 12/08/2020 10:48 PM, Sergei Shtylyov wrote: On 12/8/20 1:47 PM, zhangqing wrote: Add spi-ls7a binding documentation. Signed-off-by: Qing Zhang --- Documentation/devicetree/bindings/spi/spi-ls7a.txt | 31 ++ 1 file changed, 31 insertions(+) create mode

Re: [PATCH v2 2/4] spi: Add devicetree bindings documentation for Loongson SPI

2020-12-08 Thread zhangqing
On 12/08/2020 09:58 PM, Mark Brown wrote: On Tue, Dec 08, 2020 at 06:47:10PM +0800, zhangqing wrote: On 12/08/2020 04:40 PM, Sergei Shtylyov wrote: +Required properties: +- #interrupts: No hardware interrupt. You say it's a required prop, yet yuoe example doesn't have it...

Re: [PATCH v4 2/4] spi: ls7a: Add YAML schemas

2020-12-25 Thread zhangqing
Hi,Jiaxun Thank you for your reply. I will also delete the num chipelects attribute in the device tree. And I will send v5 in the soon. Thanks, -Qing On 12/26/2020 11:31 AM, Jiaxun Yang wrote: 在 2020/12/25 下午6:35, Qing Zhang 写道: Switch the DT binding to a YAML schema to enable the DT valid

Re: [PATCH v4 1/4] spi: LS7A: Add Loongson LS7A SPI controller driver support

2020-12-25 Thread zhangqing
Hi,Huacai Thank you for your reply and suggestion . I will remove blank lines and send v5 in the soon. Thanks, -Qing On 12/26/2020 12:28 PM, Huacai Chen wrote: Hi, Qing On Fri, Dec 25, 2020 at 6:40 PM Qing Zhang wrote: The SPI controller has the following characteristics: - Full-duplex

Re: [PATCH v4 2/4] spi: ls7a: Add YAML schemas

2020-12-25 Thread zhangqing
Hi,Sergei Thank you for your reply and suggestion . I will use extra indentation levels and send v5 in the soon. Thanks, -Qing On 12/25/2020 08:19 PM, Sergei Shtylyov wrote: On 12/25/20 1:35 PM, Qing Zhang wrote: Switch the DT binding to a YAML schema to enable the DT validation. Signed-

Re: [PATCH v5 1/4] spi: LS7A: Add Loongson LS7A SPI controller driver support

2020-12-27 Thread zhangqing
Hi, Huacai On 12/28/2020 08:32 AM, Huacai Chen wrote: Hi, Qing, On Sat, Dec 26, 2020 at 5:13 PM Qing Zhang wrote: The SPI controller has the following characteristics: - Full-duplex synchronous serial data transmission - Support up to 4 variable length byte transmission - Main mode support -

Re: [PATCH v5 0/7] Add basic support for Loongson-2K1000

2021-03-20 Thread zhangqing
ping On 03/15/2021 03:49 PM, Qing Zhang wrote: These patches support single-core DTS boot to the serial port login interface, which can be operated using conventional commands. I have successfully tested it on the Loongson 2K1000 machine. pmon: http://cgit.loongnix.org/cgit/pmon-loongson3/ N

Re: [PATCH] MIPS: Loongson64: enable CONFIG_USB_SERIAL_PL2303

2021-03-29 Thread zhangqing
On 03/30/2021 09:48 AM, Jiaxun Yang wrote: On Mon, Mar 29, 2021, at 3:15 PM, Qing Zhang wrote: When using the Loongson-3A4000 machine for serial port debugging, there is no /dev/ttyUSB* output, which makes the serial port unavailable, For convenience, we open this configuration. zhangqing

Re: [PATCH] MIPS: Loongson64: Add Loongson-2K1000 reset support

2021-04-14 Thread zhangqing
On 04/14/2021 08:17 PM, Jiaxun Yang wrote: On Wed, Apr 14, 2021, at 9:26 AM, Qing Zhang wrote: Add power management register operations to support reboot and poweroff. Signed-off-by: Qing Zhang No that's not what we intended to do. Please add a devicetree node for pm block. Hi, jiaxun T

Re: [PATCH v2 1/4] spi: LS7A: Add Loongson LS7A SPI controller driver support

2020-12-08 Thread zhangqing
Hi Brown, Thank you for your suggestions, these are achievable, I will send v3 in the soon. Before sending v3, I would like to trouble you to see if this is correct. It has been tested locally. On 12/08/2020 09:56 PM, Mark Brown wrote: On Tue, Dec 08, 2020 at 03:44:24PM +0800, Qing Zhang w

Re: [PATCH 1/3] spi: Loongson: Add Loongson 3A+7A SPI controller driver support

2020-11-23 Thread zhangqing
Hi Mark, Thank you for your suggestion, I will do it and send the v2 in the future. Thanks, Qing On 11/23/2020 09:10 PM, Mark Brown wrote: On Mon, Nov 23, 2020 at 05:19:06PM +0800, Qing Zhang wrote: This module is integrated into the Loongson-3A SoC and the LS7A bridge chip. It looks like

Re: [PATCH v4 6/7] dt-bindings: interrupt-controller: Add Loongson-2K1000 LIOINTC

2021-03-10 Thread zhangqing
On 03/10/2021 08:04 PM, Jiaxun Yang wrote: On Wed, Mar 10, 2021, at 3:56 PM, Qing Zhang wrote: Add liointc-2.0 properties support, so update the maxItems and description. Signed-off-by: Jiaxun Yang ^ I have nothing todo with this patch so please drop me for this one :-) Signed-off-by: Qing

Re: [PATCH 2/2] MIPS: Loongson64: Move loongson_system_configuration to loongson.h

2021-03-05 Thread zhangqing
On 03/05/2021 06:01 PM, Philippe Mathieu-Daudé wrote: Hi, On Thu, Mar 4, 2021 at 5:35 PM Qing Zhang wrote: The purpose of separating loongson_system_configuration from boot_param.h is to keep the other structure consistent with the firmware. This is supposed to be a trivial patch, but the

Re: [PATCH 1/2] MIPS: Loongson64: Remove unused sysconf members

2021-03-05 Thread zhangqing
On 03/05/2021 10:32 AM, Jiaxun Yang wrote: 在 2021/3/4 下午7:00, Qing Zhang 写道: We don't need them anymore, They are uniform on all Loongson64 systems and have been fixed in DeviceTree.loongson3_platform_init is replaced with DTS + driver. Signed-off-by: Jiaxun Yang Signed-off-by: Qing Zhang

Re: [PATCH v3 5/7] irqchip/loongson-liointc: irqchip add 2.0 version

2021-03-05 Thread zhangqing
On 03/06/2021 11:06 AM, Huacai Chen wrote: Hi, Qing, On Sat, Mar 6, 2021 at 10:36 AM Qing Zhang wrote: Add IO interrupt controller support for Loongson 2k1000, different from the 3a series is that 2K1000 has 64 interrupt sources, 0-31 correspond to the device tree liointc0 device node, and

Re: [PATCH 2/2] MIPS: Loongson64: Move loongson_system_configuration to loongson.h

2021-03-06 Thread zhangqing
On 03/06/2021 04:03 PM, Thomas Bogendoerfer wrote: as you are already touching mach-loongson64 files... Is there a chance you clean up that up even further ? My goal is to have only files in mach- files, which have an mach-generic counterpart. Everything else should go to its own directory. S

Re: [PATCH v3 5/7] irqchip/loongson-liointc: irqchip add 2.0 version

2021-03-09 Thread zhangqing
On 03/09/2021 05:10 PM, Marc Zyngier wrote: + +static void __iomem *liointc_get_reg_byname(struct device_node *node, + const char *name) +{ + int index = of_property_match_string(node, "reg-names", name); + + return of_iomap(node, inde

Re: [PATCH v3 5/7] irqchip/loongson-liointc: irqchip add 2.0 version

2021-03-10 Thread zhangqing
On 03/10/2021 04:47 PM, Sergei Shtylyov wrote: Hello! The new line length limit is 100 chars. :-) Hi,Sergei Thank you for your reply, I saw it my $max_line_length = 100; Soalready fixed it in v4:). Thanks, Qing MBR, Sergei

Re: [PATCH v4 3/7] MIPS: Loongson64: Add support for the Loongson-2K1000 to get cpu_clock_freq

2021-03-10 Thread zhangqing
On 03/10/2021 04:50 PM, Sergei Shtylyov wrote: Hello! You don't seem to need this initializer. Hi,Sergei Thanks for your suggestion, clk will not be affected by others when it is defined until the value is obtained, =NULL can be deleted, but I think it seems to have no effect. Thanks,

Re: [PATCH v3 5/7] irqchip/loongson-liointc: irqchip add 2.0 version

2021-03-10 Thread zhangqing
I really don't care about whatever arbitrary limit people think there is. Please put it on a single line. Hi,Marc Thank you for your reply, I saw it my $max_line_length = 100; So already fixed it in v4:). Thanks, Qing Thanks, M.

[PATCH] rtc: rk808: rename rtc-rk808.c to rtc-rk8xx.c

2015-12-30 Thread zhangqing
From: zhangqing make rtc-rk8xx.c compatible for all pmic chips. for pmic chips(rk808\rk807\rk816\rk818) in the future. Signed-off-by: zhangqing --- drivers/mfd/rk808.c | 2 +- drivers/rtc/Kconfig | 8 +- drivers/rtc/Makefile

[RESEND PATCH] rtc: rk808: rename rtc-rk808.c to rtc-rk8xx.c

2015-12-30 Thread zhangqing
make rtc-rk8xx.c compatible for all pmic chips. for pmic chips(rk808\rk807\rk816\rk818) in the future. Signed-off-by: zhangqing --- drivers/mfd/rk808.c | 2 +- drivers/rtc/Kconfig | 8 +- drivers/rtc/Makefile | 2 +- drivers

Re: [PATCH 2/2] spi: tools: Fix build errors

2020-06-11 Thread zhangqing
On 06/11/2020 04:02 PM, Geert Uytterhoeven wrote: Hi Qing, Thanks for your patch! On Thu, Jun 11, 2020 at 5:43 AM Qing Zhang wrote: Fix the following build errors: include/linux/spi 2>&1 || true ln -sf /home/zhangqing/spi.git2/tools/spi/../../include/uapi/linux/spi/spidev.h includ

Re: [PATCH v2 2/2] spi: coldfire-qspi: Use clk_prepare_enable and clk_disable_unprepare

2020-07-16 Thread zhangqing
On 07/15/2020 05:49 PM, Mark Brown wrote: On Wed, Jul 15, 2020 at 01:26:47PM +0800, Qing Zhang wrote: Convert clk_enable() to clk_prepare_enable() and clk_disable() to clk_disable_unprepare() respectively in the spi-coldfire-qspi.c. Like I said on the previous version are you sure that ColdF

blk-mq: takes hours for scsi scanning finish when thousands of LUNs

2015-10-19 Thread Zhangqing Luo
Hi, Jens,Tejun Current problem we meet: When Multiple Queue is used for scsi, the period between each LUN probe is increasing as the number of block request queue goes up, eventually it takes hours for Initiator to finish scanning thousands of LUNs. Kernel version we're using: 4.1.6-14 I tested