From: zhuyinbo <zhuyinbo@loongson.cn>
To: Andi Shyti <andi.shyti@kernel.org>
Cc: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Jianmin Lv <lvjianmin@loongson.cn>,
wanghongliang@loongson.cn, Liu Peibao <liupeibao@loongson.cn>,
loongson-kernel@lists.loongnix.cn, zhuyinbo@loongson.cn
Subject: Re: [PATCH v4 0/2] spi: loongson: add bus driver for the loongson spi
Date: Tue, 28 Mar 2023 19:53:34 +0800 [thread overview]
Message-ID: <253f3bf2-a193-69da-79ef-c3771d677478@loongson.cn> (raw)
In-Reply-To: <20230328113536.ldxpvx3hibezcqtb@intel.intel>
在 2023/3/28 下午7:35, Andi Shyti 写道:
> Hi Yinbo,
>
> before submitting the patches for review... can you please run
> checkpatch.pl on them?
yes, I had used checkpatch.pl to check and no any errors and warnings.
user@user-pc:~/workspace/test/code/www.kernel.org/linux$
./scripts/checkpatch.pl *.patch
-----------------------
0000-cover-letter.patch
-----------------------
total: 0 errors, 0 warnings, 0 lines checked
0000-cover-letter.patch has no obvious style problems and is ready for
submission.
-------------------------------------------
0001-dt-bindings-spi-add-loongson-spi.patch
-------------------------------------------
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
total: 0 errors, 0 warnings, 55 lines checked
0001-dt-bindings-spi-add-loongson-spi.patch has no obvious style
problems and is ready for submission.
---------------------------------------------------------------
0002-spi-loongson-add-bus-driver-for-the-loongson-spi-con.patch
---------------------------------------------------------------
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
total: 0 errors, 0 warnings, 556 lines checked
0002-spi-loongson-add-bus-driver-for-the-loongson-spi-con.patch has no
obvious style problems and is ready for submission.
user@user-pc:~/workspace/test/code/www.kernel.org/linux$
>
> Thanks,
> Andi
>
> On Tue, Mar 28, 2023 at 07:22:08PM +0800, Yinbo Zhu wrote:
>> Loongson platform support spi hardware controller and this series patch
>> was to add spi driver and binding support.
>>
>> Change in v2:
>> 1. This [PATCH v2 1/2] dt-bindings patch need depend on clk patch:
>> https://
>> lore.kernel.org/all/20230307115022.12846-1-zhuyinbo@loongson.cn/
>> 2. Remove the clock-names in spi yaml file.
>> 3. Add "loongson,ls7a-spi" compatible in spi yaml file.
>> 4. Add an || COMPILE_TEST and drop && PCI then add some CONFIG_PCI
>> macro to limit some pci code.
>> 5. Make the spi driver top code comment block that use C++ style.
>> 6. Drop spi->max_speed_hz.
>> 7. Add a spin_lock for loongson_spi_setup.
>> 8. Add a timeout and cpu_relax() in loongson_spi_write_read_8bit.
>> 9. Add spi_transfer_one and drop transfer and rework entire spi
>> driver that include some necessary changes.
>> 10. Use module_init replace subsys_initcall.
>> 11. About PM interface that I don't find any issue so I don't add
>> any changes.
>> Change in v3:
>> 1. This [PATCH v3 1/2] dt-bindings patch need depend on clk patch:
>> https://
>> lore.kernel.org/all/20230323025229.2971-1-zhuyinbo@loongson.cn/
>> 2. Drop the unused blank line in loongson,ls-spi.yaml file.
>> 3. Replace clock minItems with clock maxItems in yaml file.
>> 4. Separate spi driver into platform module, pci module and core
>> module.
>> 5. Replace DIV_ROUND_UP with DIV_ROUND_UP_ULL to fix compile error
>> "undefined reference to `__aeabi_uldivmod'" and "__udivdi3 undefined"
>> that reported by test robot.
>> 6. Remove the spin lock.
>> 7. Clear the loongson_spi->hz and loongson_spi->mode in setup to fixup
>> the issue that multiple spi device transfer that maybe cause spi was
>> be misconfigured.
>> Change in v4:
>> 1. This [PATCH v4 1/2] dt-bindings patch need depend on clk patch:
>> https://
>> lore.kernel.org/all/20230323025229.2971-1-zhuyinbo@loongson.cn/
>> 2. Add "#include <linux/io.h>" in spi-loongson-core.c for fix the compile
>> issue which devm_ioremap no declaration.
>> 3. Add "EXPORT_SYMBOL_GPL(loongson_spi_dev_pm_ops)" in
>> spi-loongson-core.c for fix the compile issue which
>> loongson_spi_dev_pm_ops undefined.
>>
>> Yinbo Zhu (2):
>> dt-bindings: spi: add loongson spi
>> spi: loongson: add bus driver for the loongson spi controller
>>
>> .../bindings/spi/loongson,ls-spi.yaml | 43 +++
>> MAINTAINERS | 10 +
>> drivers/spi/Kconfig | 31 ++
>> drivers/spi/Makefile | 3 +
>> drivers/spi/spi-loongson-core.c | 304 ++++++++++++++++++
>> drivers/spi/spi-loongson-pci.c | 89 +++++
>> drivers/spi/spi-loongson-plat.c | 66 ++++
>> drivers/spi/spi-loongson.h | 41 +++
>> 8 files changed, 587 insertions(+)
>>
>> --
>> 2.20.1
>>
next prev parent reply other threads:[~2023-03-28 11:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-28 11:22 Yinbo Zhu
2023-03-28 11:22 ` [PATCH v4 1/2] dt-bindings: spi: add " Yinbo Zhu
2023-03-28 11:30 ` zhuyinbo
2023-03-28 12:57 ` Rob Herring
2023-03-29 1:12 ` zhuyinbo
2023-03-29 8:05 ` Krzysztof Kozlowski
2023-03-29 10:32 ` zhuyinbo
2023-03-29 10:39 ` zhuyinbo
2023-03-29 11:37 ` Krzysztof Kozlowski
2023-03-30 3:00 ` zhuyinbo
2023-03-29 8:06 ` Krzysztof Kozlowski
2023-03-29 10:30 ` zhuyinbo
2023-03-28 11:22 ` [PATCH v4 2/2] spi: loongson: add bus driver for the loongson spi controller Yinbo Zhu
2023-03-28 11:35 ` [PATCH v4 0/2] spi: loongson: add bus driver for the loongson spi Andi Shyti
2023-03-28 11:53 ` zhuyinbo [this message]
2023-03-29 8:07 ` Krzysztof Kozlowski
2023-03-30 3:46 ` zhuyinbo
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=253f3bf2-a193-69da-79ef-c3771d677478@loongson.cn \
--to=zhuyinbo@loongson.cn \
--cc=andi.shyti@kernel.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=liupeibao@loongson.cn \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=lvjianmin@loongson.cn \
--cc=robh+dt@kernel.org \
--cc=wanghongliang@loongson.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®