Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3734022rwd; Sat, 10 Jun 2023 13:41:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5kcQNSXNhhPOS9eTJP2QfgSVT5qBEyKC72iKB2MipXQF+7CoeHTMWSfPNtr/l0xiF1Vgay X-Received: by 2002:a17:907:6e86:b0:978:8e58:e19f with SMTP id sh6-20020a1709076e8600b009788e58e19fmr5876692ejc.16.1686429693674; Sat, 10 Jun 2023 13:41:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686429693; cv=none; d=google.com; s=arc-20160816; b=XSdTVHyyhthUWrLICVuK+eMYr0bLA9xY6CcKsYuIHHBovZxKGUwbr8Z7Zl0oduKQKQ yloET2nQ12wU/QD8azQ47+P3ea1h2ThPayE1N5q+Bk/8YH05ByNtDZudx/ywOZbM7www ENJor2kSbzxvwL3q8jsZw7zg52DNDH+NbUJVH6PwM7nH5DC+IPnYSYj2FXJaCMhTNBLs bv1n7/XqAC4S2sIih8YFTtMvs8gMFjgIcFzCET3G2q5Fx05F7QY3l8ARidELoEiBm9Wo S1t6inxuxSET5snkGgr1V2UTNLCkVKj7abdBclfYDgbNviIUfn9hE+RDiBQGo9LOw4p+ gcGA== 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=VW3ufThgtzabcqR2lSzvJonEKJi+vdbcWOGvWLdXSuw=; b=tPnV9HFdQ2JJhzuOzofQqBidhudK8zFPkWGoFDpciHV+KyDtElepkqjErj0yF8Kt7d znbNbAuk1jD2ODtwoktjEkWTT51AMprW3ciDrNz0XtRhf0mwTiQNDQnj1hzS5y13HsTr D5NoCUoUoLpwkDjZSVw2dgV24lkoUjLUPBVobFYW4sZS9coMC6x2flSPk0cDJ386+dDT PDU8sJch1GREkg7BnRP8uIIeUr9zKJ8uW1pdoTkCZLOOcOYFB6q+tC1Uke4khdcX3QYq GcAaAZ8WJID3MXNKOJH3kYBl3Js4GYBuL0LqxLq3usPAbKyIs+328yDjfR2WAdciCaGK I93g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=G8gcoEFb; 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 pv1-20020a170907208100b00965a46dd290si3211399ejb.199.2023.06.10.13.41.02; Sat, 10 Jun 2023 13:41: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=G8gcoEFb; 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 S230356AbjFJUgL (ORCPT + 99 others); Sat, 10 Jun 2023 16:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjFJUgJ (ORCPT ); Sat, 10 Jun 2023 16:36:09 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCC1026B2; Sat, 10 Jun 2023 13:36:08 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f736e0c9b1so30825665e9.3; Sat, 10 Jun 2023 13:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686429367; x=1689021367; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=VW3ufThgtzabcqR2lSzvJonEKJi+vdbcWOGvWLdXSuw=; b=G8gcoEFbSty+rM3z00E625GAC4MphjCRwG+0qvC9LclMM3BG1YXAZEV9JdXh+Dgng0 EJhzQqG/AzFz9LuuI8wk13LuQEEFXArt3pchXmR86iRidKOS5j6i//hoHpPW3Ta1fBbO eorJElEmO2mQfmiXAWxK7y1zjF7pm3LM0awLiozRdtU680HpCHgvSXFo/Z3OhNA3r8RO blAyod9h7AUiwgfsCofNQOnGCxV8E4R1NwPQMFVgAJna9Ind7aDN6GFCys4u5pwO+QF6 pAGb1aqygR65a6oin0FXCbyHEU90uwoCyVsBclz1DONTAfLcW424UNlO2H+pML98P7n8 tZNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686429367; x=1689021367; 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=VW3ufThgtzabcqR2lSzvJonEKJi+vdbcWOGvWLdXSuw=; b=eMmX67uumQuptU6jugp1ApHHk5wBgZxLAD2spWKEvtzxjUhJRVvaVwLPZtGnb31zp0 1XDo3DobQva5LDnqGXBQJis6U1BgN4zUGl8jTo2fOZ4nOIkvnDA5MxtfiWgZ7RXIVZry gK7I2+C1pUfduZJaoPeUv8WzYtpn6/S7x7z3RqdDa19dwDn5re6mme24u8Sp1H6UhmoB MEJAMhxQmBxMPJ8wbGIf/6DwT569p2j+8s7Veusic4TUpGqkzDpBXC6wYAfJDIJsghTI I6n4rcYPyEHt1/sRol3RMmXhVVnpC4km16wkkNpHMPcclldEs7erjVBiq+wb1vXQ++PJ l/lw== X-Gm-Message-State: AC+VfDyszAbCsSOwT5zfBI0RW5zwi0VOBXhNfUHxDuK5KBIp+CHnymbE sc3zM8ExICedl8Mh88dgmw5EkGSKncGGhjGa X-Received: by 2002:a05:600c:211:b0:3f6:906:1195 with SMTP id 17-20020a05600c021100b003f609061195mr4112575wmi.35.1686429366811; Sat, 10 Jun 2023 13:36:06 -0700 (PDT) Received: from user-PC.. ([92.51.95.194]) by smtp.gmail.com with ESMTPSA id m13-20020a7bce0d000000b003f42a75ac2asm6572867wmc.23.2023.06.10.13.36.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 13:36:06 -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 , Andre Przywara , 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: [PATCH v2 0/3] Add D1/T113s thermal sensor controller support Date: Sat, 10 Jun 2023 23:35:41 +0300 Message-Id: <20230610203549.1127334-1-bigunclemax@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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. 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 | 20 +++++++++++++- .../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 26 +++++++++++++++++++ drivers/thermal/sun8i_thermal.c | 13 ++++++++++ 3 files changed, 58 insertions(+), 1 deletion(-) -- 2.39.2