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: 568867 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 Acked-by: Krzysztof Kozlowski --- 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", }, {} From patchwork Mon May 2 16:45:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 569528 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 F3D7FC433EF for ; Mon, 2 May 2022 16:43:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386324AbiEBQqv (ORCPT ); Mon, 2 May 2022 12:46:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384381AbiEBQqu (ORCPT ); Mon, 2 May 2022 12:46:50 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDCB164E4 for ; Mon, 2 May 2022 09:43:20 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-e656032735so14847119fac.0 for ; Mon, 02 May 2022 09:43:20 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=SSVL4L7sJ4GCUMQJSUr4QEbXvDglQPIWtkAgagMg5GA=; b=qjThrHfYibUgg3Pn32zlcaEfNZPtN59YJM/5pGTSC1oCDGS2jj1atashyUleKz6j8+ bU/iB6vPEEwtOzLe8Dz//5KSF5M2OZbESduYiT3x2CHj90hdZfk4UuyM+wABykiYgCYQ WD2QE50nOaA3KQvWYUo4Bkk14VbrOXGk1pAxlTgr6Tbm+c9YlWGAxHVmOYx1DfBPZEQI 7CAcGDVapqXZEXqjU873C0wXsD1o09qkpnluDoZKKSCVOSuyHpp9DaOT1veiuvmeGCe9 k/EcY3aMg+gft109LFQmP0ZDpCgcaf6NTrLt8Ok6sKYpyCuy1cv3XN8ZPJsE2BZ18i7u gi9Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=SSVL4L7sJ4GCUMQJSUr4QEbXvDglQPIWtkAgagMg5GA=; b=IXEu6FHMTv5kwuIVu0xCjcfE+/8+pLvZ+Lp5NJAqMbkP+WSMvb8dkk0WtCJYBMVlga TZMAJoKRxN7iE/f7CPdiU9GE21Y4r0TgEIkVtTQIQ3ReMMs5C/NH0ugkmKzdAgVpkGu0 amR4PPp811BkeVNoE3ICi8wFMK46NUiZJ/yEf29kYez6wpljhlN2G5CDo++lG+H2Grlt XMEwHihgxUc2JlUJ0uiWWL/mkOenMtbxbnnztIrmJhUeZSB5voUMzam37WTahz9K3T+h OWGnH4tE5OytZANr4dk4/kTxOx8i0TQGMFP3j3aJyUZP/4TBklEN1azqmrC/QPP6Xsye /gfg== X-Gm-Message-State: AOAM530tQLeJ4RaZGsS9AV+QCnLoBjW3lGLlD+xXTmdCEqvnk7OdKUSg E4RqNYgNGgdvz0Hj1m7bgqYcFQ== X-Google-Smtp-Source: ABdhPJzu/WvwdXZNGlKws7RIfvy63zIrGOA8N/G95ei07bQN8rk/wkK4qvhpgYIAqP8ajvCCl0h1KQ== X-Received: by 2002:a05:6870:a107:b0:ed:9a88:88b8 with SMTP id m7-20020a056870a10700b000ed9a8888b8mr3674418oae.298.1651509800305; Mon, 02 May 2022 09:43:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 09:43:19 -0700 (PDT) From: Bjorn Andersson To: Amit Kucheria , Thara Gopinath , Daniel Lezcano , Rob Herring , Krzysztof Kozlowski Cc: "Rafael J. Wysocki" , Zhang Rui , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: thermal: lmh: Add Qualcomm sc8180x compatible Date: Mon, 2 May 2022 09:45:04 -0700 Message-Id: <20220502164504.3972938-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220502164504.3972938-1-bjorn.andersson@linaro.org> References: <20220502164504.3972938-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add compatible for the LMh blocks found in the Qualcomm sc8180x platform. Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/thermal/qcom-lmh.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-lmh.yaml b/Documentation/devicetree/bindings/thermal/qcom-lmh.yaml index a9b7388ca9ac..e1587ddf7de3 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-lmh.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-lmh.yaml @@ -18,6 +18,7 @@ description: properties: compatible: enum: + - qcom,sc8180x-lmh - qcom,sdm845-lmh - qcom,sm8150-lmh