Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fef1ac57 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Laurent Pinchart
Browse files

rcar-du: add/rename DEFR6 TCON bits



The  TCNE2 bit  of the DEFR6 register was renamed to TCNE1 in the R-Car gen2
manuals -- which makes more  sense as that bit controls whether DU1, not DU2
is connected to TCON.

While at it, add the TCNE0 bit which controls whether DU0 is connected to
TCON.

Based on the large patch by Andrey Gusakov <andrey.gusakov@cogentembedded.com>.

Signed-off-by: default avatarAndrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
parent a0877f52
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -195,9 +195,10 @@
#define DEFR6_ODPM12_DISP	(2 << 8)
#define DEFR6_ODPM12_DISP	(2 << 8)
#define DEFR6_ODPM12_CDE	(3 << 8)
#define DEFR6_ODPM12_CDE	(3 << 8)
#define DEFR6_ODPM12_MASK	(3 << 8)
#define DEFR6_ODPM12_MASK	(3 << 8)
#define DEFR6_TCNE2		(1 << 6)
#define DEFR6_TCNE1		(1 << 6)
#define DEFR6_TCNE0		(1 << 4)
#define DEFR6_MLOS1		(1 << 2)
#define DEFR6_MLOS1		(1 << 2)
#define DEFR6_DEFAULT		(DEFR6_CODE | DEFR6_TCNE2)
#define DEFR6_DEFAULT		(DEFR6_CODE | DEFR6_TCNE1)


/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
 * R8A7790-only Control Registers
 * R8A7790-only Control Registers