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 96CBDC6FD1F for ; Wed, 8 Mar 2023 11:23:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231381AbjCHLXS (ORCPT ); Wed, 8 Mar 2023 06:23:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231143AbjCHLXD (ORCPT ); Wed, 8 Mar 2023 06:23:03 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3EAD1F939; Wed, 8 Mar 2023 03:23:00 -0800 (PST) Received: from jupiter.universe (dyndsl-091-248-211-125.ewe-ip-backbone.de [91.248.211.125]) (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 572AC6602FF0; Wed, 8 Mar 2023 11:22:58 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1678274578; bh=2C4HJnfnDAEoc5caRpklugf01GZjHVXbn+TxwWV+gzY=; h=From:To:Cc:Subject:Date:From; b=ROHIm+VmXKZWgZhOUQXawvDne46n/lx49mzVgCwwflfO6nMYCM8o0/G/t5c1AOk6z 2FT03hmqMMvYJb7al1HJqP6CVugSc0WaBUH/glc/tHSVB3lHQGDy65UaumWZOECSg5 tOtM8iaFh/HJxYUStY8ucsvkK/mhAyBAIBvk0MBJjJxfaiq2T41idbZmIkOfpP/bzK 0tGnasOT33Xs3BKT3IVPl++BT5CmfFlBzZrl6zIou78IT76mEP8ZAXbZJZ+L4uuJul 0TGZ2pszpHO+CEdChf5uzspqbQNms52Y5+nQ53NYrc4cBbql9CgJHFK4LAcjT152Rw IN5W17mRGAz5A== Received: by jupiter.universe (Postfix, from userid 1000) id 6ADF248010E; Wed, 8 Mar 2023 12:22:55 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui Cc: Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [RESEND] [PATCHv3 0/7] RK3588 Thermal Support Date: Wed, 8 Mar 2023 12:22:46 +0100 Message-Id: <20230308112253.15659-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This adds thermal support for the new RK3588(s) SoC series. The series has been tested on the RK3588 EVB1 board. Can this be applied? The series received absolutely no feedback for a full release cycle. Changes since PATCHv3: * https://lore.kernel.org/all/20230105180340.29140-1-sebastian.reichel@collabora.com/ * rebased against v6.3-rc1 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(-) -- 2.39.2