diff options
author | Min Li <min.li.xe@renesas.com> | 2023-03-27 14:39:53 -0400 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-04-26 11:40:34 +0100 |
commit | 67d6c76fc815cddc77de9529221f9ff8dd1fb10e (patch) | |
tree | 6bbf40419b7d9af1ddf612b3d16938417d1ee922 /drivers/mfd/rsmu.h | |
parent | fb9d4960a876e9344ab2c8a22c5c0fcd8c64210d (diff) | |
download | lwn-67d6c76fc815cddc77de9529221f9ff8dd1fb10e.tar.gz lwn-67d6c76fc815cddc77de9529221f9ff8dd1fb10e.zip |
mfd: rsmu: Support 32-bit address space
We used to assume 0x2010xxxx address. Now that we need to access
0x2011xxxx address, we need to support read/write the whole 32-bit
address space.
Also defined RSMU_MAX_WRITE_COUNT and RSMU_MAX_READ_COUNT for readability
Signed-off-by: Min Li <min.li.xe@renesas.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/MW5PR03MB693295AF31ABCAF6AE52EE74A08B9@MW5PR03MB6932.namprd03.prod.outlook.com
Diffstat (limited to 'drivers/mfd/rsmu.h')
-rw-r--r-- | drivers/mfd/rsmu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/rsmu.h b/drivers/mfd/rsmu.h index bb88597d189f..1bb04cafa45d 100644 --- a/drivers/mfd/rsmu.h +++ b/drivers/mfd/rsmu.h @@ -10,6 +10,8 @@ #include <linux/mfd/rsmu.h> +#define RSMU_CM_SCSR_BASE 0x20100000 + int rsmu_core_init(struct rsmu_ddata *rsmu); void rsmu_core_exit(struct rsmu_ddata *rsmu); |