* [PATCH v5 1/6] i2c: rk3x: Add rv1126 support
[not found] <20220915163947.1922183-1-jagan@edgeble.ai>
@ 2022-09-15 16:39 ` Jagan Teki
2022-09-16 19:29 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Jagan Teki @ 2022-09-15 16:39 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Kever Yang
Cc: linux-arm-kernel, linux-rockchip, devicetree, Jagan Teki,
linux-i2c, Wolfram Sang, David Wu
Add i2c support for Rockchip RV1126 SoC.
Cc: linux-i2c@vger.kernel.org
Cc: Wolfram Sang <wsa@kernel.org>
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>
---
Changes for v5:
- collect Rob r-b
- Cced Wolfram
Changes for v4:
- new patch
drivers/i2c/busses/i2c-rk3x.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c
index 2e98e7793bba..d1658ed76562 100644
--- a/drivers/i2c/busses/i2c-rk3x.c
+++ b/drivers/i2c/busses/i2c-rk3x.c
@@ -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
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v5 1/6] i2c: rk3x: Add rv1126 support
2022-09-15 16:39 ` [PATCH v5 1/6] i2c: rk3x: Add rv1126 support Jagan Teki
@ 2022-09-16 19:29 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2022-09-16 19:29 UTC (permalink / raw)
To: Jagan Teki
Cc: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Kever Yang,
linux-arm-kernel, linux-rockchip, devicetree, linux-i2c, David Wu
[-- Attachment #1: Type: text/plain, Size: 363 bytes --]
On Thu, Sep 15, 2022 at 10:09:42PM +0530, Jagan Teki wrote:
> Add i2c support for Rockchip RV1126 SoC.
>
> Cc: linux-i2c@vger.kernel.org
> Cc: Wolfram Sang <wsa@kernel.org>
> 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>
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-16 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20220915163947.1922183-1-jagan@edgeble.ai>
2022-09-15 16:39 ` [PATCH v5 1/6] i2c: rk3x: Add rv1126 support Jagan Teki
2022-09-16 19:29 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox