From patchwork Sun Jan 17 15:09:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 365278 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B614C433DB for ; Sun, 17 Jan 2021 15:10:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 29B8E22262 for ; Sun, 17 Jan 2021 15:10:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729267AbhAQPKs (ORCPT ); Sun, 17 Jan 2021 10:10:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728889AbhAQPKn (ORCPT ); Sun, 17 Jan 2021 10:10:43 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD967C061574; Sun, 17 Jan 2021 07:10:02 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id r12so8773838ejb.9; Sun, 17 Jan 2021 07:10:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=j9PRWzzs1VCnzZhzvE9WLio7jj+fP82Dt/QONc1WWeE=; b=JNHuAa2LKAmjkB+NLBzKLAdxUJuRy1wJjbJh6YLZ+y2LPMqBge1rAwbhLc0hmHchyK oqHABnaUt6adkFi5RyVrgvANo5UznA81mY3tuR70cdfsMAL8xIwji7Q6tYjMoUHOVRq/ 68KzIPUcXI+996jY9ajZQB8WrhwHrIWRLZrtKKTvfAtJoM2UjxBjPD2scs/l/pHJ8/TR wJVAQdJrv0xB5E2Jf2Z7sAtCUh7VDBlHcrt7lfnkPeli+eUMIstrsq0WFKenNCEovoC2 cLYxh3Z3tgoKNL3h+gL30D4ZPL6WN+EHFgRUiA1H+ieeKaf3dOuD4+y8W0H7fc+VauK9 wPlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=j9PRWzzs1VCnzZhzvE9WLio7jj+fP82Dt/QONc1WWeE=; b=M1wRXrCwvVGKlbNHUTtD703pk8gjfxeEUsfKVzNoGf60rXYWP4RFy+0j/ZjOFof11i YCdxxEhwcEMq5UEOiZf9D+zcmgVOdEi4HJDyOIyTqWSxmqaqfxs+awx9hGETwkk3GFl5 PiUeiX8G5mX/eKnXAPWJoYJP+u07tFzhkrq4JPFPC2UQ+eoAhdCxuYd6N/uPWIlNxb5p hrGKn+5E8AVFOzRhRDZQnhlpaNoj6GxRWgAKZ6SXhO1prrenqgelp6PVEdUkoqCPSgJW GefiGC2LW0AnIKZZ087UnxG5raqp4wR1XyLSpJU0cBlMwb3mvXaGuwN2hIvJmVG1XRjs hDdg== X-Gm-Message-State: AOAM5335WK22G3sj5MmnfgJziidCC/jvm4kLZcJRl/ztpPFStF1PWFNx ha3yGUyScB/MPVsBiscZuLo= X-Google-Smtp-Source: ABdhPJwZWXCJ0UvvQw7hz2eYcZ9L/c1mFBT6Jbep82MAc0b+Zmzykwrx83D0+xw5LGgyXhfAE4KJGQ== X-Received: by 2002:a17:906:f246:: with SMTP id gy6mr3171712ejb.264.1610896201577; Sun, 17 Jan 2021 07:10:01 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id g3sm6295121eds.69.2021.01.17.07.10.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jan 2021 07:10:00 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] ARM: dts: rockchip: rename thermal subnodes for rk3288.dtsi Date: Sun, 17 Jan 2021 16:09:51 +0100 Message-Id: <20210117150953.16475-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org A test with the command below gives for example this error: /arch/arm/boot/dts/rk3288-tinker.dt.yaml: thermal-zones: 'cpu_thermal', 'gpu_thermal', 'reserve_thermal' do not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+' Rename Rockchip rk3288 thermal subnodes so that it ends with "-thermal" make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/ thermal/thermal-zones.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3288.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 01ea1f170..29ffe2eb9 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -488,14 +488,14 @@ }; thermal-zones { - reserve_thermal: reserve_thermal { + reserve_thermal: reserve-thermal { polling-delay-passive = <1000>; /* milliseconds */ polling-delay = <5000>; /* milliseconds */ thermal-sensors = <&tsadc 0>; }; - cpu_thermal: cpu_thermal { + cpu_thermal: cpu-thermal { polling-delay-passive = <100>; /* milliseconds */ polling-delay = <5000>; /* milliseconds */ @@ -539,7 +539,7 @@ }; }; - gpu_thermal: gpu_thermal { + gpu_thermal: gpu-thermal { polling-delay-passive = <100>; /* milliseconds */ polling-delay = <5000>; /* milliseconds */ From patchwork Sun Jan 17 15:09:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 365277 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEE02C433E6 for ; Sun, 17 Jan 2021 15:11:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9113B2251E for ; Sun, 17 Jan 2021 15:11:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728815AbhAQPLL (ORCPT ); Sun, 17 Jan 2021 10:11:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729244AbhAQPKp (ORCPT ); Sun, 17 Jan 2021 10:10:45 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 623D3C061757; Sun, 17 Jan 2021 07:10:04 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id w1so20100640ejf.11; Sun, 17 Jan 2021 07:10:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DRG9e23i2SPuZfCW/3STyimbjAw4V/3t5/u6E4VRlYY=; b=tNT+TXNvIhPH284c/OIxPeXrPhLGyt2mMyUofjpzH909fsLJ2RsQGxilTPhkBPQvts /ArzFD6AHVMff4if19fNp7lHRIrjhkwM+KBGKNnJSwwWntNmGytMhfAdtMPO6B4GRcmL eseMz7PLW6Aq+qi5Zcm6zmBLqaGdCZZ3KKCT8LYyh90u8fFMrWD0uWEb6WWr5Fps/J3N YBqbqMdxACSdjQWrqlJdnQ/TqU+YAhxmwRnDcEzsVTLEQoD/A/pxAgYYhbCfmPLrITwI 240QwLtZAjTVxRv5NodQkGmuDK4v0gG+uBb3MHzA9+PXqkNx/RuYT8WBJfOWVYKu9yDX CXFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DRG9e23i2SPuZfCW/3STyimbjAw4V/3t5/u6E4VRlYY=; b=j39C3yek0tjacTY80PgGw2NHAzioK82SeFrKiSkjKlFTAzYdJAUuHj3dKTO6GHtiHJ ea9aEJrtjMuQiHNM3oYfk07N7A0A8VPHVdBmR3QSOYl0itRmGv0Kk2SBt3V1aIyE8vO1 A2PEk//5Ka1tVuILPbP1jqnbpN4zLlfcyoOf7uf27nB3ZZYv1XrGwTwV5gN0C0BAd/C/ uQ0Og54fCwyRHZesH47V5yXIf0mj9WJgCju2KHReD8dvGwkZCp0YbVf8NqnXIlJXzZSf sSg+aSFVgp/WPRyGriLoFTcw3flrkgcNrZYFPyE6sviSm/bWgiTj/9+8s/wsz6Q6GnzR wUjg== X-Gm-Message-State: AOAM533F4+si4yF/XO5ws2zHA0JOerwmDglrL2gsM3RdFvN1tTeulCZi 5tb/upWwdkluTh3W1JogO/hz6Q9+IIs= X-Google-Smtp-Source: ABdhPJxldbIelUhlRirTNtJCRL44lRqzuE/9xcwVyyjMHc8YTdAEMsJvdubfCMgPB/f9bWPfuxpBTQ== X-Received: by 2002:a17:906:80c9:: with SMTP id a9mr8443492ejx.78.1610896203193; Sun, 17 Jan 2021 07:10:03 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id g3sm6295121eds.69.2021.01.17.07.10.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jan 2021 07:10:02 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: rockchip: rename thermal subnodes for rk3399.dtsi Date: Sun, 17 Jan 2021 16:09:53 +0100 Message-Id: <20210117150953.16475-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210117150953.16475-1-jbx6244@gmail.com> References: <20210117150953.16475-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; 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>;