From patchwork Mon Mar 11 00:20:59 2024 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: 1910267 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=j.neuschaefer@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=Ug/TvaBx; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TtHXD4YVnz1yWy for ; Mon, 11 Mar 2024 11:22:03 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=j.neuschaefer@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=Ug/TvaBx; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TtHXB4nWXz3cy8 for ; Mon, 11 Mar 2024 11:22:02 +1100 (AEDT) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=gmx.net header.i=j.neuschaefer@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=Ug/TvaBx; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmx.net (client-ip=212.227.15.15; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=lists.ozlabs.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TtHWn0NQWz3cLj for ; Mon, 11 Mar 2024 11:21:38 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1710116476; x=1710721276; i=j.neuschaefer@gmx.net; bh=U+sxRRHPcpCTUp9Fy/kQzoAU3jSMw5ywh6nROufz+zs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Ug/TvaBxp+kz8KuaVU8O3X+kLj/R0zXkBti/xkje89GKMIcf04ilWR26/FgI3zBA Z+50hVCa+FWZ4K7LpwATrlfWdtmBXbghHVSBlX5mobATmIL61DnrLmrZgT6ltVQbg 0xLACTfLw1t0DMclq6myvPBiXB9Rmn33qYZcydcoqgavJXwmeJpQKyTB1ZQCZipiT x3/vtgxL26+MAJb8pfIhI4INhwQNNwGPVv7Jrpqaw4fhlpoWyn1kw7QgkO1v+7lXU BjCjjHhDaFqo7ZyMBDeI60P8TijYyZvkekRQZAvDEYXXpR5Ah5xM91lL//FiCzeDd McQLSk6JTtxLMeyYlQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([78.35.216.168]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N2V0H-1qgOMF2KNT-013zfW; Mon, 11 Mar 2024 01:21:16 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-kernel@vger.kernel.org Subject: [PATCH v6 1/2] soc: nuvoton: Add a menu for Nuvoton SoC drivers Date: Mon, 11 Mar 2024 01:20:59 +0100 Message-ID: <20240311002104.2829298-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:kUuwesSoIoTkia1ovBbz6lZETCKVQRyngZikpSKFzmdu99ATNVs QcMXLBDlWFLz2v707upXcCAUX1y9gI5Naq7jWD/p9LDmNT8rWfIDIdeTphrDa7RrPOBroPa ogwlKumg96QtW0Po7krBD7ho422LnpFHtBZ0B6/ksT1R9lbP5SAplMhcgFYEViTxFeQQZlO clxKXskFp2ejxLijggMmQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:LJ17IaWkbrM=;3zEqmJio95wLAbDJgUu14/E9N4W 6w95NL807o3c9MImNJ7DL4qa1JGF1fA7V/92mbVe06OztD2W/LFXrhuOQurr+U8ynct/eOj69 fx4ajdnhlPA6oGsqBv/zq7jqC4HFDkm4YznDOJ+GxmHCyfXU1PI8vxrtSJbGaPWaJpj1l4515 QbIyT+jHlPY6BsXcTbdfYcghJv/y/14vx/vXQok887j9Nqsduya3KuhanbYQOQzTbZFrLFmRS TFaUcED80cbc1SXhRx0h5NoGXjGNqlWQPZ+SFSnA24dBc0pO+rExXfpcNe/EEkVnv4PQ25Vhn /NX/BZegoLxbIhYnc8smjT2WSvIhJ7hjTSfdRrhTTM2qO4uveYJJRoaDqTmEQ6TbrskmheKP7 TtzRtfhUp9pJXhIWduW5N7Yx8AXUFa/w1WZ9gZAVm+yM9jbMx1YIJi7lHpLB83mgdlYRNN/Ud yhsYDFf84irkkqeYCP0bXAqVFAlEtb9Q/SDndLBstY5ozNGauym9uecwTsm9d411SzMdJlOfI +H7yCzVAuYrsQzPfdBZxWs5QQ3UkAYZLFMlK4oTeKyY98HiyiSfbhEJBAWhRJEwvysK5AFVpD rRghoajQb7nkF3A4gURI5C+vF2qbiwjO0Bwav3fgRAtp+MpajghZwoA03zB74BLAVrosLVdEk uSPUpgvlctQy/X/aicNRFiKRRer0gJ25E91mgJ1Yb62JS8SRHM357STyBGi91Q9cnIJaMg9FN Bxg/gp/GcLkeoSz4OE4lfPrwBoh0F5CswyvUWt4LYngAJRRxEN4hUS09PJsZkWMGva8rS5SOM fGcM8U3+Q0shhfwwBnR0auXsMbqksCZwV9fPQbzZEst4Q= X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Menzel , Arnd Bergmann , Geert Uytterhoeven , openbmc@lists.ozlabs.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Geert Uytterhoeven , Joel Stanley Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Add a menu "Nuvoton SoC drivers" to make it easier to add other Nuvoton SoC drivers later on and to prevent asking about the Nuvoton WPCM450 SoC driver when configuring a kernel without support for Nuvoton SoCs. Reported-by: Geert Uytterhoeven Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/ Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450") Signed-off-by: Jonathan Neuschäfer Reviewed-by: Geert Uytterhoeven --- v6: - no changes v5: - Rebase on 6.6-rc2 v4: - Add Geert's tag - Fix commit reference - Change Link tag to Closes v3: - Split the commit into two - Reword the commit messages a bit v2: - https://lore.kernel.org/lkml/20230212215234.2608565-1-j.neuschaefer@gmx.net/ - Commit message improvements, as suggested by Geert Uytterhoeven. - Add Link after Reviewed-by, as checkpatch.pl now suggests --- drivers/soc/nuvoton/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.43.0 diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig index df46182088ec21..853392c8a9151a 100644 --- a/drivers/soc/nuvoton/Kconfig +++ b/drivers/soc/nuvoton/Kconfig @@ -1,5 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 -menuconfig WPCM450_SOC +menu "Nuvoton SoC drivers" + depends on ARCH_NPCM || COMPILE_TEST + +config WPCM450_SOC tristate "Nuvoton WPCM450 SoC driver" default y if ARCH_WPCM450 select SOC_BUS @@ -9,3 +12,5 @@ menuconfig WPCM450_SOC This driver provides information such as the SoC model and revision. + +endmenu From patchwork Mon Mar 11 00:21:00 2024 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: 1910268 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=j.neuschaefer@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=U0+naqu2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TtHY91GsNz1yWy for ; Mon, 11 Mar 2024 11:22:53 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=j.neuschaefer@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=U0+naqu2; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TtHY90V3Tz3dS8 for ; Mon, 11 Mar 2024 11:22:53 +1100 (AEDT) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=gmx.net header.i=j.neuschaefer@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=U0+naqu2; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmx.net (client-ip=212.227.15.19; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=lists.ozlabs.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TtHWp6b6rz3cLj for ; Mon, 11 Mar 2024 11:21:42 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1710116478; x=1710721278; i=j.neuschaefer@gmx.net; bh=7vtle+VHuBY6t0ucAA0nAPGWrAMPibARvVodmEV/ewI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To: References; b=U0+naqu22VBavENikeAP+jlWQeRTv1aqnLL9mB0QbkQVSJLrGx81hgf9AMdYz5Cc rwX5AT5IJ1n7rjeLqVBkLy4GxUmiCgxz5d2fj6uzVg87zIlLlJNEkbxauch49By7u N4OW6yG2w2frf+zoQxQ6Gy1MDX7AIRMpgSdQLgvKtA9XnSUh8vXLf0Flq40SlCA92 gRSiFqIjMcP2Wj/OdIpmeAyLHzzDQxHMN+yvwjIc0oe8CEqp/xhn8khhjcUhZ6ST6 bHv725U516T+ROdaw4Dp7bXm6AAqucESm0gjgjgAGSeiYf8p9lhA3PnYcmyNOGOCs pMgfa47CSUhXHgiUSg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([78.35.216.168]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N9MpS-1qnIF82ES4-015HGJ; Mon, 11 Mar 2024 01:21:18 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-kernel@vger.kernel.org Subject: [PATCH v6 2/2] soc: nuvoton: Add "select REGMAP" to WPCM450 SoC driver Date: Mon, 11 Mar 2024 01:21:00 +0100 Message-ID: <20240311002104.2829298-2-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240311002104.2829298-1-j.neuschaefer@gmx.net> References: <20240311002104.2829298-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:Fm898HXtkh9qFM4PMdffxxzwkcsHvlCnk9FGqZ1wyudJ9oQJAp5 fL6BQ5LzAgl7dJGoYs4bHhHYpID5xUT5mg8ckLe+k8ubk9M1KR3C9LrrtfA5WSOAU0IeHcG XbFIH9HSdg8wua8To9wRvoDCAYcsHwDZFJ1Oc7+puVlvUwOjDaFJxxc96+qjAQPhCPL0MRd 2DCyHyY+BMIoaRTpVj78w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:SkrLU6WQY/4=;h9Xvce7K7NWKZlOSUSrsS1aHbEb udgXA72MxjjRV/NQB/fSNf/Qg/ZKp71+h3TD5orcy9Own02XFsJtbNCMwXnvZ7NPBPkkR7BPb 9J0XS8SLDTGkypkZeObywhHUFlocbciSEYq+D0dEckFg/x3IVAL6EZkNq/vlEmxed6YzXpsw2 HjBCuJj0uvSgeEi8WxfxGeFmAGSdPcZPPb4grU1tJXioihTGmkGhNqNDaK067vUCkkRzmTSiO riT1uyRiXlz4khRqb92SV0OZxfe9/gUJl7aS89zLgxG8LJWFQWKI5pF1rcy7kR7mWbvReVLoD ZPjX2j8TvtAjCgEXxqOStPGLPXqKrKPbqfFjbXV+tckC1gw6YHwKU30Tz7nVMPxTYbHYxLtWN N58iJRzjc8Pm5g5V98aPQ4CAJz5MyCfeX9hVqXNQoM7P7jhhVEqHBSnj34xByZfty/JB9pjZb wzUU7O1KUbMEB1FGCbhWSsAx0LrR8/N8P82HvyJzT7JfeV6a+I6pN6rPUH2ykYaoIrxZiM9/o s29oStPte3xCw1QqwKABE5xMuUL4+2pvP+RG/J4oyZh1sUZhlxkDcTW2U1i1hVfYLyEZasMwW AKhO/s1pKgPONn0oXQMQgnaBrjCagz/2B17xEdbHv/HkFzxmHXqW0NrtMS2gikXEwZeJkooOy AuWp1/oCTyJR7MY5rCbDzuygJu9HDk+TE0QujZJXnn/VfCxZH+z+B+IkDoifFMVrjSb0zvYJw abHvrvm3npcwRZY2d1gqPcvMSJpZmSZYa1zTy57MJnN7XM0U+ha8FAO+6tzBPbxxnIkdKEdpA VK2cAUyowcM3pO8W54b/kAbH76Kzz6OMxu0k/2ODPdI14= X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Menzel , Arnd Bergmann , Geert Uytterhoeven , openbmc@lists.ozlabs.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Geert Uytterhoeven , Joel Stanley Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Select CONFIG_REGMAP from CONFIG_WPCM450_SOC, because the driver relies on regmap to work. Reported-by: Geert Uytterhoeven Closes: https://lore.kernel.org/lkml/CAMuHMdWo5vHCeE6BeSHrUy12uT7_wFhW-VbQmQ5u+4Q8c7-wYQ@mail.gmail.com/ Fixes: 7dbb4a38bff3 ("soc: nuvoton: Add SoC info driver for WPCM450") Signed-off-by: Jonathan Neuschäfer Reviewed-by: Geert Uytterhoeven --- v6: - no changes v5: - Rebase on v6.6-rc2 v4: - Add Geert's R-b tag - Fix commit reference - Change Link tag to Closes v3: - Split the commit into two - Reword the commit messages a bit v2: - https://lore.kernel.org/lkml/20230212215234.2608565-1-j.neuschaefer@gmx.net/ - Commit message improvements, as suggested by Geert Uytterhoeven. - Add Link after Reviewed-by, as checkpatch.pl now suggests --- drivers/soc/nuvoton/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.43.0 diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig index 853392c8a9151a..2167d3d739d84b 100644 --- a/drivers/soc/nuvoton/Kconfig +++ b/drivers/soc/nuvoton/Kconfig @@ -6,6 +6,7 @@ config WPCM450_SOC tristate "Nuvoton WPCM450 SoC driver" default y if ARCH_WPCM450 select SOC_BUS + select REGMAP help Say Y here to compile the SoC information driver for Nuvoton WPCM450 SoCs.