Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2024219pxb; Mon, 18 Jan 2021 06:24:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNL80kQzLzlXGYkVnvqKENsZTwnsRicfpMpKZ+PfYwq37kPTwqzsUV5hApvv5JRq7Hu7Tf X-Received: by 2002:a05:6402:31b5:: with SMTP id dj21mr20033925edb.90.1610979899048; Mon, 18 Jan 2021 06:24:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610979899; cv=none; d=google.com; s=arc-20160816; b=Nfft2OXHChaBX3vaTxaITRUrfxra09C5W1sXYzgS3B5AVjV+TIXZMQNZQQ8YfQvDf6 8ZYrWv/yn7CNqooEgn83wyf2O/QGHElFkx4ZjgDU+CVgKhJtZa9KHFHM09KdcohqeGuG O43VlelqS36lOC8+hJQ+X0klwAiZGQvjVQYVBXbPQnnxObstMYowAnd3hY0cntBXs7dt RGk7HT2Vgp7CN7p+7rhNUXZaoP7UX93zdjIX/fDQ3XNQk9q4xWoNVOZ1oBjWZ/bZh9TB GKafklADmTxC/HISdjoYtlsX3+oDvwiV5VMjsxxBalRy9428QSPK6R9XFy3x2/OTihhB ep3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=TJ98yRiVAKXz/9v4pJs0CqS+jJbDveu/4vuetNfm72Y=; b=ZfFuQywTzR2Dc5sCjp3F9dK8VDaBlXDsHwB5I1xz8YLzdXl8l9iauWlBwpG7lL8KAj Rab7e76dFe0p6WTiSr32mYSR9+XKY4cCZYrXvYV64QuTZwJ0Mc0w5UwxfEOVqn5DkQSx s5rElSpueT9Boxg45WMMQ88SX/D+DusZRoXQB34jwFg5fmSaNZyjA0f6dloMMYSmNExF Q0LLNYckdNlSuspFwLtmwkvB4NBoPhkOISeJLNkWkBmV4tsoKlJyr08HxogM+kPiRTlU dSmPXGAAGhOmA0+yHZqExcqepUFv/zOSg3L0aNRaaCxupnjMiRQsTWHDGJDP7VQfO2g/ T3WA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si6691788edc.346.2021.01.18.06.24.34; Mon, 18 Jan 2021 06:24:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404667AbhAROWf (ORCPT + 99 others); Mon, 18 Jan 2021 09:22:35 -0500 Received: from foss.arm.com ([217.140.110.172]:36964 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392974AbhAROVK (ORCPT ); Mon, 18 Jan 2021 09:21:10 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7F1911FB; Mon, 18 Jan 2021 06:20:24 -0800 (PST) Received: from [10.57.39.58] (unknown [10.57.39.58]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5F9CE3F68F; Mon, 18 Jan 2021 06:20:23 -0800 (PST) Subject: Re: [PATCH 3/3] arm64: dts: rockchip: rename thermal subnodes for rk3399.dtsi To: Johan Jonker , heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org References: <20210117150953.16475-1-jbx6244@gmail.com> <20210117150953.16475-3-jbx6244@gmail.com> From: Robin Murphy Message-ID: Date: Mon, 18 Jan 2021 14:20:23 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210117150953.16475-3-jbx6244@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-01-17 15:09, Johan Jonker wrote: > A test with the command below gives for example this error: > /arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml: > thermal-zones: 'cpu', 'gpu' do not match any of the regexes: > '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+' > > Rename Rockchip rk3399 thermal subnodes so that it ends > with "-thermal" > > make ARCH=arm64 dtbs_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/ > thermal/thermal-zones.yaml > > Signed-off-by: Johan Jonker > --- > arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 2 +- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts > index c88295782..b20774081 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts > @@ -126,7 +126,7 @@ > }; > > &thermal_zones { > - cpu_thermal: cpu { > + cpu_thermal: cpu-thermal { > polling-delay-passive = <100>; > polling-delay = <1000>; > thermal-sensors = <&tsadc 0>; Passing observation: why is this DT not just referencing &cpu_thermal directly to add the board-specific parts (and not repeat all the SoC default properties) anyway? Cleaning the whole thing up might have been a good idea :/ Robin. > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > index 4e94b7ebd..3de493ad6 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > @@ -761,7 +761,7 @@ > }; > > thermal_zones: thermal-zones { > - cpu_thermal: cpu { > + cpu_thermal: cpu-thermal { > polling-delay-passive = <100>; > polling-delay = <1000>; > > @@ -805,7 +805,7 @@ > }; > }; > > - gpu_thermal: gpu { > + gpu_thermal: gpu-thermal { > polling-delay-passive = <100>; > polling-delay = <1000>; > >