From patchwork Thu Jan 19 17:08:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13108391 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 5AA25C46467 for ; Thu, 19 Jan 2023 17:10:42 +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:Cc:To:Message-Id:Date:From:MIME-Version :Subject: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=Rkv0MKP7VFQEhgbN/4bNo/OQsgpXPymfd/36pN+LKJY=; b=eS2p/2cpjDMGG9 UpE71rW+kIq5FSBMr2NUvM44ULdU2SfE8e4iecSu+HN3LhBRTrO2XWopFaA9CCVTKCL+KgynB6KWJ Gu2caWHFMEri0NDFEwSnrK0EEuQOlKaBqzXHFNfjl2qr7UEj/vxjf3pDWXXF19birl2U1l5F1zt0d iAdhYEPAPBziTl6O4m8cACtFngwmNS2N+7g5ndJYsZHZiSdo9ykXyexOUnvAksBxqF6P7hiVlJkev w46ls/kLhJYDhkAiwHkz1eu45qR3SFyo4cc8q84v3wDos3iaYjWkfTDAUf6wfBsvCGd+KxKY4SXVa feEuzpRuBryup1wk2hfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIYPm-006AnM-OW; Thu, 19 Jan 2023 17:09:26 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIYPZ-006Agj-GI for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 17:09:17 +0000 Received: by mail-wr1-x42b.google.com with SMTP id bk16so2498924wrb.11 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=XHA2vQ5M9NxCUjjzp9Z6IaiSOtTYhtEufnzoAiV7n2sNXt95RzsRCZ3G48bdmp3kAb C5Xg7vraMDBJ7trgd7q5+diW1U9eMYfNXecrLfKn97qfdR6GIjhuV9NQLxYfGZ5bFwx5 Bkv7tcb23hutX6RPYrz152uFm4FCPcuRkqqYbMhIRwu5Qaz0Dd1cPX3ZjbEAgjU7HuyL g9Kc8Zfkf2Tf63FpN/6FztG8IE1YkasVnWxScbjnhyGJMaLmcfAWkXPxsKjdzGBp33WI foV6TKCruXgJKnEfHtcZ9QoQBNw3cAAfb4uGWmvjR3GdrFfJFuhFXZWWSOfnY1/SHqiC k+PA== X-Gm-Message-State: AFqh2krtkOV8FZWYiFjbRYPlpWI9EBTRusr1PztWArQ6YW6JMQv+oTRA ITvjlAikclKlIWPDbpOF73ZiYw== X-Google-Smtp-Source: AMrXdXtmxB/DZgDBvvy0PG75kWe13EWUcihaGybiFw5w7rS6iLxglHnbI5UcR+qv4uVzp1j3cL4LNQ== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230119_090913_600376_D9A974DC X-CRM114-Status: GOOD ( 14.53 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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,