Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3733737rwd; Sat, 10 Jun 2023 13:41:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7GsOMBf3Q7QYs96b8tg3v7tJYbpGdNJrQzr9WIJlaIiXBnCuHE+o7QGGofdcl9BCMPP/6w X-Received: by 2002:a05:6a20:3c90:b0:10b:91c5:45a8 with SMTP id b16-20020a056a203c9000b0010b91c545a8mr6798620pzj.15.1686429668688; Sat, 10 Jun 2023 13:41:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686429668; cv=none; d=google.com; s=arc-20160816; b=RdBA5bOTnLXUeii7p+xOh8SBlj/1DUxEAl1dOGg5UFwKjvk0lP9UdOJ74O3RNSmFmN ke6BTw0izFSxPHRkxskcGTjUhtoytZa558asGmvuwHg/XaQworBNkdUGkSjQHDP9j+zM TDtnmQQ+jEFiC7TSMaUh7XBJl5XxyMd7+Sbi+O3zEoIHdBinQjQXvut9Uckiz8Pdpcf2 WnL8Qhc6Dx1qTwOAWyEKqzObAkCPW/mTuJMm/+4q7le30AXtCPZnAdi1pvEOmQRX3REz O92KG4UGs2clxLLg/Um1riXZOmgINCWPcC/Rk1HZqM6K3kTASNsHKwci6z/JBMwnTpfq 8vfg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vsgeyxXBjiNCCbFnpasARFFtGQuGGzV0SKK6yZWlTDw=; b=PVR6QSrySZ9dzzpWAWbTrqNnRCVSKMZXY4+LltXtzivsMT95ZHhMLoMMxaHuq5IfC8 Vpr7BOxOQh5173muXn/rK9uvab2Pm4kXPu7BmtubIUeA8UhkMktE0gIM9Bkqwuua9Wk4 NwWeyO5PiOYeVOLI1GJOHyyLBlS21MOnusACTAYGMdZUxckgYhfubMJ4rin9HSLaQSbC Et7bOKKVttbeY0nGBjqaooiCdRH7PO0xIaApr+tTMB8lF/aZfZFeQW7qFo7Z50g769Oz y8+Qiu6bIDmZxYNU3AVR37dDf7/oxcSAeXuPVddUfaEIaXmFe1GYwGkTxBealirA40zp eFdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=oUeElQHh; 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 v2-20020a63ac02000000b00518f82d7053si4749914pge.493.2023.06.10.13.40.56; Sat, 10 Jun 2023 13:41:08 -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=oUeElQHh; 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 S231881AbjFJUgU (ORCPT + 99 others); Sat, 10 Jun 2023 16:36:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230502AbjFJUgS (ORCPT ); Sat, 10 Jun 2023 16:36:18 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D611D35BB; Sat, 10 Jun 2023 13:36:16 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f6d7abe934so21222835e9.2; Sat, 10 Jun 2023 13:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686429375; x=1689021375; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vsgeyxXBjiNCCbFnpasARFFtGQuGGzV0SKK6yZWlTDw=; b=oUeElQHhNEZYn7UmTCYVdAIuxvdnK05pup+LGf26JjI6Jtiz54aN912t5s9bF4NOfq BHjhJ3iZIVcn5/NxcOH0qvw6+6nLxkEm3dZ1xkxTlvq/C2Us/uPLKAb8FdeQq9ee/rjK yhkh8aL4lbbNruqdQpM4nooNdEBcx05Ndk3kUQ9vKn+/jjFeBaOuyaABt8OlOEm3zyaq gIOkK6ekJgZIw6qbuNDrvFD0153UCmIpIcz3GW9dJIVSUPiODl+d0ZeFZPIZz3jVEfFC BDisGdMneISNyl0Vi0cXnGB9JExaK0L3EzNF6A7S5dAS33f+dRTMd7rVzGZUK7wZzHLf IJSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686429375; x=1689021375; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vsgeyxXBjiNCCbFnpasARFFtGQuGGzV0SKK6yZWlTDw=; b=GLCVM/RSt3yPmcZ566tZlzkJc7CiV9QmbHayHZgWznoPtQJ+82pMGY9LxgICnK7znY 7/52Ia9vrGkNdUT/gVm8mYORDRSDIO2YsHWFeYZ9DsJMKjKb1ZSfKXz/TxZ9PkVbYXJ3 qlKJvlqSLKoUlre1KBIZzG1lZuSW8GqsxNyaVz8IYd+cuA/FQU8JhzlCUCP8gqZb9NTK p97doY9M0LaCXmb3Hky7wq+kjKp+sTnr1KSOSF0ldj5JMVo1kF5MSaSpnzmy3H/ADF+x 7Dz45UfVj58JPq25A4HHz6Ki3rIUjbVaxSB86wf9hp/Mr4TbukQDoL2XNQptMORxkBdc 1xBA== X-Gm-Message-State: AC+VfDzh1ULdYcBgsM/hmjoeWwoZL4wVyM7e/AbGqz3RkQH5BvvbkJMg vwzpRB+Zmg3iaLZUpEifsmOzESm/l7zet0vt X-Received: by 2002:a05:600c:2144:b0:3f8:946:115d with SMTP id v4-20020a05600c214400b003f80946115dmr2992226wml.30.1686429374960; Sat, 10 Jun 2023 13:36:14 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 13:36:14 -0700 (PDT) From: Maksim Kiselev To: linux-kernel@vger.kernel.org Cc: Maxim 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 , 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 1/3] dt-bindings: thermal: sun8i: Add binding for D1/T113s THS controller Date: Sat, 10 Jun 2023 23:35:42 +0300 Message-Id: <20230610203549.1127334-2-bigunclemax@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230610203549.1127334-1-bigunclemax@gmail.com> References: <20230610203549.1127334-1-bigunclemax@gmail.com> 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 From: Maxim Kiselev Add a binding for D1/T113s thermal sensor controller. Signed-off-by: Maxim Kiselev Signed-off-by: Maksim Kiselev --- .../thermal/allwinner,sun8i-a83t-ths.yaml | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml index fbd4212285e2..001faa37fc27 100644 --- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml @@ -16,6 +16,7 @@ properties: - allwinner,sun8i-a83t-ths - allwinner,sun8i-h3-ths - allwinner,sun8i-r40-ths + - allwinner,sun20i-d1-ths - allwinner,sun50i-a64-ths - allwinner,sun50i-a100-ths - allwinner,sun50i-h5-ths @@ -61,6 +62,7 @@ allOf: compatible: contains: enum: + - allwinner,sun20i-d1-ths - allwinner,sun50i-a100-ths - allwinner,sun50i-h6-ths @@ -84,7 +86,9 @@ allOf: properties: compatible: contains: - const: allwinner,sun8i-h3-ths + enum: + - allwinner,sun8i-h3-ths + - allwinner,sun20i-d1-ths then: properties: @@ -103,6 +107,7 @@ allOf: enum: - allwinner,sun8i-h3-ths - allwinner,sun8i-r40-ths + - allwinner,sun20i-d1-ths - allwinner,sun50i-a64-ths - allwinner,sun50i-a100-ths - allwinner,sun50i-h5-ths @@ -159,4 +164,17 @@ examples: #thermal-sensor-cells = <1>; }; + - | + thermal-sensor@2009400 { + compatible = "allwinner,sun20i-d1-ths"; + reg = <0x02009400 0x400>; + interrupts = <0 90 0>; + clocks = <&ccu 0>; + clock-names = "bus"; + resets = <&ccu 2>; + nvmem-cells = <&ths_calibration>; + nvmem-cell-names = "calibration"; + #thermal-sensor-cells = <0>; + }; + ... -- 2.39.2