Message ID | 20230323-topic-sm8450-upstream-dt-bindings-fixes-v1-4-3ead1e418fe4@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2832279wrt; Thu, 23 Mar 2023 03:38:30 -0700 (PDT) X-Google-Smtp-Source: AK7set/rvPBrGF5lam28adJiGta5oQq78nOLU9Obna1ftdMi/LwH9LcjLySQutrHHVs932Ya1sjV X-Received: by 2002:a17:906:9bd8:b0:879:ab3:93d1 with SMTP id de24-20020a1709069bd800b008790ab393d1mr9330462ejc.4.1679567910225; Thu, 23 Mar 2023 03:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679567910; cv=none; d=google.com; s=arc-20160816; b=iU3T6l68xbN5ccv+3+l7cFZ2L1SKcfcxAix7hXvBw3R5qFjHRQ5BcOJDJBZqKDAPZW Kz0gtKvT84HPKKPxQEdkOExZacb0l7FRDjeUfHHj3Q/h9fIFB/mFxg1ra1Pl/1h/EXCM jEm2Gl9sY6Si2XJa9CHxECetzdAZ7U4ucjHBOQTxmEMgHHbMpWwKxRRyZZciNKR5IQcK bzIBCzML+L7NurgrF8VBwRZu/9MATMTzCHWWoDrgYbiZep13YF8ek+7LMDsgNrLVkmEn 2YlHDHTrfcr5gxMCwOw4broF76LTq1oCUJnC58Ly82zAgQLKKyq9fPaFtWFbTabw32DP /2yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=NXsWO/AvbcGFTuUSdH/Ht1at3O5Z+IWMIafYvf7D2hY=; b=Tkt0LTgLhEaTRVTDPkbKvqImdz/2PkY75ST9gA+Ysu8lSDhX3XADJwkd7qPdlJJggU SJnR9F88dWOM0BVFqSHpqlE2STKEiz/P8ABbWGmXJF8eSuE3troAhHJKuRXjuEL1E60B t1IGQsDZ93xnFn6M8d6LEfA02Zbq7TKzYvib/umkh8iqQBCIWCbmfKdbmUEIVxGmfvG4 V+LvoBNNJphwej927qmOzEs6tukkb/EfjGabrGS3iXP0qx7dRg7eC4yWzgAxI5r3+Ifl 1hCgW9cvsHta6eYuwUZivCukj5sH33qJqL4D0H7BUJPcIiR4zGhm3S6gxWwt0TF0ZLTC kpMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A9nrFruV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v13-20020a170906564d00b008d0378ec19fsi16581645ejr.650.2023.03.23.03.38.06; Thu, 23 Mar 2023 03:38:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A9nrFruV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231320AbjCWK0E (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Thu, 23 Mar 2023 06:26:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231327AbjCWKZr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 23 Mar 2023 06:25:47 -0400 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 33795136E5 for <linux-kernel@vger.kernel.org>; Thu, 23 Mar 2023 03:25:32 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id l12so19850890wrm.10 for <linux-kernel@vger.kernel.org>; Thu, 23 Mar 2023 03:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679567130; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=NXsWO/AvbcGFTuUSdH/Ht1at3O5Z+IWMIafYvf7D2hY=; b=A9nrFruVwvfmdqAa9k/GzLJISL5s8P9n/DnONHFbHsC4BZcSiPBiEWZW4SndgxqNqH AFDBsjSdFfjmF8X+3YJVe1NhRW4klv0GCccjBnuHu6WS6mBFEV7K/Fq3xwfR2//IN2o6 mjbX6TWGFtGMZazqhza4iYRg+bjhcYb2RjvobGnTYZRMRZpu2N3n3BEDCMbmppRoU+vR Egm2SgKlW78u920qdCFa7U5TfJ3M8KvW/ey5y+fVHJAnz0K+7x6xxXwRMCZMSJMmIudB 9WIBg/dGHgJK3KfociRtxSLXRXLa3gfSBgqSTAIIjmMiNbNFBuIZnrp9L3RLEeIZQybc unFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679567130; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NXsWO/AvbcGFTuUSdH/Ht1at3O5Z+IWMIafYvf7D2hY=; b=BJqVypBPkrXZKeaU1VC8xjn/Z3aaiLEUJ3UE0wKY0okjVirI0kHbBjppZ1dkDYOaHf brNltPiVaChKGV1rYyj3WNA8R0aOFpYp207VPBLjd6Olp2u3Ez7nhVVVpSK71JDJLCVf ccHejiVtseIq2/J1SE6dUfJWo58hY63qLVMyIUIGQKbbEVU55es1dvx8BZopB2XNI54h Zjai8dYKAx5YnZAJBqoaMwjhAGM9AbWA2BBtv1y9J5y7DQj7+WJnpVbQ8PowYf5K22GC Yaicf6dj2mW4LJ4gVigYo05Z3dXoq/mJdt8NrF+cd+Ep+FmmCI3n6LAD323tqo/xheid 0QmA== X-Gm-Message-State: AAQBX9dz+b9zWSLHUjVzDPNLqCgpfnEg+GpKZgRo3FHz6WTqKj9L9bji hD9BNUbg8/KvZ4ysU/4Nwgs2HQ== X-Received: by 2002:adf:decb:0:b0:2d1:9ce9:2b8f with SMTP id i11-20020adfdecb000000b002d19ce92b8fmr2257319wrn.66.1679567130680; Thu, 23 Mar 2023 03:25:30 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id e23-20020a5d5957000000b002cfefa50a8esm15753530wri.98.2023.03.23.03.25.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 03:25:30 -0700 (PDT) From: Neil Armstrong <neil.armstrong@linaro.org> Date: Thu, 23 Mar 2023 11:25:19 +0100 Subject: [PATCH 4/8] arm64: dts: qcom: sm8450: remove invalid properties in cluster-sleep nodes MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230323-topic-sm8450-upstream-dt-bindings-fixes-v1-4-3ead1e418fe4@linaro.org> References: <20230323-topic-sm8450-upstream-dt-bindings-fixes-v1-0-3ead1e418fe4@linaro.org> In-Reply-To: <20230323-topic-sm8450-upstream-dt-bindings-fixes-v1-0-3ead1e418fe4@linaro.org> To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Lee Jones <lee@kernel.org>, Stephen Boyd <sboyd@kernel.org>, Manivannan Sadhasivam <mani@kernel.org>, Alim Akhtar <alim.akhtar@samsung.com>, Avri Altman <avri.altman@wdc.com>, Bart Van Assche <bvanassche@acm.org> Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk@kernel.org>, linux-scsi@vger.kernel.org, Neil Armstrong <neil.armstrong@linaro.org> X-Mailer: b4 0.12.1 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761154601010210225?= X-GMAIL-MSGID: =?utf-8?q?1761154601010210225?= |
Series |
arm64: qcom: sm8450: bindings check cleanup
|
|
Commit Message
Neil Armstrong
March 23, 2023, 10:25 a.m. UTC
Fixes the following DT bindings check error:
domain-idle-states: cluster-sleep-0: 'idle-state-name', 'local-timer-stop' do not match any of the regexes:
'pinctrl-[0-9]+'
domain-idle-states: cluster-sleep-1: 'idle-state-name', 'local-timer-stop' do not match any of the regexes:
'pinctrl-[0-9]+'
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ----
1 file changed, 4 deletions(-)
Comments
On 23/03/2023 11:25, Neil Armstrong wrote: > Fixes the following DT bindings check error: > domain-idle-states: cluster-sleep-0: 'idle-state-name', 'local-timer-stop' do not match any of the regexes: > 'pinctrl-[0-9]+' > domain-idle-states: cluster-sleep-1: 'idle-state-name', 'local-timer-stop' do not match any of the regexes: > 'pinctrl-[0-9]+' I don't get from the commit msg why these properties are not correct here. The idle states allow them, so maybe something is missing in the binding? At least commit msg should explain this. Best regards, Krzysztof
On 23/03/2023 11:51, Krzysztof Kozlowski wrote: > On 23/03/2023 11:25, Neil Armstrong wrote: >> Fixes the following DT bindings check error: >> domain-idle-states: cluster-sleep-0: 'idle-state-name', 'local-timer-stop' do not match any of the regexes: >> 'pinctrl-[0-9]+' >> domain-idle-states: cluster-sleep-1: 'idle-state-name', 'local-timer-stop' do not match any of the regexes: >> 'pinctrl-[0-9]+' > > I don't get from the commit msg why these properties are not correct > here. The idle states allow them, so maybe something is missing in the > binding? At least commit msg should explain this. The domain-idle-states bindings doesn't document those 2 properties, so perhaps it's missing ? Neil > > Best regards, > Krzysztof >
On 23/03/2023 14:14, Neil Armstrong wrote: > On 23/03/2023 11:51, Krzysztof Kozlowski wrote: >> On 23/03/2023 11:25, Neil Armstrong wrote: >>> Fixes the following DT bindings check error: >>> domain-idle-states: cluster-sleep-0: 'idle-state-name', 'local-timer-stop' do not match any of the regexes: >>> 'pinctrl-[0-9]+' >>> domain-idle-states: cluster-sleep-1: 'idle-state-name', 'local-timer-stop' do not match any of the regexes: >>> 'pinctrl-[0-9]+' >> >> I don't get from the commit msg why these properties are not correct >> here. The idle states allow them, so maybe something is missing in the >> binding? At least commit msg should explain this. > > The domain-idle-states bindings doesn't document those 2 properties, so perhaps it's missing ? Ah, you are right. These were copied from CPU idle states, so here they do not make sense. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 78fb65bd15cc..ff55fcfdd676 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -255,22 +255,18 @@ BIG_CPU_SLEEP_0: cpu-sleep-1-0 { domain-idle-states { CLUSTER_SLEEP_0: cluster-sleep-0 { compatible = "domain-idle-state"; - idle-state-name = "cluster-l3-off"; arm,psci-suspend-param = <0x41000044>; entry-latency-us = <1050>; exit-latency-us = <2500>; min-residency-us = <5309>; - local-timer-stop; }; CLUSTER_SLEEP_1: cluster-sleep-1 { compatible = "domain-idle-state"; - idle-state-name = "cluster-power-collapse"; arm,psci-suspend-param = <0x4100c344>; entry-latency-us = <2700>; exit-latency-us = <3500>; min-residency-us = <13959>; - local-timer-stop; }; }; };