Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5126919rwd; Sun, 11 Jun 2023 23:45:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54lIVeePbENcx3QgJi/q9V+8HwS8fFDGzkzKEAz/bVcjiz0LR7HQlRenWfJRjLFjWVs8K1 X-Received: by 2002:a92:cac5:0:b0:325:b96e:6709 with SMTP id m5-20020a92cac5000000b00325b96e6709mr7992655ilq.11.1686552333172; Sun, 11 Jun 2023 23:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686552333; cv=none; d=google.com; s=arc-20160816; b=Xh72pQ26QCoN9H2kOPvini+VQUx0cLtOcd1xO2N6G8+MddOSMtOZ06ozWdRwNoWwlM pB0bXYZ7y7c67d2t5fC+U1cUxMyWGllWkBIuL1sK+gteYphJb0/iVnjstSx579SvM6jW oLvaWRXnW5XZt2NqYYYOc/hSrv9FernHuHZKundV8aqMV/2PvlPXHjcN4LLZzEQji3ge KSLVgTfLFJjt+6s/BJkCR2Ip3uu/Cq1tKakt8IW3dbktVkAndUpe8/3lYGzLkzpAFadX Y2OgDWGI7WBVRVm9j38kxIrKzZIFLrYGVKEyGF6rDbSVvfQi0lwHnVEW7zJ04JmvXkWq UrJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0Wat54lnLjucqBUhCyCz2jjA942pDQtZohk+myr2KU4=; b=PjwVzyY0hZkKdYjblGuSQz0ZeRoNJMvJOsnhbtpHgpv3Tow2Do/dd6wrERBebXNFyv i54inPP6gLJi4xbB01h8x9UQWPprxSjmhMjfJYrT4bP3bnGvvDs/zb4j7xb85ruzTyOl yxH3f/IXxyTG852z/q6w80clJMgrrUyfrOnzeO62o+rKtT/082uqMugsVE0/5664bT2B yYtWV1uwEetBfOI0O7FWSKPPYp95ZM494gcipNKLQsky2xXWMMd7Rd9249RDdHtGqLit WW+fOumOc1nFcPUAWjvzzRjcCh08HCT8X1jj+/uMuBZeGyZa1zE8cvxDBlRDjvKzDyFF Yj0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=c2zzRyWD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j13-20020a63b60d000000b0053f23ffad1csi6653067pgf.544.2023.06.11.23.45.21; Sun, 11 Jun 2023 23:45:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=c2zzRyWD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233417AbjFLGn1 (ORCPT + 99 others); Mon, 12 Jun 2023 02:43:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233001AbjFLGnY (ORCPT ); Mon, 12 Jun 2023 02:43:24 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A58361997; Sun, 11 Jun 2023 23:38:23 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-30fc6b513afso68008f8f.1; Sun, 11 Jun 2023 23:38:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686551678; x=1689143678; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0Wat54lnLjucqBUhCyCz2jjA942pDQtZohk+myr2KU4=; b=c2zzRyWDsD9NA/NQkSWJl9TYXJpYTRoWVyrQJIqWKkJge3T4w4eXHIbyqIM227yTDD +82SXmmwVQlQOmgWR0fmPw0cshkPbniT7JJ282anh1Ucg1zljdtJh5LL9zMrMN5n80tM AXtaE8Y2ghuoVNoX2CQoQGov2jouSHTdP7O3OA+ijRzjnObWic7xtk9O99Vidl0H3ik5 2wbGJ5RZy0rhlIpYnv3LgmC5R1Sri99aLUaUOl9wGxyHLFWX9hQiAEf3LXV2GIjNuMM7 BvboEyN7Uc1FJZAU2O84iaBhVClYWnI4aXlHjDkuGHm0XAxibzcrSeOh3w0zxyhD8pHP z4iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686551678; x=1689143678; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0Wat54lnLjucqBUhCyCz2jjA942pDQtZohk+myr2KU4=; b=H5S2Uk6uw4zIiuTHgvkr0iyW483cYBWRjasydcYCEFflJ9ZL+PTTA2ZDDtgT7kCoNc 1Ocd0wcrxOKywlKFS/BvD1exf6W0WovH9Il5Lct84iLfjLmsr7UzpTcSWwre3bLErkX5 F/0Wy93M6WHZrnb41oo19uqxkscr6N04yZRWdr6DSPSrlx4LCbihW2P/P4tRG5OO3BRr WSMkHdSAJ1S7hXTbJg9WjnY8CYyNAIXAdpov/XC1Z7G599dKhQWSnXkFHu69e/o+Foi8 JQe67lzlIW0WJ+Z3LuN+ugD4PLNITwFAmYtt2Xpmo34v+X0jW0ltu00R2kJo9aM7ELtU 38Dg== X-Gm-Message-State: AC+VfDyARvljZ1uuZvCJxIboJRrZkpb4xyc6Rsg+kf5Kj+wQJGLF9avN wxo5bI+yB666sIHi1jNl/hL1ugbeigSXae45 X-Received: by 2002:a5d:5704:0:b0:30f:bc21:1ce4 with SMTP id a4-20020a5d5704000000b0030fbc211ce4mr2153510wrv.14.1686551677565; Sun, 11 Jun 2023 23:34:37 -0700 (PDT) Received: from user-PC.. ([178.134.198.138]) by smtp.gmail.com with ESMTPSA id o7-20020adfeac7000000b002fed865c55esm11484811wrn.56.2023.06.11.23.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jun 2023 23:34:37 -0700 (PDT) From: Maksim Kiselev To: linux-kernel@vger.kernel.org Cc: Maksim Kiselev , Vasily Khoruzhick , Yangtao Li , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Cristian Ciocaltea , Heiko Stuebner , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org Subject: Add D1/T113s thermal sensor controller support Date: Mon, 12 Jun 2023 09:34:16 +0300 Message-Id: <20230612063429.3343061-1-bigunclemax@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for Allwinner D1/T113s thermal sensor controller. THIS controller is similar to the one on H6, but with only one sensor and uses a different scale and offset values. v4: - Dropeed DT bindings example v3: - Fixed SoB tag again v2: - Fixed SoB tag - Moved binding patch before driver changes v1: - Initial version Maxim Kiselev (3): dt-bindings: thermal: sun8i: Add binding for D1/T113s THS controller thermal: sun8i: Add D1/T113s THS controller support riscv: dts: allwinner: d1: Add thermal sensor and thermal zone .../thermal/allwinner,sun8i-a83t-ths.yaml | 7 ++++- .../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 26 +++++++++++++++++++ drivers/thermal/sun8i_thermal.c | 13 ++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) -- 2.39.2