All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Charkov <alchark@gmail.com>
To: Rob Herring <robh+dt@kernel.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
	 Dragan Simic <dsimic@manjaro.org>,
	devicetree@vger.kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	 linux-kernel@vger.kernel.org, Alexey Charkov <alchark@gmail.com>
Subject: [PATCH 0/4] RK3588 and Rock 5B dts additions: thermal, OPP, rfkill and fan
Date: Thu, 25 Jan 2024 00:30:03 +0400	[thread overview]
Message-ID: <20240125-rk-dts-additions-v1-0-5879275db36f@gmail.com> (raw)

This is an assortment of device tree additions for RK3588(s) and their
enablement on Radxa Rock5B.

Thermal zone information and cooling maps is the follow-up to feedback
received on v2 patch version [1] - thanks a lot to Dragan, Heiko and
Daniel for review and comments. The patch adds passive cooling maps
for the three separate CPU clusters found in RK3588, as well as
critical trips for all TSADC channels. Enablement on Rock 5B was
split out to a separate patch, where I also add active cooling via
the PWM fan optionally available there. Other changes from v2:
 - Zero hysteresis for critical trips, per Daniel's guidance
 - Zero 'polling-delay' for zones having no active cooling maps,
   given that the driver supports interrupts for crossing trip
   temperature and thus doesn't need polling there, per Daniel's
   guidance
 - Zero 'polling-delay-passive' for zones having no passive cooling,
   per Daniel's guidance
 - Extra passive cooling alerts before the control temperature
   to enable power allocation governor's PID parameters
   initialization, per Daniel's guidance
 - Renamed the thermal zone tracking the middle of the chip
   to package_thermal, per Dragan's guidance

OPPs help actually scale CPU frequencies up and down for both cooling
and performance - tested on Rock 5B under varied loads.

RFKILL patch is the same one sent earlier just before the merge window
opened [2]. It didn't get any feedback back then, so I'm just
resending it here for ease of reference. Tested on Rock 5B with an
Intel AX210 card.

[1] https://lore.kernel.org/linux-rockchip/20240109192608.5981-1-alchark@gmail.com/
[2] https://lore.kernel.org/linux-rockchip/20240106202650.22310-1-alchark@gmail.com/

Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
Alexey Charkov (4):
      arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b
      arm64: dts: rockchip: enable built-in thermal monitoring on rk3588
      arm64: dts: rockchip: enable temperature driven fan control on Rock 5B
      arm64: dts: rockchip: Add OPP data for CPU cores on RK3588

 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts |  32 +-
 arch/arm64/boot/dts/rockchip/rk3588s.dtsi       | 374 ++++++++++++++++++++++++
 2 files changed, 405 insertions(+), 1 deletion(-)
---
base-commit: 615d300648869c774bd1fe54b4627bb0c20faed4
change-id: 20240124-rk-dts-additions-a6d7b52787b9

Best regards,
-- 
Alexey Charkov <alchark@gmail.com>


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

WARNING: multiple messages have this Message-ID (diff)
From: Alexey Charkov <alchark@gmail.com>
To: Rob Herring <robh+dt@kernel.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
	 Dragan Simic <dsimic@manjaro.org>,
	devicetree@vger.kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	 linux-kernel@vger.kernel.org, Alexey Charkov <alchark@gmail.com>
Subject: [PATCH 0/4] RK3588 and Rock 5B dts additions: thermal, OPP, rfkill and fan
Date: Thu, 25 Jan 2024 00:30:03 +0400	[thread overview]
Message-ID: <20240125-rk-dts-additions-v1-0-5879275db36f@gmail.com> (raw)

This is an assortment of device tree additions for RK3588(s) and their
enablement on Radxa Rock5B.

Thermal zone information and cooling maps is the follow-up to feedback
received on v2 patch version [1] - thanks a lot to Dragan, Heiko and
Daniel for review and comments. The patch adds passive cooling maps
for the three separate CPU clusters found in RK3588, as well as
critical trips for all TSADC channels. Enablement on Rock 5B was
split out to a separate patch, where I also add active cooling via
the PWM fan optionally available there. Other changes from v2:
 - Zero hysteresis for critical trips, per Daniel's guidance
 - Zero 'polling-delay' for zones having no active cooling maps,
   given that the driver supports interrupts for crossing trip
   temperature and thus doesn't need polling there, per Daniel's
   guidance
 - Zero 'polling-delay-passive' for zones having no passive cooling,
   per Daniel's guidance
 - Extra passive cooling alerts before the control temperature
   to enable power allocation governor's PID parameters
   initialization, per Daniel's guidance
 - Renamed the thermal zone tracking the middle of the chip
   to package_thermal, per Dragan's guidance

OPPs help actually scale CPU frequencies up and down for both cooling
and performance - tested on Rock 5B under varied loads.

RFKILL patch is the same one sent earlier just before the merge window
opened [2]. It didn't get any feedback back then, so I'm just
resending it here for ease of reference. Tested on Rock 5B with an
Intel AX210 card.

[1] https://lore.kernel.org/linux-rockchip/20240109192608.5981-1-alchark@gmail.com/
[2] https://lore.kernel.org/linux-rockchip/20240106202650.22310-1-alchark@gmail.com/

Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
Alexey Charkov (4):
      arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b
      arm64: dts: rockchip: enable built-in thermal monitoring on rk3588
      arm64: dts: rockchip: enable temperature driven fan control on Rock 5B
      arm64: dts: rockchip: Add OPP data for CPU cores on RK3588

 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts |  32 +-
 arch/arm64/boot/dts/rockchip/rk3588s.dtsi       | 374 ++++++++++++++++++++++++
 2 files changed, 405 insertions(+), 1 deletion(-)
---
base-commit: 615d300648869c774bd1fe54b4627bb0c20faed4
change-id: 20240124-rk-dts-additions-a6d7b52787b9

Best regards,
-- 
Alexey Charkov <alchark@gmail.com>


WARNING: multiple messages have this Message-ID (diff)
From: Alexey Charkov <alchark@gmail.com>
To: Rob Herring <robh+dt@kernel.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
	 Dragan Simic <dsimic@manjaro.org>,
	devicetree@vger.kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	 linux-kernel@vger.kernel.org, Alexey Charkov <alchark@gmail.com>
Subject: [PATCH 0/4] RK3588 and Rock 5B dts additions: thermal, OPP, rfkill and fan
Date: Thu, 25 Jan 2024 00:30:03 +0400	[thread overview]
Message-ID: <20240125-rk-dts-additions-v1-0-5879275db36f@gmail.com> (raw)

This is an assortment of device tree additions for RK3588(s) and their
enablement on Radxa Rock5B.

Thermal zone information and cooling maps is the follow-up to feedback
received on v2 patch version [1] - thanks a lot to Dragan, Heiko and
Daniel for review and comments. The patch adds passive cooling maps
for the three separate CPU clusters found in RK3588, as well as
critical trips for all TSADC channels. Enablement on Rock 5B was
split out to a separate patch, where I also add active cooling via
the PWM fan optionally available there. Other changes from v2:
 - Zero hysteresis for critical trips, per Daniel's guidance
 - Zero 'polling-delay' for zones having no active cooling maps,
   given that the driver supports interrupts for crossing trip
   temperature and thus doesn't need polling there, per Daniel's
   guidance
 - Zero 'polling-delay-passive' for zones having no passive cooling,
   per Daniel's guidance
 - Extra passive cooling alerts before the control temperature
   to enable power allocation governor's PID parameters
   initialization, per Daniel's guidance
 - Renamed the thermal zone tracking the middle of the chip
   to package_thermal, per Dragan's guidance

OPPs help actually scale CPU frequencies up and down for both cooling
and performance - tested on Rock 5B under varied loads.

RFKILL patch is the same one sent earlier just before the merge window
opened [2]. It didn't get any feedback back then, so I'm just
resending it here for ease of reference. Tested on Rock 5B with an
Intel AX210 card.

[1] https://lore.kernel.org/linux-rockchip/20240109192608.5981-1-alchark@gmail.com/
[2] https://lore.kernel.org/linux-rockchip/20240106202650.22310-1-alchark@gmail.com/

Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
Alexey Charkov (4):
      arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b
      arm64: dts: rockchip: enable built-in thermal monitoring on rk3588
      arm64: dts: rockchip: enable temperature driven fan control on Rock 5B
      arm64: dts: rockchip: Add OPP data for CPU cores on RK3588

 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts |  32 +-
 arch/arm64/boot/dts/rockchip/rk3588s.dtsi       | 374 ++++++++++++++++++++++++
 2 files changed, 405 insertions(+), 1 deletion(-)
---
base-commit: 615d300648869c774bd1fe54b4627bb0c20faed4
change-id: 20240124-rk-dts-additions-a6d7b52787b9

Best regards,
-- 
Alexey Charkov <alchark@gmail.com>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2024-01-24 20:31 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-24 20:30 Alexey Charkov [this message]
2024-01-24 20:30 ` [PATCH 0/4] RK3588 and Rock 5B dts additions: thermal, OPP, rfkill and fan Alexey Charkov
2024-01-24 20:30 ` Alexey Charkov
2024-01-24 20:30 ` [PATCH 1/4] arm64: dts: rockchip: add rfkill node for M.2 Key E WiFi on rock-5b Alexey Charkov
2024-01-24 20:30   ` Alexey Charkov
2024-01-24 20:30   ` Alexey Charkov
2024-01-24 20:30 ` [PATCH 2/4] arm64: dts: rockchip: enable built-in thermal monitoring on rk3588 Alexey Charkov
2024-01-24 20:30   ` Alexey Charkov
2024-01-24 20:30   ` Alexey Charkov
2024-01-24 21:56   ` Daniel Lezcano
2024-01-24 21:56     ` Daniel Lezcano
2024-01-24 21:56     ` Daniel Lezcano
2024-01-25  8:26     ` Alexey Charkov
2024-01-25  8:26       ` Alexey Charkov
2024-01-25  8:26       ` Alexey Charkov
2024-01-25 10:02       ` Daniel Lezcano
2024-01-25 10:02         ` Daniel Lezcano
2024-01-25 10:02         ` Daniel Lezcano
2024-01-25 14:46         ` Alexey Charkov
2024-01-25 14:46           ` Alexey Charkov
2024-01-25 14:46           ` Alexey Charkov
2024-01-25 22:19       ` Dragan Simic
2024-01-25 22:19         ` Dragan Simic
2024-01-25 22:19         ` Dragan Simic
2024-01-25 13:34     ` Diederik de Haas
2024-01-25 13:34       ` Diederik de Haas
2024-01-25 13:34       ` Diederik de Haas
2024-01-24 20:30 ` [PATCH 3/4] arm64: dts: rockchip: enable temperature driven fan control on Rock 5B Alexey Charkov
2024-01-24 20:30   ` Alexey Charkov
2024-01-24 20:30   ` Alexey Charkov
2024-01-24 21:59   ` Daniel Lezcano
2024-01-24 21:59     ` Daniel Lezcano
2024-01-24 21:59     ` Daniel Lezcano
2024-01-25 23:13   ` Dragan Simic
2024-01-25 23:13     ` Dragan Simic
2024-01-25 23:13     ` Dragan Simic
2024-01-27 20:27     ` Dragan Simic
2024-01-27 20:27       ` Dragan Simic
2024-01-27 20:27       ` Dragan Simic
2024-01-28 20:08       ` Alexey Charkov
2024-01-28 20:08         ` Alexey Charkov
2024-01-28 20:08         ` Alexey Charkov
2024-01-29  0:46         ` Dragan Simic
2024-01-29  0:46           ` Dragan Simic
2024-01-29  0:46           ` Dragan Simic
2024-01-24 20:30 ` [PATCH 4/4] arm64: dts: rockchip: Add OPP data for CPU cores on RK3588 Alexey Charkov
2024-01-24 20:30   ` Alexey Charkov
2024-01-24 20:30   ` Alexey Charkov
2024-01-25  9:30   ` Daniel Lezcano
2024-01-25  9:30     ` Daniel Lezcano
2024-01-25  9:30     ` Daniel Lezcano
2024-01-25 10:17     ` Alexey Charkov
2024-01-25 10:17       ` Alexey Charkov
2024-01-25 10:17       ` Alexey Charkov
2024-01-26  6:32     ` Dragan Simic
2024-01-26  6:32       ` Dragan Simic
2024-01-26  6:32       ` Dragan Simic
2024-01-26  6:44       ` Alexey Charkov
2024-01-26  6:44         ` Alexey Charkov
2024-01-26  6:44         ` Alexey Charkov
2024-01-26  7:04         ` Dragan Simic
2024-01-26  7:04           ` Dragan Simic
2024-01-26  7:04           ` Dragan Simic
2024-01-26  7:30           ` Alexey Charkov
2024-01-26  7:30             ` Alexey Charkov
2024-01-26  7:30             ` Alexey Charkov
2024-01-26  7:49             ` Dragan Simic
2024-01-26  7:49               ` Dragan Simic
2024-01-26  7:49               ` Dragan Simic
2024-01-26 12:56               ` Daniel Lezcano
2024-01-26 12:56                 ` Daniel Lezcano
2024-01-26 12:56                 ` Daniel Lezcano
2024-01-26 13:44                 ` Alexey Charkov
2024-01-26 13:44                   ` Alexey Charkov
2024-01-26 13:44                   ` Alexey Charkov
2024-01-26 20:33                   ` Dragan Simic
2024-01-26 20:33                     ` Dragan Simic
2024-01-26 20:33                     ` Dragan Simic
2024-01-27 19:41                     ` Alexey Charkov
2024-01-27 19:41                       ` Alexey Charkov
2024-01-27 19:41                       ` Alexey Charkov
2024-01-28  3:35                       ` Dragan Simic
2024-01-28  3:35                         ` Dragan Simic
2024-01-28  3:35                         ` Dragan Simic
2024-01-28 19:14                         ` Alexey Charkov
2024-01-28 19:14                           ` Alexey Charkov
2024-01-28 19:14                           ` Alexey Charkov
2024-01-29  0:09                           ` Dragan Simic
2024-01-29  0:09                             ` Dragan Simic
2024-01-29  0:09                             ` Dragan Simic
2024-01-29  7:39                             ` Dragan Simic
2024-01-29  7:39                               ` Dragan Simic
2024-01-29  7:39                               ` Dragan Simic
2024-01-28 15:06                       ` Daniel Lezcano
2024-01-28 15:06                         ` Daniel Lezcano
2024-01-28 15:06                         ` Daniel Lezcano
2024-01-28 19:32                         ` Alexey Charkov
2024-01-28 19:32                           ` Alexey Charkov
2024-01-28 19:32                           ` Alexey Charkov
2024-01-26 20:04                 ` Dragan Simic
2024-01-26 20:04                   ` Dragan Simic
2024-01-26 20:04                   ` Dragan Simic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240125-rk-dts-additions-v1-0-5879275db36f@gmail.com \
    --to=alchark@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dsimic@manjaro.org \
    --cc=heiko@sntech.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.