From mboxrd@z Thu Jan 1 00:00:00 1970 From: dinh.linux@gmail.com (Dinh Nguyen) Date: Thu, 14 Mar 2013 08:39:25 -0500 Subject: [PATCHv1 0/2] ARM: socfpga: Soft reset, hotplug and device tree clocks In-Reply-To: <5141220A.7050008@gmail.com> References: <1363211722-27237-1-git-send-email-dinguyen@altera.com> <5141220A.7050008@gmail.com> Message-ID: <5141D30D.90901@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Rob, On 03/13/2013 08:04 PM, Rob Herring wrote: > Dinh, > > On 03/13/2013 04:55 PM, dinguyen at altera.com wrote: >> From: Dinh Nguyen >> >> Hi Arnd/Olof, >> >> Just 2 patches for mach-socfpga: >> >> 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 > > Rob > > >> 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 >> >