From patchwork Thu Nov 17 13:02:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13046863 X-Patchwork-Delegate: daniel.lezcano@linaro.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A363AC43219 for ; Thu, 17 Nov 2022 13:03:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239305AbiKQNDB (ORCPT ); Thu, 17 Nov 2022 08:03:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234569AbiKQNDA (ORCPT ); Thu, 17 Nov 2022 08:03:00 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A110C682A8 for ; Thu, 17 Nov 2022 05:02:59 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id bp15so2626288lfb.13 for ; Thu, 17 Nov 2022 05:02:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YPiJ7os7PhEqrWGvtI8HCACMGN0RvPMekiv79MxyVqE=; b=rb1lpgP+fARO/6FtRRzLWhf1wyTHfYMbmqIXevWEuMS94ujwYdhoe7VQAH/Hs7wYyG pYwovs9TxBIwqW5zZR702ZamIB42qBnxhfyAW6T1JJUDbMD7PqFwCTDldyXg3NZnuhWq mjU0PtqlfwMYyFbquOQWCWndXRTU7i2XG6cZuCFoMRsXZU9X/3ElM+HV/GG14lsCCIOu /pgIGIhPo1HUHgs638m/yuf3SH02fZxkXo1Ew2rWyFgNKZYAzB/trAgdcGxYOfD+dXOM c6TyjbWA21lopFHHBaeaMUTgGzAUWK4oEE2TQHGQlIw23WuRRj0CUJkGeNajcBylR1kd Wq5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YPiJ7os7PhEqrWGvtI8HCACMGN0RvPMekiv79MxyVqE=; b=3UsDSLd3jbUa94XIZU+Kaebp6e9vzcaKgZ3Ah+KxZYWCmHuxeTOMSPRXkgCfzIeQ1+ kym9Jt55mQ0y1hxA9S3KfkvDKZTo7sf7UOKnojk0bL28dIBiqUdEOv1NlEhrn6HpwaZr pTH/PdEDoboQ1yjjEMKOQEonVUbrDfAFYtyo8fes8OhKsQMKuzl84UtA522zMWq7Hb1E WINdHD5S85vV7+JXPicbW1G9cTlk/q54my5BuIP91GmcsFoQPI/c4/et7C4S0ykSr+5S cf7ryCuFG4nCI8xYJmNVGnzJQZyT/o6MpGH8Zo5gi4koL7MSGAEjRBXQkUblELFczcy+ OoHA== X-Gm-Message-State: ANoB5pkn5/lCyf2hrgxCHIZhHDzYGT6OATsqLLLHX/H+Xsvi0Qwx8pXH klcIsE6PaNOPp4IsxcgJ6rChgQ== X-Google-Smtp-Source: AA0mqf4ACSvvgnA3OevUWAqQJmbuiVpzqjBLDs6tP3CCwp3fODm5slkGppX+15vDxgXXVaFEUgTOFQ== X-Received: by 2002:a05:6512:25a0:b0:4a2:bbdc:1430 with SMTP id bf32-20020a05651225a000b004a2bbdc1430mr813519lfb.404.1668690177498; Thu, 17 Nov 2022 05:02:57 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v6-20020a2ea606000000b0026c4c1a0b4dsm186982ljp.126.2022.11.17.05.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 05:02:56 -0800 (PST) From: Krzysztof Kozlowski To: Amit Kucheria , Thara Gopinath , Andy Gross , Bjorn Andersson , Konrad Dybcio , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Neil Armstrong Subject: [PATCH] dt-bindings: thermal: qcom-tsens: simplify if:then: clauses Date: Thu, 17 Nov 2022 14:02:54 +0100 Message-Id: <20221117130254.378109-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Most of the device-specific compatibles have generic fallbacks like qcom,tsens-v1 or qcom,tsens-v2. The if:then: block mentions these fallbacks, so drop redundant entries for specific compatibles. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Stephan Gerhold --- Cc: Neil Armstrong --- .../devicetree/bindings/thermal/qcom-tsens.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index f0bd4b979e28..c9949713f714 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -118,12 +118,7 @@ allOf: contains: enum: - qcom,ipq8064-tsens - - qcom,mdm9607-tsens - - qcom,msm8916-tsens - qcom,msm8960-tsens - - qcom,msm8974-tsens - - qcom,msm8976-tsens - - qcom,qcs404-tsens - qcom,tsens-v0_1 - qcom,tsens-v1 then: @@ -140,17 +135,6 @@ allOf: compatible: contains: enum: - - qcom,msm8953-tsens - - qcom,msm8996-tsens - - qcom,msm8998-tsens - - qcom,sc7180-tsens - - qcom,sc7280-tsens - - qcom,sc8180x-tsens - - qcom,sdm630-tsens - - qcom,sdm845-tsens - - qcom,sm8150-tsens - - qcom,sm8250-tsens - - qcom,sm8350-tsens - qcom,tsens-v2 then: properties: