| Message ID | 20261003012534.418820-3-otavio@ossystems.com.br (mailing list archive) |
|---|---|
| Headers |
Return-Path: <linux-sunxi+bounces-26479-sunxi=pue.re@lists.linux.dev>
X-Original-To: noreply@patchwork.local
Delivered-To: noreply@patchwork.local
Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mxe881.netcup.net (Postfix) with ESMTPS id 310E71C05A5
for <noreply@patchwork.local>; Sat, 3 Oct 2026 03:27:54 +0200 (CEST)
Authentication-Results: mxe881;
spf=pass (sender IP is 172.234.253.10)
smtp.mailfrom=linux-sunxi+bounces-26479-noreply=patchwork.local@lists.linux.dev
smtp.helo=sea.lore.kernel.org
Received-SPF: pass (mxe881: domain of lists.linux.dev designates
172.234.253.10 as permitted sender) client-ip=172.234.253.10;
envelope-from=linux-sunxi+bounces-26479-noreply=patchwork.local@lists.linux.dev;
helo=sea.lore.kernel.org;
Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org
[100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id A56D72990A
for <noreply@patchwork.local>; Sat, 3 Oct 2026 01:27:21 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 614C3332629;
Sat, 3 Oct 2026 01:27:20 +0000 (UTC)
X-Original-To: linux-sunxi@lists.linux.dev
Received: from mail-dy2-f41.google.com (mail-dy2-f41.google.com
[74.125.229.41])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD9572BEFFD
for <linux-sunxi@lists.linux.dev>; Sat, 3 Oct 2026 01:27:17 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=74.125.229.41
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1790990839; cv=none;
b=XAtMAsz2bLU0A9FUZdtEw2QM6TJ8ypO+xCnUX9lTCRU0i+nweFFzpWiaBPa/8sO2RBLecYYcLnUX9mhaDshRtuEmLbNdeokh8CZucWkqZeg4A37uEE+X4KBSTNWrTz/ckkrs4272WqotbbkR/dntPneMsJ62Bx3kc60yvxU6+aY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1790990839; c=relaxed/simple;
bh=xzGuW9gBVTdyd8yJ5Di7BkVfGMr1p8p6MG98+qrsbh4=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version;
b=R4zEw+iwmEClYjE6caYrRZoQbTfkgbCbVzm+MkF2T2vqc8zN1w48vDmDpgnkjscP/Az/sNEFZIApnuWxazWGM9OE0WT9HBNaQVpT6RYuxY5GrqEH/NUSaSMPiM8Z6zG0nejBD+tMXtJKPpnllrHiTcZaPWSlAeNAblSJBiwnU/E=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=fail (p=none dis=none) header.from=ossystems.com.br;
spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=74.125.229.41
Authentication-Results: smtp.subspace.kernel.org;
dmarc=fail (p=none dis=none) header.from=ossystems.com.br
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=gmail.com
Received: by mail-dy2-f41.google.com with SMTP id
5a478bee46e88-344447f9c3dso121567eec.0
for <linux-sunxi@lists.linux.dev>;
Fri, 02 Oct 2026 18:27:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1790990836; x=1791595636;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=Z/BU06CtUrguuFA4ph2pK8mOWJDR8MrG8VSMsF7a8eg=;
b=nb+sY9DJXzASTR4TO15p+jrGAkcvgwbILeujqop8RwXXNggxzGzO/iDeii95kTc0Qx
QfdmYkJlL1JoSRrzLy/pwRS/VrQP6E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WRtzt3xzByCsXbE85yDqxummRRexh/AoQ3i
LujMS1L+uHh5WaT4Sjl0AvLZrmNY2NcpJcE/mrHxM+r8bYiA2/Cr4pk=
X-Received: by 2002:a05:7301:77c4:b0:33b:b0c8:73d2 with SMTP id
5a478bee46e88-34f14f18d51mr4593744eec.3.1790990836120;
Fri, 02 Oct 2026 18:27:16 -0700 (PDT)
Received: from localhost ([201.89.183.74])
by smtp.gmail.com with ESMTPSA id
5a478bee46e88-34f067301b5sm10442242eec.1.2026.10.02.18.27.14
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 02 Oct 2026 18:27:15 -0700 (PDT)
From: Otavio Salvador <otavio@ossystems.com.br>
To: Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Srinivas Kandagatla <srini@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Maxime Ripard <mripard@kernel.org>,
devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev,
linux-kernel@vger.kernel.org,
Otavio Salvador <otavio@ossystems.com.br>
Subject: [PATCH 0/2] Add SID and THS calibration for Allwinner R40
Date: Fri, 2 Oct 2026 22:25:34 -0300
Message-ID: <20261003012534.418820-3-otavio@ossystems.com.br>
X-Mailer: git-send-email 2.55.0
Precedence: bulk
X-Mailing-List: linux-sunxi@lists.linux.dev
List-Id: <linux-sunxi.lists.linux.dev>
List-Subscribe: <mailto:linux-sunxi+subscribe@lists.linux.dev>
List-Unsubscribe: <mailto:linux-sunxi+unsubscribe@lists.linux.dev>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Rspamd-Server: rspamd-worker-8404
X-Spamd-Result: default: False [5.84 / 15.00];
RBL_SENDERSCORE(2.00)[172.234.253.10:from];
SUSPICIOUS_RECIPS(1.50)[];
DMARC_POLICY_SOFTFAIL(1.00)[ossystems.com.br : SPF not aligned (relaxed),
No valid DKIM,none];
MID_CONTAINS_FROM(1.00)[];
R_MISSING_CHARSET(0.50)[];
MAILLIST(-0.15)[generic];
BAD_REP_POLICIES(0.10)[];
MIME_GOOD(-0.10)[text/plain];
HAS_LIST_UNSUB(-0.01)[];
FROM_HAS_DN(0.00)[];
PRECEDENCE_BULK(0.00)[];
TAGGED_RCPT(0.00)[dt];
RCPT_COUNT_TWELVE(0.00)[13];
FORGED_SENDER_MAILLIST(0.00)[];
DBL_BLOCKED_OPENRESOLVER(0.00)[sea.lore.kernel.org:rdns,sea.lore.kernel.org:helo];
RCVD_COUNT_FIVE(0.00)[6];
ASN(0.00)[asn:63949, ipnet:172.234.224.0/19, country:SG];
TAGGED_FROM(0.00)[bounces-26479-noreply=patchwork.local];
TO_DN_SOME(0.00)[];
R_SPF_ALLOW(0.00)[+ip4:172.234.253.10];
RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[74.125.229.41:received,100.90.174.1:received,201.89.183.74:received];
RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.234.253.10:from];
FROM_NEQ_ENVFROM(0.00)[otavio@ossystems.com.br,linux-sunxi@lists.linux.dev];
FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org];
RCVD_TLS_LAST(0.00)[];
MIME_TRACE(0.00)[0:+];
FORGED_RECIPIENTS_MAILLIST(0.00)[];
ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1];
R_DKIM_NA(0.00)[];
RCVD_VIA_SMTP_AUTH(0.00)[]
X-Rspamd-Queue-Id: 310E71C05A5
X-MORS-Enabled: yes
X-MORS-DOMAIN: patchwork.local
X-MORS-HOSTING: hosting172546
X-MORS-USER: hosting172546
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series |
Add SID and THS calibration for Allwinner R40
|
|
Message
Otavio Salvador
Oct. 3, 2026, 1:25 a.m. UTC
The R40 thermal sensor node has no calibration data. The THS driver then keeps the calibration registers at their reset value (0x800), and the reported temperatures have a chip-dependent offset. This series adds the R40 SID (eFuse) controller and connects the THS node to its factory calibration at eFuse offset 0x40. Patch 1 adds the R40 compatible to the SID binding, with the A64 compatible as fallback. The SID driver needs no change. Patch 2 adds the SID node to sun8i-r40.dtsi and the nvmem cell for the THS calibration. Checked with dt_binding_check, and with dtbs_check on all R40, V40 and T3 board DTBs. No warnings. Tested on two Boardcon EMA40i (A40i) boards. Otavio Salvador (2): dt-bindings: nvmem: SID: Add binding for R40 SID controller ARM: dts: sun8i-r40: Add SID node and THS calibration .../bindings/nvmem/allwinner,sun4i-a10-sid.yaml | 1 + arch/arm/boot/dts/allwinner/sun8i-r40.dtsi | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) base-commit: ff47652a4b66c067c765a7ad464d930b5a9367cc