From mboxrd@z Thu Jan 1 00:00:00 1970 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 CEEF3CCA483 for ; Wed, 29 Jun 2022 10:46:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbiF2KqM (ORCPT ); Wed, 29 Jun 2022 06:46:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230427AbiF2KqK (ORCPT ); Wed, 29 Jun 2022 06:46:10 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCCBD3E0F7 for ; Wed, 29 Jun 2022 03:46:07 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id q6so31644044eji.13 for ; Wed, 29 Jun 2022 03:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=W6PblvzjwJsUNdixxqPbFxxCesgaMuSRJo0IV7rsaEE=; b=oWCshr8Sig4TgVaJI44cjK1triaw06iiT8JAoWmlY1sjQfkCy17eatc59Jx6qxZY9F nSEVq0Ubkl3k2gorW3qn2Hp2wT766fZDPbxzBlXLwPj8nT05qDLS+RXlGz5283sV3Tlw Qq8VqoFTyvRSfQGVJJbipigiP5Pc8z2gQvii/wqSIZL5eiTjNCpi5FmjyfvlgFCNYnKP cFabpf9ZIDR5hEye7dgEOThDXekIQyTivRKFe6WXNOlSPz7FMKNYeSePaZdzkJ8p2bjK PSCWQb4E5dB9uuOTEWb+FMNRf50WZd2oNP+rCZyl9ydW59zOZa7RlIa0vsfWaIfIsAEb qxQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=W6PblvzjwJsUNdixxqPbFxxCesgaMuSRJo0IV7rsaEE=; b=gYcqsbZGZx2cXSybPCnvfYh4JxQ+q/OKy/sJZVFzoPHZjTyQ17cHBz6znLAHWCATvR YwfQAg2ejthquPwc1Wy2+ffiEW2crgpowupsfaxQaBQMfmqseG2g0WT6Q9PkTS80vDAg QX4+5pwnxc/xxVdsi1JCvzrysiEgfx7vkvHhUiDiocfHdD6exuzeZHegGmWWrPcum3Ut IzhyKCUqh9Cmo2XKsdRWm1EHRrkI4MMIHdsYRQegO2VKuwo0w5tPCwkGxjeqoJXxSFqV oiQosZSNnO8i610X4Sjv5o9/PVp4vN3J24UTxUyNNvLeCRF1euiACkpmDl6Qn+LU00QY 4LhA== X-Gm-Message-State: AJIora+uoeNBUC0G7aXXcAAgT2r+mkkNfmBymDUQic879XvfBnRsC1Sx EAxCnFZjW19vYfYeamhaRViFjg== X-Google-Smtp-Source: AGRyM1tyS2WfFfYASPJC+t6WUWS3hSdUIOTkd3TViReO0HxUsV95x9yb99WnVOW139Oas8rdXvfyxQ== X-Received: by 2002:a17:906:9508:b0:726:9589:6da7 with SMTP id u8-20020a170906950800b0072695896da7mr2531593ejx.505.1656499566304; Wed, 29 Jun 2022 03:46:06 -0700 (PDT) Received: from [192.168.0.184] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id l3-20020a170906078300b006feba31171bsm7673762ejc.11.2022.06.29.03.46.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Jun 2022 03:46:05 -0700 (PDT) Message-ID: <269146ad-7b4b-9d8f-23c2-2b0443ab62ec@linaro.org> Date: Wed, 29 Jun 2022 12:46:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 1/3] dt-bindings: thermal: qcom-tsens: Drop redundant compatibles Content-Language: en-US To: Stephan Gerhold , Daniel Lezcano , "Rafael J. Wysocki" Cc: Amit Kucheria , Thara Gopinath , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Andy Gross , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Stephan Gerhold References: <20220627131415.2868938-1-stephan.gerhold@kernkonzept.com> <20220627131415.2868938-2-stephan.gerhold@kernkonzept.com> From: Krzysztof Kozlowski In-Reply-To: <20220627131415.2868938-2-stephan.gerhold@kernkonzept.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 27/06/2022 15:14, Stephan Gerhold wrote: > Since the SoC compatibles must be followed by the IP version compatible > (e.g. compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";) it is > redundant to list all the SoC compatibles again in the if statement. > It will already match the IP-version compatible. > > The list has already become inconsistent since for example > "qcom,msm8939-tsens" is covered by the if statement but is not listed > there explicitly like the other SoCs. > > Simplify this by dropping the redundant SoC compatibles. ipq8064 and > msm8960 are still needed because they do not have an IP-version > compatible. > > Signed-off-by: Stephan Gerhold Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof