.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
---|
1 | 2 | /* |
---|
2 | 3 | * rcar_du_regs.h -- R-Car Display Unit Registers Definitions |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013-2015 Renesas Electronics Corporation |
---|
5 | 6 | * |
---|
6 | 7 | * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com) |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License version 2 |
---|
10 | | - * as published by the Free Software Foundation. |
---|
11 | 8 | */ |
---|
12 | 9 | |
---|
13 | 10 | #ifndef __RCAR_DU_REGS_H__ |
---|
.. | .. |
---|
199 | 196 | #define DEFR6_TCNE0 (1 << 4) |
---|
200 | 197 | #define DEFR6_MLOS1 (1 << 2) |
---|
201 | 198 | #define DEFR6_DEFAULT (DEFR6_CODE | DEFR6_TCNE1) |
---|
| 199 | + |
---|
| 200 | +#define DEFR7 0x000ec |
---|
| 201 | +#define DEFR7_CODE (0x7779 << 16) |
---|
| 202 | +#define DEFR7_CMME1 BIT(6) |
---|
| 203 | +#define DEFR7_CMME0 BIT(4) |
---|
202 | 204 | |
---|
203 | 205 | /* ----------------------------------------------------------------------------- |
---|
204 | 206 | * R8A7790-only Control Registers |
---|
.. | .. |
---|
492 | 494 | * External Synchronization Control Registers |
---|
493 | 495 | */ |
---|
494 | 496 | |
---|
495 | | -#define ESCR 0x10000 |
---|
496 | | -#define ESCR2 0x31000 |
---|
| 497 | +#define ESCR02 0x10000 |
---|
| 498 | +#define ESCR13 0x01000 |
---|
497 | 499 | #define ESCR_DCLKOINV (1 << 25) |
---|
498 | 500 | #define ESCR_DCLKSEL_DCLKIN (0 << 20) |
---|
499 | 501 | #define ESCR_DCLKSEL_CLKS (1 << 20) |
---|
.. | .. |
---|
504 | 506 | #define ESCR_SYNCSEL_EXHSYNC (3 << 8) |
---|
505 | 507 | #define ESCR_FRQSEL_MASK (0x3f << 0) |
---|
506 | 508 | |
---|
507 | | -#define OTAR 0x10004 |
---|
508 | | -#define OTAR2 0x31004 |
---|
| 509 | +#define OTAR02 0x10004 |
---|
| 510 | +#define OTAR13 0x01004 |
---|
509 | 511 | |
---|
510 | 512 | /* ----------------------------------------------------------------------------- |
---|
511 | 513 | * Dual Display Output Control Registers |
---|