Skip to content

Switch to generic syscon regmap based drivers

Alim Akhtar linux-arm-kernel linux-devicetree linux-samsung-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 7 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Switch to generic syscon regmap based drivers
Quoted 7 lines · Krzysztof Kozlowski

On 19.10.2015 15:03, Alim Akhtar wrote:
...

Hi,

I am happy to see more contributions from your side! Keep it up. :)

Thank you! will keep finding time and doing it.

Quoted 4 lines

However this empty space in your cover letter is the place for description of the patchset. What do you want to achieve here? What kind of problem are you solving? What features are you adding? Any dependencies?

Ah, my bad, I used --compose option with git-send-email and did composed the message, somehow it got missed. Will take care.

The motivation came when I tried to used reboot/poweroff on exynos7, and since exynos7 has not added/enabled PMU and does not have access to arch/arm/mach-exynos, so option are to have a reboot/restart driver or we move pmu.c out of mach-exynos. I know there where some effort in past to move pmu.c to drivers, but I feel that is still WIP.
And then I came across this generic syscon regmap based driver which are already in place, so just used it.
Hope that helps.

Quoted 23 lines

Best regards,
Krzysztof

Quoted 18 lines

Alim Akhtar (7):
arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs
arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4
arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5
arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5410 SoC
ARM: exynos_defconfig: Normalize exynos defconfig
ARM: exynos_defconfig: Enable generic syscon-{reboot, poweroff}
drivers
ARM: EXYNOS: Remove code for restart and poweroff for exynos SoCs

  arch/arm/boot/dts/exynos3250.dtsi |   14 ++++++++++++
  arch/arm/boot/dts/exynos4.dtsi    |   14 ++++++++++++
  arch/arm/boot/dts/exynos5.dtsi    |   14 ++++++++++++
  arch/arm/boot/dts/exynos5410.dtsi |   14 ++++++++++++
  arch/arm/configs/exynos_defconfig |   11 +++++-----
  arch/arm/mach-exynos/pmu.c        |   43 -------------------------------------
  6 files changed, 61 insertions(+), 49 deletions(-)