From patchwork Thu Apr 17 12:01:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Zi X-Patchwork-Id: 14055408 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 02B0FC369B2 for ; Thu, 17 Apr 2025 12:07:49 +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: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:In-Reply-To:References: List-Owner; bh=/AwMTgpxmkasYqyEj6WLyV2o/Y0gZ2K88+kP/BSv0As=; b=OAVKTeOSMQuxdK ChG5cExAAGp6diZGDgYlGNXXmJDuOhTEt/YPJ4Bpk0oLTDrU+iIhcFzMODpwze3ORyz5UpJxCZnkh NCUQCe4aZzy5XPz/ABTxYlDEwXuYTQP1Rzty5pUoSEt0tWfa3PLIJb/EbGUCNa/urE7L84m2gYcNt rp0pDABtjR6+PispJ3ZbwRQC36fixh0AL01dUKP42ZMgDKBVVWuCRoNa4w9NEB6NjG1bLtZIHXzOG somJYfFJ90SL6bfeVdTe1/I0gbccmZ4HsUWp+suVmA2+KMCBZyqxSCd7KhcsPB/bYNvbjgH97ucKn aMnoCEpY2PK7VjCctH/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u5O1x-0000000Cscz-1t6Q; Thu, 17 Apr 2025 12:07:45 +0000 Received: from layka.disroot.org ([178.21.23.139]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u5NwQ-0000000Cr9T-1fTA; Thu, 17 Apr 2025 12:02:04 +0000 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AF6E525DAF; Thu, 17 Apr 2025 14:01:57 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id EJdCT95lv0-O; Thu, 17 Apr 2025 14:01:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1744891317; bh=OxekrltX8CslSDgfz+SNyaS8erECtuzT/O/V5NUoSbI=; h=From:To:Cc:Subject:Date; b=Yrmpd6bJSHrgWNqB+FyfnUELsF4p2/rXvXK6N8qn+KciOlI5uiWr9fm0ZC5uSdnh6 ogEUvBijRoSp5lnWxI6SvbIUA/iKRRQCvk5XOLcVW+qg1eKbnmugrIK/lve7LBF/bm 1LGs9PgOYJd6dr78bUdA+YmoK/Ma+cLnoeRp3OMgwgJW5yFfqjE3cTR6iUO609nyfD Ae3qYTPsTycEpjlnKUIsLM7ntKVWgGgPApSJpvWcURc+wdNMDLW9gC1Mc6UULMhYd+ Pvt7dcBG3fx9WDbav5YQ38QSAWu3yS2L4jjPKXnYr9HGyu0YlRN67iXEbOtoPFgN5b w5ekjQJbwyc7Q== From: Yao Zi To: Heiko Stuebner , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonas Karlman , Yao Zi , Chukun Pan Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] Support I2C controllers in RK3528 Date: Thu, 17 Apr 2025 12:01:16 +0000 Message-ID: <20250417120118.17610-3-ziyao@disroot.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250417_050202_838753_89FB139E X-CRM114-Status: UNSURE ( 7.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org RK3528 integrates eight I2C controllers which are compatible with the RK3399 variant of i2c-rk3x. This series documents the controllers in dt-bindings, describe them in SoC devicetree and enable the onboard EEPROM of Radxa E20C which is connected to I2C-2. Changed from v1 - rebase on top of linux-rockchip/for-next - dt-binding: collect review tags - SoC devicetree - sort i2c and gpio in /aliases - provide default pinctrl for controllers with only one set of possible pins - Radxa E20C devicetree: mark eeprom as read-only Yao Zi (3): dt-bindings: i2c: i2c-rk3x: Add compatible string for RK3528 arm64: dts: rockchip: Add I2C controllers for RK3528 arm64: dts: rockchip: Add onboard EEPROM for Radxa E20C .../devicetree/bindings/i2c/i2c-rk3x.yaml | 1 + .../boot/dts/rockchip/rk3528-radxa-e20c.dts | 14 +++ arch/arm64/boot/dts/rockchip/rk3528.dtsi | 110 ++++++++++++++++++ 3 files changed, 125 insertions(+)