diff options
author | Wyon Bi <bivvy.bi@rock-chips.com> | 2017-07-09 10:01:18 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2017-12-21 10:29:40 +0800 |
commit | 2ef4ee93f4f2fffba7e7e11a0f4f0c212a4f5bc1 (patch) | |
tree | 8a81885baa1c6cbc1c5498fec6edccd9e2750adb /include | |
parent | 46cf38cc9de7865cf995733342a40541c7cccaef (diff) |
mfd: Add support for rk618
RK618 is a partner chip for Rockchip mobile application processor.
RK618 includes two RGB display input interface with double data rate.
With the internal MUX function, it can output 1080P HDMI signal to
TV and output RGB/LVDS/MIPI signal to TFT panel. In this case, RK618
can support dual panel (TV and TFT) display.
RK618 includes a audio codec, which with two I2S/PCM interface, two
differential microphone input and audio processing function.
Change-Id: Id18c251cbe1613de98e84c2b022826f85b3dd82b
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/rk618.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/linux/mfd/rk618.h b/include/linux/mfd/rk618.h new file mode 100644 index 000000000000..6e6acd989777 --- /dev/null +++ b/include/linux/mfd/rk618.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2017 Rockchip Electronics Co. Ltd. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __RK618_H__ +#define __RK618_H__ + +#include <linux/clk.h> +#include <linux/delay.h> +#include <linux/regmap.h> + +struct rk618 { + struct device *dev; + struct i2c_client *client; + struct clk *clkin; + struct regmap *regmap; + + struct regulator *supply; + struct gpio_desc *enable_gpio; + struct gpio_desc *reset_gpio; /* power on reset */ +}; + +#endif |