aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/slcr.c
Commit message (Collapse)AuthorAge
* ARM: zynq: Simplify SLCR initializationMichal Simek2015-01-29
| | | | | | | | | Based on "mfd: syscon: Decouple syscon interface from platform devices" (sha1: bdb0066df96e74a4002125467ebe459feff1ebef) SLCR driver can use syscon/regmap drivers directly. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Synchronise zynq_cpu_die/killSoren Brinkmann2014-09-16
| | | | | | | | | | | | | Avoid races and add synchronisation between the arch specific kill and die routines. The same synchronisation issue was fixed on IMX platform by this commit: "ARM: imx: fix sync issue between imx_cpu_die and imx_cpu_kill" (sha1: 2f3edfd7e27ad4206acbc2ae99c9df5f46353024) Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Add support for SOC_BUSMichal Simek2014-05-20
| | | | | | | Provide information through SOC_BUS to user space. Silicon revision is provided through devcfg device. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Introduce zynq_slcr_unlock()Michal Simek2014-02-10
| | | | | | Call special function for unlocking SLCR. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Add and use zynq_slcr_read/write() helper functionsMichal Simek2014-02-10
| | | | | | | | Use zynq_slcr_read/write helper functions for reg access instead of readl/writel. Also use regmap when it is ready. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Make zynq_slcr_base staticSteffen Trumtrar2014-02-10
| | | | | | | | The pointer doesn't need to be passed around any more. Make it static. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Hang iomapped slcr address on device_nodeSteffen Trumtrar2014-02-10
| | | | | | | For later usage by zynq clk driver. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Split slcr in two partsMichal Simek2014-02-10
| | | | | | | | | Split the slcr into an early part for unlocking and cpu starting and a later syscon driver. Also add "syscon" compatible property for slcr. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* ARM: zynq: Move clock_init from slcr to commonSteffen Trumtrar2014-02-05
| | | | | | | Preparation step for next changes. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm: zynq: slcr: Use read-modify-write for register writesSoren Brinkmann2013-07-26
| | | | | | | | | zynq_slcr_cpu_start/stop() ignored the current register state when writing to a register. Fixing this by implementing proper read-modify-write. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm: zynq: slcr: Clean up #definesSoren Brinkmann2013-07-26
| | | | | | | | | | | | Use a common naming scheme for register offset #defines: Some of those used a '_OFFSET' suffix to distinguish them from others. This scheme is used for all register offsets now. Separate the register offset #defines from others and sort them in increasing order. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm: zynq: slcr: Remove redundant header #includesSoren Brinkmann2013-07-26
| | | | | Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm: zynq: Migrate platform to clock controllerSoren Brinkmann2013-05-27
| | | | | | | | | | | | | | Migrate the Zynq platform and its drivers to use the new clock controller driver. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Cc: John Stultz <john.stultz@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.cz> Cc: linux-serial@vger.kernel.org Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Mike Turquette <mturquette@linaro.org>
* arm: zynq: Add smp supportMichal Simek2013-04-04
| | | | | | | | | Zynq is dual core Cortex A9 which starts always at zero. Using simple trampoline ensure long jump to secondary_startup code. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* arm: zynq: Add support for system resetMichal Simek2013-04-04
| | | | | | Do system reset via slcr registers. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm: zynq: Move slcr initialization to separate fileMichal Simek2013-04-04
Create separate slcr driver instead of polluting common code. Signed-off-by: Michal Simek <michal.simek@xilinx.com>