From 9fb019b704003afc186d8ec3eca13b6822af8d24 Mon Sep 17 00:00:00 2001 From: Khang Nguyen Date: Fri, 13 Apr 2018 11:10:14 +0700 Subject: rcar-gen3: linux-renesas: Apply the power control patches for H3 Ver.3.0 This commit applies the power control patches in R-Car H3 Ver.3.0. Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda --- ...-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers/0004-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch (limited to 'meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers/0004-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch') diff --git a/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers/0004-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch b/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers/0004-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch new file mode 100644 index 0000000..839c2a7 --- /dev/null +++ b/meta-rcar-gen3/recipes-kernel/linux-libc-headers/linux-libc-headers/0004-soc-renesas-rcar-sysc-Add-SYSCEXTMASK-info-for-r8a77.patch @@ -0,0 +1,42 @@ +From 3a194570273ba919d6e8bd2276a3da7c4a4e56bf Mon Sep 17 00:00:00 2001 +From: Dien Pham +Date: Thu, 12 Apr 2018 16:19:39 +0700 +Subject: [PATCH 4/6] soc: renesas: rcar-sysc: Add SYSCEXTMASK info for + r8a77990 + +Add specific SYSCEXTMASK register info so that +it is controlled during power domain on/off. + +Signed-off-by: Dien Pham +--- + drivers/soc/renesas/r8a77990-sysc.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/drivers/soc/renesas/r8a77990-sysc.c b/drivers/soc/renesas/r8a77990-sysc.c +index 84789f0..f011256 100644 +--- a/drivers/soc/renesas/r8a77990-sysc.c ++++ b/drivers/soc/renesas/r8a77990-sysc.c +@@ -8,6 +8,7 @@ + * the Free Software Foundation; version 2 of the License. + */ + ++#include + #include + #include + +@@ -30,7 +31,12 @@ + { "3dg-a", 0x100, 0, R8A77990_PD_3DG_A, R8A77990_PD_3DG_B }, + }; + ++static struct rcar_sysc_extra_regs r8a77990_extra_regs = { ++ .sysc_extmask_offs = 0x2F8, .sysc_extmask_msks = BIT(0) ++}; ++ + const struct rcar_sysc_info r8a77990_sysc_info __initconst = { + .areas = r8a77990_areas, + .num_areas = ARRAY_SIZE(r8a77990_areas), ++ .extra_regs = &r8a77990_extra_regs, + }; +-- +1.9.1 + -- cgit 1.2.3-korg