From e0d7eec4e320aff6edf18694d6f277b9b5383a49 Mon Sep 17 00:00:00 2001 From: CM2003 Date: Tue, 6 Oct 2026 04:00:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20hi3798mv310=20=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=97=AE=E9=A2=98=EF=BC=9Adts=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E3=80=81thermal=E9=A9=B1=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/kernel/Makefile | 3 ++- .../linux-4.4.y/arch/arm/boot/dts/hi3798mv310.dts | 10 +++++----- .../linux-4.4.y/drivers/hisilicon/thermal/Makefile | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/source/kernel/Makefile b/source/kernel/Makefile index 5c2d224ee..9320dc558 100755 --- a/source/kernel/Makefile +++ b/source/kernel/Makefile @@ -171,7 +171,8 @@ endif ) done ) ifeq ($(HI_DRV_BUILDTYPE),m) $(AT)(find $(KERNEL_OUT_DIR)/drivers/common -name "*.ko" | xargs cp -f -t $(HI_MODULE_DIR)/) - $(AT)(find $(KERNEL_OUT_DIR)/drivers/msp -name "*.ko" | xargs cp -f -t $(HI_MODULE_DIR)/) +# $(AT)(find $(KERNEL_OUT_DIR)/drivers/msp -name "*.ko" | xargs cp -f -t $(HI_MODULE_DIR)/) + $(AT)(find $(KERNEL_OUT_DIR)/drivers/msp -name "*.ko" 2>/dev/null | xargs -r cp -f -t $(HI_MODULE_DIR)/) ifeq ($(CFG_HI_IR_TYPE_LIRC),y) $(AT)make -j16 -C $(MSP_DIR)/drv/ir/lirc endif diff --git a/source/kernel/linux-4.4.y/arch/arm/boot/dts/hi3798mv310.dts b/source/kernel/linux-4.4.y/arch/arm/boot/dts/hi3798mv310.dts index 11d94a534..4666e3996 100755 --- a/source/kernel/linux-4.4.y/arch/arm/boot/dts/hi3798mv310.dts +++ b/source/kernel/linux-4.4.y/arch/arm/boot/dts/hi3798mv310.dts @@ -556,7 +556,7 @@ clocks = <&hisilicon_clock PERI_CRG46_USB2CTRL>; clock-names = "clk"; status = "okay"; - # status = "disabled"; + // status = "disabled"; }; ohci:ohci@0xf9880000 { @@ -567,7 +567,7 @@ clocks = <&hisilicon_clock PERI_CRG46_USB2CTRL>; clock-names = "clk"; status = "okay"; - # status = "disabled"; + // status = "disabled"; }; udc:hiudc@0xf98c0000 { @@ -578,7 +578,7 @@ clocks = <&hisilicon_clock PERI_CRG46_USB2CTRL>; clock-names = "clk"; status = "okay"; - # status = "disabled"; + // status = "disabled"; }; otg:hi3798cv200.hiusbotg { @@ -587,7 +587,7 @@ host_time = <1500 4>; device_time = <1000 4>; status = "okay"; - # status = "disabled"; + // status = "disabled"; }; @@ -718,7 +718,7 @@ cooling-min-state = <0>; cooling-max-state = <7>; status = "okay"; - # status = "disabled"; + // status = "disabled"; }; diff --git a/source/kernel/linux-4.4.y/drivers/hisilicon/thermal/Makefile b/source/kernel/linux-4.4.y/drivers/hisilicon/thermal/Makefile index 8df4468ce..e0ba51e32 100644 --- a/source/kernel/linux-4.4.y/drivers/hisilicon/thermal/Makefile +++ b/source/kernel/linux-4.4.y/drivers/hisilicon/thermal/Makefile @@ -1,3 +1,4 @@ obj-y += hisi_thermal.o obj-$(CONFIG_ARCH_HIFONE) += hi3798cvx-thermal.o -obj-$(CONFIG_ARCH_HI3798CV2X) += hi3798cvx-thermal.o \ No newline at end of file +obj-$(CONFIG_ARCH_HI3798CV2X) += hi3798cvx-thermal.o +obj-$(CONFIG_ARCH_HI3798MV310) += hi3798cvx-thermal.o