From patchwork Fri Oct 20 07:55:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 155864 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp893855vqb; Fri, 20 Oct 2023 00:58:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3JPw2yvnJ9iYVcjB/yPminMLYSN+KZtjuS5y0wqAoJ92MlapWbAi05yUT7WVKO/Za/eqZ X-Received: by 2002:a17:902:d48f:b0:1c9:dff6:58e8 with SMTP id c15-20020a170902d48f00b001c9dff658e8mr952293plg.54.1697788703991; Fri, 20 Oct 2023 00:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697788703; cv=none; d=google.com; s=arc-20160816; b=bMmDYogk5HbAPhTo1tXd6iDiygQNse37Sk70kGtsgMhfDW0GbPJ0yGxbm7II7jnf8w aV5CRBvFS+FPznbGsZZUsVsczCi1JAgeW4apoicfQU0bFGzdvMOJ9RrsDkEjb6Yfkxsm VnEHcc3UyJ9bK8XU9wCtsGwL+7Jn0R8IKgszAWqoGh0EkNMgrDnv1OYis+a5Ezic6YFC EIHJKPAzVUfwV3gt7hXdJo3x2OAcJD86NYf96BCpPRdQWIwBMOO0nI8ibcYeR24r4zqx MKrx4i31qgqEPh/79YgMSGI4pTikwjVDkzwGbTFpIw7LecqC+8ZjCgwarJyVyq3GiBQk EYXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FC+Pe6jRUQuMv/IixlI11Q9iQ/GfWBLGmCmWfngyZ+E=; fh=SHLIxyABHj4CTsjcLi8QAoxGLe4HPTNHL7R+KyWFOZA=; b=HbWVBRUT3/wOXj4TMEbb7CKPZGRhqDOsh9f1Bzz2ReNvzNa2KYMEbIOTu7n6ArKMFy beegUiEp9+nrXmYDelDJDIkwdgDVM3gq42sTTIPsryGBiv5VtkhkeyCwKE+1PdgKxE5o JMsasPxWxOorn9g8RmiaV7Bd7kboymvSVwMGVB7K3REpBSSYNafXEr7PWesiFTD3LpmV k0H7lDewiidUpjC9KdGFsPkL5mO1vOGIBzhOvWBext25R4C8P4Eu2u3238y30AojrKs/ GH14or1lJSubiNTFoXlwTQGIZ8esJDZfArCt7U6Tl+Rmwy0g5b+8VSpyHyTwh0LwvxrK LDUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DaE1iuAO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id bj11-20020a170902850b00b001c9de48fc7asi1286570plb.170.2023.10.20.00.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 00:58:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DaE1iuAO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 16F8380A9E1B; Fri, 20 Oct 2023 00:56:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376417AbjJTHzy (ORCPT + 25 others); Fri, 20 Oct 2023 03:55:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230371AbjJTHzx (ORCPT ); Fri, 20 Oct 2023 03:55:53 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE3CBE8; Fri, 20 Oct 2023 00:55:51 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id AABB2660734F; Fri, 20 Oct 2023 08:55:49 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697788550; bh=0c2z7sk1bqZ1kYpcBZ8rifCI5ElDpfSDLTU9DxlgN9A=; h=From:To:Cc:Subject:Date:From; b=DaE1iuAOfw41MEP9QbDlwfaur5zRugIhl6yLcjWN9IRb3VkOYDiI6NVilalU9E/zS Nrp9t9+edMN+7piU+KVpE9FGe6FmTQWPJjWev5l0G/vnEJ7+PxUjOMLJycl0Sueqmb GL2j3nRBsqUC9soCI2KT5vumxLlNkE6Bhz8inT9c7j7J+ijydVix0PtwLQHg653fxx 9gFd0V929+J30P+k4fbpC9PFw0J5LPAwp+nsPfYRVzXhqHGhLTUbdpDsEVeuL3q9Q3 ImFZvPHi3QwzFiNzjRWGNAO77lsm7kGJnjnJBnDHZuhZ9PBLK6L7IwBoB1ZJt6IVM+ mYkWHxdIJwLZw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, allen-kh.cheng@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, wenst@chromium.org, kernel@collabora.com, AngeloGioacchino Del Regno Subject: [PATCH] arm64: dts: mediatek: mt8186: Add I2C arbiter clocks to i2c 1/2/5 Date: Fri, 20 Oct 2023 09:55:40 +0200 Message-ID: <20231020075540.15191-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 20 Oct 2023 00:56:17 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780260488146697458 X-GMAIL-MSGID: 1780260488146697458 The I2C busses 1, 2 and 5 have got a separated arbiter clock: add it to their respective nodes. Fixes: 2e78620b1350 ("arm64: dts: Add MediaTek MT8186 dts and evaluation board and Makefile") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index f04ae70c470a..af6f6687de35 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -1224,8 +1224,9 @@ i2c1: i2c@11008000 { <0 0x10200200 0 0x100>; interrupts = ; clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C1>, - <&infracfg_ao CLK_INFRA_AO_AP_DMA>; - clock-names = "main", "dma"; + <&infracfg_ao CLK_INFRA_AO_AP_DMA>, + <&infracfg_ao CLK_INFRA_AO_I2C1_ARBITER>; + clock-names = "main", "dma", "arb"; clock-div = <1>; #address-cells = <1>; #size-cells = <0>; @@ -1238,8 +1239,9 @@ i2c2: i2c@11009000 { <0 0x10200300 0 0x180>; interrupts = ; clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C2>, - <&infracfg_ao CLK_INFRA_AO_AP_DMA>; - clock-names = "main", "dma"; + <&infracfg_ao CLK_INFRA_AO_AP_DMA>, + <&infracfg_ao CLK_INFRA_AO_I2C2_ARBITER>; + clock-names = "main", "dma", "arb"; clock-div = <1>; #address-cells = <1>; #size-cells = <0>; @@ -1280,8 +1282,9 @@ i2c5: i2c@11016000 { <0 0x10200700 0 0x100>; interrupts = ; clocks = <&imp_iic_wrap CLK_IMP_IIC_WRAP_AP_CLOCK_I2C5>, - <&infracfg_ao CLK_INFRA_AO_AP_DMA>; - clock-names = "main", "dma"; + <&infracfg_ao CLK_INFRA_AO_AP_DMA>, + <&infracfg_ao CLK_INFRA_AO_I2C5_ARBITER>; + clock-names = "main", "dma", "arb"; clock-div = <1>; #address-cells = <1>; #size-cells = <0>;