mbox series

[v3,0/4] riscv: sophgo: add reset support for SG2042

Message ID cover.1706577450.git.unicorn_wang@outlook.com (mailing list archive)
Headers show
Series riscv: sophgo: add reset support for SG2042 | expand

Message

Chen Wang Jan. 30, 2024, 1:49 a.m. UTC
From: Chen Wang <unicorn_wang@outlook.com>

This series adds reset controller support for Sophgo SG2042 using
reset-simple driver.

Thanks,
Chen

---

Changes in v3:
  This patch series is based on v6.8-rc2, which has included the missed patch I
  mentioned in v2.
  - As suggested by Philipp, drop the Kconfig for SG2042, just add a default
    y if ARCH_SOPHGO to RESET_SIMPLE.

Changes in v2:
  This patch series is based on v6.8-rc1. You can simply review or test the
  patches at the link [3].
  - fixed some minor formatting issues.
  Note that if you need to pass dtb check, you need to apply a patch. This
  patch is missing in v6.8-rc1. For details, please see [2].

Changes in v1:
  The patch series is based on v6.7. You can simply review or test the
  patches at the link [1].

Link: https://lore.kernel.org/linux-riscv/cover.1704790558.git.unicorn_wang@outlook.com/ [1]
Link: https://lore.kernel.org/linux-riscv/MA0P287MB28228572C526C5099A8BDA2DFE7B2@MA0P287MB2822.INDP287.PROD.OUTLOOK.COM/T/#u [2]
Link: https://lore.kernel.org/linux-riscv/cover.1706161530.git.unicorn_wang@outlook.com/ [3]

---

Chen Wang (4):
  dt-bindings: reset: sophgo: support SG2042
  reset: simple: add support for Sophgo SG2042
  riscv: dts: add reset generator for Sophgo SG2042 SoC
  riscv: dts: add resets property for uart node

 .../bindings/reset/sophgo,sg2042-reset.yaml   | 35 ++++++++
 arch/riscv/boot/dts/sophgo/sg2042.dtsi        |  9 ++
 drivers/reset/Kconfig                         |  3 +-
 drivers/reset/reset-simple.c                  |  2 +
 .../dt-bindings/reset/sophgo,sg2042-reset.h   | 87 +++++++++++++++++++
 5 files changed, 135 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml
 create mode 100644 include/dt-bindings/reset/sophgo,sg2042-reset.h


base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3

Comments

Chen Wang Feb. 5, 2024, 7:57 a.m. UTC | #1
ping ~~~

On 2024/1/30 9:49, Chen Wang wrote:
> From: Chen Wang <unicorn_wang@outlook.com>
>
> This series adds reset controller support for Sophgo SG2042 using
> reset-simple driver.
>
> Thanks,
> Chen
>
> ---
>
> Changes in v3:
>    This patch series is based on v6.8-rc2, which has included the missed patch I
>    mentioned in v2.
>    - As suggested by Philipp, drop the Kconfig for SG2042, just add a default
>      y if ARCH_SOPHGO to RESET_SIMPLE.

hello,  Philipp,

Can you please have a look of this, I have fixed the issue you raised in 
last version, any question please feel free let me know.

Thanks,

Chen


>
> Changes in v2:
>    This patch series is based on v6.8-rc1. You can simply review or test the
>    patches at the link [3].
>    - fixed some minor formatting issues.
>    Note that if you need to pass dtb check, you need to apply a patch. This
>    patch is missing in v6.8-rc1. For details, please see [2].
>
> Changes in v1:
>    The patch series is based on v6.7. You can simply review or test the
>    patches at the link [1].
>
> Link: https://lore.kernel.org/linux-riscv/cover.1704790558.git.unicorn_wang@outlook.com/ [1]
> Link: https://lore.kernel.org/linux-riscv/MA0P287MB28228572C526C5099A8BDA2DFE7B2@MA0P287MB2822.INDP287.PROD.OUTLOOK.COM/T/#u [2]
> Link: https://lore.kernel.org/linux-riscv/cover.1706161530.git.unicorn_wang@outlook.com/ [3]
>
> ---
>
> Chen Wang (4):
>    dt-bindings: reset: sophgo: support SG2042
>    reset: simple: add support for Sophgo SG2042
>    riscv: dts: add reset generator for Sophgo SG2042 SoC
>    riscv: dts: add resets property for uart node
>
>   .../bindings/reset/sophgo,sg2042-reset.yaml   | 35 ++++++++
>   arch/riscv/boot/dts/sophgo/sg2042.dtsi        |  9 ++
>   drivers/reset/Kconfig                         |  3 +-
>   drivers/reset/reset-simple.c                  |  2 +
>   .../dt-bindings/reset/sophgo,sg2042-reset.h   | 87 +++++++++++++++++++
>   5 files changed, 135 insertions(+), 1 deletion(-)
>   create mode 100644 Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml
>   create mode 100644 include/dt-bindings/reset/sophgo,sg2042-reset.h
>
>
> base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3
Philipp Zabel Feb. 21, 2024, 11:14 a.m. UTC | #2
On Tue, 30 Jan 2024 09:49:08 +0800, Chen Wang wrote:
> From: Chen Wang <unicorn_wang@outlook.com>
> 
> This series adds reset controller support for Sophgo SG2042 using
> reset-simple driver.
> 
> Thanks,
> Chen
> 
> [...]

Applied patches 1-2 to reset/next, thanks!

[1/4] dt-bindings: reset: sophgo: support SG2042
      https://git.pengutronix.de/cgit/pza/linux/commit/?id=41197eb5f993
[2/4] reset: simple: add support for Sophgo SG2042
      https://git.pengutronix.de/cgit/pza/linux/commit/?id=a6166a4da5e4

regards
Philipp
Chen Wang Feb. 21, 2024, 12:04 p.m. UTC | #3
On 2024/2/21 19:14, Philipp Zabel wrote:
> On Tue, 30 Jan 2024 09:49:08 +0800, Chen Wang wrote:
>> From: Chen Wang <unicorn_wang@outlook.com>
>>
>> This series adds reset controller support for Sophgo SG2042 using
>> reset-simple driver.
>>
>> Thanks,
>> Chen
>>
>> [...]
> Applied patches 1-2 to reset/next, thanks!
>
> [1/4] dt-bindings: reset: sophgo: support SG2042
>        https://git.pengutronix.de/cgit/pza/linux/commit/?id=41197eb5f993
> [2/4] reset: simple: add support for Sophgo SG2042
>        https://git.pengutronix.de/cgit/pza/linux/commit/?id=a6166a4da5e4
>
> regards
> Philipp
>
Thank you Philipp.
Inochi Amaoto Feb. 23, 2024, 5:28 a.m. UTC | #4
On Tue, 30 Jan 2024 09:49:08 +0800, Chen Wang wrote:
> From: Chen Wang <unicorn_wang@outlook.com>
> 
> This series adds reset controller support for Sophgo SG2042 using
> reset-simple driver.
> 
> Thanks,
> Chen
> 
> [...]

Applied to sophgo/for-next, thanks!

[3/4] riscv: dts: add reset generator for Sophgo SG2042 SoC
      https://github.com/sophgo/linux/commit/1ce7587e507e1762df1dadc22affcd41376040d5
[4/4] riscv: dts: add resets property for uart node
      https://github.com/sophgo/linux/commit/08573ba006ab7bc29c183e0b3c362a0b34f1d87b

Thanks,
Inochi
patchwork-bot+linux-riscv@kernel.org March 25, 2024, 4:42 a.m. UTC | #5
Hello:

This series was applied to riscv/linux.git (fixes)
by Inochi Amaoto <inochiama@outlook.com>:

On Tue, 30 Jan 2024 09:49:08 +0800 you wrote:
> From: Chen Wang <unicorn_wang@outlook.com>
> 
> This series adds reset controller support for Sophgo SG2042 using
> reset-simple driver.
> 
> Thanks,
> Chen
> 
> [...]

Here is the summary with links:
  - [v3,1/4] dt-bindings: reset: sophgo: support SG2042
    (no matching commit)
  - [v3,2/4] reset: simple: add support for Sophgo SG2042
    (no matching commit)
  - [v3,3/4] riscv: dts: add reset generator for Sophgo SG2042 SoC
    https://git.kernel.org/riscv/c/1ce7587e507e
  - [v3,4/4] riscv: dts: add resets property for uart node
    https://git.kernel.org/riscv/c/08573ba006ab

You are awesome, thank you!