From patchwork Tue Nov 1 11:21:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 13026894 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4ABBCC433FE for ; Tue, 1 Nov 2022 11:23:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oveUhkOaOBA6+pMkto+A2/vqwaAu7SHV3HJowsJtxvo=; b=YH60gTvajtu0UU N+wO5cC7g5dV8BuXGVZQuOfO+lXML/23kua0/rg64x+T3MIix6xP8AcUDTyhU02stmt3BJQjFnKHs mKdhZMo2EiF5JeXrztdtV5vhiDTJytxfzahl4gcDQCdXAYvJMz876id6n4No/k/aB1ZCE9z2MVwhr LBr2meIl0eQdyCfNQVOUVqAe58u+G2z2LbFZLwSxuA9y8tWXMDbmtjzvGhjA3yoNv8qoNJbnWqmpj BDs76lu9OD88svi8YvSN74adoWqcBNC0LeW4Eo3qz9JqvmvTuws0oaQwUpcurEF96S1bFFzidV+iB qqQpEoQ6p7JFaWRasoGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oppLL-004Zr9-6q; Tue, 01 Nov 2022 11:22:07 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oppLK-004Zr3-5s for linux-arm-kernel@bombadil.infradead.org; Tue, 01 Nov 2022 11:22:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=IzCZq0z6NLUD33oD/c0q1c01gvWkGEKUzr+gsh/X04g=; b=SlRvCuJYB8ZGmpnyi81MyibG6N mceIaf6kcas7lugRw22NzYEqFr5FeeWxtInjNfBIOK4YopExXLbxuXWw/bDi3HOGzs9y42emmcHl6 DJZlfp76sOUKEFHQg+rh3XFCT95iH/K6n0JUdu1J3JSA8s5mqb2da94XZAZnBH056o203ugAPy+Nx NNWOMnNfmB04pKFDgAuMc5VcFC/hJpzjlt9LA8jr/tNnwOiXxSOtLYiNh8GtxnGPZ5UnDrSDc2Wvd zbdQrX5+H11ME6sIhM0COBQHb4ODVcm8R2mgXzCw+yVUvNC3XqVrhSjlLjqq5akbP4viTEpPdO6LY 6yxkVbbg==; Received: from mout.gmx.net ([212.227.15.19]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oppLB-0087Kq-Ag for linux-arm-kernel@lists.infradead.org; Tue, 01 Nov 2022 11:22:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1667301707; bh=SNn2ztNgHSI1Eaozxi2RD7RWfXb7kGVwqgrmpAQeoU0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=fccCwBk3KkJgyTTVolrfHwHtGMRfuzXy/F+MIjaGUBitLFdqkNR/CadHsj8U/5TzI 8utwZjG7tRqpJkhPIFkMCQi1W/ONz3FWDpOWjLww7JAYA5N9h62KgJKphD/AsCAC67 mkzeF4kF4ur4P1nr4wCNAU7+Aj2l1M7ILdyekX9gLMUfkZjrOTZToh/FzvAh+vPmhu UL4gD9qX8lsmqrl3UxBfcJASSbfzUxr02qGjlhT3stTzhcibXtVen/azhwsP1/nQTk ESlbIzqniihdRWJ0WXVnwabz+iZdPUYHfaMZiWyXCcsiSDcIsesuCljLewkdoJv0PC 9mw1wXLlQyJzg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([95.223.44.31]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MCKFk-1ohc8v0RBC-009MqG; Tue, 01 Nov 2022 12:21:47 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org Cc: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Russell King , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3] ARM: Add wpcm450_defconfig for Nuvoton WPCM450 Date: Tue, 1 Nov 2022 12:21:34 +0100 Message-Id: <20221101112134.673869-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:1Pt83EjlArUpPNX6+NB6SQyVSbALIn6wRdmuBjPVhV1d75PkrlC 9sLCgpWmjy9iQwEFk1AzIVOiyISWGRs08L0C9pjb2CzN+7M+IaZAQ9NTK1Flu47gbm9VNsu GnSKXv/TpiHej/AtPFS3GW49rtde7WYw8+8ukMNFTRkdztmOxBZWNKtGmsBMLG/xAqRI0ZL 9UEDM4ONi1BbRxKr3Yt7w== UI-OutboundReport: notjunk:1;M01:P0:U5pHjGQj/jI=;ZpEIBanVqsRq2mz0JZtpof9cKMq d3XKFK5YFUbMI5fWzAXXtu4dcskEEkIsRnsFqonsNzRpBsFvwifFZdjV21oNz8lsfMQl3h7Nb e0PTC1zREy+7nHhKzpxa1MI7HEhOVy7RDQqg8BINXgNJkohJIN5g6DVFEB4mQEPjWQaPUgG8b Wrvb/mI+wAJ0ED/1XLId/I6kylPRhZUkrwG6holuvMmIXsryvuK8YXRQBqqKGc6d2HCi/o0sJ EoSfURTlmk/MbmEU7TKnbZdyxf4nnlVclStWOSF6hWW8dPCRlg7t2WMdjo0M8rRH2t0q/O6lo LvwqxOC1mmVuZuDa2vToFwqxI72rog4acp1UHnLTbJo1jZ4JMBAkmQxErkyYhYTCBkacw/6uy VSGX0SPR1aMmlbba4Yq5xDIbut3bGYNAu/vI286HIL2xAIfhEm7wsaUO20iGACfXlvk4SlTK3 gWAiaV3yBF3Y4/bRmTJKzcWbvyGJDRmt3wA+rU/HSwwX/Ij7p4sV/01gIkYeMWOVW/RWeByrU /ZLfCyb8JCWm8OW4VbeqMTLwbGSft5UI+s9MHG8M1ur8L5WBW3e/MVD2vanMy6rQCV2Efh7yN ny2mNtqYmRGlpU1xxwpniGPZuYOGnCkXqs4ZYmre52d3yMjhOD77Qy3TvaqnfnSWGguhOLwCS Co2JL8tFnAjigZdQKY3NepvSyNog9dNZY/jIENWk8rY08jIp+VmTljH+KfUCNe6RxsrCjA68F CKo76Y63WIOxrWJ5fYuFYhr4kGOBIvGwTMWdFocimF2/RLnjys7Tw5gmGPqUP6T9sjjWMWlLO LEdl4CKo9OPPn3sZ/vCg2fiONwftif6W+OzTWszLVJmCDGnAvizTZcmXfmKFW/rvSX6IYR6+/ +n4M40fPj6qSr8CV8+NwN8X1o+2LR/ybLgeO0bT+VK8+E1o7eeqxVcqRA+SOWjkVd77TozpBV 4ghe0VqlhSD2pMsKwX258RoLkWo= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221101_112157_939009_F3283F12 X-CRM114-Status: GOOD ( 13.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This defconfig aims to offer a reasonable set of defaults for all systems running on a Nuvoton WPCM450 chip. Signed-off-by: Jonathan Neuschäfer Reviewed-by: Joel Stanley --- v3: - Regenerate for 6.1-rc1 and enable a few Nuvoton-specific options as well as the PECI subsystem v2: - Regenerate for 5.19-rc1 --- MAINTAINERS | 1 + arch/arm/configs/wpcm450_defconfig | 213 +++++++++++++++++++++++++++++ 2 files changed, 214 insertions(+) create mode 100644 arch/arm/configs/wpcm450_defconfig -- 2.35.1 diff --git a/MAINTAINERS b/MAINTAINERS index cf0f185023724..cac5a4ad4eb8a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2543,6 +2543,7 @@ S: Maintained W: https://github.com/neuschaefer/wpcm450/wiki F: Documentation/devicetree/bindings/*/*wpcm* F: arch/arm/boot/dts/nuvoton-wpcm450* +F: arch/arm/configs/wpcm450_defconfig F: arch/arm/mach-npcm/wpcm450.c F: drivers/*/*/*wpcm* F: drivers/*/*wpcm* diff --git a/arch/arm/configs/wpcm450_defconfig b/arch/arm/configs/wpcm450_defconfig new file mode 100644 index 0000000000000..702f2bf909f93 --- /dev/null +++ b/arch/arm/configs/wpcm450_defconfig @@ -0,0 +1,213 @@ +CONFIG_SYSVIPC=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_PREEMPT=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=19 +CONFIG_CGROUPS=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_PROFILING=y +# CONFIG_ARCH_MULTI_V7 is not set +CONFIG_ARCH_NPCM=y +CONFIG_ARCH_WPCM450=y +CONFIG_CPU_DCACHE_WRITETHROUGH=y +CONFIG_AEABI=y +CONFIG_UACCESS_WITH_MEMCPY=y +# CONFIG_ATAGS is not set +CONFIG_ARM_APPENDED_DTB=y +CONFIG_KEXEC=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y +CONFIG_CPU_IDLE=y +CONFIG_KPROBES=y +CONFIG_JUMP_LABEL=y +CONFIG_STRICT_KERNEL_RWX=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_PACKET_DIAG=y +CONFIG_UNIX=y +CONFIG_UNIX_DIAG=y +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_PNP_BOOTP=y +CONFIG_NET_DSA=y +CONFIG_NET_DSA_TAG_DSA=y +CONFIG_NET_DSA_TAG_EDSA=y +CONFIG_NET_DSA_TAG_TRAILER=y +CONFIG_NET_PKTGEN=m +# CONFIG_WIRELESS is not set +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_MTD=y +CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_UBI=y +CONFIG_MTD_UBI_FASTMAP=y +CONFIG_MTD_UBI_BLOCK=y +CONFIG_BLK_DEV_LOOP=y +CONFIG_SRAM=y +CONFIG_EEPROM_AT24=y +CONFIG_SCSI=y +# CONFIG_SCSI_PROC_FS is not set +# CONFIG_SCSI_LOWLEVEL is not set +CONFIG_NETDEVICES=y +# CONFIG_NET_VENDOR_ALACRITECH is not set +# CONFIG_NET_VENDOR_AMAZON is not set +# CONFIG_NET_VENDOR_AQUANTIA is not set +# CONFIG_NET_VENDOR_ARC is not set +# CONFIG_NET_VENDOR_BROADCOM is not set +# CONFIG_NET_VENDOR_CADENCE is not set +# CONFIG_NET_VENDOR_CAVIUM is not set +# CONFIG_NET_VENDOR_CIRRUS is not set +# CONFIG_NET_VENDOR_CORTINA is not set +# CONFIG_NET_VENDOR_EZCHIP is not set +# CONFIG_NET_VENDOR_FARADAY is not set +# CONFIG_NET_VENDOR_GOOGLE is not set +# CONFIG_NET_VENDOR_HISILICON is not set +# CONFIG_NET_VENDOR_HUAWEI is not set +# CONFIG_NET_VENDOR_INTEL is not set +# CONFIG_NET_VENDOR_MARVELL is not set +# CONFIG_NET_VENDOR_MELLANOX is not set +# CONFIG_NET_VENDOR_MICREL is not set +# CONFIG_NET_VENDOR_MICROCHIP is not set +# CONFIG_NET_VENDOR_MICROSEMI is not set +# CONFIG_NET_VENDOR_NI is not set +# CONFIG_NET_VENDOR_NATSEMI is not set +# CONFIG_NET_VENDOR_NETRONOME is not set +# CONFIG_NET_VENDOR_PENSANDO is not set +# CONFIG_NET_VENDOR_QUALCOMM is not set +# CONFIG_NET_VENDOR_RENESAS is not set +# CONFIG_NET_VENDOR_ROCKER is not set +# CONFIG_NET_VENDOR_SAMSUNG is not set +# CONFIG_NET_VENDOR_SEEQ is not set +# CONFIG_NET_VENDOR_SOLARFLARE is not set +# CONFIG_NET_VENDOR_SMSC is not set +# CONFIG_NET_VENDOR_SOCIONEXT is not set +# CONFIG_NET_VENDOR_STMICRO is not set +# CONFIG_NET_VENDOR_SYNOPSYS is not set +# CONFIG_NET_VENDOR_VIA is not set +# CONFIG_NET_VENDOR_WIZNET is not set +# CONFIG_NET_VENDOR_XILINX is not set +CONFIG_REALTEK_PHY=y +# CONFIG_WLAN is not set +CONFIG_INPUT_FF_MEMLESS=y +CONFIG_INPUT_EVDEV=y +CONFIG_KEYBOARD_QT1070=m +CONFIG_KEYBOARD_GPIO=y +# CONFIG_INPUT_MOUSE is not set +CONFIG_VT_HW_CONSOLE_BINDING=y +CONFIG_LEGACY_PTY_COUNT=16 +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=6 +CONFIG_SERIAL_8250_RUNTIME_UARTS=6 +CONFIG_SERIAL_8250_EXTENDED=y +CONFIG_SERIAL_8250_MANY_PORTS=y +CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_NPCM7XX_KCS_IPMI_BMC=y +CONFIG_IPMI_KCS_BMC_CDEV_IPMI=y +CONFIG_IPMI_KCS_BMC_SERIO=y +CONFIG_HW_RANDOM=y +# CONFIG_HW_RANDOM_NPCM is not set +CONFIG_I2C=y +# CONFIG_I2C_COMPAT is not set +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_NPCM=y +CONFIG_SPI=y +CONFIG_SPI_NPCM_PSPI=y +CONFIG_PINCTRL_SINGLE=y +CONFIG_PINCTRL_WPCM450=y +CONFIG_POWER_SUPPLY=y +CONFIG_SENSORS_NPCM7XX=y +# CONFIG_THERMAL is not set +CONFIG_WATCHDOG=y +CONFIG_NPCM7XX_WATCHDOG=y +CONFIG_MFD_SYSCON=y +CONFIG_REGULATOR=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_FB=y +CONFIG_FB_MODE_HELPERS=y +# CONFIG_HID is not set +CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA_UDC=y +CONFIG_USB_GADGET=y +CONFIG_USB_CONFIGFS=y +CONFIG_USB_CONFIGFS_SERIAL=y +CONFIG_USB_CONFIGFS_ACM=y +CONFIG_USB_CONFIGFS_EEM=y +CONFIG_USB_CONFIGFS_MASS_STORAGE=y +CONFIG_USB_CONFIGFS_F_FS=y +CONFIG_USB_CONFIGFS_F_HID=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y +CONFIG_DMADEVICES=y +CONFIG_SYNC_FILE=y +# CONFIG_VIRTIO_MENU is not set +# CONFIG_VHOST_MENU is not set +CONFIG_STAGING=y +# CONFIG_IOMMU_SUPPORT is not set +CONFIG_PWM=y +CONFIG_GENERIC_PHY=y +CONFIG_PECI=y +CONFIG_PECI_CPU=y +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y +CONFIG_TMPFS=y +CONFIG_UBIFS_FS=y +CONFIG_SQUASHFS=y +CONFIG_SQUASHFS_XZ=y +CONFIG_SQUASHFS_ZSTD=y +# CONFIG_NETWORK_FILESYSTEMS is not set +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_CODEPAGE_850=y +CONFIG_NLS_ISO8859_1=y +CONFIG_NLS_ISO8859_2=y +CONFIG_NLS_UTF8=y +CONFIG_KEYS=y +CONFIG_HARDENED_USERCOPY=y +CONFIG_FORTIFY_SOURCE=y +CONFIG_CRYPTO_RSA=y +CONFIG_CRYPTO_AES=y +CONFIG_CRYPTO_CBC=m +CONFIG_CRYPTO_PCBC=m +CONFIG_CRYPTO_CCM=y +CONFIG_CRYPTO_GCM=y +CONFIG_CRYPTO_CMAC=y +CONFIG_CRYPTO_SHA256=y +CONFIG_ASYMMETRIC_KEY_TYPE=y +CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y +CONFIG_X509_CERTIFICATE_PARSER=y +CONFIG_PKCS7_MESSAGE_PARSER=y +CONFIG_SYSTEM_TRUSTED_KEYRING=y +CONFIG_CRC_CCITT=y +CONFIG_CRC_ITU_T=m +CONFIG_LIBCRC32C=y +CONFIG_PRINTK_TIME=y +CONFIG_DEBUG_KERNEL=y +CONFIG_MAGIC_SYSRQ=y +CONFIG_DEBUG_FS=y +# CONFIG_SCHED_DEBUG is not set +# CONFIG_DEBUG_PREEMPT is not set +# CONFIG_FTRACE is not set +CONFIG_IO_STRICT_DEVMEM=y +CONFIG_DEBUG_USER=y +CONFIG_DEBUG_LL=y +CONFIG_DEBUG_LL_UART_8250=y +CONFIG_DEBUG_UART_PHYS=0xb8000000 +CONFIG_DEBUG_UART_VIRT=0x0ff000000 +CONFIG_DEBUG_UART_8250_WORD=y +CONFIG_EARLY_PRINTK=y