Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2596pxb; Tue, 24 Aug 2021 18:15:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHEQ1TDrYeTQI0Jd9GRacqjs07WuKoha/DBG+r4zLJIrf5E1k1Y1H68W9EmRnTRxLlmrr7 X-Received: by 2002:a6b:8b4b:: with SMTP id n72mr32838284iod.18.1629854128124; Tue, 24 Aug 2021 18:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629854128; cv=none; d=google.com; s=arc-20160816; b=opjrCoQTViKyhc/GFhBx9D+cgrdBvv2XoA6UtQrLE/wlQfb5BZJhGRVI4W2KnJFBNk B3/Ky6kVh4g6IJPbuGFp10LCXMFsT6Z+xptb8HfgYDddYovRl+9evobWqvF9/apWfi0F 7PpGMXLnmBw4IpGzBg+VL/IY0+VYzwF1D2np54fRifTyFy6R8eSDVlBt1MvoWh4kUmzK SiwVvNCqpm7Sbp9AjrxBwUiBE7dLYG8iWiINF/N5/jkfviICCwQ61lXH44ObWUWiWtJM Pr8KchCf2yZFjO2J6rRugEX7FOByybhciUl2VWwvspj01k7+WX9kbtUGgQ464S3mWVQQ irfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=M01Ke449NPEpwUkokheFwUP7nyJ2rkhwwpKxtCBDvA8=; b=xwCS8rvdpZ8C4V038H605NTMM2hrvT3gcG64UoB2RtphoxicABZKFfx8zjoO4rYtjo OWUVYvet7enNmLOjw37wkr3M5DqLg9LKD6+7PXStsyn8wa7dAKX+l+nZug/d/iwYTqWx F2NZEMnmCc1k4X5kueN4eeyXefZuOrrVmuCyjJJsF4i16xud8nhNR6tDjuR7Nom8fO7i qj32VZY7AaExP71eihh8+apLu4vpagDxxthqtuDjMSAp0hh+xHIx9z8ko5wXd5RLH0mz AiG9wKUc1b2QC9RhjmI0bY3WTOMReb5sazRLfdvqBGYM+iDR23OQ6w7g/LKHEmKXSPzd 2VWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p35si19032374jal.123.2021.08.24.18.15.16; Tue, 24 Aug 2021 18:15:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237218AbhHYBMr (ORCPT + 99 others); Tue, 24 Aug 2021 21:12:47 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:54518 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S237165AbhHYBMo (ORCPT ); Tue, 24 Aug 2021 21:12:44 -0400 X-UUID: 80c691fd9bf84cbf81f10f7d12309179-20210825 X-UUID: 80c691fd9bf84cbf81f10f7d12309179-20210825 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 557206151; Wed, 25 Aug 2021 09:11:55 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 25 Aug 2021 09:11:54 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 25 Aug 2021 09:11:53 +0800 From: Chun-Jie Chen To: Matthias Brugger , Rob Herring , Nicolas Boichat CC: , , , , , , Chun-Jie Chen Subject: [v1 5/5] arm64: dts: mediatek: Correct I2C clock of MT8192 Date: Wed, 25 Aug 2021 09:11:20 +0800 Message-ID: <20210825011120.30481-6-chun-jie.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210825011120.30481-1-chun-jie.chen@mediatek.com> References: <20210825011120.30481-1-chun-jie.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org update i2c 0 ~ 9 clocks to the real ones. Signed-off-by: Chun-Jie Chen --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 30 ++++++++++++++++-------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index db6f4c6dc404..866b04e78690 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -484,7 +484,8 @@ reg = <0 0x11cb0000 0 0x1000>, <0 0x10217300 0 0x80>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_e CLK_IMP_IIC_WRAP_E_I2C3>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -503,7 +504,8 @@ reg = <0 0x11d00000 0 0x1000>, <0 0x10217600 0 0x180>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C7>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -516,7 +518,8 @@ reg = <0 0x11d01000 0 0x1000>, <0 0x10217780 0 0x180>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C8>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -529,7 +532,8 @@ reg = <0 0x11d02000 0 0x1000>, <0 0x10217900 0 0x180>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_s CLK_IMP_IIC_WRAP_S_I2C9>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -548,7 +552,8 @@ reg = <0 0x11d20000 0 0x1000>, <0 0x10217100 0 0x80>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_ws CLK_IMP_IIC_WRAP_WS_I2C1>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -561,7 +566,8 @@ reg = <0 0x11d21000 0 0x1000>, <0 0x10217180 0 0x180>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_ws CLK_IMP_IIC_WRAP_WS_I2C2>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -574,7 +580,8 @@ reg = <0 0x11d22000 0 0x1000>, <0 0x10217380 0 0x180>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_ws CLK_IMP_IIC_WRAP_WS_I2C4>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -593,7 +600,8 @@ reg = <0 0x11e00000 0 0x1000>, <0 0x10217500 0 0x80>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_w CLK_IMP_IIC_WRAP_W_I2C5>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -612,7 +620,8 @@ reg = <0 0x11f00000 0 0x1000>, <0 0x10217080 0 0x80>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_n CLK_IMP_IIC_WRAP_N_I2C0>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; @@ -625,7 +634,8 @@ reg = <0 0x11f01000 0 0x1000>, <0 0x10217580 0 0x80>; interrupts = ; - clocks = <&clk26m>, <&clk26m>; + clocks = <&imp_iic_wrap_n CLK_IMP_IIC_WRAP_N_I2C6>, + <&infracfg CLK_INFRA_AP_DMA>; clock-names = "main", "dma"; clock-div = <1>; #address-cells = <1>; -- 2.18.0