Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp55928rwl; Thu, 6 Apr 2023 14:42:09 -0700 (PDT) X-Google-Smtp-Source: AKy350ZXJW1+OeTOY+0ymnxFNkIrYneHVHKwJzwzuRbW8E9Kpf6E6KbZg0Wz+MXAVVNsAnL1oeCF X-Received: by 2002:a05:6a20:3b9e:b0:d5:9da4:6db7 with SMTP id b30-20020a056a203b9e00b000d59da46db7mr884298pzh.7.1680817329104; Thu, 06 Apr 2023 14:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680817329; cv=none; d=google.com; s=arc-20160816; b=GZjNey/Mn0SaulACmMCNbl91L2fWlyuJrLN1K+DTCMn45tekEZ/BhGSMYLh3R6020p FlpQHfvc4/DbqDG/TKnBvLHOrjPjs35pd7Zc3VzOu5WalRG0/Znuxm0O6xDqjKUbRyFE YWHZoqS2OE1fbIkZ7S6A2+4cFkIk812OZ9C44QduQYzVXvzFAVZR/7ayygqSbYKJblGv EhEDXKcsVte1Sp4NTQeClfyDT3hZCsS5Mu9zIYV72CEo9tSYOF1Oc2KgWuDqqDtRgn5v zwTiBYzQExXWZg0ntyKnpsY6D3XYFD4GOw+wgMsccp66tVKzMmSPPeLswasRnlsx2klt saPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date; bh=b/w+58CgMgPxwzEz1wDCtqfEVfdVjCsV9YvLiQe/kQc=; b=Nq+ansskc6d41EWHQEuXKJu6/ZK81ULTLy/PGcbEBjBaiNH1rSU1TK8JqtKCUG+O5I Ihud5xBwU46+9r9e5m9TmAJb7vKGMPEi8rHYjEm2yINvJTRtphgcjREejCCkJmT59WIt wY6xgbgcB1sUU/jev7F0mG3H7UKlITDfZ2NzoSSwU1XPpoZWGYT4ipaPusJDE3NxR5Wn 1O8D9MJd1oWTdgy+oasXpmjj09V4GlSz2KuL+0DBb8lkdd4un8m15Iug+VR/Oy9JgTVl ZrckHtCO4Q5YVmSTvp7XaeaK38v6YI8JXYWa8anlNPGT9LdWjrcLYzK5dDGnPHKoEc9Z 3dzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e16-20020aa798d0000000b005a8851e7559si2197052pfm.256.2023.04.06.14.41.57; Thu, 06 Apr 2023 14:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237761AbjDFVld (ORCPT + 99 others); Thu, 6 Apr 2023 17:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230348AbjDFVlc (ORCPT ); Thu, 6 Apr 2023 17:41:32 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC69F83DC; Thu, 6 Apr 2023 14:41:29 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1pkXMB-0004rF-36; Thu, 06 Apr 2023 23:41:24 +0200 Date: Thu, 6 Apr 2023 22:41:18 +0100 From: Daniel Golle To: linux-i2c@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Qii Wang , Rob Herring , Krzysztof Kozlowski , AngeloGioacchino Del Regno , Matthias Brugger , Sam Shih Subject: [PATCH 0/2] i2c: i2c-mt65xx: add support for MT7981 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the I2C units found in the MediaTek MT7981 and MT7988 SoCs. Just like other recent MediaTek I2C units that also uses v3 register offsets (which differ from v2 only by OFFSET_SLAVE_ADDR being 0x94 instead of 0x4). Corresponding patch in MediaTek's SDK: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/472dc5cf11d4359cb3e3f80577dba22df0696e43/target/linux/mediatek/patches-5.4/0901-i2c-busses-add-mt7981-support.patch Changes since v1: * add missing commit description * add link to patch in MediaTek's SDK to cover letter Daniel Golle (2): i2c: mediatek: add support for MT7981 SoC dt-bindings: i2c: i2c-mt65xx: add binding for MT7981 SoC .../devicetree/bindings/i2c/i2c-mt65xx.yaml | 1 + drivers/i2c/busses/i2c-mt65xx.c | 13 +++++++++++++ 2 files changed, 14 insertions(+) base-commit: e134c93f788fb93fd6a3ec3af9af850a2048c7e6 -- 2.40.0