Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1217609pxx; Tue, 27 Oct 2020 10:59:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQvG6RIzJG99juOxjQrqxHIftyK83ubqHASK7m2H1fpHwP3pVzD9Hb750V4cYlb1nYed+o X-Received: by 2002:a17:907:40c0:: with SMTP id nu24mr3732396ejb.359.1603821564569; Tue, 27 Oct 2020 10:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603821564; cv=none; d=google.com; s=arc-20160816; b=C6YMs0Ism2QOIt1LjDFppPA9CSRQmkn96VHE0Q9/EicYXMsI3kLKyuVbcyA6UriLQa 5Y07sx7mrPajL2jydtJ6YgJTz0FKkB9NGvpl0VXa0xRF5mdHR/6DGuk2S6ezEF/meD8V 6YkACGw+hRBpqJpGb9km0NS3m5LFzvX+Hz+Sii9vXuV6D1HRdBt4m7ofE+PcDGk71Vq3 PClqSNOArHSZfVGyMTgZjf7oJeS5K8zi11Qv2tf9iAiZHnLChyCrowUcV8ROmUJUzcbq auJzVkV5KR4utDD6VfRkvOLY5lw3NOwFo6fOXKFcqAOZrv3d9X223J98vLG0RYXX0lbw 4TJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VQRSAyi2vY/KzQ1ocFwfdCAUc9C1ICW43KBqxucw1QY=; b=SoPL7Amx7WnT3a8OElbzm7UOHoGYGHJf1zFQozQieX+lJ/bst2Nvw0JgPXhVS5ky6j tcvp7plpuSI6CLtHMtfgYG1c17OlNh/jQzDZMXocnnqTfc3rUi6kzXWQEBJr3if3IL3E fNF6sxSkJ9DVfEA0yLPFzuTWCH+WUO8yXkh+DTtxC9JFUhuVicI6wX3wwjsc50pJiW9R FvJgRVKHtaIHvcqjv2yzcKCgM12AAR/KxyuUJ8tKJ94IVTNZdjQScXBOEHqH92IIK+gL KDnmWcSC4mWCBBP3vwHcf7bi/LYGhNenPfeGJ1D64+8buaf7Kkk9KG5Kml77vctZt15x xF8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QSH7eQDo; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si1436754ejz.84.2020.10.27.10.59.02; Tue, 27 Oct 2020 10:59:24 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=QSH7eQDo; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1819330AbgJ0R3g (ORCPT + 99 others); Tue, 27 Oct 2020 13:29:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:42106 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762372AbgJ0Om2 (ORCPT ); Tue, 27 Oct 2020 10:42:28 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 731C320725; Tue, 27 Oct 2020 14:42:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809748; bh=a0NdeZMCsmekqP6zac42+5/CTxXJQspvxUcKWwRMNOA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QSH7eQDoZtWFp1dzhih3oh6aQdotu1RDqr5L6p/eqKxv1eaS4jOfGDM4PhkDrtnuH DccxZlfX+9JS0C756dXTBfb8rYkgtg4F6da0kMWfyiuUr/JOlsx62W23eQ10f75vfT H98C1vIPVmM29+0RhWTa68lc2gDaG+Hr9b6ywhDI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Amit Kucheria , Stephan Gerhold , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.4 305/408] arm64: dts: qcom: msm8916: Remove one more thermal trip point unit name Date: Tue, 27 Oct 2020 14:54:03 +0100 Message-Id: <20201027135509.184082500@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stephan Gerhold [ Upstream commit e6859ae8603c5946b8f3ecbd9b4f02b72955b9d0 ] Commit fe2aff0c574d2 ("arm64: dts: qcom: msm8916: remove unit name for thermal trip points") removed the unit names for most of the thermal trip points defined in msm8916.dtsi, but missed to update the one for cpu0_1-thermal. So why wasn't this spotted by "make dtbs_check"? Apparently, the name of the thermal zone is already invalid: thermal-zones.yaml specifies a regex of ^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$, so it is not allowed to contain underscores. Therefore the thermal zone was never verified using the DTB schema. After replacing the underscore in the thermal zone name, the warning shows up: apq8016-sbc.dt.yaml: thermal-zones: cpu0-1-thermal:trips: 'trip-point@0' does not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$', 'pinctrl-[0-9]+' Fix up the thermal zone names and remove the unit name for the trip point. Cc: Amit Kucheria Fixes: fe2aff0c574d2 ("arm64: dts: qcom: msm8916: remove unit name for thermal trip points") Signed-off-by: Stephan Gerhold Link: https://lore.kernel.org/r/20200915071221.72895-3-stephan@gerhold.net Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 340da154d4e37..ade2eb1781e37 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -175,14 +175,14 @@ pmu { }; thermal-zones { - cpu0_1-thermal { + cpu0-1-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens 4>; trips { - cpu0_1_alert0: trip-point@0 { + cpu0_1_alert0: trip-point0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; @@ -205,7 +205,7 @@ map0 { }; }; - cpu2_3-thermal { + cpu2-3-thermal { polling-delay-passive = <250>; polling-delay = <1000>; -- 2.25.1