From patchwork Tue Jul 2 14:54:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13719879 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B88CC30658 for ; Tue, 2 Jul 2024 14:54:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=5LwpiUOo/zV8ut5Kk94sM4XFR+9BUnK4is30VOnYj5s=; b=5FhYhFtug6ktp5cqI92+pV4iuM ug3vu79OQKTWpezPhnw6Z0YNnOoLkYSTNJe8xTsfZq14P0piIMvyVMSx4/FvKO/0gelVvL920QJMI Wel8Jst+U5/W70/1XKSWlin1xVsKUoK7tuZuVgJPdP5TYhW2dIfrnVksGGZEONk0Hz2uInXr1d8fr ghWlHLqE2hQzazMCKmx5y5pYjaxo+oE4Y7JycZR76IYLNZ/VBswYSOvZg0302vboYVQEWsZHfoZ8D lvQuXq2nrNZ0oIa5oX0B01U21OVEZPPAs7Z5427W+zsCVEJ0wrOPMuMM5IQh+Df3xn6j+u201lHCM SMeMQ2VQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOetv-000000076F9-1fHH; Tue, 02 Jul 2024 14:54:35 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOetj-000000076Dr-461E for linux-arm-kernel@lists.infradead.org; Tue, 02 Jul 2024 14:54:25 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-52cdf9f934fso4495369e87.1 for ; Tue, 02 Jul 2024 07:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719932062; x=1720536862; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5LwpiUOo/zV8ut5Kk94sM4XFR+9BUnK4is30VOnYj5s=; b=k2gSppDfqOjzVS8sANoIJjdWLRthVFkzjbN/hPsdoGmxOAlPLAT8cXdxVcK2OvXyev qYjtuYFSzVj0DizxVYY/TvOcrAlmKtQd6HFQKfD3wnIcFR2lQ2S69OsVnrZQ6d6UYQfN ny7srrFM250BlLea8dQYBS4YfwOmFsFgEccUrNtDkkLO4WzMIVr/fEBphz392Tv1Xpql VEht5KwySbPBInrMyhYlzoF5HuZfXeJ4tSfRxaGRVzHhSjkPVvbLZJ199t7Y6B1EAaXp VyEbsjVylTQxGmMGt/vxsBDhmUq7x+mRpWDZhv+lFUQ8MvgtNRfAuBw0/eeuI6bnpWi6 wVJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719932062; x=1720536862; 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=5LwpiUOo/zV8ut5Kk94sM4XFR+9BUnK4is30VOnYj5s=; b=TddVowD6Qz9bUHDw0GNalPMnZ0fkFyOZ9mTXF9nAiKd3Ozl3F9GO4M1UkM47btNUmw sHXso6mvx0PYxe+sTcqqU9xb69wddzneRea8EGuvNwISKhHRJMn62wqjPi3kWpNpaSW5 72XazjmbiiNUsqKBQnHiMyLLFo6BmTOXGOMYhFBVoRwGaE0pxBWeHuKk4wN7TTwSozRt rX3+un+Ted2ia4W7o0bovi4MdEgqj0SoJ7uTV/ov1QmzBeIruTNI71y/ye7qclvEvUxV VMevDppIKUGSKMU0JcOuMtNowiAjqZjsMCS1GBozSi6vUCbWfv7PkTV4cS5nCVau2gtf Auxw== X-Forwarded-Encrypted: i=1; AJvYcCWRyWbJzlxpAft47ayATbacdC1j+bdKC1VaElpZH7fwVv4ycqOUpuN5M6YvyCvmEzVxtwlc+7vcP03GoNRt5BtiZULuPvmoSxHtJHJnbUj8u1NCNBc= X-Gm-Message-State: AOJu0YxKRYOCjFqKz1homHoam6OtrO/fIzi+R7/TnSfH852SbSVuiTZe jt2vV1h6FmtAzkDeeoP+oCnrURkuYnzNkwnP0IV7O+jiG24qHm4wuTi+TJb0KAg= X-Google-Smtp-Source: AGHT+IH7NNPhg1UZ2JBspUs6kRfUIg18h9HT+vprDWdBkd9V1+0A4sBtLCApPZHN0e3lsyVWgLNmQQ== X-Received: by 2002:a05:6512:3b90:b0:52e:93da:f921 with SMTP id 2adb3069b0e04-52e93dafb22mr43279e87.19.1719932061649; Tue, 02 Jul 2024 07:54:21 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256b097bcbsm201843155e9.35.2024.07.02.07.54.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 07:54:21 -0700 (PDT) From: Krzysztof Kozlowski To: Shawn Guo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] arm64: dts: layerscape: fix thermal node names length Date: Tue, 2 Jul 2024 16:54:17 +0200 Message-ID: <20240702145417.47423-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240702_075424_040403_9AC50322 X-CRM114-Status: GOOD ( 11.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Linux kernel expects thermal zone node names to be maximum of 19 characters (see THERMAL_NAME_LENGTH, including terminating NUL byte) and bindings/dtbs_check points that: fsl-ls2088a-rdb.dtb: thermal-zones: 'core-cluster1-thermal', 'core-cluster2-thermal', 'core-cluster3-thermal', 'core-cluster4-thermal' do not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,10}-thermal$', 'pinctrl-[0-9]+' Name longer than 19 characters leads to driver probe errors when registering such thermal zone. Signed-off-by: Krzysztof Kozlowski --- See also: https://lore.kernel.org/linux-devicetree/20240702145248.47184-1-krzysztof.kozlowski@linaro.org/T/#u --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 2 +- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 8 ++++---- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 6b6e3ee950e5..acf293310f7a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -175,7 +175,7 @@ ddr-ctrler-crit { }; }; - core-cluster-thermal { + cluster-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 1>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 17f4e3171120..ab4c919e3e16 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -214,7 +214,7 @@ fman-crit { }; }; - core-cluster-thermal { + cluster-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 3>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 200e52622f99..55019866d6a2 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -182,7 +182,7 @@ fman-crit { }; }; - core-cluster-thermal { + cluster-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 3>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 8ce4b6aae79d..e3a7db21fe29 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -131,7 +131,7 @@ its: msi-controller@6020000 { }; thermal-zones { - core-cluster-thermal { + cluster-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 0>; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index bde89de2576e..1b306d6802ce 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -122,7 +122,7 @@ ddr-ctrler3-crit { }; }; - core-cluster1-thermal { + cluster1-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 4>; @@ -151,7 +151,7 @@ map0 { }; }; - core-cluster2-thermal { + cluster2-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 5>; @@ -180,7 +180,7 @@ map0 { }; }; - core-cluster3-thermal { + cluster3-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 6>; @@ -209,7 +209,7 @@ map0 { }; }; - core-cluster4-thermal { + cluster4-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 7>; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index 26c7ca31e22e..bd75a658767d 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -492,7 +492,7 @@ map0 { }; }; - ddr-cluster5-thermal { + ddr-ctrl5-thermal { polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&tmu 1>;