summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2016-11-12 14:13:03 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-11-14 09:58:28 +0100
commit7da33a37b48f11ffcb4a718f29a3d4552423fea1 (patch)
tree12cd41d58ed7e3e48389b4cc2a11e8a8686cd36a /drivers/soc
parentcdd24f76fe84fd6ee3b46f54b2a475d04d79889d (diff)
downloadtalos-op-linux-7da33a37b48f11ffcb4a718f29a3d4552423fea1.tar.gz
talos-op-linux-7da33a37b48f11ffcb4a718f29a3d4552423fea1.zip
reset: allow using reset_control_reset with shared reset
Some SoCs (for example Amlogic GXBB) implement a reset controller which only supports a reset pulse (triggered via reset_control_reset). At the same time multiple devices (in case of the Amlogic GXBB SoC both USB PHYs) are sharing the same reset line. This patch allows using reset_control_reset also for shared resets. There are limitations though: reset_control_reset can only be used if reset_control_assert was not used yet. reset_control_assert can only be used if reset_control_reset was not used yet. For shared resets the reset is only triggered once for the lifetime of the reset_control instance (the reset can be triggered again if all consumers of that specific reset_control are gone, as the reset framework will free the reset_control instance in that case). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud