Skip to content

ARM: socfpga: Soft reset, hotplug and device tree clocks

Dinh Nguyen linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 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 [PATCHv1 0/2] ARM: socfpga: Soft reset, hotplug and device tree clocks

Hi Rob,

Quoted 9 lines · Rob Herring

Dinh,

Quoted 6 lines · dinguyen at altera.com

From: Dinh Nguyen <[email protected]>

Hi Arnd/Olof,

Just 2 patches for mach-socfpga:

Quoted 7 lines
Quoted 3 lines

0001: ARM: socfpga: Enable hotplug and soft reset
- Able to hotplug CPU1 by putting it into reset and bringing back online.

Have you seen the discussion on PSCI? There's an ARM doc on it and Linaro session from last week. Is there a possibility you can use that? You would need to be able to run in non-secure mode and implement smc calls.

I just briefly skimmed the ARM doc and Linaro slidedeck. It looks like PSCI is already in the kernel, but I don't see any usage of it yet? I'll try to use PSCI for our hotplug. Do you know where those opcodes for cpu_on or cpu_off came from?

Currently we are running in non-secure mode, but may have a requirement to run in secure mode in other applications, so will PSCI still work for that case?

Thanks,
Dinh

Quoted 31 lines

Rob

Quoted 26 lines

0002: ARM: socfpga: Add clock entries into device tree
- Correctly use the clock framework with device tree entries.
- Based from clk-highbank.c

Based on arm-soc/for-next.

Thanks,
Dinh

Dinh Nguyen (2):
ARM: socfpga: Enable hotplug and soft reset
ARM: socfpga: Add clock entries into device tree

 .../bindings/arm/altera/socfpga-clk-manager.txt    |   11 ++
 .../devicetree/bindings/clock/altr_socfpga.txt     |   15 ++
 arch/arm/boot/dts/socfpga.dtsi                     |  154 +++++++++++++++++
 arch/arm/boot/dts/socfpga_cyclone5.dts             |    8 +
 arch/arm/boot/dts/socfpga_vt.dts                   |    8 +
 arch/arm/mach-socfpga/core.h                       |   17 ++
 arch/arm/mach-socfpga/platsmp.c                    |    9 +-
 arch/arm/mach-socfpga/socfpga.c                    |   16 +-
 drivers/clk/socfpga/clk.c                          |  174 +++++++++++++++++---
 9 files changed, 387 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt
 create mode 100644 Documentation/devicetree/bindings/clock/altr_socfpga.txt