diff --git a/target/linux/generic/hack-6.12/800-GPIO-add-named-gpio-exports.patch b/target/linux/generic/hack-6.12/800-GPIO-add-named-gpio-exports.patch index 4fe2d87df305b2..a68b2fe80e4d5c 100644 --- a/target/linux/generic/hack-6.12/800-GPIO-add-named-gpio-exports.patch +++ b/target/linux/generic/hack-6.12/800-GPIO-add-named-gpio-exports.patch @@ -15,7 +15,7 @@ Signed-off-by: John Crispin #include "gpiolib.h" #include "gpiolib-of.h" -@@ -1187,3 +1189,72 @@ void of_gpiochip_remove(struct gpio_chip +@@ -1187,3 +1189,73 @@ void of_gpiochip_remove(struct gpio_chip { of_node_put(dev_of_node(&chip->gpiodev->dev)); } @@ -44,17 +44,19 @@ Signed-off-by: John Crispin + of_property_read_string(cnp, "gpio-export,name", &name); + + if (!name) -+ // max_gpio = of_gpio_count(cnp); ++ max_gpio = of_gpio_named_count(cnp, "gpios"); + + for (i = 0; i < max_gpio; i++) { ++ struct gpio_desc *desc; + unsigned flags = 0; + enum of_gpio_flags of_flags; + -+ gpio = of_get_named_gpio(cnp, i, &of_flags); -+ if (!gpio_is_valid(gpio)) -+ return gpio; ++ desc = of_get_named_gpiod_flags(cnp, "gpios", i, &of_flags); ++ if (IS_ERR(desc)) ++ return PTR_ERR(desc); ++ gpio = desc_to_gpio(desc); + -+ if (of_flags == OF_GPIO_ACTIVE_LOW) ++ if (of_flags & OF_GPIO_ACTIVE_LOW) + flags |= GPIOF_ACTIVE_LOW; + + if (!of_property_read_u32(cnp, "gpio-export,output", &val)) @@ -66,7 +68,7 @@ Signed-off-by: John Crispin + continue; + + dmc = of_property_read_bool(cnp, "gpio-export,direction_may_change"); -+ gpio_export_with_name(gpio, dmc, name); ++ gpio_export_with_name(gpio_to_desc(gpio), dmc, name); + nb++; + } + } @@ -79,7 +81,6 @@ Signed-off-by: John Crispin +static struct platform_driver gpio_export_driver = { + .driver = { + .name = "gpio-export", -+ .owner = THIS_MODULE, + .of_match_table = of_match_ptr(gpio_export_ids), + }, + .probe = of_gpio_export_probe, @@ -88,22 +89,24 @@ Signed-off-by: John Crispin +module_platform_driver(gpio_export_driver); + +#endif -\ No newline at end of file --- a/include/linux/gpio/consumer.h +++ b/include/linux/gpio/consumer.h -@@ -628,6 +628,7 @@ static inline int devm_acpi_dev_add_driv +@@ -628,7 +628,10 @@ static inline int devm_acpi_dev_add_driv #if IS_ENABLED(CONFIG_GPIOLIB) && IS_ENABLED(CONFIG_GPIO_SYSFS) -+int _gpiod_export(struct gpio_desc *desc, bool direction_may_change, const char *name); ++int __gpiod_export(struct gpio_desc *desc, bool direction_may_change, const char *name); int gpiod_export(struct gpio_desc *desc, bool direction_may_change); ++int gpio_export_with_name(struct gpio_desc *desc, bool direction_may_change, ++ const char *name); int gpiod_export_link(struct device *dev, const char *name, struct gpio_desc *desc); -@@ -637,6 +638,13 @@ void gpiod_unexport(struct gpio_desc *de + void gpiod_unexport(struct gpio_desc *desc); +@@ -637,11 +640,25 @@ void gpiod_unexport(struct gpio_desc *de #include -+static inline int _gpiod_export(struct gpio_desc *desc, ++static inline int __gpiod_export(struct gpio_desc *desc, + bool direction_may_change, + const char *name) +{ @@ -113,6 +116,18 @@ Signed-off-by: John Crispin static inline int gpiod_export(struct gpio_desc *desc, bool direction_may_change) { + return -ENOSYS; + } ++ ++static inline int gpio_export_with_name(struct gpio_desc *desc, ++ bool direction_may_change, ++ const char *name) ++{ ++ return -ENOSYS; ++} + + static inline int gpiod_export_link(struct device *dev, const char *name, + struct gpio_desc *desc) --- a/drivers/gpio/gpiolib-sysfs.c +++ b/drivers/gpio/gpiolib-sysfs.c @@ -571,7 +571,7 @@ static struct class gpio_class = { @@ -133,7 +148,7 @@ Signed-off-by: John Crispin dev = device_create_with_groups(&gpio_class, &gdev->dev, MKDEV(0, 0), data, gpio_groups, -@@ -650,6 +652,12 @@ err_unlock: +@@ -650,8 +652,21 @@ err_unlock: gpiod_dbg(desc, "%s: status %d\n", __func__, status); return status; } @@ -145,4 +160,13 @@ Signed-off-by: John Crispin +} EXPORT_SYMBOL_GPL(gpiod_export); ++int gpio_export_with_name(struct gpio_desc *desc, bool direction_may_change, ++ const char *name) ++{ ++ return __gpiod_export(desc, direction_may_change, name); ++} ++EXPORT_SYMBOL_GPL(gpio_export_with_name); ++ static int match_export(struct device *dev, const void *desc) + { + struct gpiod_data *data = dev_get_drvdata(dev); diff --git a/target/linux/generic/pending-6.12/465-m25p80-mx-disable-software-protection.patch b/target/linux/generic/pending-6.12/465-m25p80-mx-disable-software-protection.patch index e0adcdd9f09481..5667e273f1724a 100644 --- a/target/linux/generic/pending-6.12/465-m25p80-mx-disable-software-protection.patch +++ b/target/linux/generic/pending-6.12/465-m25p80-mx-disable-software-protection.patch @@ -12,7 +12,7 @@ Signed-off-by: Felix Fietkau { if (!nor->params->set_4byte_addr_mode) nor->params->set_4byte_addr_mode = spi_nor_set_4byte_addr_mode_en4b_ex4b; -+ nor->flags |= SNOR_F_HAS_LOCK; ++ nor->flags |= SNOR_F_HAS_LOCK; return 0; } diff --git a/target/linux/generic/pending-6.12/499-mtd-spi-nor-disable-16-bit-sr-for-macronix.patch b/target/linux/generic/pending-6.12/499-mtd-spi-nor-disable-16-bit-sr-for-macronix.patch index 9fecf843d08439..6e08beabda664e 100644 --- a/target/linux/generic/pending-6.12/499-mtd-spi-nor-disable-16-bit-sr-for-macronix.patch +++ b/target/linux/generic/pending-6.12/499-mtd-spi-nor-disable-16-bit-sr-for-macronix.patch @@ -24,7 +24,7 @@ Signed-off-by: Nick Hainke { if (!nor->params->set_4byte_addr_mode) nor->params->set_4byte_addr_mode = spi_nor_set_4byte_addr_mode_en4b_ex4b; -+ nor->flags &= ~SNOR_F_HAS_16BIT_SR; - nor->flags |= SNOR_F_HAS_LOCK; ++ nor->flags &= ~SNOR_F_HAS_16BIT_SR; + nor->flags |= SNOR_F_HAS_LOCK; return 0; diff --git a/target/linux/rockchip/Makefile b/target/linux/rockchip/Makefile index 82c6132f21f695..16adde75b74000 100644 --- a/target/linux/rockchip/Makefile +++ b/target/linux/rockchip/Makefile @@ -16,7 +16,7 @@ endef include $(INCLUDE_DIR)/target.mk -DEFAULT_PACKAGES += uboot-envtools partx-utils e2fsprogs mkf2fs kmod-gpio-button-hotplug \ +DEFAULT_PACKAGES += uboot-envtools partx-utils e2fsprogs mkf2fs kmod-button-hotplug \ automount autocore-arm e2fsprogs ethtool haveged htop usb-modeswitch KERNELNAME:=Image dtbs diff --git a/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3399-fine-3399.dts b/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3399-fine-3399.dts index e02460479a202a..3e9105d006ef2c 100644 --- a/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3399-fine-3399.dts +++ b/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3399-fine-3399.dts @@ -5,7 +5,7 @@ #include #include #include "rk3399.dtsi" -#include "rk3399-op1-opp.dtsi" +#include "rk3399-opp.dtsi" / { model = "RUMU3F Fine3399"; diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk index 9d91deeca6bccd..1f1b933f502dab 100644 --- a/target/linux/rockchip/image/armv8.mk +++ b/target/linux/rockchip/image/armv8.mk @@ -80,7 +80,7 @@ define Device/dilusense_dlfr100 SOC := rk3399 UBOOT_DEVICE_NAME := dlfr100-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 -urngd + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 endef TARGET_DEVICES += dilusense_dlfr100 @@ -108,7 +108,7 @@ define Device/fastrhino_common DEVICE_VENDOR := FastRhino SOC := rk3568 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125-rss + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss endef define Device/fastrhino_r66s @@ -170,7 +170,7 @@ define Device/friendlyarm_nanopi-r2c SOC := rk3328 UBOOT_DEVICE_NAME := nanopi-r2c-rk3328 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata - DEVICE_PACKAGES := kmod-usb-net-rtl8152 + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152 endef TARGET_DEVICES += friendlyarm_nanopi-r2c @@ -180,7 +180,7 @@ define Device/friendlyarm_nanopi-r2c-plus SOC := rk3328 UBOOT_DEVICE_NAME := nanopi-r2c-plus-rk3328 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata - DEVICE_PACKAGES := kmod-usb-net-rtl8152 + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152 endef TARGET_DEVICES += friendlyarm_nanopi-r2c-plus @@ -190,7 +190,7 @@ define Device/friendlyarm_nanopi-r2s SOC := rk3328 UBOOT_DEVICE_NAME := nanopi-r2s-rk3328 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata - DEVICE_PACKAGES := kmod-usb-net-rtl8152 + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152 endef TARGET_DEVICES += friendlyarm_nanopi-r2s @@ -200,7 +200,7 @@ define Device/friendlyarm_nanopi-r2s-plus SOC := rk3328 UBOOT_DEVICE_NAME := nanopi-r2s-plus-rk3328 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata - DEVICE_PACKAGES := kmod-usb-net-rtl8152 + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152 endef TARGET_DEVICES += friendlyarm_nanopi-r2s-plus @@ -210,7 +210,7 @@ define Device/friendlyarm_nanopi-r3s SOC := rk3566 UBOOT_DEVICE_NAME := nanopi-r3s-rk3566 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 endef TARGET_DEVICES += friendlyarm_nanopi-r3s @@ -220,7 +220,7 @@ define Device/friendlyarm_nanopi-r4s SOC := rk3399 UBOOT_DEVICE_NAME := nanopi-r4s-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 -urngd + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 endef TARGET_DEVICES += friendlyarm_nanopi-r4s @@ -230,7 +230,7 @@ define Device/friendlyarm_nanopi-r4se SOC := rk3399 UBOOT_DEVICE_NAME := nanopi-r4se-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 -urngd + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 endef TARGET_DEVICES += friendlyarm_nanopi-r4se @@ -240,7 +240,7 @@ define Device/friendlyarm_nanopi-r5c SOC := rk3568 UBOOT_DEVICE_NAME := nanopi-r5c-rk3568 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125-rss + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss endef TARGET_DEVICES += friendlyarm_nanopi-r5c @@ -250,7 +250,7 @@ define Device/friendlyarm_nanopi-r5s SOC := rk3568 UBOOT_DEVICE_NAME := nanopi-r5s-rk3568 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125-rss + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss endef TARGET_DEVICES += friendlyarm_nanopi-r5s @@ -260,7 +260,7 @@ define Device/friendlyarm_nanopi-r6c SOC := rk3588s UBOOT_DEVICE_NAME := nanopi-r6c-rk3588s IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125-rss + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss endef TARGET_DEVICES += friendlyarm_nanopi-r6c @@ -270,7 +270,7 @@ define Device/friendlyarm_nanopi-r6s SOC := rk3588s UBOOT_DEVICE_NAME := nanopi-r6s-rk3588s IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125-rss + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8125-rss endef TARGET_DEVICES += friendlyarm_nanopi-r6s @@ -349,7 +349,7 @@ define Device/lyt_t68m SOC := rk3568 UBOOT_DEVICE_NAME := generic-rk3568 IMAGE/sysupgrade.img.gz := boot-common | boot-script vop | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-drm-rockchip kmod-mt7921e kmod-r8125-rss wpad-openssl uboot-envtools + DEVICE_PACKAGES := kmod-drm-rockchip kmod-gpio-button-hotplug kmod-r8125-rss uboot-envtools endef TARGET_DEVICES += lyt_t68m @@ -360,7 +360,7 @@ define Device/mmbox_anas3035 DEVICE_DTS := rockchip/rk3568-mmbox-anas3035 UBOOT_DEVICE_NAME := mmbox-anas3035-rk3568 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8125-rss kmod-ata-ahci-dwc kmod-hwmon-pwmfan kmod-hwmon-drivetemp + DEVICE_PACKAGES := kmod-ata-ahci-dwc kmod-hwmon-drivetemp kmod-hwmon-pwmfan kmod-r8125-rss endef TARGET_DEVICES += mmbox_anas3035 @@ -380,7 +380,6 @@ define Device/pine64_rockpro64 SOC := rk3399 UBOOT_DEVICE_NAME := rockpro64-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := -urngd endef TARGET_DEVICES += pine64_rockpro64 @@ -390,7 +389,7 @@ define Device/radxa_e20c DEVICE_DTS := rockchip/rk3528-radxa-e20c UBOOT_DEVICE_NAME := evb-rk3528 IMAGE/sysupgrade.img.gz := boot-common | boot-script rk3528 | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 -urngd + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 -urngd endef TARGET_DEVICES += radxa_e20c @@ -424,16 +423,14 @@ define Device/radxa_rock-3c endef TARGET_DEVICES += radxa_rock-3c -define Device/radxa_rock-pi-4 +define Device/radxa_rock-pi-4a DEVICE_VENDOR := Radxa - DEVICE_MODEL := ROCK Pi 4 + DEVICE_MODEL := ROCK Pi 4A SOC := rk3399 - SUPPORTED_DEVICES := radxa,rockpi4 + SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4 UBOOT_DEVICE_NAME := rock-pi-4-rk3399 - IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := -urngd endef -TARGET_DEVICES += radxa_rock-pi-4 +TARGET_DEVICES += radxa_rock-pi-4a define Device/radxa_rock-5a DEVICE_VENDOR := Radxa @@ -451,7 +448,7 @@ define Device/rongpin_king3399 SOC := rk3399 UBOOT_DEVICE_NAME := king3399-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 -urngd kmod-brcmfmac cypress-firmware-4356-sdio wpad-openssl + DEVICE_PACKAGES := kmod-r8168 kmod-brcmfmac cypress-firmware-4356-sdio wpad-openssl endef TARGET_DEVICES += rongpin_king3399 @@ -461,7 +458,7 @@ define Device/rocktech_mpc1903 SOC := rk3399 UBOOT_DEVICE_NAME := mpc1903-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-usb-net-smsc75xx kmod-usb-serial-cp210x -urngd + DEVICE_PACKAGES := kmod-usb-net-smsc75xx kmod-usb-serial-cp210x endef TARGET_DEVICES += rocktech_mpc1903 @@ -471,7 +468,7 @@ define Device/rumu3f_fine-3399 SOC := rk3399 UBOOT_DEVICE_NAME := fine3399-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 -urngd + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 endef TARGET_DEVICES += rumu3f_fine-3399 @@ -482,7 +479,7 @@ define Device/scensmart_sv901-eaio UBOOT_DEVICE_NAME := sv901-eaio-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata DEVICE_PACKAGES := brcmfmac-nvram-4356-sdio cypress-firmware-4356-sdio kmod-brcmfmac \ - kmod-switch-rtl8367b swconfig wpad -urngd + kmod-gpio-button-hotplug kmod-switch-rtl8367b swconfig wpad endef TARGET_DEVICES += scensmart_sv901-eaio @@ -519,7 +516,7 @@ define Device/sharevdi_h3399pc SOC := rk3399 UBOOT_DEVICE_NAME := h3399pc-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 -urngd + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 endef TARGET_DEVICES += sharevdi_h3399pc @@ -529,7 +526,7 @@ define Device/sharevdi_guangmiao-g4c SOC := rk3399 UBOOT_DEVICE_NAME := guangmiao-g4c-rk3399 IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata - DEVICE_PACKAGES := kmod-r8168 -urngd + DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-r8168 endef TARGET_DEVICES += sharevdi_guangmiao-g4c diff --git a/target/linux/rockchip/patches-5.15/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch b/target/linux/rockchip/patches-5.15/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch index 9090e96dcec1ac..c3989d977c4eff 100644 --- a/target/linux/rockchip/patches-5.15/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch +++ b/target/linux/rockchip/patches-5.15/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch @@ -20,11 +20,11 @@ Signed-off-by: Tianling Shen }; + opp06 { + opp-hz = /bits/ 64 <1608000000>; -+ opp-microvolt = <1225000>; ++ opp-microvolt = <1225000 1225000 1250000>; + }; + opp07 { + opp-hz = /bits/ 64 <1800000000>; -+ opp-microvolt = <1275000>; ++ opp-microvolt = <1275000 1275000 1275000>; + }; }; @@ -35,11 +35,11 @@ Signed-off-by: Tianling Shen }; + opp08 { + opp-hz = /bits/ 64 <2016000000>; -+ opp-microvolt = <1250000>; ++ opp-microvolt = <1250000 1250000 1250000>; + }; + opp09 { + opp-hz = /bits/ 64 <2208000000>; -+ opp-microvolt = <1325000>; ++ opp-microvolt = <1325000 1325000 1325000>; + }; }; diff --git a/target/linux/rockchip/patches-6.1/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch b/target/linux/rockchip/patches-6.1/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch index ee8527a2fca124..ba96cb4ae158fd 100644 --- a/target/linux/rockchip/patches-6.1/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch +++ b/target/linux/rockchip/patches-6.1/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch @@ -20,11 +20,11 @@ Signed-off-by: Tianling Shen }; + opp06 { + opp-hz = /bits/ 64 <1608000000>; -+ opp-microvolt = <1225000>; ++ opp-microvolt = <1225000 1225000 1250000>; + }; + opp07 { + opp-hz = /bits/ 64 <1800000000>; -+ opp-microvolt = <1275000>; ++ opp-microvolt = <1275000 1275000 1275000>; + }; }; @@ -35,11 +35,11 @@ Signed-off-by: Tianling Shen }; + opp08 { + opp-hz = /bits/ 64 <2016000000>; -+ opp-microvolt = <1250000>; ++ opp-microvolt = <1250000 1250000 1250000>; + }; + opp09 { + opp-hz = /bits/ 64 <2208000000>; -+ opp-microvolt = <1325000>; ++ opp-microvolt = <1325000 1325000 1325000>; + }; }; diff --git a/target/linux/rockchip/patches-6.6/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch b/target/linux/rockchip/patches-6.6/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch index ee8527a2fca124..ba96cb4ae158fd 100644 --- a/target/linux/rockchip/patches-6.6/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch +++ b/target/linux/rockchip/patches-6.6/992-rockchip-rk3399-overclock-to-2.2-1.8-GHz.patch @@ -20,11 +20,11 @@ Signed-off-by: Tianling Shen }; + opp06 { + opp-hz = /bits/ 64 <1608000000>; -+ opp-microvolt = <1225000>; ++ opp-microvolt = <1225000 1225000 1250000>; + }; + opp07 { + opp-hz = /bits/ 64 <1800000000>; -+ opp-microvolt = <1275000>; ++ opp-microvolt = <1275000 1275000 1275000>; + }; }; @@ -35,11 +35,11 @@ Signed-off-by: Tianling Shen }; + opp08 { + opp-hz = /bits/ 64 <2016000000>; -+ opp-microvolt = <1250000>; ++ opp-microvolt = <1250000 1250000 1250000>; + }; + opp09 { + opp-hz = /bits/ 64 <2208000000>; -+ opp-microvolt = <1325000>; ++ opp-microvolt = <1325000 1325000 1325000>; + }; };