From 1fb1717ab798860a5fafc79d7bf65f38506e114f Mon Sep 17 00:00:00 2001 From: Celeste Liu Date: Sun, 12 Nov 2023 19:42:03 +0800 Subject: [PATCH] updpatch: update to linux 6.6.1.arch1 - enable some VisionFive2 driver - enbale sun20i-gpadc-iio for D1 - drop old disable-sv57 patch because 6.6 include better way Signed-off-by: Celeste Liu --- linux/riscv64.config-patch | 173 +++++++++++++++++++++---------------- linux/riscv64.patch | 39 ++++----- riscv.defconfig | 4 + 3 files changed, 121 insertions(+), 95 deletions(-) diff --git a/linux/riscv64.config-patch b/linux/riscv64.config-patch index 1633817a7..8df2efc26 100644 --- a/linux/riscv64.config-patch +++ b/linux/riscv64.config-patch @@ -1,6 +1,6 @@ ---- .config.orig 2023-11-02 02:08:16.114388572 -0400 -+++ .config 2023-11-02 02:08:44.491099060 -0400 -@@ -309,20 +309,29 @@ +--- .config 2023-11-16 17:53:40.046841604 +0100 ++++ .config 2023-11-16 17:55:56.971327599 +0100 +@@ -319,21 +319,30 @@ # # SoC selection # @@ -26,6 +26,7 @@ # # CPU errata selection # + # CONFIG_ERRATA_ANDES is not set -# CONFIG_ERRATA_SIFIVE is not set -# CONFIG_ERRATA_THEAD is not set +CONFIG_ERRATA_SIFIVE=y @@ -38,7 +39,7 @@ # end of CPU errata selection # -@@ -335,12 +344,13 @@ +@@ -346,12 +355,13 @@ CONFIG_MODULE_SECTIONS=y CONFIG_SMP=y CONFIG_SCHED_MC=y @@ -53,16 +54,16 @@ CONFIG_RISCV_ISA_C=y CONFIG_RISCV_ISA_SVNAPOT=y CONFIG_RISCV_ISA_SVPBMT=y -@@ -367,7 +377,7 @@ +@@ -378,7 +388,7 @@ # CONFIG_HZ_1000 is not set CONFIG_HZ=300 CONFIG_SCHED_HRTICK=y -# CONFIG_RISCV_SBI_V01 is not set +CONFIG_RISCV_SBI_V01=y # CONFIG_RISCV_BOOT_SPINWAIT is not set - CONFIG_KEXEC=y - CONFIG_KEXEC_FILE=y -@@ -422,14 +432,17 @@ + CONFIG_ARCH_SUPPORTS_KEXEC=y + CONFIG_ARCH_SELECTS_KEXEC=y +@@ -437,14 +447,17 @@ # CPU Idle # CONFIG_CPU_IDLE=y @@ -81,7 +82,7 @@ # end of RISC-V CPU Idle Drivers # end of CPU Idle -@@ -1817,6 +1830,7 @@ +@@ -1836,6 +1849,7 @@ CONFIG_PCI_PF_STUB=m CONFIG_PCI_ATS=y CONFIG_PCI_DOE=y @@ -89,7 +90,7 @@ CONFIG_PCI_IOV=y CONFIG_PCI_PRI=y CONFIG_PCI_PASID=y -@@ -1833,9 +1847,10 @@ +@@ -1853,9 +1867,10 @@ # PCI controller drivers # # CONFIG_PCI_FTPCI100 is not set @@ -103,7 +104,7 @@ # # Cadence-based PCIe controllers -@@ -1852,6 +1867,7 @@ +@@ -1872,6 +1887,7 @@ CONFIG_PCI_MESON=y CONFIG_PCIE_DW_PLAT=y CONFIG_PCIE_DW_PLAT_HOST=y @@ -111,7 +112,7 @@ # end of DesignWare-based PCIe controllers # -@@ -1959,6 +1975,8 @@ +@@ -1979,6 +1995,8 @@ # Bus devices # # CONFIG_MOXTET is not set @@ -120,7 +121,7 @@ CONFIG_MHI_BUS=m # CONFIG_MHI_BUS_DEBUG is not set CONFIG_MHI_BUS_PCI_GENERIC=m -@@ -2112,6 +2130,7 @@ +@@ -2139,6 +2157,7 @@ # CONFIG_MTD_NAND_DENALI_PCI is not set # CONFIG_MTD_NAND_DENALI_DT is not set # CONFIG_MTD_NAND_CAFE is not set @@ -128,7 +129,7 @@ # CONFIG_MTD_NAND_MXIC is not set # CONFIG_MTD_NAND_GPIO is not set # CONFIG_MTD_NAND_PLATFORM is not set -@@ -2478,6 +2497,7 @@ +@@ -2505,6 +2524,7 @@ CONFIG_SATA_AHCI_PLATFORM=m CONFIG_AHCI_DWC=m # CONFIG_AHCI_CEVA is not set @@ -136,7 +137,7 @@ CONFIG_SATA_INIC162X=m CONFIG_SATA_ACARD_AHCI=m CONFIG_SATA_SIL24=m -@@ -2797,6 +2817,8 @@ +@@ -2826,6 +2846,8 @@ CONFIG_ET131X=m CONFIG_NET_VENDOR_ALACRITECH=y CONFIG_SLICOSS=m @@ -145,7 +146,7 @@ CONFIG_NET_VENDOR_ALTEON=y CONFIG_ACENIC=m # CONFIG_ACENIC_OMIT_TIGON_I is not set -@@ -3090,6 +3112,9 @@ +@@ -3119,6 +3141,9 @@ CONFIG_STMMAC_PLATFORM=m # CONFIG_DWMAC_DWC_QOS_ETH is not set CONFIG_DWMAC_GENERIC=m @@ -155,7 +156,7 @@ # CONFIG_DWMAC_INTEL_PLAT is not set CONFIG_DWMAC_LOONGSON=m CONFIG_STMMAC_PCI=m -@@ -3211,6 +3236,7 @@ +@@ -3242,6 +3267,7 @@ CONFIG_CAN_JANZ_ICAN3=m CONFIG_CAN_KVASER_PCIEFD=m CONFIG_CAN_SLCAN=m @@ -163,7 +164,7 @@ CONFIG_CAN_C_CAN=m CONFIG_CAN_C_CAN_PLATFORM=m CONFIG_CAN_C_CAN_PCI=m -@@ -3279,6 +3305,7 @@ +@@ -3310,6 +3336,7 @@ CONFIG_OF_MDIO=m CONFIG_ACPI_MDIO=m CONFIG_MDIO_DEVRES=m @@ -171,7 +172,7 @@ CONFIG_MDIO_BITBANG=m CONFIG_MDIO_BCM_UNIMAC=m CONFIG_MDIO_CAVIUM=m -@@ -3296,6 +3323,7 @@ +@@ -3327,6 +3354,7 @@ # # MDIO Multiplexers # @@ -179,7 +180,7 @@ # CONFIG_MDIO_BUS_MUX_GPIO is not set # CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set # CONFIG_MDIO_BUS_MUX_MMIOREG is not set -@@ -3828,8 +3856,10 @@ +@@ -3861,8 +3889,10 @@ CONFIG_KEYBOARD_OPENCORES=m CONFIG_KEYBOARD_PINEPHONE=m CONFIG_KEYBOARD_SAMSUNG=m @@ -190,7 +191,7 @@ CONFIG_KEYBOARD_IQS62X=m # CONFIG_KEYBOARD_OMAP4 is not set CONFIG_KEYBOARD_TM2_TOUCHKEY=m -@@ -4012,6 +4042,7 @@ +@@ -4045,6 +4075,7 @@ CONFIG_TOUCHSCREEN_SIS_I2C=m CONFIG_TOUCHSCREEN_ST1232=m CONFIG_TOUCHSCREEN_STMFTS=m @@ -198,7 +199,7 @@ CONFIG_TOUCHSCREEN_SUR40=m CONFIG_TOUCHSCREEN_SURFACE3_SPI=m CONFIG_TOUCHSCREEN_SX8654=m -@@ -4111,6 +4142,7 @@ +@@ -4145,6 +4176,7 @@ CONFIG_SERIO_PS2MULT=m CONFIG_SERIO_ARC_PS2=m # CONFIG_SERIO_APBPS2 is not set @@ -206,7 +207,7 @@ CONFIG_SERIO_GPIO_PS2=m CONFIG_USERIO=m CONFIG_GAMEPORT=m -@@ -4165,12 +4197,13 @@ +@@ -4197,12 +4229,13 @@ CONFIG_SERIAL_8250_DW=m CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_PERICOM=y @@ -221,7 +222,7 @@ CONFIG_SERIAL_MAX3100=m CONFIG_SERIAL_MAX310X=m CONFIG_SERIAL_UARTLITE=m -@@ -4178,7 +4211,7 @@ +@@ -4210,7 +4243,7 @@ CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_JSM=m @@ -230,9 +231,9 @@ CONFIG_SERIAL_SCCNXP=m CONFIG_SERIAL_SC16IS7XX_CORE=m CONFIG_SERIAL_SC16IS7XX=m -@@ -4206,11 +4239,13 @@ +@@ -4237,11 +4270,13 @@ + CONFIG_MOXA_INTELLIO=m CONFIG_MOXA_SMARTIO=m - CONFIG_SYNCLINK_GT=m CONFIG_N_HDLC=m +# CONFIG_GOLDFISH_TTY is not set CONFIG_IPWIRELESS=m @@ -244,7 +245,7 @@ CONFIG_RPMSG_TTY=m CONFIG_SERIAL_DEV_BUS=y CONFIG_SERIAL_DEV_CTRL_TTYPORT=y -@@ -4233,8 +4268,10 @@ +@@ -4264,8 +4299,10 @@ CONFIG_HW_RANDOM_TIMERIOMEM=m CONFIG_HW_RANDOM_BA431=m CONFIG_HW_RANDOM_VIRTIO=m @@ -255,7 +256,7 @@ CONFIG_APPLICOM=m CONFIG_DEVMEM=y CONFIG_DEVPORT=y -@@ -4335,6 +4372,8 @@ +@@ -4366,6 +4403,8 @@ CONFIG_I2C_GPIO=m # CONFIG_I2C_GPIO_FAULT_INJECTOR is not set CONFIG_I2C_KEMPLD=m @@ -264,7 +265,7 @@ CONFIG_I2C_OCORES=m CONFIG_I2C_PCA_PLATFORM=m # CONFIG_I2C_RK3X is not set -@@ -4404,6 +4443,8 @@ +@@ -4435,6 +4474,8 @@ CONFIG_SPI_SC18IS602=m CONFIG_SPI_SIFIVE=m # CONFIG_SPI_SN_F_OSPI is not set @@ -273,7 +274,7 @@ CONFIG_SPI_MXIC=m CONFIG_SPI_XCOMM=m CONFIG_SPI_XILINX=m -@@ -4456,7 +4497,9 @@ +@@ -4488,7 +4529,9 @@ # end of PTP clock support CONFIG_PINCTRL=y @@ -283,7 +284,7 @@ CONFIG_PINCONF=y CONFIG_GENERIC_PINCONF=y # CONFIG_DEBUG_PINCTRL is not set -@@ -4485,6 +4528,35 @@ +@@ -4517,6 +4560,35 @@ # # end of Renesas pinctrl drivers @@ -319,7 +320,7 @@ CONFIG_GPIOLIB=y CONFIG_GPIOLIB_FASTPATH_LIMIT=512 CONFIG_OF_GPIO=y -@@ -4493,7 +4565,7 @@ +@@ -4525,7 +4597,7 @@ # CONFIG_DEBUG_GPIO is not set CONFIG_GPIO_CDEV=y CONFIG_GPIO_CDEV_V1=y @@ -328,7 +329,7 @@ CONFIG_GPIO_REGMAP=m CONFIG_GPIO_MAX730X=m CONFIG_GPIO_IDIO_16=m -@@ -4514,7 +4586,7 @@ +@@ -4546,7 +4618,7 @@ # CONFIG_GPIO_LOGICVC is not set CONFIG_GPIO_MB86S7X=m CONFIG_GPIO_MENZ127=m @@ -337,7 +338,7 @@ CONFIG_GPIO_SIOX=m # CONFIG_GPIO_SYSCON is not set # CONFIG_GPIO_WCD934X is not set -@@ -4639,15 +4711,15 @@ +@@ -4672,15 +4744,15 @@ CONFIG_POWER_RESET=y CONFIG_POWER_RESET_ATC260X=m @@ -357,15 +358,15 @@ # CONFIG_SYSCON_REBOOT_MODE is not set # CONFIG_NVMEM_REBOOT_MODE is not set CONFIG_POWER_SUPPLY=y -@@ -4926,6 +4998,7 @@ +@@ -4961,6 +5033,7 @@ CONFIG_SENSORS_SCH5627=m CONFIG_SENSORS_SCH5636=m CONFIG_SENSORS_STTS751=m +CONFIG_SENSORS_SFCTEMP=m - CONFIG_SENSORS_SMM665=m CONFIG_SENSORS_ADC128D818=m CONFIG_SENSORS_ADS7828=m -@@ -4988,6 +5061,7 @@ + CONFIG_SENSORS_ADS7871=m +@@ -5022,6 +5095,7 @@ CONFIG_DEVFREQ_THERMAL=y # CONFIG_THERMAL_EMULATION is not set # CONFIG_THERMAL_MMIO is not set @@ -373,7 +374,7 @@ # CONFIG_DA9062_THERMAL is not set CONFIG_GENERIC_ADC_THERMAL=m CONFIG_WATCHDOG=y -@@ -5028,6 +5102,7 @@ +@@ -5062,6 +5136,7 @@ CONFIG_RAVE_SP_WATCHDOG=m CONFIG_CADENCE_WATCHDOG=m CONFIG_DW_WATCHDOG=m @@ -381,7 +382,7 @@ CONFIG_TWL4030_WATCHDOG=m CONFIG_MAX63XX_WATCHDOG=m CONFIG_RETU_WATCHDOG=m -@@ -5035,6 +5110,7 @@ +@@ -5069,6 +5144,7 @@ CONFIG_I6300ESB_WDT=m CONFIG_KEMPLD_WDT=m CONFIG_MEN_A21_WDT=m @@ -389,7 +390,7 @@ # # PCI-based Watchdog Cards -@@ -5076,6 +5152,7 @@ +@@ -5110,6 +5186,7 @@ # CONFIG_MFD_CORE=y # CONFIG_MFD_ACT8945A is not set @@ -397,7 +398,7 @@ CONFIG_MFD_AS3711=y CONFIG_MFD_SMPRO=m # CONFIG_MFD_AS3722 is not set -@@ -5160,6 +5237,7 @@ +@@ -5196,6 +5273,7 @@ CONFIG_MFD_SM501_GPIO=y CONFIG_MFD_SKY81452=m # CONFIG_MFD_STMPE is not set @@ -405,7 +406,7 @@ CONFIG_MFD_SYSCON=y CONFIG_MFD_TI_AM335X_TSCADC=m CONFIG_MFD_LP3943=m -@@ -5247,7 +5325,7 @@ +@@ -5284,7 +5362,7 @@ CONFIG_REGULATOR_DA9052=m CONFIG_REGULATOR_DA9055=m CONFIG_REGULATOR_DA9062=m @@ -414,7 +415,7 @@ # CONFIG_REGULATOR_DA9121 is not set CONFIG_REGULATOR_DA9210=m CONFIG_REGULATOR_DA9211=m -@@ -5388,6 +5466,7 @@ +@@ -5427,6 +5505,7 @@ CONFIG_IR_SERIAL_TRANSMITTER=y # CONFIG_IR_SPI is not set CONFIG_IR_STREAMZAP=m @@ -422,7 +423,7 @@ CONFIG_IR_TOY=m CONFIG_IR_TTUSBIR=m CONFIG_RC_ATI_REMOTE=m -@@ -5798,6 +5877,12 @@ +@@ -5838,6 +5917,12 @@ # # Sunxi media platform drivers # @@ -435,7 +436,7 @@ # # Texas Instruments drivers -@@ -5806,6 +5891,7 @@ +@@ -5846,6 +5931,7 @@ # # Verisilicon media platform drivers # @@ -443,15 +444,15 @@ # # VIA media platform drivers -@@ -6223,6 +6309,7 @@ - CONFIG_VIDEO_NOMODESET=y +@@ -6274,6 +6360,7 @@ + # CONFIG_PANEL is not set CONFIG_DRM=y CONFIG_DRM_MIPI_DBI=m +CONFIG_DRM_MIPI_DSI=y # CONFIG_DRM_DEBUG_MM is not set CONFIG_DRM_KMS_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y -@@ -6289,6 +6376,11 @@ +@@ -6341,6 +6428,11 @@ CONFIG_DRM_UDL=m CONFIG_DRM_AST=m CONFIG_DRM_MGAG200=m @@ -463,7 +464,7 @@ CONFIG_DRM_QXL=m CONFIG_DRM_VIRTIO_GPU=m CONFIG_DRM_VIRTIO_GPU_KMS=y -@@ -6299,36 +6391,86 @@ +@@ -6351,36 +6443,88 @@ # # CONFIG_DRM_PANEL_ABT_Y030XX067A is not set # CONFIG_DRM_PANEL_ARM_VERSATILE is not set @@ -538,6 +539,7 @@ # CONFIG_DRM_PANEL_SONY_ACX565AKM is not set +# CONFIG_DRM_PANEL_SONY_TD4353_JDI is not set +# CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521 is not set ++# CONFIG_DRM_PANEL_STARTEK_KD070FHFID015 is not set +# CONFIG_DRM_PANEL_TDO_TL070WSH30 is not set # CONFIG_DRM_PANEL_TPO_TD028TTEC1 is not set # CONFIG_DRM_PANEL_TPO_TD043MTEA1 is not set @@ -545,12 +547,13 @@ +# CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA is not set +# CONFIG_DRM_PANEL_VISIONOX_RM69299 is not set +# CONFIG_DRM_PANEL_VISIONOX_VTDR6130 is not set ++# CONFIG_DRM_PANEL_VISIONOX_R66451 is not set CONFIG_DRM_PANEL_WIDECHIPS_WS2401=m +# CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set # end of Display Panels CONFIG_DRM_BRIDGE=y -@@ -6375,6 +6517,11 @@ +@@ -6427,6 +6571,11 @@ # CONFIG_DRM_I2C_ADV7511 is not set # CONFIG_DRM_CDNS_DSI is not set # CONFIG_DRM_CDNS_MHDP8546 is not set @@ -561,8 +564,8 @@ +# CONFIG_DRM_DW_HDMI_CEC is not set # end of Display Interface Bridges - # CONFIG_DRM_ETNAVIV is not set -@@ -6457,6 +6604,7 @@ + # CONFIG_DRM_LOONGSON is not set +@@ -6490,6 +6639,7 @@ # CONFIG_FB_SMSCUFX is not set # CONFIG_FB_UDL is not set # CONFIG_FB_IBM_GXT4500 is not set @@ -570,7 +573,7 @@ # CONFIG_FB_VIRTUAL is not set # CONFIG_FB_METRONOME is not set # CONFIG_FB_MB862XX is not set -@@ -6782,12 +6930,23 @@ +@@ -6837,12 +6987,23 @@ CONFIG_SND_SOC_SOF_PCI=m CONFIG_SND_SOC_SOF_ACPI=m # CONFIG_SND_SOC_SOF_OF is not set @@ -594,7 +597,7 @@ CONFIG_SND_SOC_XILINX_I2S=m CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER=m CONFIG_SND_SOC_XILINX_SPDIF=m -@@ -7216,8 +7375,8 @@ +@@ -7276,8 +7437,8 @@ CONFIG_I2C_HID=m CONFIG_I2C_HID_ACPI=m CONFIG_I2C_HID_OF=m @@ -605,7 +608,7 @@ CONFIG_I2C_HID_CORE=m CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_SUPPORT=y -@@ -7327,6 +7486,7 @@ +@@ -7387,6 +7548,7 @@ CONFIG_USB_CDNS3_GADGET=y CONFIG_USB_CDNS3_HOST=y CONFIG_USB_CDNS3_PCI_WRAP=m @@ -613,7 +616,7 @@ CONFIG_USB_CDNSP_PCI=m CONFIG_USB_CDNSP_GADGET=y CONFIG_USB_CDNSP_HOST=y -@@ -7338,11 +7498,14 @@ +@@ -7398,11 +7560,14 @@ # # Platform Glue Layer # @@ -628,7 +631,7 @@ CONFIG_USB_DWC3=m CONFIG_USB_DWC3_ULPI=y # CONFIG_USB_DWC3_HOST is not set -@@ -7669,12 +7832,20 @@ +@@ -7730,12 +7895,20 @@ CONFIG_MMC_SDRICOH_CS=m CONFIG_MMC_CB710=m CONFIG_MMC_VIA_SDMMC=m @@ -650,7 +653,7 @@ CONFIG_MMC_CQHCI=m CONFIG_MMC_HSQ=m CONFIG_MMC_TOSHIBA_PCI=m -@@ -7883,6 +8054,7 @@ +@@ -7945,6 +8118,7 @@ CONFIG_EDAC=y CONFIG_EDAC_LEGACY_SYSFS=y # CONFIG_EDAC_DEBUG is not set @@ -658,7 +661,7 @@ CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y -@@ -8013,6 +8185,7 @@ +@@ -8074,6 +8248,7 @@ # # on-CPU RTC drivers # @@ -666,7 +669,7 @@ # CONFIG_RTC_DRV_CADENCE is not set CONFIG_RTC_DRV_FTRTC010=m CONFIG_RTC_DRV_PCAP=m -@@ -8024,7 +8197,8 @@ +@@ -8085,7 +8260,8 @@ # HID Sensor RTC drivers # CONFIG_RTC_DRV_HID_SENSOR_TIME=m @@ -676,7 +679,7 @@ CONFIG_DMADEVICES=y # CONFIG_DMADEVICES_DEBUG is not set -@@ -8036,6 +8210,7 @@ +@@ -8097,6 +8273,7 @@ CONFIG_DMA_ACPI=y CONFIG_DMA_OF=y CONFIG_ALTERA_MSGDMA=m @@ -684,7 +687,7 @@ # CONFIG_DW_AXI_DMAC is not set # CONFIG_FSL_EDMA is not set CONFIG_INTEL_IDMA64=m -@@ -8214,6 +8389,9 @@ +@@ -8277,6 +8454,9 @@ CONFIG_DVB_BUDGET_PATCH=m CONFIG_DVB_SP8870=m # CONFIG_VIDEO_MAX96712 is not set @@ -694,7 +697,7 @@ # CONFIG_STAGING_MEDIA_DEPRECATED is not set # CONFIG_STAGING_BOARD is not set CONFIG_LTE_GDM724X=m -@@ -8230,7 +8408,8 @@ +@@ -8293,7 +8473,8 @@ # CONFIG_HMS_ANYBUSS_BUS is not set CONFIG_QLGE=m # CONFIG_VME_BUS is not set @@ -704,7 +707,7 @@ CONFIG_HAVE_CLK=y CONFIG_HAVE_CLK_PREPARE=y CONFIG_COMMON_CLK=y -@@ -8254,15 +8433,32 @@ +@@ -8318,15 +8499,36 @@ # CONFIG_COMMON_CLK_VC5 is not set # CONFIG_COMMON_CLK_VC7 is not set # CONFIG_COMMON_CLK_FIXED_MMIO is not set @@ -715,8 +718,12 @@ +CONFIG_CLK_STARFIVE_JH71X0=y +CONFIG_CLK_STARFIVE_JH7100=y +CONFIG_CLK_STARFIVE_JH7100_AUDIO=m ++CONFIG_CLK_STARFIVE_JH7110_PLL=y +CONFIG_CLK_STARFIVE_JH7110_SYS=y +CONFIG_CLK_STARFIVE_JH7110_AON=m ++CONFIG_CLK_STARFIVE_JH7110_STG=m ++CONFIG_CLK_STARFIVE_JH7110_ISP=m ++CONFIG_CLK_STARFIVE_JH7110_VOUT=m +CONFIG_SUNXI_CCU=y +CONFIG_SUN20I_D1_CCU=y +CONFIG_SUN20I_D1_R_CCU=y @@ -737,7 +744,7 @@ CONFIG_RISCV_TIMER=y # end of Clock Source drivers -@@ -8271,6 +8467,8 @@ +@@ -8335,6 +8537,8 @@ CONFIG_PCC=y CONFIG_ALTERA_MBOX=m # CONFIG_MAILBOX_TEST is not set @@ -746,7 +753,7 @@ CONFIG_IOMMU_IOVA=m CONFIG_IOMMU_API=y CONFIG_IOMMU_SUPPORT=y -@@ -8286,6 +8484,7 @@ +@@ -8350,6 +8554,7 @@ # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_OF_IOMMU=y CONFIG_IOMMUFD=m @@ -754,7 +761,7 @@ # # Remoteproc drivers -@@ -8352,6 +8551,7 @@ +@@ -8416,6 +8621,7 @@ # CONFIG_LITEX_SOC_CONTROLLER is not set # end of Enable LiteX SoC Builder specific drivers @@ -762,7 +769,7 @@ CONFIG_WPCM450_SOC=m # -@@ -8361,6 +8561,10 @@ +@@ -8425,6 +8631,10 @@ CONFIG_QCOM_QMI_HELPERS=m # end of Qualcomm SoC drivers @@ -773,7 +780,7 @@ CONFIG_SOC_TI=y # -@@ -8383,6 +8587,7 @@ +@@ -8447,6 +8657,7 @@ # # DEVFREQ Drivers # @@ -781,7 +788,15 @@ CONFIG_PM_DEVFREQ_EVENT=y CONFIG_EXTCON=y -@@ -9057,8 +9262,10 @@ +@@ -8609,6 +8820,7 @@ + CONFIG_PALMAS_GPADC=m + CONFIG_RICHTEK_RTQ6056=m + CONFIG_SD_ADC_MODULATOR=m ++CONFIG_SUN20I_GPADC=m + CONFIG_TI_ADC081C=m + CONFIG_TI_ADC0832=m + CONFIG_TI_ADC084S021=m +@@ -9124,8 +9336,10 @@ # CONFIG_PWM_FSL_FTM is not set CONFIG_PWM_IQS620A=m CONFIG_PWM_LP3943=m @@ -793,7 +808,7 @@ CONFIG_PWM_TWL=m CONFIG_PWM_TWL_LED=m # CONFIG_PWM_XILINX is not set -@@ -9078,14 +9285,25 @@ +@@ -9145,14 +9359,25 @@ CONFIG_BOARD_TPCI200=m CONFIG_SERIAL_IPOCTAL=m CONFIG_RESET_CONTROLLER=y @@ -819,7 +834,17 @@ # # PHY drivers for Broadcom platforms -@@ -9157,6 +9375,7 @@ +@@ -9174,6 +9399,9 @@ + CONFIG_PHY_QCOM_USB_HS=m + CONFIG_PHY_QCOM_USB_HSIC=m + CONFIG_PHY_SAMSUNG_USB2=m ++CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=m ++CONFIG_PHY_STARFIVE_JH7110_PCIE=m ++CONFIG_PHY_STARFIVE_JH7110_USB=m + CONFIG_PHY_TUSB1210=m + # end of PHY Subsystem + +@@ -9224,6 +9452,7 @@ CONFIG_NVMEM_RAVE_SP_EEPROM=m CONFIG_NVMEM_RMEM=m @@ -827,7 +852,7 @@ # CONFIG_NVMEM_U_BOOT_ENV is not set # -@@ -9924,6 +10143,14 @@ +@@ -9990,6 +10219,14 @@ CONFIG_CRYPTO_HASH_INFO=y CONFIG_CRYPTO_HW=y @@ -842,7 +867,7 @@ CONFIG_CRYPTO_DEV_ATMEL_I2C=m CONFIG_CRYPTO_DEV_ATMEL_ECC=m CONFIG_CRYPTO_DEV_ATMEL_SHA204A=m -@@ -9943,6 +10170,7 @@ +@@ -10009,6 +10246,7 @@ # CONFIG_CRYPTO_DEV_CCREE is not set CONFIG_CRYPTO_DEV_AMLOGIC_GXL=m CONFIG_CRYPTO_DEV_AMLOGIC_GXL_DEBUG=y diff --git a/linux/riscv64.patch b/linux/riscv64.patch index ebf576735..09817ae67 100644 --- a/linux/riscv64.patch +++ b/linux/riscv64.patch @@ -1,36 +1,33 @@ diff --git PKGBUILD PKGBUILD -index 2b0f6d9..b1b9999 100644 +index b6368c8..43cd26a 100644 --- PKGBUILD +++ PKGBUILD -@@ -31,6 +31,8 @@ source=( +@@ -31,6 +31,7 @@ https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} $url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig} config # the main kernel config file + riscv64.config-patch -+ force-disable-sv57.patch::https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/kinetic/patch/?id=f38611903ae7808ab1b7427809f478fbe0d20917 ) validpgpkeys=( ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds -@@ -42,12 +44,16 @@ sha256sums=('c6662f64713f56bf30e009c32eac15536fad5fd1c02e8a3daf62a0dc2f058fd5' +@@ -42,12 +43,14 @@ 'SKIP' - '98c8e04079699a9316c37ed299a363c80ff9625388c492116683b929f35dcab6' + '9fd606b2ac0b4ae5df8867b7651574a2e5c480366bac224406fc34ad5d79009b' 'SKIP' -- '5aff0f8584e01165dc20cd107df338f57a13ce7f0da14e07f4c9097cd748469f') -+ '5aff0f8584e01165dc20cd107df338f57a13ce7f0da14e07f4c9097cd748469f' -+ '520543fabe16d58b5471a0a4215e980f1171713756a53e8bda0fedbad5c9d123' -+ '1198234049bade57f513db3a48f62e15967b3f7480fa71970978ba412ef0f997') - b2sums=('fb5fcc0dc79e2f615a550283481492a8185414d65369cbe805909112735593e5fc8bdbd482a347dc4cb3dcac979bea21cd03c503932e9321856eeea685d31c65' +- 'd2060f5045a30832d70a7747c780f1358a9f4cfc1811c8ccaeaab9c027b59ee4') ++ 'd2060f5045a30832d70a7747c780f1358a9f4cfc1811c8ccaeaab9c027b59ee4' ++ '46901a48ece321e80d242200b80dc9361c2ef71204482adc0da17b9194ce4f61') + b2sums=('3bb35ba0386b00aa76dfd073e87b0d5a319d3116a80c39b11a3acd1219bc7d8b3809c1def24a3c4f52abc60f70c170a2f80d80c6b54459eec016c5ddc404c6fc' 'SKIP' - '2b8309c03ae0dd7582b471e39b459fbcb653bd3971eda91576791b1dabe73aad89d4b468a59d0cf3e834f6085ad33ac5449b60a567960835f6f56dd739411262' + 'fda390a1633ea51e00b9d6ab4b89ca2e9ef472261e12e6e0d978d42678449150c384d2be1e9d9655704ffc2ad2f34b6e6dcf0b5862f1419d805e6c67e3e67bb3' 'SKIP' -- '1445dc90cf8bd3f2b9493e9e48eb76247bd37de412bdb247b132694e047ec260c25203836888ce6c1c864f46dab80b453b3f47d8b3a92f1f9dffc5589d7bc320') -+ '1445dc90cf8bd3f2b9493e9e48eb76247bd37de412bdb247b132694e047ec260c25203836888ce6c1c864f46dab80b453b3f47d8b3a92f1f9dffc5589d7bc320' -+ '6b1a8903ce7cc1b085be0b77216fa00170359275481e31aac061c6a7924fd7f60211ec8780ecf18ac818d4775e70c16fd04bc48ffae52ea65b77c2eccec36a2a' -+ '93f8ad6cdb8bbbca596d866d930e3c59817055f35bf8484f3b6edf622c6927b83f027a04c9a1f3b878968ce4caba70909861e3ebc413060a80729232c475f311') +- '926cb673701fdf939d70307506683b590a441ac82d8d768ad360798602fbc6157eb4dfdabe3950887e4383b92032d82bbdea00419582cfa47075a57f58ac4376') ++ '926cb673701fdf939d70307506683b590a441ac82d8d768ad360798602fbc6157eb4dfdabe3950887e4383b92032d82bbdea00419582cfa47075a57f58ac4376' ++ '1d2f0da3c8cd0bfcf0b8699af28e1c106a038d17868e4d0b62ea1fa18f75e5e08074010e69e51f9569ad297096704d92d72811e0b51f36ca8a4e12ae709f316b') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase -@@ -75,6 +81,12 @@ prepare() { +@@ -75,6 +78,12 @@ make olddefconfig diff -u ../config .config || : @@ -43,17 +40,17 @@ index 2b0f6d9..b1b9999 100644 make -s kernelrelease > version echo "Prepared $pkgbase version $(