From patchwork Mon Feb 26 07:48:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raphael Gallais-Pou X-Patchwork-Id: 206325 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1923464dyb; Sun, 25 Feb 2024 23:49:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUH6SodFCLuH/wzZ2rKHegQDfibbVfjbQW/hqplgGXW6yeZKhia4BRd3m+HhpNghYKVM0sfoznT1bS36VsXyV50bOowmA== X-Google-Smtp-Source: AGHT+IHlzuyUMqttZylgNllgoHTV1FGMT5XPBMs/EY+I/Y3KWYdgLhdG4MIY34bos+yHGTtN0e3l X-Received: by 2002:a05:6214:5287:b0:68f:cbdd:aaf2 with SMTP id kj7-20020a056214528700b0068fcbddaaf2mr7886416qvb.33.1708933790428; Sun, 25 Feb 2024 23:49:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708933790; cv=pass; d=google.com; s=arc-20160816; b=GcMRDQ0xj0jLmq941YNUL1R/JaBWP9kG5KRczQRSrfR4mrN1aKQoYiBJxgxJE233yB ePm8IYicyTfgnMyULer+OzZb9LjPB97Ff/MycXTmr+h1lpQp2/0y5dlRRBPSpexLWBlN nN9DHCVK6kBgKmcyXC2Yf/Dc6Hb0bCqpE112YC4GV1FuN1RYuiTO2BiqqWSfzq1pBXZo JPtlxyT9WCvbhdNuayeUpJoZReJqmBlITg4GqDxGb7Y2yJ5iG9IxP0mx488xOEycJYI7 ea1a6JTTxzpEdbX65rubs9Goz1PHoUkOWFDc2pE0Wb+b2vyKqJy+1OvFcn8JY2CISaKD 75Mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ljEZV321MYaoCKwfbRB+OHvsPB1vjG2tNQbJsxizkqg=; fh=LtheJUmVmBCgrf/I3JInyABhtX+Y1C29AqCwR0kaKWg=; b=YeMrLcdUTFaNihGlA0oUgNCRPJ18z3nZsLLyJuVijzB0TCU+ah3qU/PNhKficWj0kK OWm+cZeXtWL07p0tERVzi0JnePBep/d1Q9LUXEGvJ+j/RWbuYf7lxrfsEFG+pvqB6Rh6 +cT/gxnSwMsMnUiQ5SwQ9QQTzYf5nEgdUZNnbDmuwXKGjy3m75m4sEylkgFpJcRjcPw4 8HGGi3TJYEDAJDHyO/HiQi/OPiBuXMcJAiV/7WmTP7FxFsaXH+W14tNzxc6i9PcESq7G 4x3IARLQneXNpqyiyek6tr7r6hl9OSVtX1CVT0J5LRKgkg9/KTmaY8rH4vUCvYH0fK2Q 2woA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=huUcqWa7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-80693-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80693-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id iy7-20020a0562140f6700b0068cb91fb68csi4513130qvb.185.2024.02.25.23.49.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:49:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80693-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=huUcqWa7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-80693-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80693-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2E6B31C2210A for ; Mon, 26 Feb 2024 07:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 53AF21CD32; Mon, 26 Feb 2024 07:48:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="huUcqWa7" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 511E71BDED; Mon, 26 Feb 2024 07:48:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933733; cv=none; b=pZCP6sK+v999kvVzsnV9pxBu47itxBSjA7YrnWnwExQJmgzr9E1cYgUeRkWcIMdVt33sem8y7e9Ww/Syc6QGFs954MtJgGz2HU1aVbGND0XxiBip0n6DLpSZGAWh7E4UJZDC3lndgaayuw6bzQC1NUumhDUHs49CSl0tuX6jyJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933733; c=relaxed/simple; bh=cpcdxP5G8Qs15hi9mldGQ1Vw0V6oqD1neWB+82Jqh7w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BgjOMZcPxHWRv7CZzvQS83iEpDQKT86w0NSQosz/e9f6Lq827dfEvTh2YyyEXKfE4prOUa2ARIOSXBNHErzPo4wnwHqAd1PdDMNGQofczAb5ErydoqwASagG97cyHGaSfSo1KFmKcpc2t5sgkjHHiNMJ2e6nxwbaRLZWTL9gG+I= 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=huUcqWa7; arc=none smtp.client-ip=209.85.128.45 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-f45.google.com with SMTP id 5b1f17b1804b1-412a87d5afcso541385e9.3; Sun, 25 Feb 2024 23:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708933730; x=1709538530; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ljEZV321MYaoCKwfbRB+OHvsPB1vjG2tNQbJsxizkqg=; b=huUcqWa7ORFAwt7Jn30hZCp0peOgogdsSpqMeYw5NZZksobMLl5aFeI1s8Y7tvgY9D R/Nrabn983wYsp7UJKAjqWj/uZdTOyMVZQS8bHRAs8MhvR91E1LcqouXYF8ZwmwFChoT 1053pvweBdrNFBzGm3rlRReiswJ69x3+XEyPv+3snVuzmI/w0yCQV3WXSSmO5ygibCWI aLu8VsWHgvPh5u501p0y1cecGMArjOUc5DiMsKCHKgbhTqycBcs30QtkbSsU4NrjEiY5 tQmDZui0yCZT2V3riK66vw6fPwAm0kDnpOkFj3eDtfF7kSGQxAeygFMSljPVuK+H40Ri 1AOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708933730; x=1709538530; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ljEZV321MYaoCKwfbRB+OHvsPB1vjG2tNQbJsxizkqg=; b=C4+yFbI6tFqtqfPEwTg9cQJE1sB6MJa0RQGvaAgtJg0W2wNOlXbvMBWTa3DmkWGhBC ywbCYPEVjcFaYnu0W0H3n2mXgohlCdEx1G6loc67ErSHi5H/M6AJi0sUisD4aU2K5LWK 1j398DJgu/ST2RIQ0AKTDL6pn1Dkv0q9z0m6JSGEtpbhoBtD8oGjsm1z52CG8HwRqmoN EMUXXYLR9EaLk2o0NDDOaC3XBa3mZlhkQbrWkmunpx2EJ5295so6HB4nrPFGPRHkMtQn Ub+31/InA/DhbCp8Ero1HGOibtjIhejPZUPSa6BcMYtkH8AsUwD1Dc9KBhsV0V/+RZjc DjLA== X-Forwarded-Encrypted: i=1; AJvYcCVTRzkWyI1PBSxRfO3DDExVRF7SV0SwV2bVDyeDqFvw5FCPLlpQiFVGyKvRkt0fUZZUP/Rrs2cIxih50wSED791xufQvvdc9bOmelXufKnCM0r7Zsf50+2QlbtqL9OofBQqa6epk9o2KQ== X-Gm-Message-State: AOJu0Yxtkx1TM+taA4u+owTj42KhWeTyNXY42t2eAdoDi/5DJnE5Kv+V hXuAlda/o00e1z/w3HMy1KA6bWhVizOlpaIHwm9cznO8JG8vPQ3t X-Received: by 2002:a05:600c:138f:b0:411:a5f9:26f5 with SMTP id u15-20020a05600c138f00b00411a5f926f5mr5199772wmf.38.1708933729368; Sun, 25 Feb 2024 23:48:49 -0800 (PST) Received: from localhost ([2001:861:3385:e20:6384:4cf:52c5:3194]) by smtp.gmail.com with ESMTPSA id d16-20020a05600c34d000b004129e8af6absm6732333wmq.33.2024.02.25.23.48.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:48:49 -0800 (PST) From: Raphael Gallais-Pou Date: Mon, 26 Feb 2024 08:48:38 +0100 Subject: [PATCH 1/2] dt-bindings: thermal: convert st,stih407-thermal to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240226-thermal-v1-1-8b03589ece73@gmail.com> References: <20240226-thermal-v1-0-8b03589ece73@gmail.com> In-Reply-To: <20240226-thermal-v1-0-8b03589ece73@gmail.com> To: "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Patrice Chotard , Lee Jones Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.13.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791946958415281263 X-GMAIL-MSGID: 1791946958415281263 Converts st,stih407-thermal binding to DT schema format and cleans unused property "st,passive_cooling_temp" which does not appear in the device-tree. Signed-off-by: Raphael Gallais-Pou --- .../bindings/thermal/st,stih407-thermal.yaml | 61 ++++++++++++++++++++++ .../devicetree/bindings/thermal/st-thermal.txt | 32 ------------ 2 files changed, 61 insertions(+), 32 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/st,stih407-thermal.yaml b/Documentation/devicetree/bindings/thermal/st,stih407-thermal.yaml new file mode 100644 index 000000000000..807f8d77edf5 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/st,stih407-thermal.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/st,stih407-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STi digital thermal sensor (DTS) + +maintainers: + - Patrice Chotard + - Lee Jones + +description: + Binding for Thermal Sensor device for STMicroelectronics STi SoCs series. + +allOf: + - $ref: thermal-sensor.yaml + +properties: + compatible: + const: st,stih407-thermal + + clocks: + maxItems: 1 + description: Phandle of the clock used by the thermal sensor. + + clock-names: + items: + - const: thermal + + reg: + description: + For non-sysconf based sensors, this should be the physical base + address and length of the sensor's registers. + + interrupts: + description: | + Standard way to define interrupt number. + For thermal sensor's for which no interrupt has been + defined, a polling delay of 1000ms will be used to read the + temperature from device. + +required: + - compatible + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + temp0@91a0000 { + compatible = "st,stih407-thermal"; + reg = <0x91a0000 0x28>; + clock-names = "thermal"; + clocks = <&CLK_SYSIN>; + interrupts = ; + #thermal-sensor-cells = <0>; + }; +... diff --git a/Documentation/devicetree/bindings/thermal/st-thermal.txt b/Documentation/devicetree/bindings/thermal/st-thermal.txt deleted file mode 100644 index a2f939137e35..000000000000 --- a/Documentation/devicetree/bindings/thermal/st-thermal.txt +++ /dev/null @@ -1,32 +0,0 @@ -Binding for Thermal Sensor driver for STMicroelectronics STi series of SoCs. - -Required parameters: -------------------- - -compatible : Should be "st,stih407-thermal" - -clock-names : Should be "thermal". - See: Documentation/devicetree/bindings/resource-names.txt -clocks : Phandle of the clock used by the thermal sensor. - See: Documentation/devicetree/bindings/clock/clock-bindings.txt - -Optional parameters: -------------------- - -reg : For non-sysconf based sensors, this should be the physical base - address and length of the sensor's registers. -interrupts : Standard way to define interrupt number. - NB: For thermal sensor's for which no interrupt has been - defined, a polling delay of 1000ms will be used to read the - temperature from device. - -Example: - - temp0@91a0000 { - compatible = "st,stih407-thermal"; - reg = <0x91a0000 0x28>; - clock-names = "thermal"; - clocks = <&CLK_SYSIN>; - interrupts = ; - st,passive_cooling_temp = <110>; - }; From patchwork Mon Feb 26 07:48:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raphael Gallais-Pou X-Patchwork-Id: 206327 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1924363dyb; Sun, 25 Feb 2024 23:52:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV6bnAInEN6BECDS6/ifWlBDXkEUv2HEvf+hiVcbU7rNGx+odNiC+zmyN4kJ7QQmPsvuFLBXViqR+0/L4cSjUKFtg6Ygw== X-Google-Smtp-Source: AGHT+IFXgBJ3dhBwDKjUz6EKKjqonzvufGG55/VnjpcmwL7Y90Zcf5uyLQHDpFibg6nSbIPdgqM1 X-Received: by 2002:a17:90b:3144:b0:29a:a31d:695a with SMTP id ip4-20020a17090b314400b0029aa31d695amr5797443pjb.1.1708933977558; Sun, 25 Feb 2024 23:52:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708933977; cv=pass; d=google.com; s=arc-20160816; b=j9htoawB50oFsBDSRtSlJZvygivTUuqkx3wFVB833Rj9BIJ5rgVOiBotWRkr1zt6tR bmfpEwy+cYfL+7isjT8tsLqF7f4YUsCFi4xuvj5GXpMWl4g/Jivj6HIqG5i8U/LkDzaG LFnIRl7lva0Nx6t2kc61qC0XKD7p9MwDB0/LDqImILqBRv6nQE9AoFRQQOMMz6CPUv7K +4BNr958GRLZXRvTkr19Bo5v2sgAfHdAORmrHoCBBgWDCXxASFWMoetSWumLTq4O9gIk G0Z42+rCVHWfWaQoyFfoQdmCJW08cCgFLTdYrPN+bjWp1SaX5hGHPtyZTeP4vjoDLMyk SlNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=kBudS8pduB+JnQNCiuQyA0sgsK2wbQ0gKDhX+xdHCYQ=; fh=qy2Sr8wV5hjTxAMLMKC7FDBN4BH9mTuPbjrtc58owxs=; b=IFF0hRKUu763rMMceuE5gAlHjjQKfOAz8ZGj+nIFoGh2i/aRNsLpvZnNR5GYPy0MzJ /2UW84mDB62taLC2SbM7pp6bY5ecRRZA7TgEhqAaRFDSDEaVcyKk1UYizqDvi8Vavvfv HE4+ZnhKpNm4XXTbg8PerNVkLy7xeqg9XOZfOiUMy1js6WyA5eATrPMg7hJ87BPhztTY XqrplsE+kN6HK39rLqUyB2YlNucfZup6tZO+GL6JFcTMOVCBRx7MCxCpMkMZnmWaAOwm 8zntt6LR/ixK4rGiyBBSBMDOl91/8diEzIbR/bnoP5wgVtpGicjH41GpEv3hh/Pq/n2g bZjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DZzhwEdk; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-80694-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80694-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id nn17-20020a17090b38d100b002994aca0f01si3444892pjb.39.2024.02.25.23.52.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:52:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80694-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DZzhwEdk; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-80694-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80694-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5ABECB22442 for ; Mon, 26 Feb 2024 07:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C9501CD31; Mon, 26 Feb 2024 07:48:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DZzhwEdk" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 A95FD1BF33; Mon, 26 Feb 2024 07:48:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933733; cv=none; b=u6S5eXRK2nIP1P2hOapyCDTn78vG1eyR0OzG3s8dcvNw0wG8ljxuljONPgincusZ9GEtMeybkax8T3neVfK3mToV0AJI386Bxv/gdS0kCxL//NnfCzajoW7hUD0ZtRegyRIepICFlfonVtmwEVjtw+m58EWTnEsLJG3eEH9BMsg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708933733; c=relaxed/simple; bh=uP0MS5a00nAzP+9tQ+LCTr4sG1JbDOljmNcqcWIv+C0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IzOeDN4JYGVlxU1kK1TEY4nkH7mxhk7RvyzOSbIQScDKJZ41IqeclZeJh5GbrjMJn/yEZZX216w4lfVSo6ZzZLVKOsTMDjwYFYt8cPSE5BdZL+XqW0ZIMkzmhz/FzCQH8m7YHl1CbN0hzTfXWZ4DbJQJsC4DCvkBz5l4taAOYrM= 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=DZzhwEdk; arc=none smtp.client-ip=209.85.128.45 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-f45.google.com with SMTP id 5b1f17b1804b1-412a390347dso6039785e9.3; Sun, 25 Feb 2024 23:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708933730; x=1709538530; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=kBudS8pduB+JnQNCiuQyA0sgsK2wbQ0gKDhX+xdHCYQ=; b=DZzhwEdkCdvQ0fzOFBI664mgVC4aRvNxflJJUePWOZMXIfZkp0Q0zs88MAzSzStR8S FSf92xEuvBB6vKQH3xaKDRugHbXvzvgtrxaZJdcQNbiyuK+V6NuVOu8f9gfsvy7XdC0n 9mrZpYmj+7Ug/Wc+qfkxfGrOlVh6JHF3AvseI7yD1IyeFxjVLGTe2gJfPxDYh4Bq/OFs Jj6G83tyzLlVdHTx4004cyKe+RxfK6LlNaXJw5SnyUSFSjBf3Vy8La3N38MiW55UsWej NknmN+v1hxS2EDApBdX1kAZ1nVdRnXLKvFaTiJyCvDMRAJwz8IAM3WKDaHxzoKa8usQo Qzwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708933730; x=1709538530; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kBudS8pduB+JnQNCiuQyA0sgsK2wbQ0gKDhX+xdHCYQ=; b=RTRlGyMux7uPkDtBsIFcr05PvCUkkOtRu2TTFDXGHwWytLE67tB/+5CJHcIZ3aG8jP xAIbmv66THLTHitXS3SdPvMCw0aAXd0ch30BY5i6Q164AIebCBTUvbMZTVqR/WnkKUSQ qPRdbWFdLp6r56fUEl4hvJW5Y5ileLsspBuB74avMXDe6oQduXkZfKeeXrsXdBG+PyaO I0eZG40nVJFcjJFAbxTqQKUZbsDzLN+Os7O3hn+bKMo1oiu20AVkwDmRjHtojZS9NSP+ WAJsuxvqdCCFPo7A6dW89BxMbWzdlQYJdiz0imMzVxEkjE/gDhuqZbHFmttS1g+Yr7Cw 8X9g== X-Forwarded-Encrypted: i=1; AJvYcCU24UB31OAQGHrA68qAasqEhFOTAnHQlmY+LY1d6EWspVZJ/of9GgLEuyjQtAkB4A/DaT9EMkH7tdNlrJVb0S0CWXIG1WDmTnnKuPYLyrbc2ju6/H+pGDXlqdSE08O9as5rgFdZN4kWHQ== X-Gm-Message-State: AOJu0YzOXiTBsRxIjz+t2scwh+wlY8AF/U+WXekcIfEWkIIxN0q8fW9k 9vmCI8l6vJ0zlEj2wTNGFcJ68LiIZv+5oEyeyv0Pat0OOWsLeNQxQ6/cJm/F X-Received: by 2002:a05:600c:1989:b0:412:9c29:e6b3 with SMTP id t9-20020a05600c198900b004129c29e6b3mr4401757wmq.12.1708933730141; Sun, 25 Feb 2024 23:48:50 -0800 (PST) Received: from localhost ([2001:861:3385:e20:6384:4cf:52c5:3194]) by smtp.gmail.com with ESMTPSA id l6-20020a1c7906000000b0040fddaf9ff4sm10995788wme.40.2024.02.25.23.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:48:50 -0800 (PST) From: Raphael Gallais-Pou Date: Mon, 26 Feb 2024 08:48:39 +0100 Subject: [PATCH 2/2] ARM: dts: st: add thermal property on stih410.dtsi and stih418.dtsi Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240226-thermal-v1-2-8b03589ece73@gmail.com> References: <20240226-thermal-v1-0-8b03589ece73@gmail.com> In-Reply-To: <20240226-thermal-v1-0-8b03589ece73@gmail.com> To: "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Patrice Chotard , Lee Jones Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.13.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791947154047126319 X-GMAIL-MSGID: 1791947154047126319 "#thermal-sensor-cells" is required and missing in thermal nodes. Add it. Signed-off-by: Raphael Gallais-Pou --- arch/arm/boot/dts/st/stih410.dtsi | 1 + arch/arm/boot/dts/st/stih418.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/st/stih410.dtsi b/arch/arm/boot/dts/st/stih410.dtsi index 29e95e9d3229..a69231854f78 100644 --- a/arch/arm/boot/dts/st/stih410.dtsi +++ b/arch/arm/boot/dts/st/stih410.dtsi @@ -270,6 +270,7 @@ thermal@91a0000 { clock-names = "thermal"; clocks = <&clk_sysin>; interrupts = ; + #thermal-sensor-cells = <0>; }; cec@94a087c { diff --git a/arch/arm/boot/dts/st/stih418.dtsi b/arch/arm/boot/dts/st/stih418.dtsi index b35b9b7a7ccc..0f0db988a907 100644 --- a/arch/arm/boot/dts/st/stih418.dtsi +++ b/arch/arm/boot/dts/st/stih418.dtsi @@ -113,6 +113,7 @@ thermal@91a0000 { clock-names = "thermal"; clocks = <&clk_sysin>; interrupts = ; + #thermal-sensor-cells = <0>; }; }; };