summaryrefslogtreecommitdiffstats
path: root/include/linux/reset
Commit message (Collapse)AuthorAgeFilesLines
* reset: simple: Add reset callbackMaxime Ripard2020-06-161-0/+7
| | | | | | | | | | The reset-simple code lacks a reset callback that is still pretty easy to implement. The only real thing to consider is the delay needed for a device to be reset, so let's expose that as part of the reset-simple driver data. Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* reset: Move reset-simple header out of drivers/resetMaxime Ripard2020-06-161-0/+41
| | | | | | | | | | The reset-simple code can be useful for drivers outside of drivers/reset that have a few reset controls as part of their features. Let's move it to include/linux/reset. Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* reset: socfpga: declare socfpga_reset_init in a header filePhilipp Zabel2019-01-281-0/+7
| | | | | | | | | | Avoid declaring extern functions in c files. To make sure function definition and usage don't get out of sync, declare socfpga_reset_init in a common header. Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Dinh Nguyen <dinguyen@kernel.org>
* reset: sunxi: declare sun6i_reset_init in a header filePhilipp Zabel2019-01-281-0/+7
| | | | | | | | | Avoid declaring extern functions in c files. To make sure function definition and usage don't get out of sync, declare sun6i_reset_init in a common header. Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* ARM: BCM63xx: Add Broadcom BCM63xx PMB controller helpersFlorian Fainelli2015-05-201-0/+88
This patch adds both common register definitions and helper functions used to issue read/write commands to the Broadcom BCM63xx PMB controller which is used to power on and release from reset internal on-chip peripherals such as the integrated Ethernet switch, AHCI, USB, as well as the secondary CPU core. This is going to be utilized by the BCM63138 SMP code, as well as by the BCM63138 reset controller later. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>