Skip to content

Commit fd9c55c

Browse files
Wolfram Sanggeertu
authored andcommitted
soc: renesas: rcar-sysc: Remove R-Car H3 ES1.* handling
R-Car H3 ES1.* was only available to an internal development group and needed a lot of quirks and workarounds. These become a maintenance burden now, so our development group decided to remove upstream support and disable booting for this SoC. Public users only have ES2 onwards. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230307105645.5285-5-wsa+renesas@sang-engineering.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent fe15c26 commit fd9c55c

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

drivers/soc/renesas/r8a7795-sysc.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ static struct rcar_sysc_area r8a7795_areas[] __initdata = {
3838
{ "a3vp", 0x340, 0, R8A7795_PD_A3VP, R8A7795_PD_ALWAYS_ON },
3939
{ "cr7", 0x240, 0, R8A7795_PD_CR7, R8A7795_PD_ALWAYS_ON },
4040
{ "a3vc", 0x380, 0, R8A7795_PD_A3VC, R8A7795_PD_ALWAYS_ON },
41-
/* A2VC0 exists on ES1.x only */
42-
{ "a2vc0", 0x3c0, 0, R8A7795_PD_A2VC0, R8A7795_PD_A3VC },
4341
{ "a2vc1", 0x3c0, 1, R8A7795_PD_A2VC1, R8A7795_PD_A3VC },
4442
{ "3dg-a", 0x100, 0, R8A7795_PD_3DG_A, R8A7795_PD_ALWAYS_ON },
4543
{ "3dg-b", 0x100, 1, R8A7795_PD_3DG_B, R8A7795_PD_3DG_A },
@@ -54,14 +52,10 @@ static struct rcar_sysc_area r8a7795_areas[] __initdata = {
5452
* Fixups for R-Car H3 revisions
5553
*/
5654

57-
#define HAS_A2VC0 BIT(0) /* Power domain A2VC0 is present */
5855
#define NO_EXTMASK BIT(1) /* Missing SYSCEXTMASK register */
5956

6057
static const struct soc_device_attribute r8a7795_quirks_match[] __initconst = {
6158
{
62-
.soc_id = "r8a7795", .revision = "ES1.*",
63-
.data = (void *)(HAS_A2VC0 | NO_EXTMASK),
64-
}, {
6559
.soc_id = "r8a7795", .revision = "ES2.*",
6660
.data = (void *)(NO_EXTMASK),
6761
},
@@ -77,10 +71,6 @@ static int __init r8a7795_sysc_init(void)
7771
if (attr)
7872
quirks = (uintptr_t)attr->data;
7973

80-
if (!(quirks & HAS_A2VC0))
81-
rcar_sysc_nullify(r8a7795_areas, ARRAY_SIZE(r8a7795_areas),
82-
R8A7795_PD_A2VC0);
83-
8474
if (quirks & NO_EXTMASK)
8575
r8a7795_sysc_info.extmask_val = 0;
8676

include/dt-bindings/power/r8a7795-sysc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#define R8A7795_PD_CA53_SCU 21
3131
#define R8A7795_PD_3DG_E 22
3232
#define R8A7795_PD_A3IR 24
33-
#define R8A7795_PD_A2VC0 25 /* ES1.x only */
3433
#define R8A7795_PD_A2VC1 26
3534

3635
/* Always-on power area */

0 commit comments

Comments
 (0)