1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/6.6/target/linux/bcm27xx/patches-6.6/0866-configs-Add-NVME_HWMON-y-to-the-Pi-5-kernels.patch
Ycarus (Yannick Chabanois) 12de1d2995 Add RPI kernel 6.6 support
2024-04-05 20:55:33 +02:00

44 lines
1.4 KiB
Diff

From 5a1ef915afb636bbc55893fdaed6c4d190bdc314 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Tue, 30 Jan 2024 13:26:58 +0000
Subject: [PATCH 0866/1002] configs: Add NVME_HWMON=y to the Pi 5 kernels
Enabling NVME_HWMON gives access to the temperature of an NVME drive,
something which could be useful on a Pi 5. Enable the option in the
arm64 configs bcm2712_defconfig and bcm2711_defconfig.
See: https://github.com/raspberrypi/linux/issues/5909
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm64/configs/bcm2711_defconfig | 1 +
arch/arm64/configs/bcm2712_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm64/configs/bcm2711_defconfig b/arch/arm64/configs/bcm2711_defconfig
index 171a69ef8173..73fbab375748 100644
--- a/arch/arm64/configs/bcm2711_defconfig
+++ b/arch/arm64/configs/bcm2711_defconfig
@@ -467,6 +467,7 @@ CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_ATA_OVER_ETH=m
CONFIG_BLK_DEV_NVME=y
+CONFIG_NVME_HWMON=y
CONFIG_EEPROM_AT24=m
CONFIG_EEPROM_AT25=m
CONFIG_TI_ST=m
diff --git a/arch/arm64/configs/bcm2712_defconfig b/arch/arm64/configs/bcm2712_defconfig
index 4e32db929c03..4aecb0792c6d 100644
--- a/arch/arm64/configs/bcm2712_defconfig
+++ b/arch/arm64/configs/bcm2712_defconfig
@@ -470,6 +470,7 @@ CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_ATA_OVER_ETH=m
CONFIG_BLK_DEV_NVME=y
+CONFIG_NVME_HWMON=y
CONFIG_EEPROM_AT24=m
CONFIG_EEPROM_AT25=m
CONFIG_TI_ST=m
--
2.44.0