From patchwork Wed Aug 4 09:18:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 12418209 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5640C4320E for ; Wed, 4 Aug 2021 09:18:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7D0476104F for ; Wed, 4 Aug 2021 09:18:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236438AbhHDJSy (ORCPT ); Wed, 4 Aug 2021 05:18:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236297AbhHDJSx (ORCPT ); Wed, 4 Aug 2021 05:18:53 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52B7AC061798 for ; Wed, 4 Aug 2021 02:18:39 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id n12so1442503wrr.2 for ; Wed, 04 Aug 2021 02:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FU2QLdy7Hwt/eMlAilF6HLFsusjSV59ISM65hLzqQ0Y=; b=xbL+yZkgwgR0S//ZciTQ8AwerQ6Z5Ws27xc1cqmvwpraTNa3ARSpWWU+7+X0AjZF6q VMOfVksrEDGCqfmxwwVCgLgT1/XdxrO0S2Buj/TH3uLXCzBGuap7xiaofcGBUUwyAP3e +pvH18R+rTXpEanzqndozn6Fkh8wtYdvVxxXpZe4Q2eDbPdwu3JWF3ZBWgCSiku2yL6D 8wgn0Wm+59i0QD3Bdigtao3x1ZpepKOypZM3oAKEeuxrDRddU+1SxNjAOa0Y4hFnsOKK Rhusn6aZFxLtCOsWk8KUDlIN/5hUlzIC7Fk416QdVjcQnJ30GW175G047Va9mUS/M8G5 aYug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FU2QLdy7Hwt/eMlAilF6HLFsusjSV59ISM65hLzqQ0Y=; b=V4zDTnIINLLcpFCebX1uPSOr6xNXwN4ZjaiwMyhB4pe5O80zrX6/3GMTMk12XgeAVp 1j4W86UyN2vpaD1bWIjCkZtLTkgWETdbjePL+cZ3QmkJSbpesmcGMA4Q044PVJ0Mfrcq AP9JEuhvJHSWPy0+JdSsBDx0223vDPPPUc1/DJZE3h71yHNkN9Ui8dS4BiIuIhsWalvf aWZZ28kN1mEBVLTC7bWH0RF5/reZmMOM+FvaIyHcKTXbPZa9By6n5TVoDkFblsKcHMND KLTiFoBISFyNisTxdvRrizv4rCMb8ThmlypjUhWnVMjr69ZUt0hE2/i1hzjh6n2foRCw wZzw== X-Gm-Message-State: AOAM5327VJtpFw9+cI03tIQEM1aO7nyYaa3yotnkFGzcsjOw/OV5VfC9 ytPYwEWSiSijZWhLxZcayf0cpQ== X-Google-Smtp-Source: ABdhPJwH6I9kobrJ9XlxF0zx91RgSpqdio53O0KlhveySWeUOqvr+B2mkWj1MA7E6gsUdwfvEa4Qgg== X-Received: by 2002:adf:ea41:: with SMTP id j1mr27803361wrn.147.1628068717861; Wed, 04 Aug 2021 02:18:37 -0700 (PDT) Received: from bismarck.berto.se (p4fca2222.dip0.t-ipconnect.de. [79.202.34.34]) by smtp.googlemail.com with ESMTPSA id f74sm1653172wmf.16.2021.08.04.02.18.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 02:18:37 -0700 (PDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Daniel Lezcano , Geert Uytterhoeven , linux-pm@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH v2 0/2] thermal: rcar_gen3_thermal: Add support for trip points Date: Wed, 4 Aug 2021 11:18:16 +0200 Message-Id: <20210804091818.2196806-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hi Daniel, This small series adds support for the .set_trips() to the rcar_gen3_thermal driver on the platforms that supports it. Patch 1/2 adds the actual trip point support while patch 2/2 is a drive-by fix of a datatype found while working on this feature. The work is based on-top of v5.14-rc1 and tested on M3-N and V3U without any regressions or other issues. Niklas Söderlund (2): thermal: rcar_gen3_thermal: Add support for hardware trip points thermal: rcar_gen3_thermal: Store TSC id as unsigned int drivers/thermal/rcar_gen3_thermal.c | 110 ++++++++++++++++++++++++++-- 1 file changed, 103 insertions(+), 7 deletions(-)