- 24 10月, 2016 1 次提交
-
-
由 Paul Gortmaker 提交于
The Kconfig currently controlling compilation of this code is: drivers/reset/Kconfig:config RESET_SOCFPGA drivers/reset/Kconfig: bool "SoCFPGA Reset Driver" if COMPILE_TEST drivers/reset/Kconfig: default ARCH_SOCFPGA or arch/arm/mach-socfpga/Kconfig:menuconfig ARCH_SOCFPGA arch/arm/mach-socfpga/Kconfig: bool "Altera SOCFPGA family" if ARCH_MULTI_V7 ...meaning that it currently is not being built as a module by anyone. Lets remove the small amount of modular evidence that remains, so that when reading the driver there is no doubt it is builtin-only. Since module_platform_driver() uses the same init level priority as builtin_platform_driver() the init ordering remains unchanged with this commit. We also delete the MODULE_LICENSE tag etc. since all that information was (or is now) contained at the top of the file in the comments. Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 09 8月, 2016 1 次提交
-
-
由 Philipp Zabel 提交于
Since we can just add it to membase once, there is no need to store modrst_offset separately, and to repeat the addition with every access. Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de> Tested-by: NDinh Nguyen <dinguyen@opensource.altera.com>
-
- 30 5月, 2016 1 次提交
-
-
由 Masahiro Yamada 提交于
Use devm_reset_controller_register() for the reset controller registration and drop the .remove callback. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 10 2月, 2016 1 次提交
-
-
由 Philipp Zabel 提交于
The socfpga_reset_ops structure is never modified. Make it const. Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 16 11月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
Currently, reset_controller_register() always return 0, but it would be better to check its return code. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSören Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 03 8月, 2015 1 次提交
-
-
由 Dinh Nguyen 提交于
In order for the Arria10 to be able to re-use the reset driver for SoCFPGA Cyclone5/Arria5, we need to read the 'altr,modrst-offset' property from the device tree entry. The 'altr,modrst-offset' property is the first register into the reset manager that is used for bringing peripherals out of reset. The driver assumes a modrst-offset of 0x10 in order to support legacy Cyclone5/Arria5 hardware. Signed-off-by: NDinh Nguyen <dinguyen@opensource.altera.com>
-
- 04 11月, 2014 1 次提交
-
-
由 Dinh Nguyen 提交于
Populate the reset_status callback for SOCFPGA. Signed-off-by: NAlan Tull <atull@opensource.altera.com> Signed-off-by: NDinh Nguyen <dinguyen@opensource.altera.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
-
- 20 10月, 2014 1 次提交
-
-
由 Wolfram Sang 提交于
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
-
- 26 4月, 2014 1 次提交
-
-
由 Steffen Trumtrar 提交于
Add a reset-controller driver for the socfpga platform. The reset-controller has four banks with up to 32 entries all encapsulated in one module block. Signed-off-by: NSteffen Trumtrar <s.trumtrar@pengutronix.de> Acked-by: NPhilipp Zabel <p.zabel@pengutronix.de> Signed-off-by: NDinh Nguyen <dinguyen@altera.com> --- Notes: Changes since v2: - remove superfluous ret in probe function - add Acked-by Changes since v1: - use BITS_PER_LONG everywhere instead of MAX_BANK_WIDTH - print pdev->dev.of_node->full_name on error - use proper IS_ERR/PTR_ERR
-