From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) (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 3CA31446C02 for ; Tue, 21 Jul 2026 09:49:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784627400; cv=none; b=DxIbdqypvFu/NJoi8vTyIb9kZua5A8NgjMZ0MRPbC54xMmsCJwdok5KDa2LllFz7VQvb/ajTH7nqwJuX3J8ls3aEpgE+j+oaqZnC0PTwyAAwH/SGO6baeGIYIVY4QBggZronI6+jo0OEj6wmOOrui/zQKf4MoLuCftvOMVOoJJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784627400; c=relaxed/simple; bh=qkSmO+AW5LxoIXLT9GpKbrSpSAJky3A3GfHMGrIZGak=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pRXtgOt7CoItraYdDTQ7UE0fOj1UGH7yHaZTES+bXCVi6AjkliqBE2X0MKRr3NRIOWo3XiQ82YZ0TsyWPqC6+BlrTtbMihJA3wqe/6+8pmydJJy5TIYHPxEARkD+DENG8bVUMyAH7Tyfy16y+fFAnZxYejYYu476z4Z2l7MFKck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=R8MqBTQV; arc=none smtp.client-ip=95.215.58.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="R8MqBTQV" 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=linux.dev; s=key1; t=1784627397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MLkmEy2Qv+au8QUwUsCORU0DDXMr6v1e63PHv69jpg4=; b=R8MqBTQV/VZCzIfaOmSDgHRXhiqrHc3ynsukEZgGcJfd1sqZjb5D8RXUmliHBdvj//vF05 vClkgHYF6FtD49ZCH47V0QfWXgssJ/HRj2b5J6wC0k6BnHnm9PSI9AaznNDWVvtiUbwZQa Cml++9LwzlGZTIlxBG45ALi+u/L6WSs= From: Troy Mitchell Date: Tue, 21 Jul 2026 02:48:32 -0700 Subject: [PATCH v2 6/6] riscv: dts: spacemit: Add CTF2301 on K3 CoM260 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260721-ctl2301-v2-6-ef5fb342872a@linux.dev> References: <20260721-ctl2301-v2-0-ef5fb342872a@linux.dev> In-Reply-To: <20260721-ctl2301-v2-0-ef5fb342872a@linux.dev> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Guenter Roeck , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan , Jonathan Corbet , Shuah Khan Cc: Troy Mitchell , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-doc@vger.kernel.org X-Developer-Signature: v=1; a=openpgp-sha256; l=1093; i=troy.mitchell@linux.dev; h=from:subject:message-id; bh=qkSmO+AW5LxoIXLT9GpKbrSpSAJky3A3GfHMGrIZGak=; b=owGbwMvMwCU2g/N9w09jE33G02pJDFnxDmXnMj4uePKr43+v4L+PZxbemrtdYnHV45WfLxRyh 7bVGQpUdZSyMIhxMciKKbJ0P+DZVuATZVsgUOgLM4eVCWQIAxenAExEJJHhn0HspsyvM86rMvC0 6hQv4V1YsSXt1Pm5Hvvkri/8ue6IwTFGhr29HE9XTF/KyjbtdZ/KtojGVfscbr94c3/+vetOH+4 8F+cHAA== X-Developer-Key: i=troy.mitchell@linux.dev; a=openpgp; fpr=3FE5535CF1B0E658E57DB59BAE1C2FBEA7DB42E1 X-Migadu-Flow: FLOW_OUT Enable I2C6 on the K3 CoM260 module and describe the Sensylink CTF2301 temperature sensor and fan controller at address 0x4c. Set the I2C6 pin power source in the board-level pinctrl node because the IO rail voltage is board-specific. Signed-off-by: Troy Mitchell --- arch/riscv/boot/dts/spacemit/k3-com260.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi index a38d7b738258..95a60fbb411f 100644 --- a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi +++ b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi @@ -26,6 +26,25 @@ reg_5v_sys: regulator-5v-sys { }; }; +&pinctrl { + i2c6-1-cfg { + i2c6-1-pins { + power-source = <3300>; + }; + }; +}; + +&i2c6 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c6_1_cfg>; + status = "okay"; + + temperature-sensor@4c { + compatible = "sensylink,ctf2301"; + reg = <0x4c>; + }; +}; + &i2c8 { pinctrl-names = "default"; pinctrl-0 = <&i2c8_cfg>; -- 2.55.0