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 From mboxrd@z Thu Jan 1 00:00:00 1970 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 95E39C4451C for ; Tue, 21 Jul 2026 09:50:11 +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:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iXC3JrRN2JfFiMw9ue6opGB3RVAUw6CdbYz6WO7sMYc=; b=lL/5P/AZlX4TNl 0cSFaExvhJ67vebyp0JRYGvVaOrYCt+dJP0FMkQ+l1iMEK8Wb6SzQjN/o0bLhE9RP/MLvhD2rgKQ6 Ruic1lWT7Q00ovbDNwD6L7mjB56d5+eCeQHdMHFlFzt1smtzxd+pVh5dRnbV9IEykL+AkN0XY+s6I cYYbXIUox3/mNnxmrrxADn9dNu1SzT36fDs4Ck8nQlTofSDCdZlP+ZNrvzwrp+5Vn20YoM84f5cEm 4pYnzdXoNKRdQ/Twid2aGyUKU1MTEMGrG6cqgrvbNjaOkbuPmc9KBKSQpINhfvam8Q9vf/UbhaLXi q/NwesG+1NtNrZ96qlAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wm76w-000000091ML-39gQ; Tue, 21 Jul 2026 09:50:02 +0000 Received: from out-188.mta1.migadu.com ([95.215.58.188]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wm76u-000000091Ho-2fIE for linux-riscv@lists.infradead.org; Tue, 21 Jul 2026 09:50:02 +0000 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 MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260721_025000_857474_A4859D6E X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv