From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86EBC1C3BF0 for ; Wed, 4 Dec 2024 19:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733339243; cv=none; b=Kq5AbZ+gVYOBIM+wgPoBq1gkg3Uv9vu/TiD6Qe8RgmShhxXdxdRKQeoEZAcMOIqr+gtY7Jig0Piw+ATQO5t8JpqGdQb9KE5XgLqb8MRuCkG4VZ1TrNByBni82gBh9EQXl2sU5g5QCM0MqqPsWyAaXS5mBKB6JKSKtboDyD1NT3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733339243; c=relaxed/simple; bh=rlvsPYvMuuO+yh8u6W1LLbQ5Kmu0HQLaTb7FKwXjaN0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hwbIcPvBq9BQOAQZZSSukxMTtTaHnMsQlVbAv+HzHrBQOc9JQ8z0X77rrUpWAUorOCGx+WWzXT5+/PLyXsmmBMUmARXx9O1V9UMd8/cCcvlHWPBOJQTOokuRc3INz9Slqbv3v5mGdsUSfKZRm6BYU1Ik29s1wl9r1/4JGylABzc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool; spf=pass smtp.mailfrom=packett.cool; dkim=pass (2048-bit key) header.d=packett.cool header.i=@packett.cool header.b=e/E8DLzA; arc=none smtp.client-ip=95.215.58.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=packett.cool Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=packett.cool header.i=@packett.cool header.b="e/E8DLzA" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=packett.cool; s=key1; t=1733339239; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7syezLnHgQEmyiZ2xWt2zSNSPIsQXatABp2R5u/j1U4=; b=e/E8DLzAm7Qnw12OKCU2NFzO2uIgrx4gRTmW6/I/sD470FV3ntt/MLIa9gerxUH6OAGwCY nCuvFVaekBD/0g6GKEm8SP6fT+x2rCESeKm+tpnwUcgEbv2ZG4r2fj52Q2K/C04tJgiLFk IDW0I6H8dXE1OdJ0iC2+Y6TRLgNvF+6V4oPkHa5mGfPu/VfmGugJP5nuOzLVGcc2VLxlP3 XwoO8KA4cXH3slLhoJAvlQkgyojn9aeHsIWnNhxKxj4OdtgQFlDBwN+XDra9YtwCZ6ItgG lKauIIg7RWwARbgZFDdvilu+hADxPJGpSQRh3NaWHxg9t6cYLem19+OmMYcTtA== From: Val Packett To: Cc: Val Packett , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Fabien Parent , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 3/5] arm64: dts: mediatek: mt8516: add i2c clock-div property Date: Wed, 4 Dec 2024 16:05:06 -0300 Message-ID: <20241204190524.21862-4-val@packett.cool> In-Reply-To: <20241204190524.21862-1-val@packett.cool> References: <20241204190524.21862-1-val@packett.cool> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Move the clock-div property from the pumpkin board dtsi to the SoC's since it belongs to the SoC itself and is required on other devices. Fixes: 5236347bde42 ("arm64: dts: mediatek: add dtsi for MT8516") Signed-off-by: Val Packett --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 3 +++ arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi index 098c32ebf678..dd17d8a88c19 100644 --- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi @@ -344,6 +344,7 @@ i2c0: i2c@11009000 { reg = <0 0x11009000 0 0x90>, <0 0x11000180 0 0x80>; interrupts = ; + clock-div = <2>; clocks = <&topckgen CLK_TOP_I2C0>, <&topckgen CLK_TOP_APDMA>; clock-names = "main", "dma"; @@ -358,6 +359,7 @@ i2c1: i2c@1100a000 { reg = <0 0x1100a000 0 0x90>, <0 0x11000200 0 0x80>; interrupts = ; + clock-div = <2>; clocks = <&topckgen CLK_TOP_I2C1>, <&topckgen CLK_TOP_APDMA>; clock-names = "main", "dma"; @@ -372,6 +374,7 @@ i2c2: i2c@1100b000 { reg = <0 0x1100b000 0 0x90>, <0 0x11000280 0 0x80>; interrupts = ; + clock-div = <2>; clocks = <&topckgen CLK_TOP_I2C2>, <&topckgen CLK_TOP_APDMA>; clock-names = "main", "dma"; diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi index ec8dfb3d1c6d..a356db5fcc5f 100644 --- a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi +++ b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi @@ -47,7 +47,6 @@ key-volume-down { }; &i2c0 { - clock-div = <2>; pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>; status = "okay"; @@ -156,7 +155,6 @@ cam-pwdn-hog { }; &i2c2 { - clock-div = <2>; pinctrl-names = "default"; pinctrl-0 = <&i2c2_pins_a>; status = "okay"; -- 2.47.1