From patchwork Mon Sep 12 09:16:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12973485 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 DD655C6FA83 for ; Mon, 12 Sep 2022 09:17:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbiILJRC (ORCPT ); Mon, 12 Sep 2022 05:17:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbiILJRB (ORCPT ); Mon, 12 Sep 2022 05:17:01 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 682771AF27 for ; Mon, 12 Sep 2022 02:17:00 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id t6-20020a17090a950600b0020063f8f964so3911547pjo.0 for ; Mon, 12 Sep 2022 02:17:00 -0700 (PDT) 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; bh=pkSyBLlwJErkL0Jp1WY33gxocwSF8tkX0lIBYeleLpI=; b=ZnQ2N7YNGUs9xZi3LN7q7IdzKT3JTX6xzhWO7zFQQRU78Eu+nV2F8c4oXvvcqqsi/E xQ8s8yQtlrW50KRLNSZRiFUq7YVLzAxzMRWBjoIfJAjuD08Vz4pyIu/zgNdaRUt4sEtJ MH31RhGf0BnD+tFyk43/JR4lotDDX6aIrrX6feGJ/HQL4hJK72uB0t74dYcZZeKlZ8v5 /xR9rS8cK4j0RyGu/n3Hq6/D7zF34kpNAnFz2hYEx76Q+ni+rE1B6sWKLacSurB5svfm WO4v1HFTuBLa8bMdoZEgQ0bBu3NS52cwecO1XI7QX4xjuOVxv707AYebpnLySI9SDw00 c12Q== 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; bh=pkSyBLlwJErkL0Jp1WY33gxocwSF8tkX0lIBYeleLpI=; b=F/Egr3f2WNvwR/VZRLXWiIU4NgUHVp+NiD4vyn2En+8I2uuaBp+Z/sWAO0TlVUqYAF 32fzi4JnhA2xiQrWueHX0gGNlUn8wHJaGJaAtmvZiB1vWN0j/rTdwvIZDZm5GqV9GFaP 92E5h/iBWrvv7wYbLo3chNAYCM7kvq8ACdX9NLLwq2qmXaUKByUDz29c9pZcJGP4DF+5 ST8R5NYiBQIReoOg64sFPMucAeEc6XsByPA9m/emwVuWzsm294A4Abqtikg2urV01T2D uS1HHJYpye3tvKjTnvq1J32P03wk6JULF8VsoAMa9Vkl7BXv1c1FnR13wH7PEAj9Z2SO YyZg== X-Gm-Message-State: ACgBeo0huZzqe20iIPgXy0x8rc4ZrLGzlkDg21nCg+f1d/+89BU8MX4Y 1nOlRerkkDSoh8YPILw/l9ZPleG48GLG2g== X-Google-Smtp-Source: AA6agR6o8lnbjquNhzk+TyGQIbULur9DJcymfnjCVHgkIanPMtyr5J75MWP5u2Fv0V+rA6ezxKzJWw== X-Received: by 2002:a17:902:d34a:b0:176:b8ad:ba76 with SMTP id l10-20020a170902d34a00b00176b8adba76mr26760710plk.139.1662974219737; Mon, 12 Sep 2022 02:16:59 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:5362:9d7f:2354:1d0a:78e3]) by smtp.gmail.com with ESMTPSA id o65-20020a62cd44000000b0052dbad1ea2esm4857026pfg.6.2022.09.12.02.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 02:16:59 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, daniel.lezcano@linaro.org, devicetree@vger.kernel.org, robh@kernel.org, andersson@kernel.org, rafael@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com Subject: [PATCH 0/3] arm64: qcom: Introduce Qualcomm Cooling Driver suppport Date: Mon, 12 Sep 2022 14:46:40 +0530 Message-Id: <20220912091643.3537857-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patchset introduces the arm64 dts and defconfig changes for introducing the Qualcomm Cooling Driver (aka Qualcomm Thermal Mitigation Driver). Several Qualcomm Snapdragon SoCs have Thermal Mitigation Devices (TMDs) present on various remote subsystem(s) (for e.g. the Compute DSP, aka cDSP), which can be used for several mitigations for remote subsystem(s), including remote processor mitigation, rail voltage restriction etc. At the very top-level, the dts is supposed to describe a TMD node, which should further represent the remote subsystem(s) present on the SoC and further each child of a subsystem should represent the separate cooling devices available on the remote subsystem. Note that this patchset is targeted for the 'linux-arm-msm' tree and the thermal driver/dtbinding patchset/changes targeted for 'linux-pm' tree has been sent as a separate patchset (see [1]). Note that without the PATCH mentioned in [2] this patchset will not compile cleanly. This patchset is based on the latest 'linux-next/master'. [1]. https://lore.kernel.org/linux-arm-msm/20220912085049.3517140-1-bhupesh.sharma@linaro.org/ [2]. https://lore.kernel.org/linux-arm-msm/20220912085049.3517140-4-bhupesh.sharma@linaro.org/ Cc: andersson@kernel.org Cc: robh@kernel.org Cc: daniel.lezcano@linaro.org Cc: rafael@kernel.org Bhupesh Sharma (3): arm64: dts: qcom: sm8150: Add qmi cooling device nodes arm64: dts: qcom: sa8155p-adp: Enable qmi cooling device arm64: defconfig: Enable Qualcomm QMI cooling device driver arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 4 ++ arch/arm64/boot/dts/qcom/sm8150.dtsi | 62 ++++++++++++++++++++++++ arch/arm64/configs/defconfig | 1 + 3 files changed, 67 insertions(+)