Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1329848rwb; Thu, 19 Jan 2023 09:15:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXsoyTcS8AFZZgruUVQqKC1DH+7LpW5jLiDJMQTFYycXtetR3qbYraGukhW3zIw4FCQHH4AZ X-Received: by 2002:a17:906:154e:b0:7b9:62ab:dc3f with SMTP id c14-20020a170906154e00b007b962abdc3fmr14680725ejd.1.1674148518580; Thu, 19 Jan 2023 09:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674148518; cv=none; d=google.com; s=arc-20160816; b=yyRoAs0trhMCkgj1s+nhjRrifZY5o7RDC6mbAIFTqHgfOda/GI8U4iNS5F9QR7PK/4 Yn6HfI9ChvpDpBu1ClM2syeZaB38XCtdHZtEXOzybIEBXhvQBVIBAOFhUdWTW7tO0Avo GIOf6wJwMAlCB4Tr25xxuMGXGnzxExLAwyHPmOzRS6DtZfp/b1Jj5S2Uv5nXooIlI21x 3uS/fMalfyspV+8rx/hJmsxde2KeN1I319glRH6n0FEZG69niFfprntKJaBPaM9ULny4 7+UDiRtlo37No4TZDeAYnUEDOFcSzBpk2NaG1iLUyK2+R5GGT8M0SA8zC+0iVEfTBQp1 vpEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:date:from :content-transfer-encoding:mime-version:subject:dkim-signature; bh=QYT16gcL1o7KfqICaZiM4MdP56vwEo0O5K+aSDVlgX0=; b=hY4v2mLm7pt3vwsYV4hB9Mr5cJmegXRoHSmjBqs0JGqCQbtCtWLhjhs+e7lfJ/4r6x kQxp0HsBTaXQbjqe2D2sakpr+IWqhQ7G3yOGGAQmzUCUrOrw/6XAMlpIK397+78/LLl4 7EAYANNHKxX1E0b8tjVPQk7VmO+7ouBgDyPHzyRwJD65qPkQai6YlANMv95KXI/x779s W/6iMcdPlTx+878hhUkrBXK70wvWJGsZpuFG1uo3Ejum64r0l8PmVrrOEsjd08N1K3zH DIScyId3ZW3EB7xdcfZXjo6j1YesCbqMBq/LA9VwHZtQmHv/5w2A3VRZMgnqnd8WcfUf 3uOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=q0jxZIeM; 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 y19-20020aa7ccd3000000b0047039339346si41287301edt.550.2023.01.19.09.15.07; Thu, 19 Jan 2023 09:15:18 -0800 (PST) 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; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=q0jxZIeM; 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 S229845AbjASRJR (ORCPT + 45 others); Thu, 19 Jan 2023 12:09:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjASRJP (ORCPT ); Thu, 19 Jan 2023 12:09:15 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61C7B78565 for ; Thu, 19 Jan 2023 09:09:13 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id d2so2507727wrp.8 for ; Thu, 19 Jan 2023 09:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date:message-id:reply-to; bh=QYT16gcL1o7KfqICaZiM4MdP56vwEo0O5K+aSDVlgX0=; b=q0jxZIeMEuYrl332d1BulzETciq0OpwH+Re4+yehp2MyiQVJ6a5c+he/CByURVJ8Db ZEtRHFljUx/4/UKiVbzpFkP35ksXntqcmjMX5TgeTc3l/q4FQCAgboewOObGmV1aVxve vNYfVrwifiIluSJcp/BiPp3AZRC2+bRbKixA/R1yghM1+VADeKmzSk5TQGoQ3tC03oCH demGi1QoCyFQ+4palGdUhvaGyDkT2oNP4B7WyEcZRTCes+cW3bU8zcdpVhStFPI/ysY6 TSBj7Qtd8zOgRAg9+A3ZlhEl4rMOXcdcGFwwG3pJVg0hHWF8xzPaD9arwelQGPWfxCZd c/Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QYT16gcL1o7KfqICaZiM4MdP56vwEo0O5K+aSDVlgX0=; b=eWGmTj2pB4HbYbtyPipn8GveVpMSZBqSVRnpCI++DR+rCtCq5MYEcjbEpOxTX5epI5 SYkxA3ydvC3vzHcfDOL+wuiLniestsMZajnsCXHD6Vh4zrNLXXAWbgCtTZpZ/LjO/Z+P I2z8629ziZK9n1i13a4gxjLqGwWr2TIDlQP3Mr6754IvF2OZRiklVZzkuR9FWPh+0YIM JiGFMFtk2+FQgAXR6CRBLU1MXmgjuKXXiDUVfPZnBEPsBK6UHIpyVX+qZSrsv8Ezo3Jn qH6pOx6yqcUa41MogUWIJ4kyuRQC7socKiQ+AW+h1vMOGLzzd75ZMPiXIn6vCkCIxtDU 2V/w== X-Gm-Message-State: AFqh2kqvOsqphm6YEvBlmlYUKoCIt6hmzpMkGQT/b2Xi8fzMiDk4aByQ yjtMezf5E1uZYfh30vZO1laXYw== X-Received: by 2002:a5d:66c9:0:b0:2b9:d6ba:21ef with SMTP id k9-20020a5d66c9000000b002b9d6ba21efmr10148494wrw.65.1674148151949; Thu, 19 Jan 2023 09:09:11 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id bu9-20020a056000078900b002be1dcb6efbsm8738701wrb.9.2023.01.19.09.09.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 09:09:11 -0800 (PST) Subject: [PATCH v2 0/3] Add MediaTek MT8365 I2C support MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-b4-tracking: H4sIACN5yWMC/32NTQqDMBCFryKz7hQz9Y+ueo/SxSRO64Amkqgg4t0beoCuHt+D770DkkSVBPfigC ibJg0+A10KcAP7j6D2mYFKImOIcFq6W1OjksO0znOIC75dWXU9U2OEIYuWk6CN7N2QVb+OYy4HTUuI ++9oMzmefzc3gyVWLLZ1deWa1j4s76PaKFcXJnid5/kFSlZg9LwAAAA= From: Alexandre Mergnat Date: Thu, 19 Jan 2023 18:08:51 +0100 Message-Id: <20221122-mt8365-i2c-support-v2-0-e4c7c514e781@baylibre.com> To: Qii Wang , Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Mergnat , Fabien Parent , Rob Herring , linux-i2c@vger.kernel.org, AngeloGioacchino Del Regno , devicetree@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2020; i=amergnat@baylibre.com; h=from:subject:message-id; bh=iGMc/QCAlaYMz2Z3bGLpxd7Zyz4K9F42xqqJHO2BQ3Q=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBjyXk2/8y5TnbVYFX/xMqYnIJmbxIuKJug4yVZiqwY lTmE88OJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCY8l5NgAKCRArRkmdfjHURZflD/ 4+PCkdQHVP2guN6+Ux+98Nm2OddpqGxd5Atb7h81kYrlitQ1Y5BL0yrIP/Yf1AGFzYvdfXPI+t5xhT rGIXH0/R1vjh93k45tm+YXeJPKHxPv9Rx9INs18CF4UVmdGmhi6P2sFbC7GFv6wkzfEwhH8gDjveI/ OPUJfjdVhezJe6/yq77+2jJX/Ogk5z0PTeOZwhCyl/sx0qZNprz1Zk8TMktQs59iJEvsPvX9t1mGol sFLfI0wcjyTishtc0dkV/WC5ltirHnP0L2unm3aVmUUtil7vhTB89uEgG1IaqhPEtOKI0asrc5ayoY kLTsXzvKzloqUWj4jWhbREppev14Y2LgFKuLUvEnYdo20upsYSl3TGMGyOBe7almFlLnNrvJ+x2saa TT+1t1BOeVSUjGfz7bj7lSEM9W6famgNiKmyS3s+vJ5YT7R2pKvMr9088n1gATyAQZeOeFMq/ADNXN CQCWroEX3dNfAZg0mhZINS31AcmQ+QQ30O6rlTTrIeKxJqbnp8KnNN04yA2gzJF7og6WIO4TgCQzcp Uz9FfCgHW34PkHk5YG6YQhGxPJXRjDxZNAsSVOOIzhz48IxjZ5Kp04XgCh4tqtgltNadE4SL04GGt7 4ZEd6/fE5V/q+NrnVL7UYIWT6nFOmzZb+kw7KwfqTWCz0TjoQQ+4sPWuXXug== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hi, This patch series adds I2C support for MT8365-EVK board. The I2C-0 is enabled, it can be used through the board pin header, as described directly on the PCB. This series depends to another one which add support for MT8365 SoC and EVK board. Link [1] One patch has been cherry-picked from [2], so I've addressed the comment and kept the trailer. Regards, Alex [1]: https://lore.kernel.org/linux-mediatek/20230101220149.3035048-1-bero@baylibre.com/ [2]: https://lore.kernel.org/all/20220531135026.238475-2-fparent@baylibre.com/ To: Qii Wang To: Rob Herring To: Krzysztof Kozlowski To: Matthias Brugger Cc: linux-i2c@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: Fabien Parent Cc: Rob Herring Cc: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Changes in v2: - Drop the patch which do useless change in i2c-mt65xx.c driver. - Change 2 lines compatible/reg in oneline. - Link to v1: https://lore.kernel.org/r/20221122-mt8365-i2c-support-v1-0-4aeb7c54c67b@baylibre.com --- Alexandre Mergnat (2): arm64: dts: mediatek: add i2c support for mt8365 SoC arm64: dts: mediatek: enable i2c0 for mt8365-evk board Fabien Parent (1): dt-bindings: i2c: i2c-mt65xx: add binding for MT8365 SoC .../devicetree/bindings/i2c/i2c-mt65xx.yaml | 4 ++ arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 19 ++++++++ arch/arm64/boot/dts/mediatek/mt8365.dtsi | 52 ++++++++++++++++++++++ 3 files changed, 75 insertions(+) --- base-commit: 8b6cfcce3ce939db11166680a57253c39110f07e change-id: 20221122-mt8365-i2c-support-fc048da261ea Best regards, -- Alexandre Mergnat