From patchwork Mon May 2 16:45:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 12834454 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 7773BC433FE for ; Mon, 2 May 2022 16:43:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386320AbiEBQqu (ORCPT ); Mon, 2 May 2022 12:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386332AbiEBQqt (ORCPT ); Mon, 2 May 2022 12:46:49 -0400 Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B575DA186 for ; Mon, 2 May 2022 09:43:19 -0700 (PDT) Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-e656032735so14847068fac.0 for ; Mon, 02 May 2022 09:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=h+aAmktrhHjAvWVorgG3HkK53F/Z1E5yTUMK0PKA93c=; b=jCqteN1q3mTZAX7ZLV7IR9r4xFQBqwSuYHj5TiDLt0Ibat8Bdh1Zq9Cse71ct/arPp qndAtu1y3HImmRCGMKiYysaHdmd9ctLYyw+zB5IIX34rOv44uIaW1oQ4AUE1mlM/EtTP gGnyLn/fN65RNc4KrMS1h54pCq9x1rwt5yo159Idhjn0Wd0Q44b0QBfnbn+yva2pWvEp M6+hzRxjHBhhibqheEP2WNdSZNxhz7wAiXdBwQ/zG2ypIhQbGCOcVSZz7H+Ipd6ZXTDm VxoTqsNXS4dQXXzsLv01dKuEMcyUylfGOYxAqDAdGbRal5ChLubmbZoeHmSX6cLIWEt8 7mAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=h+aAmktrhHjAvWVorgG3HkK53F/Z1E5yTUMK0PKA93c=; b=gIBHbxC0PgaQD9LXrDLk+nPqvHrJtlrXQ6BZ2kUs9vvdn0qJNEtlOYVdxs1vCdaAS8 4UK9I9BfkmgbAxV/vOtlXNjhIFS4KqMrnNdzjsB0G3GYUz/kd+OKmSj+gGGMjICZb592 BFLTbw3stWCZnHDhzxZWwG25gCepPlqd9ks18HCzuxDy7rAi4/Hq8JQKJka7kI1qdKqb DTPbzNVBT0+VIExta7uHMMsh3wrJ8t65Te4WMzqQ3QnfSpz7yfUrB5/3jOuWfccKgEL2 JjSooUOVl0Vl/h0NDOkCihk0QzvXTMC7FExR44rS5oKl9BffePuEMf8vIe4ECo9tU+zG az3w== X-Gm-Message-State: AOAM533B8KiXKL4cDf+RNxoVg21hfnowT0AIg2vIGZ+kXaRTdvrCnAVG nAmcghtx4T0giEBrVffRQ1F8Wg== X-Google-Smtp-Source: ABdhPJylGLGMM5RJS9kZI/ssSmqpYEetSRGQTQyROGceaGmcbZtqhrS/OxqIn22r+my6dGgm5Pv8qw== X-Received: by 2002:a05:6871:92:b0:d9:abe2:936e with SMTP id u18-20020a056871009200b000d9abe2936emr4933689oaa.83.1651509799097; Mon, 02 May 2022 09:43:19 -0700 (PDT) Received: from ripper.. (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id dx4-20020a056870768400b000e686d13897sm6012889oab.49.2022.05.02.09.43.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 09:43:18 -0700 (PDT) From: Bjorn Andersson To: Amit Kucheria , Thara Gopinath , Daniel Lezcano Cc: "Rafael J. Wysocki" , Zhang Rui , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible Date: Mon, 2 May 2022 09:45:03 -0700 Message-Id: <20220502164504.3972938-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The LMh instances in the Qualcomm SC8180X platform looks to behave similar to those in SM8150, add additional compatibles to allow platform specific behavior to be added if needed. Signed-off-by: Bjorn Andersson --- drivers/thermal/qcom/lmh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/qcom/lmh.c b/drivers/thermal/qcom/lmh.c index c7f91cbdccc7..d3d9b9fa49e8 100644 --- a/drivers/thermal/qcom/lmh.c +++ b/drivers/thermal/qcom/lmh.c @@ -220,6 +220,7 @@ static int lmh_probe(struct platform_device *pdev) } static const struct of_device_id lmh_table[] = { + { .compatible = "qcom,sc8180x-lmh", }, { .compatible = "qcom,sdm845-lmh", .data = (void *)LMH_ENABLE_ALGOS}, { .compatible = "qcom,sm8150-lmh", }, {}