2022-04-24 03:38:56

by Zhou Yanjie

[permalink] [raw]
Subject: [PATCH v3 0/3] Improve SPI support for Ingenic SoCs.

1.Add support for using GPIOs as chip select lines on Ingenic SoCs.
2.Add support for probing the spi-ingenic driver on the JZ4775 SoC,
the X1000 SoC, and the X2000 SoC.
3.Modify annotation texts to be more in line with the current state.

v1->v2:
Use "device_property_read_u32()" instead "of_property_read_u32()" as
Paul Cercueil's suggestion.

v2->v3:
Remove unnecessary "dev_warn()" as Paul Cercueil's suggestion.

周琰杰 (Zhou Yanjie) (3):
SPI: Ingenic: Add support for use GPIO as chip select line.
dt-bindings: SPI: Add bindings for new Ingenic SoCs.
SPI: Ingenic: Add support for new Ingenic SoCs.

.../devicetree/bindings/spi/ingenic,spi.yaml | 3 ++
drivers/spi/Kconfig | 4 +-
drivers/spi/spi-ingenic.c | 47 +++++++++++++++++++---
3 files changed, 47 insertions(+), 7 deletions(-)

--
2.7.4


2022-04-24 19:12:37

by Zhou Yanjie

[permalink] [raw]
Subject: [PATCH v3 2/3] dt-bindings: SPI: Add bindings for new Ingenic SoCs.

Add the SPI bindings for the JZ4775 SoC, the X1000 SoC,
and the X2000 SoC from Ingenic.

Signed-off-by: 周琰杰 (Zhou Yanjie) <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Paul Cercueil <[email protected]>
---

Notes:
v1->v2:
No change.

v2->v3:
No change.

Documentation/devicetree/bindings/spi/ingenic,spi.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/ingenic,spi.yaml b/Documentation/devicetree/bindings/spi/ingenic,spi.yaml
index 5b1c7a2..360f76c 100644
--- a/Documentation/devicetree/bindings/spi/ingenic,spi.yaml
+++ b/Documentation/devicetree/bindings/spi/ingenic,spi.yaml
@@ -18,7 +18,10 @@ properties:
oneOf:
- enum:
- ingenic,jz4750-spi
+ - ingenic,jz4775-spi
- ingenic,jz4780-spi
+ - ingenic,x1000-spi
+ - ingenic,x2000-spi
- items:
- enum:
- ingenic,jz4760-spi
--
2.7.4

2022-04-26 09:14:54

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH v3 0/3] Improve SPI support for Ingenic SoCs.

On Sat, 23 Apr 2022 22:38:42 +0800, 周琰杰 (Zhou Yanjie) wrote:
> 1.Add support for using GPIOs as chip select lines on Ingenic SoCs.
> 2.Add support for probing the spi-ingenic driver on the JZ4775 SoC,
> the X1000 SoC, and the X2000 SoC.
> 3.Modify annotation texts to be more in line with the current state.
>
> v1->v2:
> Use "device_property_read_u32()" instead "of_property_read_u32()" as
> Paul Cercueil's suggestion.
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/3] SPI: Ingenic: Add support for use GPIO as chip select line.
commit: e64e9ad267ca22ee3db6f9d7a02dc8400a23d4c8
[2/3] dt-bindings: SPI: Add bindings for new Ingenic SoCs.
commit: aecec8bbb225965c6f775b946ad7bf40736c8f09
[3/3] SPI: Ingenic: Add support for new Ingenic SoCs.
commit: 6d72b11403549a34b485d2fe323c8a57b4dd1958

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark