From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796314358; b=a5XLblSPmU9E1lQ7lu21xlZSQ70sk0b2pqm4xri1LPJB9Oplq2ccW44iAOMNfGDIFDaw nqKq45mdcSxe8BNXzYXDiufWgbqWfJlEpT9P+269gjU4jMlibxm8A4wFgeToFFvJ/aCyb CW5WyCGPhjTFbH76apXuT+qUlyEtt1rFPW4tc20urOOqR56dG7xXrcIh1HyasHY2qhqmI lyJBGx0tXx0p18G3BLH5Olgbn0/rqfJA4tFaEekcwzVAue3SVIgd1cuL+hyxUYsKUebcN 3ox15AQFmoM7lXNBE6V7WE6ozKqV1SQ+qOSqyGbKB8k2vFzgtbrEuJHye4ShXxywJKw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796314358; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=GMAPuWbEYvaPosxDJDypqNRykToFQH/m0G3c4kt0nTA=; b=vTFEuHIIxem20cxeDpfSAZGkKg5mrAZk+9rJ2NlT1vCsg2QLXq1qsg7zCgY6CootztzH ITusk/lzh4Yf8a6AF0SV4teKQ4ZynXNzWaEpjkMpahoyVfmjRFnMgwKiQtzvQs+2Dp6cZ YZpFm2XPGMm2tSaEx6PNV2UR+LAsM4FJFQGAug46VJanwmY8fajj5X5DTKmyDMdJqlQ1Y jAo4xzJOgEPUn1JkVDqr2lCDvGL4AOOZcqJ6jRK5quTN3T9vU+jMceRRAHdkHXPPGgnFD aadbw4TcbSj3o6QEJ02eqcky7+mQDh3cf7jh0HaEhNBN+DIUjgt+/wUT14pJgOpbwsg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Xyur6hU7; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8BB11606A32C for ; Thu, 3 Dec 2026 16:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Xyur6hU7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C8481F0089F; Thu, 3 Dec 2026 16:12:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796314357; bh=GMAPuWbEYvaPosxDJDypqNRykToFQH/m0G3c4kt0nTA=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Xyur6hU76WcUtxl0n/fg16MJfzDj6Vt2crMh7dQd6rLFKfegw2JlGS7q7zxAFbeEj +Dg77b5JaZAaLqvy2pCai1ov3Xh6ZLlZA2SYo8PbuGhr5Nu9X3N7HJf4haGT2Z0Pon EHUwaSdEbui1fUOEcQH31fw053toy8yVg1Bn54kVmmbk83Gfvbh5K5E+DPnwGmUwU2 kOWwmsHYJcsxtTweiIg86TnuiaRzmE0hVytTOWmd36UJYdEggUeuVw6LUkED5kRW5M H3Ats/cMcAuv/KzEA1FkBFQUlHNMVyj6XWwqkyuIHDecp1SKxMPg3/SkUMUe5DDESI i/yrj88YIq2UA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/3] dt-bindings: thermal: Add Apple T7000 die temperature sensors Reply-To: sashiko-reviews@lists.linux.dev To: "Jeroen Trappers" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203155600.3911447-2-jeroen.trappers@gmail.com> References: <20261203155600.3911447-1-jeroen.trappers@gmail.com> <20261203155600.3911447-2-jeroen.trappers@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 16:12:37 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] dt-bindings: thermal: merge of disjoint PMGR and TCC blocks into one DT node - [Low] dt-bindings: thermal: unjustified minItems: 1 makes TCC page optional -- commit 98e2e31e2df770c267988433fedc4f9f8b671b26 Author: Jeroen Trappers dt-bindings: thermal: Add Apple T7000 die temperature sensors This commit adds a Devicetree binding schema for the Apple T7000 (A8) die temperature sensors and a corresponding MAINTAINERS entry. > diff --git a/Documentation/devicetree/bindings/thermal/apple,t7000-therma= l.yaml b/Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml > new file mode 100644 > index 0000000000000..c5418ba9697b0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/apple,t7000-thermal.yaml > @@ -0,0 +1,65 @@ [ ... ] > +properties: > + compatible: > + const: apple,t7000-thermal > + > + reg: > + minItems: 1 > + items: > + - description: power manager (SOC) sensor page > + - description: CPU complex (TCC) sensor page > + > + reg-names: > + minItems: 1 > + items: > + - const: soc > + - const: tcc [Severity: Medium] Should the power manager and CPU complex sensor pages be modeled as two separate DT nodes instead of one composite thermal-sensor node? In arch/arm64/boot/dts/apple/t7000.dtsi these are physically disjoint subsystems about 190 MiB apart: the power manager sits at 0x20e000000 and the CPU complex at 0x202220000. The two blocks have independent register layouts and no shared hardware state. Merging independent IP blocks into one node to keep Apple's flat 0..4 numbering locks in a DT ABI that makes per-block resources (clocks, interrupts, power-domains) awkward to attach and does not scale cleanly to sibling SoCs with different CPU cluster counts. Each block can be its own thermal-sensor node with local sensor IDs and distinct compatibles for the different register layouts. > + > + "#thermal-sensor-cells": > + const: 1 > + description: | > + The sensor ID, Apple's tempsensor index: > + 0 =3D power manager (SOC) sensor 0 > + 1 =3D power manager (SOC) sensor 1 > + 2 =3D CPU complex (TCC) sensor 0 > + 3 =3D CPU complex (TCC) sensor 1 > + 4 =3D CPU complex (TCC) sensor 2 > + IDs 2 to 4 need the "tcc" page. [Severity: Low] If both pages remain in a single apple,t7000-thermal node, should reg and reg-names drop minItems: 1? The binding matches only one fixed SoC compatible and documents sensors 0..4 across both pages, without describing any hardware variant that lacks the tcc sensors. Allowing the tcc entry to be omitted accepts nodes where documented sensor IDs 2..4 cannot work. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203155600.3911= 447-1-jeroen.trappers@gmail.com?part=3D1