bus: ti-sysc: Handle module unlock quirk needed for some RTC
authorTony Lindgren <tony@atomide.com>
Mon, 24 Feb 2020 20:58:03 +0000 (12:58 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 26 Feb 2020 18:03:35 +0000 (10:03 -0800)
commite8639e1c986a8a9d0f94549170f6db579376c3ae
treea623559a1a4558d4a1d6fb54ef6974eb7ff3ce89
parentfeaa8baee82ababa46af95b03cfc28680ad647a6
bus: ti-sysc: Handle module unlock quirk needed for some RTC

The RTC modules on am3 and am4 need quirk handling to unlock and lock
them for reset so let's add the quirk handling based on what we already
have for legacy platform data. In later patches we will simply drop the
RTC related platform data and the old quirk handling.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c
include/linux/platform_data/ti-sysc.h