Message ID | 11f740522ec479011cc8eef6bb450603be394def.1675958665.git.geert+renesas@glider.be |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp425278wrn; Thu, 9 Feb 2023 08:12:44 -0800 (PST) X-Google-Smtp-Source: AK7set+cmQsrEsYiJuDM3WSwEk1ZWScfl14xoKPOq0/avkk04+0QirzAlNhenOLlB3qpwrRSmef9 X-Received: by 2002:a50:8e17:0:b0:4ab:16a6:151a with SMTP id 23-20020a508e17000000b004ab16a6151amr4258368edw.6.1675959164007; Thu, 09 Feb 2023 08:12:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675959163; cv=none; d=google.com; s=arc-20160816; b=bCcjjyE/f68z74KXr3Ie1IhfGOreUKquhgXFEpc6eEk/EXnZJtstsBPCjZtteBR2wf of6SrCDV3YekDoONPupzvwygO9ijknWrgXhtzsvxtl1Q7lFtUWKCUl2gWYvfNTUZfo74 9lyY+2hgtCEQudtjMfN9hs36T/5MO98j9n1zQZFnTnFqmHm5vfadF0DxecSDgo+TxmQc OcokLCVvpj4XkIb1gLBb4AxxGvIDrai62zErswtVdxxwd4w7/KwPZEEohT7v8nVTXauC X4AUN1pUVGeHkaOie37imV4aAkmfzAyQn0KWPveV7Y1OCge3MduPLepG+5FJVKJ6YRu+ lu4Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=M2TJkNMeu78AtNMClpkPgUpHs7rKh+lcQag/BvGOsPs=; b=rnbVEV/+VanlSYJiBMy0OEZB9znV7Kp38TPef30N+8k/8IT/8FwpTGgDEVlYXkytkO E0E1DPhLsm4O0vistyj+LQH43HckD4SxYCOCLsXJ2nujLARhIyjF/BjbhN+RiXi6oBZe C/h1qlGdWKLzxAungRDRDZk7qatP0meY8zF3oq1nk/WxfY10QwzyAKLTKVdV24dF2xD9 UnFBNr07KjxcgJ51GIAd9FB5vybhu+FyO73I1tZMlFCvXNEHfXEXM9ziQHScNnRVqvK0 UBZ+Egeo8E6B3Lhno8NRxdH8krdIK67zrURHwvd31XE3KpVCb1+74Tkp4uHc1hyI7qB+ Fwdw== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v14-20020a17090610ce00b008838b6f4fe1si3426586ejv.14.2023.02.09.08.12.21; Thu, 09 Feb 2023 08:12:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230049AbjBIQMH (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Thu, 9 Feb 2023 11:12:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230043AbjBIQMC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Feb 2023 11:12:02 -0500 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA68022DFA for <linux-kernel@vger.kernel.org>; Thu, 9 Feb 2023 08:12:00 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:eeed:e695:5a2f:fc6d]) by xavier.telenet-ops.be with bizsmtp id K4Bw2900b4vi5L7014Bwy9; Thu, 09 Feb 2023 17:11:59 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1pQ9WM-008RDl-FL; Thu, 09 Feb 2023 17:11:56 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1pQ9We-007aVA-J4; Thu, 09 Feb 2023 17:11:56 +0100 From: Geert Uytterhoeven <geert+renesas@glider.be> To: =?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>, "Rafael J . Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>, linux-renesas-soc@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be> Subject: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a779g0 support Date: Thu, 9 Feb 2023 17:11:53 +0100 Message-Id: <11f740522ec479011cc8eef6bb450603be394def.1675958665.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1675958665.git.geert+renesas@glider.be> References: <cover.1675958665.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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?1757370556318840453?= X-GMAIL-MSGID: =?utf-8?q?1757370556318840453?= |
Series |
thermal: Add support for R-Car V4H
|
|
Commit Message
Geert Uytterhoeven
Feb. 9, 2023, 4:11 p.m. UTC
Document support for the Thermal Sensor/Chip Internal Voltage
Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4H
(R8A779G0) SoC.
Unlike most other R-Car Gen3 and Gen4 SoCs, it has 4 instead of 3
sensors, so increase the maximum number of reg tuples.
Just like other R-Car Gen4 SoCs, interrupts are not routed to the
INTC-AP but to the ECM.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
.../devicetree/bindings/thermal/rcar-gen3-thermal.yaml | 3 +++
1 file changed, 3 insertions(+)
Comments
On Thu, Feb 09, 2023 at 05:11:53PM +0100, Geert Uytterhoeven wrote: > Document support for the Thermal Sensor/Chip Internal Voltage > Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4H > (R8A779G0) SoC. > > Unlike most other R-Car Gen3 and Gen4 SoCs, it has 4 instead of 3 > sensors, so increase the maximum number of reg tuples. Yep, no docs saying that it belongs to control domain this time (so far). > Just like other R-Car Gen4 SoCs, interrupts are not routed to the > INTC-AP but to the ECM. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Hi Geert, Thanks for your work. On 2023-02-09 17:11:53 +0100, Geert Uytterhoeven wrote: > Document support for the Thermal Sensor/Chip Internal Voltage > Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4H > (R8A779G0) SoC. > > Unlike most other R-Car Gen3 and Gen4 SoCs, it has 4 instead of 3 > sensors, so increase the maximum number of reg tuples. > Just like other R-Car Gen4 SoCs, interrupts are not routed to the > INTC-AP but to the ECM. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> > --- > .../devicetree/bindings/thermal/rcar-gen3-thermal.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml > index 0f05f5c886c5fe1d..ecf276fd155cfb27 100644 > --- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml > +++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml > @@ -28,6 +28,7 @@ properties: > - renesas,r8a77980-thermal # R-Car V3H > - renesas,r8a779a0-thermal # R-Car V3U > - renesas,r8a779f0-thermal # R-Car S4-8 > + - renesas,r8a779g0-thermal # R-Car V4H > > reg: true > > @@ -80,6 +81,7 @@ else: > - description: TSC1 registers > - description: TSC2 registers > - description: TSC3 registers > + - description: TSC4 registers > if: > not: > properties: > @@ -87,6 +89,7 @@ else: > contains: > enum: > - renesas,r8a779f0-thermal > + - renesas,r8a779g0-thermal > then: > required: > - interrupts > -- > 2.34.1 >
On 09/02/2023 17:11, Geert Uytterhoeven wrote: > Document support for the Thermal Sensor/Chip Internal Voltage > Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4H > (R8A779G0) SoC. > > Unlike most other R-Car Gen3 and Gen4 SoCs, it has 4 instead of 3 > sensors, so increase the maximum number of reg tuples. > Just like other R-Car Gen4 SoCs, interrupts are not routed to the > INTC-AP but to the ECM. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml index 0f05f5c886c5fe1d..ecf276fd155cfb27 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml @@ -28,6 +28,7 @@ properties: - renesas,r8a77980-thermal # R-Car V3H - renesas,r8a779a0-thermal # R-Car V3U - renesas,r8a779f0-thermal # R-Car S4-8 + - renesas,r8a779g0-thermal # R-Car V4H reg: true @@ -80,6 +81,7 @@ else: - description: TSC1 registers - description: TSC2 registers - description: TSC3 registers + - description: TSC4 registers if: not: properties: @@ -87,6 +89,7 @@ else: contains: enum: - renesas,r8a779f0-thermal + - renesas,r8a779g0-thermal then: required: - interrupts