Message ID | 20230105180340.29140-1-sebastian.reichel@collabora.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp430220wrt; Thu, 5 Jan 2023 10:07:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXu3F0epTDSJULL06BgdwPgUZ5Z8CUOIxcQMdJtWa0DXZV9ksxedrxbTDvtF2k9GQ39m1LSI X-Received: by 2002:a17:90b:1046:b0:223:2cee:2b6c with SMTP id gq6-20020a17090b104600b002232cee2b6cmr55502376pjb.41.1672942049171; Thu, 05 Jan 2023 10:07:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672942049; cv=none; d=google.com; s=arc-20160816; b=azWAeQnH77ADtFxC0aP1K8dCDWAd0nDjK6kdj4GBbJfmYnaWZF2ZmRzJMpT/8gw7kT Sv34v1btLVe5JFScjwNbXbQtielbAazwyPU3pZlu1TVeExl76uy2a+bwz+wkT845eeyn bCqkEDSfdzqGTird4I6F1JZ83o9qqjnMIWXURRgfCncAaYG/TJCkFmbvOQ7lbMZ07RG6 M+paLkaGfS7C+V4GdmCEkB7fmlLzycQeSm3zQy+6gyDsYA6/X7vcPMrqkW34dqX3ebHP niLKhl6userRQPSjIjKCerXj4I/yYM+mugR7R8D6TKe7dV8IFZak4J48dOpvfXPQ61ol SoIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Ry7JKB7cTvrlISsOziCjo8zmVpQSek3D5ZCIHnxSOkk=; b=iNPa1IdPt6FZEiss3Z/bDw91JLM8ZcjMbjkUmytmMeYifvgSPnusqHU1Twei/JnzIh /TIzk/cAdELS9qRT5u3n4GF6Ui7jLWB10tXPPHA+9TwbbNeU6Cs9qwU1Lf7JBJFx1dEe ASUX+cfe3fML9mRE5TKZ78FskfDiqqtzaU+OxUgpOzZzN/GrJeYuqbvpnQ1y6sXgISa5 eRQv7rL9Xykal77qmeORY/CNPisQ0GCtZmmqaFpY9PHkZ7Cs2ophFbTmN6JxQ7y4k4+B /gnHc+rLny8ro3acixClgX0tI2l/9bF4Gi6uLTgF4879ETXenuVWdiRU9CCp3dyw37Ym 0ySg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=k7KvuEVU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020a65498c000000b00477b7f8d5a4si39369255pgs.620.2023.01.05.10.07.15; Thu, 05 Jan 2023 10:07:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=k7KvuEVU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235482AbjAESDz (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Thu, 5 Jan 2023 13:03:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234968AbjAESDt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Jan 2023 13:03:49 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43710564D6; Thu, 5 Jan 2023 10:03:47 -0800 (PST) Received: from jupiter.universe (dyndsl-085-016-198-020.ewe-ip-backbone.de [85.16.198.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 63AF46602D30; Thu, 5 Jan 2023 18:03:45 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1672941825; bh=AjVkCvwd25Eqi7gunh0LzeJ3T0+2xIcK9Yge17EECto=; h=From:To:Cc:Subject:Date:From; b=k7KvuEVUCQtkqfAG0xuCFEC3PeX7vNU5bpGhKoYkQ99j186WwTVMrPgUPAQXdTCZf 1zNGnMUa7ArMRvuF3mXKKMosiAA3d5rr4H3J7nsL0LifQT7IT9Nqw1TdUkvUcEbGtp 7WhqYp5ShPNKZO3ipEj4ZDeh0eYAYFC+aCGxoJGvGqREoMtmt+7emgWST+6B396cOs 2gqCKN+ZLPtj4IEhWpkiWNo+FaXxpX1jqiH64JTBKlyNUZ39Ew3yUnpOWoIVzF/BcH EeEjHFZDgjVdfDm3PgzavyQLUtsfoRQ+TAxUUCvRXitdo5oKSzDhp8zPQtRpumXDpL P83Xl722q7kyw== Received: by jupiter.universe (Postfix, from userid 1000) id A1E21480117; Thu, 5 Jan 2023 19:03:42 +0100 (CET) From: Sebastian Reichel <sebastian.reichel@collabora.com> To: Heiko Stuebner <heiko@sntech.de>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com> Cc: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-pm@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel <sebastian.reichel@collabora.com>, kernel@collabora.com Subject: [PATCHv3 0/7] RK3588 Thermal Support Date: Thu, 5 Jan 2023 19:03:33 +0100 Message-Id: <20230105180340.29140-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754206882226420782?= X-GMAIL-MSGID: =?utf-8?q?1754206882226420782?= |
Series |
RK3588 Thermal Support
|
|
Message
Sebastian Reichel
Jan. 5, 2023, 6:03 p.m. UTC
Hi, This adds thermal support for the new RK3588(s) SoC series. The series has been tested on the RK3588 EVB1 board. Changes since PATCHv2: * https://lore.kernel.org/all/20221031175058.175698-1-sebastian.reichel@collabora.com/ * rebased against v6.2-rc1 * drop useless cast from patch 1 * add Heiko's reviewed-by to patches 1-3 & 5 * The discussion around patch 4 died, so I kept it unchanged Changes since PATCHv1: * https://lore.kernel.org/all/20221021174721.92468-1-sebastian.reichel@collabora.com/ * Collect Reviewed-by/Acked-by * Use TRM channel info in commit message (Daniel Lezcano) * Add patch removing channel id lookup table (Daniel Lezcano) * Add patch allocating sensors array dynamiccaly (Daniel Lezcano) * I also added patches simplifying up the probe routine a bit -- Sebastian Finley Xiao (1): thermal: rockchip: Support RK3588 SoC in the thermal driver Sebastian Reichel (6): thermal: rockchip: Simplify getting match data thermal: rockchip: Simplify clock logic thermal: rockchip: Use dev_err_probe thermal: rockchip: Simplify channel id logic thermal: rockchip: Support dynamic sized sensor array dt-bindings: rockchip-thermal: Support the RK3588 SoC compatible .../bindings/thermal/rockchip-thermal.yaml | 1 + drivers/thermal/rockchip_thermal.c | 322 ++++++++++++------ 2 files changed, 226 insertions(+), 97 deletions(-)