From patchwork Thu Feb 9 10:58:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652261 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 925A8C636D7 for ; Thu, 9 Feb 2023 10:59:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229641AbjBIK7U (ORCPT ); Thu, 9 Feb 2023 05:59:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbjBIK7T (ORCPT ); Thu, 9 Feb 2023 05:59:19 -0500 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 495694588A for ; Thu, 9 Feb 2023 02:58:50 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id hn2-20020a05600ca38200b003dc5cb96d46so3562879wmb.4 for ; Thu, 09 Feb 2023 02:58:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2+5nqWCuDUyZTrVyTtaVBg5+R7qkLRJ5SKf8oifJuNE=; b=C69x6HcOdwDaax4dQIsZ6lvHh32/OoP4EWO2aJ0twI8ailNtWQ9OPF6jtqm5WSOtRU jhN7SOyNb9O2Vy98sl79QMKWMTZnbNYWJc3/iOsmpBFROqIIVgP/F4UJXRBNHg+kEZfF F6AP4Uc1VlwkIfXgeof2hxprOgIz9vhPZ13YqBDeJZHK3HTOahN+z32poEb29w+xnl3x tAh82Z99/IFOecnNElo+Pt4G4UM9qTvxDx/hsp+qw1aHzUkthUt+29r8YxRim2B9If79 JrqUR3tvWhuaERlOzgpeDLg+Ec8eY13d9MdIOQBN3NWoNhg2gXDJ34d7+Mvy6ojYVISo k9jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=2+5nqWCuDUyZTrVyTtaVBg5+R7qkLRJ5SKf8oifJuNE=; b=Fe9R2OhujPyHuu+698sznWRUyqfq0TxWlQOP0SXtUpNpMc8Kvyw0dxrB5LZtISAFxV Zgn6HXmG8taFfUpOZpeLLA5y1J9nSpTFHvPsjDCig0877lJC6ZNnqNEaOGXGmal4XbaL HDeJld2CMbTrcC1z1/kgW0gmGv5uKtvcz6J1CHBEpmo8MmMg0jNHGj9Tj4aKTzpw0U2l rcIYuKHl/rXxyLueYrqTqjwR9qhooqqkwwyAgwIb6Mv2Dmca6SE9Tbqlk0bwJKw1tW9H hL/xBv/xmD38SPEtlbs4THmrlMB5Xq+94L7rA0MqvhcDZ7VPBJH7lRSGf2pwNYedwBdK E+BQ== X-Gm-Message-State: AO0yUKXlNeS9WQWn7MjPA1QqdLzqEC6hYbUEUWmyA/oVt1Ovxyog2qpI F0n7o3aEJqQxtgjVzOfNEsTYeA== X-Google-Smtp-Source: AK7set9WVWtkx2S7B89JQ/mNz6qaCe3zX687iIYP2pWF7b9uabSpfjwcAIhcz+xh7ijHdy1YxltQzA== X-Received: by 2002:a05:600c:3ac4:b0:3dc:18de:b20d with SMTP id d4-20020a05600c3ac400b003dc18deb20dmr10614671wms.33.1675940327411; Thu, 09 Feb 2023 02:58:47 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id g7-20020a5d6987000000b002be063f6820sm927987wru.81.2023.02.09.02.58.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 02:58:46 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Eduardo Valentin , Lukasz Majewski , Kukjin Kim , Javier Martinez Canillas , Marek Szyprowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH 1/6] ARM: dts: exynos: correct TMU phandle in Exynos4 Date: Thu, 9 Feb 2023 11:58:36 +0100 Message-Id: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing it must not have an argument to phandle. Fixes: 328829a6ad70 ("ARM: dts: define default thermal-zones for exynos4") Cc: Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4-cpu-thermal.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4-cpu-thermal.dtsi b/arch/arm/boot/dts/exynos4-cpu-thermal.dtsi index 021d9fc1b492..27a1a8952665 100644 --- a/arch/arm/boot/dts/exynos4-cpu-thermal.dtsi +++ b/arch/arm/boot/dts/exynos4-cpu-thermal.dtsi @@ -10,7 +10,7 @@ / { thermal-zones { cpu_thermal: cpu-thermal { - thermal-sensors = <&tmu 0>; + thermal-sensors = <&tmu>; polling-delay-passive = <0>; polling-delay = <0>; trips { From patchwork Thu Feb 9 10:58:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652633 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8BBFC636D4 for ; Thu, 9 Feb 2023 10:59:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbjBIK7Y (ORCPT ); Thu, 9 Feb 2023 05:59:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbjBIK7W (ORCPT ); Thu, 9 Feb 2023 05:59:22 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96B724C0C6 for ; Thu, 9 Feb 2023 02:58:52 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id bk16so1323929wrb.11 for ; Thu, 09 Feb 2023 02:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=DqyCPgVLwr/SMq8TuN0141mNn36IMKTzmD9m9yiTvNc=; b=fA3Jvt2bYKWJ7esxt2t/Bo3yI38SKiWE7LAJlanQzF79L666FMJQix/t+LsEqsNGlS HTMlbITLH5cF8YZYpcP707M8gTq337sMZc52HP4mURLTGxW2g9KHbpqlUlZX1ocacNN9 i4M0gXNqr5ikGf1vOTF/INyqycnxYa7OWDPvSYXsawer5gJmN+N+YBNWTSb1GY/FR83F V/d1icJ5kihlSjGETHgDOl0ryWAgiPIAMQ9UQzcZJcQN7glXWM4IOqFofX924eYo9qwb TuU+OVVB8HcWePNmo3kE9qiuudkKkBe4TQ+010xk0+ad+ORniEjOfbyrBdy4KZSlBHUP n14A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=DqyCPgVLwr/SMq8TuN0141mNn36IMKTzmD9m9yiTvNc=; b=md4lYG8Kzn9Zx9T6nON2CA7uhfwWQdfMpFfio/EKGQTD0oCWdI+t/8zOdCJeBs0e+U NDK4K3KMyvtqwtJUOHnblDbKfOv+ft2ieqAqbGOC/OEDXuMviNleM+jquieHfje6x8PL fL1hQV33LlTfYKoT/zKykMqiP5/TBqhvFLFOnv2/uZxVhzdtzr+/0iV5fdiwmCvgTBCl BovgDL0u+Yl+7gG9eolgEgbVsU01ZrqkRKgY3B1ewDeWatnuBXkBeyatoBJQKHjIW5ad jAX1c0X7pIL5J0aff0TyMmngUOZ/7sn7ZDMfRrxHl24GAizdLUKLUL7CYpMoPNf6X3QD lwzA== X-Gm-Message-State: AO0yUKV3HjsE/8YBrbLR8MAl1IF21zOh34YAN/LAekqnp+PE/3d5D1Wb dZUaWoPOCYyp4+KaEaXFqZnqfw== X-Google-Smtp-Source: AK7set8AkDnBCYmDcO6b3+VQdgZz3RfH1PnwGDouui/n0lah+W4ABazpObkRkPUukQpoD5bEZTKQLg== X-Received: by 2002:a5d:6842:0:b0:2bf:ae1e:84d2 with SMTP id o2-20020a5d6842000000b002bfae1e84d2mr9990867wrw.12.1675940329234; Thu, 09 Feb 2023 02:58:49 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id g7-20020a5d6987000000b002be063f6820sm927987wru.81.2023.02.09.02.58.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 02:58:48 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Eduardo Valentin , Lukasz Majewski , Kukjin Kim , Javier Martinez Canillas , Marek Szyprowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH 2/6] ARM: dts: exynos: correct TMU phandle in Exynos4210 Date: Thu, 9 Feb 2023 11:58:37 +0100 Message-Id: <20230209105841.779596-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> References: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing it must not have an argument to phandle. Since thermal-sensors property is already defined in included exynos4-cpu-thermal.dtsi, drop it from exynos4210.dtsi to fix the error and remoev redundancy. Fixes: 9843a2236003 ("ARM: dts: Provide dt bindings identical for Exynos TMU") Cc: Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 5a1ec714c612..0e27c3375e2e 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -393,7 +393,6 @@ &cpu_alert2 { &cpu_thermal { polling-delay-passive = <0>; polling-delay = <0>; - thermal-sensors = <&tmu 0>; }; &gic { From patchwork Thu Feb 9 10:58:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652260 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B087C05027 for ; Thu, 9 Feb 2023 10:59:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229687AbjBIK7f (ORCPT ); Thu, 9 Feb 2023 05:59:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbjBIK7Y (ORCPT ); Thu, 9 Feb 2023 05:59:24 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32BCAD537 for ; Thu, 9 Feb 2023 02:58:55 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id bk16so1323995wrb.11 for ; Thu, 09 Feb 2023 02:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=pd0EQYT3xvLBAFUxEB4SCOk7tTyLtVzSlTgWwVunhmk=; b=UFZhwjMoAe2pnTCeATgA/mdyCkRt4+QrdBV6RUM2SauFGIs3EVL7kYrr2Gdk0/5NOB CehvN6CB9zsV3ASLc1n09sE5dpdnTw1HXQ2m+q8jdg4YHEk0oXkJMcuS/e/JRiuAx9j1 ynt4EweDSuSOrbWbsswRcIpDcZZNlDZHbt1P484cFTMhsHaWFkrmQT09T4RFzR1kIYcu hCw1QzT0mHQrdZZfUPBvfRJwAlYPlMZwHq0DpqP8ZL9JORVeBTq/aaGjU1bDAxC4hIvL XkTkQJiogrOQTRAYE8/oSVjdrah3IXTBYUlxeM0VdyQLQ/fieNt6FMT2EljGzvnkpwHM 5oHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=pd0EQYT3xvLBAFUxEB4SCOk7tTyLtVzSlTgWwVunhmk=; b=Ig5RaVSqJYNc8uqq7Rdk6V+OgDrBrs6k9eLa/Hf6FozyMxjuS4WUCpXV+zcGDdZMzw mZngv+2Yz4rPgfkN6sgBNor6AamEmNC/WRhraGAYC58Z0WfOuApgFKvb2bsPYNJjI0AQ Exie9WlLIwwbaHq8dHz3pA9ySFAvofhYP+p5qZx9Wv0YgYoPn0p3+JNSWQtU8Egp/MTM jcx5mS28pIxS8fg95D8zuOgKjkwF+lpOJ2JxQ5CXvcsSH4kjaK4GPMrUamqXdE4jIPDF n8FuMMWIZ5XeARvYz52lTpZ+Aqy97EHrjxjV2X7ddJdrKD2tjLoNCGnQVrXARzSHupGy VOXA== X-Gm-Message-State: AO0yUKVbmnXU+b8he0f/Os6rJuGO3FadEebEYyqNJrztZin7cQJpNWfc O0suyYu/tsuvYX3suRaZVcKNDg== X-Google-Smtp-Source: AK7set/R3KiMZzutxvymKpWErO+61RIIKefXKnc/dsa7Oh8E0bx1yHDWxhuoSFrpG29x5LeTQHhe9A== X-Received: by 2002:adf:a306:0:b0:2c5:3cd0:88e7 with SMTP id c6-20020adfa306000000b002c53cd088e7mr977911wrb.29.1675940330748; Thu, 09 Feb 2023 02:58:50 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id g7-20020a5d6987000000b002be063f6820sm927987wru.81.2023.02.09.02.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 02:58:50 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Eduardo Valentin , Lukasz Majewski , Kukjin Kim , Javier Martinez Canillas , Marek Szyprowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH 3/6] ARM: dts: exynos: correct TMU phandle in Exynos5250 Date: Thu, 9 Feb 2023 11:58:38 +0100 Message-Id: <20230209105841.779596-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> References: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing it must not have an argument to phandle. Cc: Fixes: 9843a2236003 ("ARM: dts: Provide dt bindings identical for Exynos TMU") Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5250.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index c76c3a79bbc6..89c8665ac9aa 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -1105,7 +1105,7 @@ timer { &cpu_thermal { polling-delay-passive = <0>; polling-delay = <0>; - thermal-sensors = <&tmu 0>; + thermal-sensors = <&tmu>; cooling-maps { map0 { From patchwork Thu Feb 9 10:58:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652632 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E921C05027 for ; Thu, 9 Feb 2023 10:59:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbjBIK7k (ORCPT ); Thu, 9 Feb 2023 05:59:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbjBIK70 (ORCPT ); Thu, 9 Feb 2023 05:59:26 -0500 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 EF3865B774 for ; Thu, 9 Feb 2023 02:58:56 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id d14so1330617wrr.9 for ; Thu, 09 Feb 2023 02:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=NW8d1CGtjwetV0FuZkQ8UhJ3cZd+mwFPksIQWf8yAmE=; b=B96HxkHRe0ODPHdHscD7CraXhoQabYh/jYhraIHmKZSjuk7OYhDWLhqUwwiBaWdCvY 5cUoXXGJfV6Jppkxl3xdPR397G62eBk0Yw2Pdq2pGMSPxSq6p0jf24EcoNSBLTskJ/jL 2o4cA7swb5lcbD2TBPyauQJfDhuxVPIfTOflDQZqMylYhhPO6C01SDS5im0A5UfuEtF6 KpyAv4BzC5gfOz8ZscsVooPY09tcHrSVGlHfi40s3p2gl5R9VBD/QVWBFfAlFwL0sxez 9vt3XgY/DEGkuxBjrXr1CS+OHDAmwtgJsUqVDmxpfx/rLbALclyPhsmKnxQf9tXdX6sg LKwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=NW8d1CGtjwetV0FuZkQ8UhJ3cZd+mwFPksIQWf8yAmE=; b=z9IVkvGerz1IIUWmAZZIAn6t/O35xIqDdYkLm7EV2BADhNa0nY3CsoqfVsZndWAOEL CeA+o0j3wD+pdlfbgx6FwuEcYXvIGebVhmo1W6714Rhna7NPf/w8hgFtfK4PMyLQ3A/F Ov0o5lsASPRi5Y49tDMi9qbh3kpjxm/Y6ji//UQuPgzbkIdiUBxjacvadBQgfSlubQjK G+fFiUxGb7dma5wCAYVnSGt51yCmasWdFXZ1jpfXIQLxOHHVIf6pr6LQG1JRLgxOw9/L pabu1fimGsBwrOlPriUDcJpQDMSzz4AvDBnaHb84PIQlPUyvnSiwyfL3ID6kcaWgv4eu yYYQ== X-Gm-Message-State: AO0yUKWL6lUwIN24NSqIiLPrLhmvKc6fOjHXhZRx9wGUknGc1EsGR1Y+ IfLZWn8C7vvnlR47S7ed0x0m6g== X-Google-Smtp-Source: AK7set+ahucFx9qwKF5jFDEGGE2FLbmQxxpbsz9rVs7KPuuc3z5kvcheSAqtDhXNbkN2UiEi5tX1Qw== X-Received: by 2002:adf:d0c7:0:b0:2c3:d9cf:f406 with SMTP id z7-20020adfd0c7000000b002c3d9cff406mr10226041wrh.13.1675940332010; Thu, 09 Feb 2023 02:58:52 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id g7-20020a5d6987000000b002be063f6820sm927987wru.81.2023.02.09.02.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 02:58:51 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Eduardo Valentin , Lukasz Majewski , Kukjin Kim , Javier Martinez Canillas , Marek Szyprowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH 4/6] ARM: dts: exynos: correct TMU phandle in Odroid XU Date: Thu, 9 Feb 2023 11:58:39 +0100 Message-Id: <20230209105841.779596-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> References: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing it must not have an argument to phandle. Since thermal-sensors property is already defined in included exynosi5410.dtsi, drop it from exynos5410-odroidxu.dts to fix the error and remoev redundancy. Fixes: 88644b4c750b ("ARM: dts: exynos: Configure PWM, usb3503, PMIC and thermal on Odroid XU board") Cc: Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5410-odroidxu.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5410-odroidxu.dts b/arch/arm/boot/dts/exynos5410-odroidxu.dts index 232561620da2..6ddd1dd2fb0b 100644 --- a/arch/arm/boot/dts/exynos5410-odroidxu.dts +++ b/arch/arm/boot/dts/exynos5410-odroidxu.dts @@ -120,7 +120,6 @@ &clock_audss { }; &cpu0_thermal { - thermal-sensors = <&tmu_cpu0 0>; polling-delay-passive = <0>; polling-delay = <0>; From patchwork Thu Feb 9 10:58:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652259 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5656AC64EC5 for ; Thu, 9 Feb 2023 10:59:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbjBIK7m (ORCPT ); Thu, 9 Feb 2023 05:59:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbjBIK7d (ORCPT ); Thu, 9 Feb 2023 05:59:33 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7600523C45 for ; Thu, 9 Feb 2023 02:59:04 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id j23so1399616wra.0 for ; Thu, 09 Feb 2023 02:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=MNu/Kq5YO5u+A14KW4yemS89GxvSBvk/6+CEjY6IekA=; b=iz/gWjsHgtekoOHBySRM8twbFpzAeFgs07tGqu+gRe3S5q5NcYzl3nBt9K8Ox2uiFN KRihdcm5pXZo2x0M2M+ZXgpaZksnyf7PvtGY+JPJgwlgmv6QJRU+6POgc+XpgKzEM89e gqlE0xoL1HzWhxK0I075RQpbBpPojxIPKSeViZ0GsuC+MpZmKfF9QzK9MDWLj9rx/CTK yYRdXB4BB82wSrPno91cC3MkYQTBHAaudoRypXJ9xe0d0soKKbSj7rWyOEcXRFMFp/oW vWFxV28qcUou0C/kcQ6CBdQJHr8eArOiHnBVK/fsXEZNe813sYkdxP9PUUS/nkfo+x+1 E03Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=MNu/Kq5YO5u+A14KW4yemS89GxvSBvk/6+CEjY6IekA=; b=s5BqwbZ+6MfxOrJN59P6sQzxgsrbGtyYp05A2EfzSr/jPxoGr2FhQAqRQqEnMoF6uQ 5rjeWQn+ZAmhqqJj1au2WugvtOyEKEhA3yn8fs9IxwGTKzpIMDRJ6LlLhU6ZprSZfO06 tFDGCjHDuQrTw04az4YkQ4lvoae/G1sTsz4RwBry1uzMhq7BiEtdxTDFLqRaemqmtQeC IXAVM3ptea+4exW4Pg7cDjSLULFTFuPN0G0ZPPAA/4P2khXYbWUZkbet9OlIArXfbyur uVa9AQ+hniR9vXk954D4WR0IDyO+7Webx5RKwtlWSYkQkPlbl+DhNwuno0qF7HdR/pYK ujzg== X-Gm-Message-State: AO0yUKVF4gBxyibX45NyDarqiuPRNg5PK7J/g/VDI+UaV2fb0P6iR/J6 bUg/8rfqbubJeofpwNenSA7QYw== X-Google-Smtp-Source: AK7set87pvI0dw38uqL6CIrDJGb0xhuuFb/5Ocw4iZx+rV/bw4EmO3TXPdXGt5x+oxS/X5mc+112yw== X-Received: by 2002:adf:da42:0:b0:2c3:dbaf:dcdc with SMTP id r2-20020adfda42000000b002c3dbafdcdcmr9394736wrl.18.1675940333391; Thu, 09 Feb 2023 02:58:53 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id g7-20020a5d6987000000b002be063f6820sm927987wru.81.2023.02.09.02.58.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 02:58:53 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Eduardo Valentin , Lukasz Majewski , Kukjin Kim , Javier Martinez Canillas , Marek Szyprowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH 5/6] ARM: dts: exynos: correct TMU phandle in Odroid HC1 Date: Thu, 9 Feb 2023 11:58:40 +0100 Message-Id: <20230209105841.779596-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> References: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing it must not have an argument to phandle. This was not critical before, but since rework of thermal Devicetree initialization in the commit 3fd6d6e2b4e8 ("thermal/of: Rework the thermal device tree initialization"), this leads to errors registering thermal zones other than first one: thermal_sys: cpu0-thermal: Failed to read thermal-sensors cells: -2 thermal_sys: Failed to find thermal zone for tmu id=0 exynos-tmu 10064000.tmu: Failed to register sensor: -2 exynos-tmu: probe of 10064000.tmu failed with error -2 Fixes: 1ac49427b566 ("ARM: dts: exynos: Add support for Hardkernel's Odroid HC1 board") Cc: Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidhc1.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidhc1.dts b/arch/arm/boot/dts/exynos5422-odroidhc1.dts index 3de7019572a2..5e4280393706 100644 --- a/arch/arm/boot/dts/exynos5422-odroidhc1.dts +++ b/arch/arm/boot/dts/exynos5422-odroidhc1.dts @@ -31,7 +31,7 @@ led-1 { thermal-zones { cpu0_thermal: cpu0-thermal { - thermal-sensors = <&tmu_cpu0 0>; + thermal-sensors = <&tmu_cpu0>; trips { cpu0_alert0: cpu-alert-0 { temperature = <70000>; /* millicelsius */ @@ -86,7 +86,7 @@ map1 { }; }; cpu1_thermal: cpu1-thermal { - thermal-sensors = <&tmu_cpu1 0>; + thermal-sensors = <&tmu_cpu1>; trips { cpu1_alert0: cpu-alert-0 { temperature = <70000>; @@ -130,7 +130,7 @@ map1 { }; }; cpu2_thermal: cpu2-thermal { - thermal-sensors = <&tmu_cpu2 0>; + thermal-sensors = <&tmu_cpu2>; trips { cpu2_alert0: cpu-alert-0 { temperature = <70000>; @@ -174,7 +174,7 @@ map1 { }; }; cpu3_thermal: cpu3-thermal { - thermal-sensors = <&tmu_cpu3 0>; + thermal-sensors = <&tmu_cpu3>; trips { cpu3_alert0: cpu-alert-0 { temperature = <70000>; @@ -218,7 +218,7 @@ map1 { }; }; gpu_thermal: gpu-thermal { - thermal-sensors = <&tmu_gpu 0>; + thermal-sensors = <&tmu_gpu>; trips { gpu_alert0: gpu-alert-0 { temperature = <70000>; From patchwork Thu Feb 9 10:58:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652631 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 253A7C636D4 for ; Thu, 9 Feb 2023 10:59:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbjBIK7n (ORCPT ); Thu, 9 Feb 2023 05:59:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230021AbjBIK7j (ORCPT ); Thu, 9 Feb 2023 05:59:39 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A8CB44D for ; Thu, 9 Feb 2023 02:59:10 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id az16so518193wrb.1 for ; Thu, 09 Feb 2023 02:59:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=E4qWySFdPWlDDj6CvZ29MtpOtvG59NiLUFJ1wNv+nZw=; b=EUolExRwf4LfrDwUiAGQ5FhG8nDREc494r+eapphjzQWifcAV3dtqumlcac504K2Az Tf03G8fnZvqpWdSJNyXO7uU6tOm3RZ7bYASOq76hlPN9fpu1dRqe6S5ciPUKRsJDvxE+ vQPDbJjmsVJ+zSsyY/z0FBVPlX9qR2TzhkD/Ek+D0wmkuoKZ0xNx3QUZ0K3fzgL9vXhC U9ok/0mXFFxluDXd7o+0UaEvwmnTTxkuNik4H3yzoa5OdD2p/z9OzKNAFB+4pNCT72ON glEJGsLpXqvlVLf4UNynoBVvtiAty1QGC4Sx8T85Em1uJsVhddPZLSafG06nvQ2mnXOK db5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=E4qWySFdPWlDDj6CvZ29MtpOtvG59NiLUFJ1wNv+nZw=; b=0G04PAaoaaxlB42yftnoYiT8HE37dTQTQ35FjZQlRHhmI064q5/jhViTFW29gI4eOH x2fr3S+ME5WV7i3JK/R1vJHThQoB3b/UqDaw9pluO/1LHgIFjkNT7hgKtvANfVMTNMuN 9M6pOWH4yj6/vTqynz4lC+1JYVGca4vw9C0QcusCz91zKU0hPe3Nvo8IxNbX7UjCxZdP LsGrcEvGa3cwJYBdUUzP4Y7UPysPCrwIqC9JONGg0n+JoFwpZemJQEmMy1qMBaCk/XCt QBMAJyIzqwKkovnKWQrgjB+piokgV08iTYe4wNf7LbLA4EEleAPyNsUKzTkCHACmI+UJ eIJA== X-Gm-Message-State: AO0yUKUcltIY+mdrchzMIJxeKQkaNfkXh4D1X0SFc5DLVqBcvOBJA2sp OYotiIS76Sg/qudrZY1rmx03pA== X-Google-Smtp-Source: AK7set+atwKYMV7RT2tbpxUR8z1N14xNVSqX1awpewm7AY0VYOHXhzDGhP8g+m7t5X7BRFFIqUmsAg== X-Received: by 2002:a05:6000:124f:b0:2c3:ea68:c580 with SMTP id j15-20020a056000124f00b002c3ea68c580mr3963480wrx.11.1675940334812; Thu, 09 Feb 2023 02:58:54 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id g7-20020a5d6987000000b002be063f6820sm927987wru.81.2023.02.09.02.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 02:58:54 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Eduardo Valentin , Lukasz Majewski , Kukjin Kim , Javier Martinez Canillas , Marek Szyprowski , Anand Moon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH 6/6] ARM: dts: exynos: correct TMU phandle in Odroid XU3 family Date: Thu, 9 Feb 2023 11:58:41 +0100 Message-Id: <20230209105841.779596-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> References: <20230209105841.779596-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing it must not have an argument to phandle. This was not critical before, but since rework of thermal Devicetree initialization in the commit 3fd6d6e2b4e8 ("thermal/of: Rework the thermal device tree initialization"), this leads to errors registering thermal zones other than first one: thermal_sys: cpu0-thermal: Failed to read thermal-sensors cells: -2 thermal_sys: Failed to find thermal zone for tmu id=0 exynos-tmu 10064000.tmu: Failed to register sensor: -2 exynos-tmu: probe of 10064000.tmu failed with error -2 Fixes: f1722d7dd8b8 ("ARM: dts: Define default thermal-zones for exynos5422") Cc: Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index a6961ff24030..e6e7e2ff2a26 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -50,7 +50,7 @@ fan0: pwm-fan { thermal-zones { cpu0_thermal: cpu0-thermal { - thermal-sensors = <&tmu_cpu0 0>; + thermal-sensors = <&tmu_cpu0>; polling-delay-passive = <250>; polling-delay = <0>; trips { @@ -139,7 +139,7 @@ cpu0_cooling_map4: map4 { }; }; cpu1_thermal: cpu1-thermal { - thermal-sensors = <&tmu_cpu1 0>; + thermal-sensors = <&tmu_cpu1>; polling-delay-passive = <250>; polling-delay = <0>; trips { @@ -212,7 +212,7 @@ cpu1_cooling_map4: map4 { }; }; cpu2_thermal: cpu2-thermal { - thermal-sensors = <&tmu_cpu2 0>; + thermal-sensors = <&tmu_cpu2>; polling-delay-passive = <250>; polling-delay = <0>; trips { @@ -285,7 +285,7 @@ cpu2_cooling_map4: map4 { }; }; cpu3_thermal: cpu3-thermal { - thermal-sensors = <&tmu_cpu3 0>; + thermal-sensors = <&tmu_cpu3>; polling-delay-passive = <250>; polling-delay = <0>; trips { @@ -358,7 +358,7 @@ cpu3_cooling_map4: map4 { }; }; gpu_thermal: gpu-thermal { - thermal-sensors = <&tmu_gpu 0>; + thermal-sensors = <&tmu_gpu>; polling-delay-passive = <250>; polling-delay = <0>; trips {