mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
i2c: rk3x: Add rv1126 support
Add i2c support for Rockchip RV1126 SoC. Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: David Wu <david.wu@rock-chips.com> Signed-off-by: Jagan Teki <jagan@edgeble.ai> Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
parent
a060848b98
commit
859d64685d
1 changed files with 9 additions and 0 deletions
|
@ -1165,6 +1165,11 @@ static const struct rk3x_i2c_soc_data rv1108_soc_data = {
|
|||
.calc_timings = rk3x_i2c_v1_calc_timings,
|
||||
};
|
||||
|
||||
static const struct rk3x_i2c_soc_data rv1126_soc_data = {
|
||||
.grf_offset = 0x118,
|
||||
.calc_timings = rk3x_i2c_v1_calc_timings,
|
||||
};
|
||||
|
||||
static const struct rk3x_i2c_soc_data rk3066_soc_data = {
|
||||
.grf_offset = 0x154,
|
||||
.calc_timings = rk3x_i2c_v0_calc_timings,
|
||||
|
@ -1195,6 +1200,10 @@ static const struct of_device_id rk3x_i2c_match[] = {
|
|||
.compatible = "rockchip,rv1108-i2c",
|
||||
.data = &rv1108_soc_data
|
||||
},
|
||||
{
|
||||
.compatible = "rockchip,rv1126-i2c",
|
||||
.data = &rv1126_soc_data
|
||||
},
|
||||
{
|
||||
.compatible = "rockchip,rk3066-i2c",
|
||||
.data = &rk3066_soc_data
|
||||
|
|
Loading…
Reference in a new issue