| .. | .. |
|---|
| 5 | 5 | * Author: Wyon Bi <bivvy.bi@rock-chips.com> |
|---|
| 6 | 6 | */ |
|---|
| 7 | 7 | |
|---|
| 8 | +#include <linux/module.h> |
|---|
| 8 | 9 | #include "rk618_dither.h" |
|---|
| 9 | 10 | |
|---|
| 10 | 11 | #define RK618_FRC_REG 0x0054 |
|---|
| .. | .. |
|---|
| 29 | 30 | val = FRC_OUT_MODE_RGB666 | FRC_DITHER_DISABLE; |
|---|
| 30 | 31 | break; |
|---|
| 31 | 32 | case MEDIA_BUS_FMT_RGB666_1X24_CPADHI: |
|---|
| 32 | | - case MEDIA_BUS_FMT_RGB666_1X7X3_JEIDA: |
|---|
| 33 | 33 | val = FRC_OUT_MODE_RGB888 | FRC_DITHER_ENABLE; |
|---|
| 34 | 34 | break; |
|---|
| 35 | 35 | case MEDIA_BUS_FMT_RGB888_1X24: |
|---|
| .. | .. |
|---|
| 49 | 49 | regmap_write(rk618->regmap, RK618_FRC_REG, FRC_DCLK_INV); |
|---|
| 50 | 50 | } |
|---|
| 51 | 51 | EXPORT_SYMBOL_GPL(rk618_frc_dclk_invert); |
|---|
| 52 | + |
|---|
| 53 | +MODULE_LICENSE("GPL"); |
|---|