Skip to content

soc: loongson: Fix some issues about loongson2_pm

Binbin Zhou linux-devicetree linux-pm loongarch soc 3 versions – Applied

Status from this message: This series was applied to soc/soc.git (arm/fixes)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 6 repliesApplied 5/5
  2. v25 patches 8 repliesApplied 5/5
  3. v15 patches 12 repliesSuperseded

Changes in v3 from the cover letter

- Changes "loongson_pm2" to "loongson2_pm" in all subject lines. Sorry, it was a clerical error.
patch 1:
- Add Fixes tag;
- Update commit message.
patch 2:
- Add Fixes and Acked-by tag.
patch 3:
- Add Fixes tag;
patch 4:
- Add Reviewed-by tag.

Patches in v3 All 5 applied

#Subject and filesSizeRepliesApplied
1/5soc: loongson: loongson2_pm: Add dependency for INPUTdrivers/soc/loongson/Kconfig+1 -06 repliesApplied
2/5dt-bindings: soc: loongson,ls2k-pmc: Use fallbacks for ls2k-pmc compatibleDocumentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml+11 -60 repliesApplied
3/5soc: loongson: loongson2_pm: Drop useless of_device_id compatibledrivers/soc/loongson/loongson2_pm.c+0 -10 repliesApplied
4/5dt-bindings: soc: loongson,ls2k-pmc: Allow syscon-reboot/syscon-poweroff as childDocumentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml+26 -00 repliesApplied
5/5soc: loongson: loongson2_pm: Populate children syscon nodesdrivers/soc/loongson/loongson2_pm.c+6 -00 repliesApplied

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchConor DooleyKrzysztof KozlowskiRandy Dunlap
1/5R-b T-b
2/5A-b
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/5] soc: loongson: Fix some issues about loongson2_pm

Hi all:

Since commit 67694c076bd7 ("soc: loongson2_pm: add power management support"), the Loongson-2K PM driver was added, some issues have been found and this patchset is planned to fix these issues.

Specific:
Patch 1: Compilation error found by Randy;
Patch 2/3: Rewriting the ls2k-pmc compatible attribute with fallback compatible;
Patch 4/5: Add Loongson-2K SoC reboot/shutdown support as part of power management.

Thanks.

-----
V3:
- Changes "loongson_pm2" to "loongson2_pm" in all subject lines. Sorry, it was a clerical error.
patch 1:
- Add Fixes tag;
- Update commit message.
patch 2:
- Add Fixes and Acked-by tag.
patch 3:
- Add Fixes tag;
patch 4:
- Add Reviewed-by tag.

Link to V2:
https://lore.kernel.org/all/[email protected]/

V2:
patch 1:
- Change "depends on INPUT" to "depends on INPUT=y", because the compilation error still exists when "INPUT=m".
patch 2:
- Use ls2k0500 as the fallback compatible;
- Add ls2k2000 compatible.
patch 3:
- Drop ls2k1000 compatible, for ls2k0500 is used as the fallback compatible.
patch 4:
- Drop label;
- Drop regmap property in syscon-reboot, for it's deprecated;
- Add missing space.

Link to V1:
https://lore.kernel.org/all/[email protected]/

Binbin Zhou (5):
soc: loongson: loongson2_pm: Add dependency for INPUT
dt-bindings: soc: loongson,ls2k-pmc: Use fallbacks for ls2k-pmc
compatible
soc: loongson: loongson2_pm: Drop useless of_device_id compatible
dt-bindings: soc: loongson,ls2k-pmc: Allow
syscon-reboot/syscon-poweroff as child
soc: loongson: loongson2_pm: Populate children syscon nodes

 .../soc/loongson/loongson,ls2k-pmc.yaml       | 43 ++++++++++++++++---
 drivers/soc/loongson/Kconfig                  |  1 +
 drivers/soc/loongson/loongson2_pm.c           |  7 ++-
 3 files changed, 44 insertions(+), 7 deletions(-)
Signature · 1 line
2.39.3