Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3993003rdh; Fri, 29 Sep 2023 08:12:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPaBcOmBVkr6y4Mssx0vQwlver4s/V1sU8zugYljCeoWBVRs38OgqtLdev+O3+jfUtm6mH X-Received: by 2002:a05:6a00:a13:b0:682:4c1c:a0fc with SMTP id p19-20020a056a000a1300b006824c1ca0fcmr4992838pfh.19.1696000355539; Fri, 29 Sep 2023 08:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696000355; cv=none; d=google.com; s=arc-20160816; b=A0c0VojXPl/Um40F+/mfmw2IZSKRL+T/uOeY1hVXIAeML6viZA611YILEpGhW88FJx tjRnMF2f2VIjIBuNdn9KTjSkE1+uFOWVStNxGsWZ05d3/FQ43ReAIZhFwJx5npMD8nF3 IefIM7Aum1B1aDdnPcog/cVc7CoFbgs9lAY65LEjnBRKPPucxDc+N3/vlIVYlIl7fYkx C13uWy9Y17JhGlhpXbM6Hv2NU4cyYz47OUe4wup2LLpWDq5YChw7ME8Xf7ibyQ+Y+z0S k0SC7rxHqrFkkV3FdVAZNx8qeFYBxu/AzVO19l4OO7FS1l+YJ/s17Yal1DtBQhjBJg0l fVWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Yyf11Fj3Qqnn39qkKw+2vuyF59prh4lME7XY8v8wCwU=; fh=Ouex50cfFevAGTbHgaJi/2h8I4N/Q6uKBbvnPY7RPc0=; b=fYmJJobJGr+spEAupCqsM0IJY+nh31NOu9rTNA1GguvpWPo2F3e0Bqb/ww1N3iGm8m udOIwY09eLwiJiIoX8luTs/IMiVw1ff5Ai3lN0Uk8xbylQ2tuvA7BdKOHGTHmenJjMrU xf0DS+0Z3QcVSWsKsktZx79lzlxDcg+siJTlwu+LqBMbC5qTbv4fUao7kkicJ6V4US7M EsmZ2kc/x9YlC7JMrgQeWt7UNrP8PV2StDrJsJIy8qB6bmrpt3aXeCLC3Jy0/3fClPx0 XUzI0HartOo0wPIT1AzGXiM64hKcRZ+CYSkpaCwZ2M6AXklAZSXHnJVEnD/kvy7SF92l ZyPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=npMVbxDW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id k7-20020a634b47000000b005774c943feasi22337287pgl.735.2023.09.29.08.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 08:12:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=npMVbxDW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8FA4481AC68F; Fri, 29 Sep 2023 07:15:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233279AbjI2OPF (ORCPT + 99 others); Fri, 29 Sep 2023 10:15:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233540AbjI2OOt (ORCPT ); Fri, 29 Sep 2023 10:14:49 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EADB198E; Fri, 29 Sep 2023 07:14:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBC54C433C7; Fri, 29 Sep 2023 14:14:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695996864; bh=ssgQ4DcrH/d/Y+jEvzsOmpDXmXsE5fRXbAXnRqgGFOc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=npMVbxDWkXnJ0AZ/ihiW4E4CWPHnPma+H6SHej/md4QeFTyyQggNcuIOyDV1WNlgz csrzjxvpjOpM9/JsOvKMP0xu3u9dxELMt5Ez4gBczCJVYXX/1ZORK/tPa/+AD8n2i+ TUDS7ebJGzZAQysn6kimS8sJD60t5KRICZppv9vbRLM/Gc5hhJtpccDWe6mCJyCaKb k/KgGwSFbSgumJm4sb4PioBzGesH2+4a77bkAUMI3CGv1eDuldkxNNPkdSqpkL6unX 1KaUj0QfaaNcpOSWU29N6GdQQjdfNsiBxaaHwigXE2HF8LWjXMLGJtNaEZoC4Rmvop Nt/LpVSXKNfew== Date: Fri, 29 Sep 2023 15:14:19 +0100 From: Conor Dooley To: Prabhakar Cc: Geert Uytterhoeven , Magnus Damm , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Biju Das , Lad Prabhakar Subject: Re: [PATCH 5/5] riscv: configs: defconfig: Enable configs required for RZ/Five SoC Message-ID: <20230929-professed-imperfect-4b2ed9073e04@spud> References: <20230929000704.53217-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20230929000704.53217-6-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZzHljyrsO//eh7DR" Content-Disposition: inline In-Reply-To: <20230929000704.53217-6-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Spam-Status: No, score=-0.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UPPERCASE_50_75 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 29 Sep 2023 07:15:31 -0700 (PDT) --ZzHljyrsO//eh7DR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 29, 2023 at 01:07:04AM +0100, Prabhakar wrote: > From: Lad Prabhakar >=20 > Enable the configs required by the below IP blocks which are > present on RZ/Five SoC: > * ADC > * CANFD > * DMAC > * eMMC/SDHI > * OSTM > * RAVB (+ Micrel PHY) > * RIIC > * RSPI > * SSI (Sound+WM8978 codec) > * Thermal > * USB (PHY/RESET/OTG) >=20 > Along with the above some core configs are enabled too, > -> CPU frequency scaling as RZ/Five does support this. > -> MTD is enabled as RSPI can be connected to flash chips > -> Enabled I2C chardev so that it enables userspace to read/write > i2c devices (similar to arm64) > -> Thermal configs as RZ/Five SoC does have thermal unit > -> GPIO regulator as we might have IP blocks for which voltage > levels are controlled by GPIOs You might or you do? Either way, this stuff seems fine to me /shrug Acked-by: Conor Dooley Thanks, Conor. > -> OTG configs as RZ/Five USB can support host/function > -> Gadget configs so that we can test USB function (as done in arm64 > all the gadget configs are enabled) >=20 > Signed-off-by: Lad Prabhakar > --- > arch/riscv/configs/defconfig | 52 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 52 insertions(+) >=20 > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index ab86ec3b9eab..1e81c865a271 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -36,6 +36,13 @@ CONFIG_SMP=3Dy > CONFIG_HOTPLUG_CPU=3Dy > CONFIG_PM=3Dy > CONFIG_CPU_IDLE=3Dy > +CONFIG_CPU_FREQ=3Dy > +CONFIG_CPU_FREQ_STAT=3Dy > +CONFIG_CPU_FREQ_GOV_POWERSAVE=3Dm > +CONFIG_CPU_FREQ_GOV_USERSPACE=3Dy > +CONFIG_CPU_FREQ_GOV_ONDEMAND=3Dy > +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=3Dm > +CONFIG_CPUFREQ_DT=3Dy > CONFIG_VIRTUALIZATION=3Dy > CONFIG_KVM=3Dm > CONFIG_ACPI=3Dy > @@ -94,6 +101,7 @@ CONFIG_NETLINK_DIAG=3Dy > CONFIG_CGROUP_NET_PRIO=3Dy > CONFIG_NET_9P=3Dy > CONFIG_NET_9P_VIRTIO=3Dy > +CONFIG_CAN=3Dm > CONFIG_PCI=3Dy > CONFIG_PCIEPORTBUS=3Dy > CONFIG_PCI_HOST_GENERIC=3Dy > @@ -101,6 +109,11 @@ CONFIG_PCIE_XILINX=3Dy > CONFIG_PCIE_FU740=3Dy > CONFIG_DEVTMPFS=3Dy > CONFIG_DEVTMPFS_MOUNT=3Dy > +CONFIG_MTD=3Dy > +CONFIG_MTD_BLOCK=3Dy > +CONFIG_MTD_CFI=3Dy > +CONFIG_MTD_CFI_ADV_OPTIONS=3Dy > +CONFIG_MTD_SPI_NOR=3Dy > CONFIG_BLK_DEV_LOOP=3Dy > CONFIG_VIRTIO_BLK=3Dy > CONFIG_BLK_DEV_NVME=3Dm > @@ -123,8 +136,11 @@ CONFIG_VIRTIO_NET=3Dy > CONFIG_MACB=3Dy > CONFIG_E1000E=3Dy > CONFIG_R8169=3Dy > +CONFIG_RAVB=3Dy > CONFIG_STMMAC_ETH=3Dm > +CONFIG_MICREL_PHY=3Dy > CONFIG_MICROSEMI_PHY=3Dy > +CONFIG_CAN_RCAR_CANFD=3Dm > CONFIG_INPUT_MOUSEDEV=3Dy > CONFIG_KEYBOARD_SUN4I_LRADC=3Dm > CONFIG_SERIAL_8250=3Dy > @@ -135,16 +151,24 @@ CONFIG_SERIAL_SH_SCI=3Dy > CONFIG_VIRTIO_CONSOLE=3Dy > CONFIG_HW_RANDOM=3Dy > CONFIG_HW_RANDOM_VIRTIO=3Dy > +CONFIG_I2C_CHARDEV=3Dm > CONFIG_I2C_MV64XXX=3Dm > +CONFIG_I2C_RIIC=3Dy > CONFIG_SPI=3Dy > +CONFIG_SPI_RSPI=3Dm > CONFIG_SPI_SIFIVE=3Dy > CONFIG_SPI_SUN6I=3Dy > # CONFIG_PTP_1588_CLOCK is not set > CONFIG_GPIO_SIFIVE=3Dy > +CONFIG_CPU_THERMAL=3Dy > +CONFIG_DEVFREQ_THERMAL=3Dy > +CONFIG_RZG2L_THERMAL=3Dy > CONFIG_WATCHDOG=3Dy > CONFIG_SUNXI_WATCHDOG=3Dy > +CONFIG_RENESAS_RZG2LWDT=3Dy > CONFIG_REGULATOR=3Dy > CONFIG_REGULATOR_FIXED_VOLTAGE=3Dy > +CONFIG_REGULATOR_GPIO=3Dy > CONFIG_DRM=3Dm > CONFIG_DRM_RADEON=3Dm > CONFIG_DRM_NOUVEAU=3Dm > @@ -152,39 +176,67 @@ CONFIG_DRM_SUN4I=3Dm > CONFIG_DRM_VIRTIO_GPU=3Dm > CONFIG_FB=3Dy > CONFIG_FRAMEBUFFER_CONSOLE=3Dy > +CONFIG_SOUND=3Dy > +CONFIG_SND=3Dy > +CONFIG_SND_SOC=3Dy > +CONFIG_SND_SOC_RZ=3Dm > +CONFIG_SND_SOC_WM8978=3Dm > +CONFIG_SND_SIMPLE_CARD=3Dm > CONFIG_USB=3Dy > +CONFIG_USB_OTG=3Dy > CONFIG_USB_XHCI_HCD=3Dy > CONFIG_USB_XHCI_PLATFORM=3Dy > CONFIG_USB_EHCI_HCD=3Dy > CONFIG_USB_EHCI_HCD_PLATFORM=3Dy > CONFIG_USB_OHCI_HCD=3Dy > CONFIG_USB_OHCI_HCD_PLATFORM=3Dy > +CONFIG_USB_RENESAS_USBHS=3Dm > CONFIG_USB_STORAGE=3Dy > CONFIG_USB_UAS=3Dy > CONFIG_USB_MUSB_HDRC=3Dm > CONFIG_USB_MUSB_SUNXI=3Dm > CONFIG_NOP_USB_XCEIV=3Dm > +CONFIG_USB_GADGET=3Dy > +CONFIG_USB_RENESAS_USBHS_UDC=3Dm > +CONFIG_USB_CONFIGFS=3Dm > +CONFIG_USB_CONFIGFS_SERIAL=3Dy > +CONFIG_USB_CONFIGFS_ACM=3Dy > +CONFIG_USB_CONFIGFS_OBEX=3Dy > +CONFIG_USB_CONFIGFS_NCM=3Dy > +CONFIG_USB_CONFIGFS_ECM=3Dy > +CONFIG_USB_CONFIGFS_ECM_SUBSET=3Dy > +CONFIG_USB_CONFIGFS_RNDIS=3Dy > +CONFIG_USB_CONFIGFS_EEM=3Dy > +CONFIG_USB_CONFIGFS_MASS_STORAGE=3Dy > +CONFIG_USB_CONFIGFS_F_FS=3Dy > CONFIG_MMC=3Dy > CONFIG_MMC_SDHCI=3Dy > CONFIG_MMC_SDHCI_PLTFM=3Dy > CONFIG_MMC_SDHCI_CADENCE=3Dy > CONFIG_MMC_SPI=3Dy > +CONFIG_MMC_SDHI=3Dy > CONFIG_MMC_SUNXI=3Dy > CONFIG_RTC_CLASS=3Dy > CONFIG_RTC_DRV_SUN6I=3Dy > CONFIG_DMADEVICES=3Dy > CONFIG_DMA_SUN6I=3Dm > +CONFIG_RZ_DMAC=3Dy > CONFIG_VIRTIO_PCI=3Dy > CONFIG_VIRTIO_BALLOON=3Dy > CONFIG_VIRTIO_INPUT=3Dy > CONFIG_VIRTIO_MMIO=3Dy > +CONFIG_RENESAS_OSTM=3Dy > CONFIG_SUN8I_DE2_CCU=3Dm > CONFIG_SUN50I_IOMMU=3Dy > CONFIG_RPMSG_CHAR=3Dy > CONFIG_RPMSG_CTRL=3Dy > CONFIG_RPMSG_VIRTIO=3Dy > CONFIG_ARCH_R9A07G043=3Dy > +CONFIG_IIO=3Dy > +CONFIG_RZG2L_ADC=3Dm > +CONFIG_RESET_RZG2L_USBPHY_CTRL=3Dy > CONFIG_PHY_SUN4I_USB=3Dm > +CONFIG_PHY_RCAR_GEN3_USB2=3Dy > CONFIG_LIBNVDIMM=3Dy > CONFIG_NVMEM_SUNXI_SID=3Dy > CONFIG_EXT4_FS=3Dy > --=20 > 2.34.1 >=20 --ZzHljyrsO//eh7DR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRbbuwAKCRB4tDGHoIJi 0oUWAQDEFgrLqWHwmNtRPP3fdgf0qPAGTqG2pKoks0K/CtjkIAD/RGWbDhSN0ofN oXGkFKzf1k0ZLIum+eG+buAIwWjeTwc= =p1UH -----END PGP SIGNATURE----- --ZzHljyrsO//eh7DR--