From nobody Thu Dec 18 08:11:47 2025 Received: from mxout1.routing.net (mxout1.routing.net [134.0.28.11]) (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 29D661DE4C0; Tue, 17 Dec 2024 09:12:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.0.28.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734426776; cv=none; b=JAm+9rdyZ+eEyPuNPbzgrjEF5YKps8OTHY9T7CTKqjaaKMT2zmW26BSk4UhRits3dW2TVlLvpCpoEpci12dL/oF57WGQWuv2Iht/UGAQUF1AqPn7LfdfKhqBsLRekilMHN+89jTR6ddl7tmRxqjE8/qu+TY1JFy9BzT5UKFzcDU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734426776; c=relaxed/simple; bh=J/Ok67694WolYJtyO/LV8NrgWXhPPWR4XAvF7Agyp/M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AD8f4DeQF1mRjZdC8BWLHndNLqk1nIB6mMER5V832jSMzWkH+bdGpvR5pEdOf1GNGCuT40JQEFvEBwlGkAekRHnXMj0JomoIQpKJxVQKQCe8VqJYJNfMhdp50KtIyBc5YJivL1B9f7Ir9a5tgNPj9jGdmepoWUvMjuM4EEeW6ZQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de; spf=pass smtp.mailfrom=fw-web.de; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b=VS9J/JEt; arc=none smtp.client-ip=134.0.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fw-web.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="VS9J/JEt" Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout1.routing.net (Postfix) with ESMTP id 92111400A0; Tue, 17 Dec 2024 09:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1734426773; 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=AKT1M91ddMZkJh+hl+wihKn8ah5Ysi2eDg8Vtkt0E8E=; b=VS9J/JEtC6tVYWnvC7cff+95VmLkGYb6x4Mf8fk3wV42r1dxGYLyo9Mlh3b5Qi+2EUkUKI pipf6M8QpEnIehVKHB8hNXVNh2B4teI4DnAqK5C2TFsb4ioVGoy0rOVKHVe+uJC5jjo/4a eimK8e5kuszJt1INcHlgZlA77tFoGbE= Received: from frank-u24.. (fttx-pool-217.61.150.187.bambit.de [217.61.150.187]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id B2BEF100532; Tue, 17 Dec 2024 09:12:52 +0000 (UTC) From: Frank Wunderlich To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Frank Wunderlich , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 03/22] arm64: dts: mediatek: mt7988: Add lvts node Date: Tue, 17 Dec 2024 10:12:17 +0100 Message-ID: <20241217091238.16032-4-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241217091238.16032-1-linux@fw-web.de> References: <20241217091238.16032-1-linux@fw-web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mail-ID: 0a756bc7-4119-4eb9-99e2-18ce86cd1f9d Content-Type: text/plain; charset="utf-8" From: Frank Wunderlich Add Low Voltage Thermal Sensor (LVTS) node for mt7988 SoC. Signed-off-by: Frank Wunderlich Reviewed-by: AngeloGioacchino Del Regno --- changes: v3: dropped efuse label v2: squash - "arm64: dts: mediatek: mt7988: add label for efuse" - "arm64: dts: mediatek: mt7988: extend efuse node" (drop other efuse subno= des) --- arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dt= s/mediatek/mt7988a.dtsi index 2e224d0d0168..32bb04ce21b3 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi @@ -4,6 +4,7 @@ #include #include #include +#include =20 / { compatible =3D "mediatek,mt7988a"; @@ -97,6 +98,7 @@ infracfg: clock-controller@10001000 { compatible =3D "mediatek,mt7988-infracfg", "syscon"; reg =3D <0 0x10001000 0 0x1000>; #clock-cells =3D <1>; + #reset-cells =3D <1>; }; =20 topckgen: clock-controller@1001b000 { @@ -262,6 +264,17 @@ i2c@11005000 { status =3D "disabled"; }; =20 + lvts: lvts@1100a000 { + compatible =3D "mediatek,mt7988-lvts-ap"; + #thermal-sensor-cells =3D <1>; + reg =3D <0 0x1100a000 0 0x1000>; + clocks =3D <&infracfg CLK_INFRA_26M_THERM_SYSTEM>; + interrupts =3D ; + resets =3D <&infracfg MT7988_INFRA_RST1_THERM_CTRL_SWRST>; + nvmem-cells =3D <&lvts_calibration>; + nvmem-cell-names =3D "lvts-calib-data-1"; + }; + usb@11190000 { compatible =3D "mediatek,mt7988-xhci", "mediatek,mtk-xhci"; reg =3D <0 0x11190000 0 0x2e00>, @@ -321,6 +334,10 @@ efuse@11f50000 { reg =3D <0 0x11f50000 0 0x1000>; #address-cells =3D <1>; #size-cells =3D <1>; + + lvts_calibration: calib@918 { + reg =3D <0x918 0x28>; + }; }; =20 clock-controller@15000000 { --=20 2.43.0