]> git.baikalelectronics.ru Git - kernel.git/commit
reset: Ensure drivers are explicit when requesting reset lines
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Jun 2016 15:56:50 +0000 (16:56 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 29 Jun 2016 19:24:52 +0000 (21:24 +0200)
commite4ae160a001446696480ebcad951d69e3e90bbb1
tree67e68680dec862fff7b3dd2fd427f740a8aefaca
parentca35e9e8885d3d2d5076bb7c4bbdcb53337ac146
reset: Ensure drivers are explicit when requesting reset lines

Phasing out generic reset line requests enables us to make some better
decisions on when and how to (de)assert said lines.  If an 'exclusive'
line is requested, we know a device *requires* a reset and that it's
preferable to act upon a request right away.  However, if a 'shared'
reset line is requested, we can reasonably assume sure that placing a
device into reset isn't a hard requirement, but probably a measure to
save power and is thus able to cope with not being asserted if another
device is still in use.

In order allow gentle adoption and not to forcing all consumers to
move to the API immediately, causing administration headache between
subsystems, this patch adds some temporary stand-in shim-calls.  This
will ease the burden at merge time and allow subsystems to migrate over
to the new API in a more realistic time-frame.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/linux/reset.h