| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ARC PGU DRM driver. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | | - * |
|---|
| 15 | 6 | */ |
|---|
| 16 | 7 | |
|---|
| 17 | 8 | #ifndef _ARC_PGU_REGS_H_ |
|---|
| .. | .. |
|---|
| 34 | 25 | #define ARCPGU_CTRL_VS_POL_OFST 0x3 |
|---|
| 35 | 26 | #define ARCPGU_CTRL_HS_POL_MASK 0x1 |
|---|
| 36 | 27 | #define ARCPGU_CTRL_HS_POL_OFST 0x4 |
|---|
| 37 | | -#define ARCPGU_MODE_RGB888_MASK 0x04 |
|---|
| 28 | +#define ARCPGU_MODE_XRGB8888 BIT(2) |
|---|
| 38 | 29 | #define ARCPGU_STAT_BUSY_MASK 0x02 |
|---|
| 39 | 30 | |
|---|
| 40 | 31 | #endif |
|---|