From: Marc Gonzalez Subject: Re: [PATCH v2 00/13] qcom: dts: thermal cleanups Date: Thu, 25 Apr 2019 15:06:59 +0200 Message-ID: <0e2ffc33-1ffd-2eb2-e6a7-117b3f14c2e7@free.fr> References: <5583cae1-8fea-724a-24a4-59b38a205ac3@free.fr> <842b06c6-15b2-7ba6-702e-c8b043d390a6@free.fr> <903fa0a6-5c40-97b4-1c01-fd84f3e51c62@free.fr> <8e53ea22-d248-8c63-bcda-15b502eb9699@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Amit Kucheria , Andy Gross Cc: LKML , MSM , Bjorn Andersson , Sibi Sankar List-Id: linux-arm-msm@vger.kernel.org On 25/04/2019 08:31, Amit Kucheria wrote: > [PATCH 3/3] arm64: dts: msm8998: thermal: Restrict thermal zone name length to under 20 > > The thermal core restricts names of thermal zones to under 20 > characters. Fix the names for a couple of msm8998 thermal zones. > > Signed-off-by: Amit Kucheria > --- > arch/arm64/boot/dts/qcom/msm8998.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi > index 062a93a12198..01757829d5f3 100644 > --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi > @@ -536,7 +536,7 @@ > }; > }; > > - cluster0-mhm-thermal { > + clust0-mhm-thermal { > polling-delay-passive = <250>; > polling-delay = <1000>; > > @@ -551,7 +551,7 @@ > }; > }; > > - cluster1-mhm-thermal { > + clust1-mhm-thermal { > polling-delay-passive = <250>; > polling-delay = <1000>; > Wouldn't it be better to drop the "-thermal" suffix than to chop characters off from the actual description? Or would it make sense to increase the 20-char limit to 24? => Probably impossible without breaking the user-space ABI, since THERMAL_NAME_LENGTH is defined in include/uapi/linux/thermal.h Anyway, for msm8998 patches, you have my Tested-by: Marc Gonzalez Regards.