]> asedeno.scripts.mit.edu Git - linux.git/commit
firmware: imx: scu-pd: add specifying the base of domain name index support
authorAisheng Dong <aisheng.dong@nxp.com>
Wed, 20 Feb 2019 14:38:32 +0000 (14:38 +0000)
committerShawn Guo <shawnguo@kernel.org>
Tue, 19 Mar 2019 13:57:50 +0000 (21:57 +0800)
commitad8cc071c557b075b923bf27aee8a7dae7338f5e
tree303b279a0b3e002756fa5505c2371305cfedcdff
parent9d616d62faefd573f6eaf687f6c83a872708afcf
firmware: imx: scu-pd: add specifying the base of domain name index support

As the domain resource id in the same type may not be continuous, so it's
hard to describe all such power domains with current struct imx_sc_pd_range.

Adding the optional base for domain name index to address this issue.
Then we can add the discrete domains easily later.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Kevin Hilman <khilman@kernel.org>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/imx/scu-pd.c