From patchwork Wed Jul 22 20:33:39 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=B6ren_Hantel?= X-Patchwork-Id: 2720 Return-Path: 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 037091C2C6B for ; Wed, 22 Jul 2026 22:37:34 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 172.234.253.10) smtp.mailfrom=linux-sunxi+bounces-24619-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-24619-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 E207130C1721 for ; Wed, 22 Jul 2026 20:34:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B836543B3C6; Wed, 22 Jul 2026 20:34:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XILswU8c" X-Original-To: linux-sunxi@lists.linux.dev Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 F08FD437864 for ; Wed, 22 Jul 2026 20:34:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784752443; cv=none; b=DePn3KLYgn6fyk6/QfRQ2L46WEZK9xp3pRQS7DbLBliHlGv7u/sK2xizFofXaU9tEcluvAL2tNf1NXNgHiE2M12BBNX7GNA2cvksIocbwow/uLcCtGnuoF+BOQ+mTcMuoOl6xb/iLYvHz1A9TH6T/EK/0VBDh3WHqiPTE/lE9NI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784752443; c=relaxed/simple; bh=H7gc8EHhrE54TIGFPE01knw9jDcZnFRii3hzkCBNdj4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=l+L7xwEnGAR5LpWYrXx1i5p3wuwg9T7Lv/rWHfYgKNAztvO+0xy6Ij9Ko0L5L6wjMFELEIrRs9Y/FXwbHYHD78crfaWY4ILSSoXZEjvPMFC7nFnVUrmc1jPhflIr9PC1YKy9hgje7e2ZVG0pWWSggiwSqnxiqigIOi7fTBrZCdE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XILswU8c; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4953de5be0aso49883015e9.0 for ; Wed, 22 Jul 2026 13:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784752439; x=1785357239; darn=lists.linux.dev; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=xSx084TFnzGFnpguxyZxDPEBlEGv6khf3RChBzg4a7A=; b=XILswU8ccD8yfY5QtgqNDbYLYoy0YVaaMz5aIX40sRKe7OZ9LUSd/YdMpTlJ2ePZmQ /0IbZVNJNgnj8QPcFAx9B6zSEXq+nPC6qbnegeIIEd2d553jE3nIRXWZ3Fm3ozbY3qly 5a33NANW83R6phnCIp7h4+wiEAwtpBtMFqlNZ6iNf0TxdTx0ASnHxE4dMLWuO/fxkmkS Q1IQpoAGFJpawWM6b+GyBI5W+zwCUrjIfwwnm2+4cohrChc6htFm0m97htd6uttuFKIY 1DXRHBPmWLWa7Qz98NF+USV/UW251kclUsX+rXE/hVHixSe4xdumgokHHV7EvuS7V+46 R/zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784752439; x=1785357239; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=xSx084TFnzGFnpguxyZxDPEBlEGv6khf3RChBzg4a7A=; b=PaYvMtZlW2BpYSxgn4VYKKQ0k7h63mRiG5V+HGo0N3Ut3bpjo4jR+C9pz1uEgg4pi3 WGdZvj+fmvNXE8+tr0HzSEKCq89JEfPWYeItnzEWxZXfFgxHZO7aiq3IgbvBAtLEoIS9 C3pZuuS8fKqJkSHohhsgP7hXGa3lml38o3mXhsQ2EVPhpN2EDG2chm5uVIWHyNF8tlof Tj+YvQxvE8aElB6l1MB29PhChdLjAS5xZJEXFGCURPaJQRKEaqYIcceHSSPPAdEZcw0S MISpnu8sQKG7kWBPEJYhMOppChdAyYumdsUlmKhgHudfLWl06kL/lU0ZsBiw4XEXz5Gt wJ8A== X-Forwarded-Encrypted: i=1; AHgh+Rqna08m/MVB59LwjRZVp+WVkGe7IVIOk3uHnZH95aMdjqCVndEbnWk9MJeszm8INeXjDxKbxzQdpisiHw==@lists.linux.dev X-Gm-Message-State: AOJu0Yz1LZbjxaK2aEM5C4MDROKXcP/FPgr7izZJZthvYGKWXjgb7Ld/ b7Sguk/tHdR0Dr1oOfG4w3AFJpLNAtvrv+DWx0NvM/XBeBGTH/xuSWn4 X-Gm-Gg: AR+sD11kkw8/iyWZYxBPY7+LQfG0Qgqa7TljHS5wcGb24AUIrgXApR6yUBxHkXp0Fkh PUXa+AhStVV6BWwWJKGbbZQxIl09b436Nlw3nB6KGEchPOqNfaZzzh2yoZz87hQVOy+iy2go/AT h3l5LzlJMsX7PfSDzvZUQuXNQ+m2HrAaelxwIYke8aC0CptjTi3dErK728txNomvnT6gv6ZfXnf Vr1q56H+PqLNSL5x4EHEHDWu3iXmnv6STfmYYwuWDUUk/6YPajtht8fWyCuMczykxZD+GnYB4GI s1MzNnsdMXzrQX6INPKTEZi6sctg3eKRr4iZlNyhpaLigmq+Ey+sZgmYfs62hkbSi3cSjsPlimL 0INx9aAXpBawkKe2ivVGj38mosjwEiLn8e9vGCRq/CEQ6JUA+iLx27aI/MGfnh5dU1Oox+Llyij iMW5Mw01tqa1yoQzimXnCogJ0h X-Received: by 2002:a05:600c:3152:b0:495:3fe1:4ce4 with SMTP id 5b1f17b1804b1-49573ce8ef3mr3009655e9.26.1784752438954; Wed, 22 Jul 2026 13:33:58 -0700 (PDT) Received: from coolemuke.fritz.box ([2a00:6020:b320:1a00:c256:1463:a40b:d8c6]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4956ab2f0a2sm63134945e9.1.2026.07.22.13.33.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2026 13:33:58 -0700 (PDT) From: " =?utf-8?q?S=C3=B6ren_Hantel?= " X-Google-Original-From: =?utf-8?q?S=C3=B6ren_Hantel?= To: linux-pm@vger.kernel.org Cc: Vasily Khoruzhick , Yangtao Li , "Rafael J . Wysocki" , Daniel Lezcano , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Rossak , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?q?S=C3=B6ren_Hantel?= , Claude Fable 5 Subject: [PATCH 1/3] dt-bindings: thermal: sun8i: Add binding for the A80 THS controller Date: Wed, 22 Jul 2026 22:33:39 +0200 Message-ID: <20260722203341.2917852-2-fugininsane@googlemail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260722203341.2917852-1-fugininsane@googlemail.com> References: <20260722203341.2917852-1-fugininsane@googlemail.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-1.16 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.234.253.10:from]; SUSPICIOUS_RECIPS(1.50)[]; DMARC_POLICY_SOFTFAIL(1.00)[gmail.com : SPF not aligned (relaxed), No valid DKIM,none]; MAILLIST(-0.15)[generic]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_TWELVE(0.00)[18]; TAGGED_RCPT(0.00)[dt]; DBL_BLOCKED_OPENRESOLVER(0.00)[anthropic.com:email,sea.lore.kernel.org:rdns,sea.lore.kernel.org:helo]; TO_DN_SOME(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FORGED_SENDER_MAILLIST(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,kernel.org,sholland.org,vger.kernel.org,lists.infradead.org,lists.linux.dev,googlemail.com,anthropic.com]; R_SPF_ALLOW(0.00)[+ip4:172.234.253.10]; PRECEDENCE_BULK(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:63949, ipnet:172.234.224.0/19, country:SG]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1]; TAGGED_FROM(0.00)[bounces-24619-noreply=patchwork.local]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[fugininsane@gmail.com,linux-sunxi@lists.linux.dev]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 037091C2C6B 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?= The Allwinner A80 has a thermal sensor with four channels which shares its MMIO block, bus gate, module clock and reset line with the GPADC. Register-wise it is an early version of the THS found in the A83T and later SoCs, with the THS registers starting at offset 0x40 of the shared block. Add the compatible to the sun8i THS binding. The A80 takes a bus and a module clock plus a reset line, so the existing conditionals already describe it correctly. Co-authored-by: Claude Fable 5 Signed-off-by: Sören Hantel --- .../devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml index 3e61689..718c44d 100644 --- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml @@ -18,6 +18,7 @@ properties: - allwinner,sun8i-a83t-ths - allwinner,sun8i-h3-ths - allwinner,sun8i-r40-ths + - allwinner,sun9i-a80-ths - allwinner,sun20i-d1-ths - allwinner,sun50i-a64-ths - allwinner,sun50i-a100-ths