From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 17F93C6FA89 for ; Thu, 15 Sep 2022 16:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mHMWF1h44hfNiFLSi14JEwtKokgMhepy68x4casuw9Q=; b=GtngOST01RGrsL f+xd+tgvZlPrlnmvY8+YSQJbH+0NIEqbMrNneWD6e0MDG8B1ng/T7kCqee0M4Sxd/j3sDPpfgjRrc y5REAyHJAAP/kbUL8HKcvVHw4g6nnoDBSZcidMgb10AYA0ANgfNr2uqmjl7vz6VDM3q6Hq6bWHnEe HF3uSgMlW4d+ZwnyKBT/LxVYaGLB0Yj7lqRnb969D2QQl9ujU2FetDEnOGL2fDgAmIv+ky740PpKk boUuP+8VvTm+qK2zzFp5ugKG07jX4XvG7BVRLXuRj5BoY6m6aUx/qeJoEIffQGLk9pihsL1Tdy2AL /v39WBwaAxnGDI8KFDtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYruO-00DbQF-2Y; Thu, 15 Sep 2022 16:40:12 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYruK-00DbOl-QB for linux-arm-kernel@lists.infradead.org; Thu, 15 Sep 2022 16:40:10 +0000 Received: by mail-pj1-x102d.google.com with SMTP id q62-20020a17090a17c400b00202a3497516so15637703pja.1 for ; Thu, 15 Sep 2022 09:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=VUS1GEjzoCd9kVvhob+PLFP+IJa0hgQdSUQAFkA6KaI=; b=XKxfRwUPhPLapBK4yPuuUoUobIDtLPZO3BDVexaaU9jPj4YWN7PBmwztet4vSbXACm 2k/1tZdSmydmkcvLNGTJf55PMOrR3VJl/49Az9scItwG8spg9g3zq60W+IGUFfPFtxHx X/xz5QjOrCL80QWstHumTpV5OYd0D8K2Ykeq1/+CTHK2nednwnOD3jbmErUIOXdiQApP u0YPKX0v1XywzwkGevUb8B+0KJP5qUPhlc5XXkEzL2NM1fxXSEcVeFsD9uxE9rU/F5fW qwr90aFRyrpDR7Vmgn1uqvdxeFVvIphV8AxfndSHsDTwLSlJ75l+ybAW/K1gKQor+FGs JaRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=VUS1GEjzoCd9kVvhob+PLFP+IJa0hgQdSUQAFkA6KaI=; b=bCkWeunBcQCecOQfTp9FUuqgaex9wCI6RtXB6dnrN7RafV4PFrpobnP2XqEAi/EwAP pfsPmlgCQQoEnMtwRXs+rNOdif1KCxeoOhM0dFwLiuQEWlAkhsasonnbV8+rVIpnrhlQ FG2inDp+GbzwohYbmFuhZ+Sr9R4zHoVQ4iWqG1FotpBSDjY8kvYhn3VNL5jiCB7jYdQX AUo2yUDktwdaBRoZkzHFkApr/UnCqKur6F741Jiintxod5g8cr5ZJjN2THtdLzIbkzRl c2mIIGPt/i1Fp4C4ZKdzYNf77qGGIPr0NUFv8h4g5TU9067T4tyICIq8/jEDfQ1qGK5d eHXQ== X-Gm-Message-State: ACrzQf1mKcMKg6BUpBoQ9CY7Lkiu9jaKCvCyv7mKhbpMdVHyPu6KZyIU rIVXzqs1YYYyWkRjY/hRFp3ILw== X-Google-Smtp-Source: AMsMyM4kvJ3vL7FeOaqqnVAtuUYgFaL7tV9uQY25zs+tqTsTiQvJiPYmm59R3Kkz1lzBuUrWduI9wg== X-Received: by 2002:a17:902:edc3:b0:172:8ae3:9778 with SMTP id q3-20020a170902edc300b001728ae39778mr434868plk.72.1663260006999; Thu, 15 Sep 2022 09:40:06 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:f820:a732:fc7f:74df]) by smtp.gmail.com with ESMTPSA id x21-20020aa78f15000000b00540f3ac5fb8sm12841652pfr.69.2022.09.15.09.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 09:40:06 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Kever Yang Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Jagan Teki , linux-i2c@vger.kernel.org, Wolfram Sang , David Wu Subject: [PATCH v5 1/6] i2c: rk3x: Add rv1126 support Date: Thu, 15 Sep 2022 22:09:42 +0530 Message-Id: <20220915163947.1922183-2-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220915163947.1922183-1-jagan@edgeble.ai> References: <20220915163947.1922183-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220915_094008_871286_71A34B22 X-CRM114-Status: GOOD ( 13.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add i2c support for Rockchip RV1126 SoC. Cc: linux-i2c@vger.kernel.org Cc: Wolfram Sang Reviewed-by: Heiko Stuebner Signed-off-by: David Wu Signed-off-by: Jagan Teki --- 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel