Message ID | 20230212113111.1720685-1-j.neuschaefer@gmx.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1870665wrn; Sun, 12 Feb 2023 03:52:29 -0800 (PST) X-Google-Smtp-Source: AK7set+pe39z2RUxqwT9nloQ+jMCbkHgyiKu/5o20xlJW3vPIn9Nfa/kBg4hoMVAwVoktwk99aD/ X-Received: by 2002:a17:902:c407:b0:19a:98fd:9c56 with SMTP id k7-20020a170902c40700b0019a98fd9c56mr1699647plk.39.1676202749238; Sun, 12 Feb 2023 03:52:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676202749; cv=none; d=google.com; s=arc-20160816; b=NlWvCrWHRzRx7+Cp3Cn8Zl6FOjCxjHbZ5gwMdnKBOsBEG0LaOdmF/0o6QavGSw1y9L m6gRxqSH3poFGfr5w6+EaCf5IgvNEM1l4R0gpj1tF+RhPqoZA1zW+OZgBK4/5bTEvfiS mic4p8OArJoOn5zUehV9BsWf5V2ftIdOIgr0ys7jSdVFotmz7L5Rj2atD3Z2jgsjke1B DxtlITUUkSueymGxmQ89Wa5l/vqjrTDOQ5v37lRqqTdVcF31wPeX+RRjtLw7p+Bxzuno 0hgpyzEN7GSqtouO+4NY65qkhcWM4R6imh0gCKSR3hpGeriEaFdqFD/G0vyZqIJN7Rc/ d2Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=qlQ9W4ATh5nDTteY/8GKZ4jGgIfS7dcNMKpdqoh1FD0=; b=J5VTWscwkcnAFZarNXkcYcVQhIrkgMJBL+KsJ8zzU+flzrEwYN5siV963ihrMNjUs7 tBzXzt+o+Vb9XCMdfM6nzGz5ktn2D3xLEHfp+rvsQ3rz2vwMOMdmcPeRo2VletcK2Mar aJG95tnRRE3xltJ6efcRpln79mIu/nns9ESe2apN8tcCSt3VP9PYY3gXqzttxcrDEEnA LQXdasBSGT1wrhpXekVSlFk/2F8cpzIrSRewl6YAZe9JJPqMFkZFPBYNCE2MxwgFZuWp 0/1UR30+K2ocs6+xc6zQCcR9MMuJGW/SlkmtoG8pPoEFLCGpECJnEe9Oy0Q1wvXUwEPI gB2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b="Z400q/FQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z25-20020a63b919000000b004fb90f10ac7si2476682pge.812.2023.02.12.03.52.16; Sun, 12 Feb 2023 03:52:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b="Z400q/FQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229536AbjBLLbd (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Sun, 12 Feb 2023 06:31:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjBLLbc (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 12 Feb 2023 06:31:32 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4E541284A for <linux-kernel@vger.kernel.org>; Sun, 12 Feb 2023 03:31:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1676201479; bh=gKBqQtIfBEVq7yV5CnOjrJlvisaFqLrJnSZnk3EJCzo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Z400q/FQb6SZHab7k3Ie6Wbo9qmNuuuVXbl0cFmI7ZUojmtp1L/Y6h7dcz9EmrC3X AkXoLPSaY909GXx0yytahBaiJLqzoS5m4+mjEqZiFvZ/pIuQAV3U6wUXRnx5ayU4bG SEEX4X1kcJabgdOT0MdYW/Go2jyNoV6aGCm8l3eynNcU8Qxk9R9i0mZdIAQWcnHVqt 87J/oMZ+ofaiILxqLCTvVqnwdoFZ+oVuHkKjeZzEGOe/E0SeHVjmirS8MF0uXKm9gb ba6k0hKEBvGD1d2EAc9alAg2049f9DZ3Abph7O/O+EDqeTi+qP84gigXgTjGH7m6IA un7gI04qkHByQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([95.223.44.193]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXGvG-1p4ab243R8-00YlmE; Sun, 12 Feb 2023 12:31:19 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net> To: openbmc@lists.ozlabs.org Cc: Geert Uytterhoeven <geert@linux-m68k.org>, =?utf-8?q?Jonathan_Neusch?= =?utf-8?q?=C3=A4fer?= <j.neuschaefer@gmx.net>, Paul Menzel <pmenzel@molgen.mpg.de>, Joel Stanley <joel@jms.id.au>, linux-kernel@vger.kernel.org Subject: [PATCH] soc: nuvoton: Fix Kconfig Date: Sun, 12 Feb 2023 12:31:08 +0100 Message-Id: <20230212113111.1720685-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:yLKJRwKH0j/kcqOmXwtM6ZooQ266YuDPRchRkA5R9WXrflmv3uB O3JnPXxW1K7379Hxu275AhbDt+QwjISpL7QZmd/EcaTh7VQ6+CsU1nRTTNZK7XvT4SQ/Urk bp+d0EOaDNfGnQWuiGNPMwBrux0psF8To6uUkPPpvqQVxqgMfEq/Ka7HnqQMLMkEz0jxeGK 6gxJxXkSghEgSoDE9rpbA== UI-OutboundReport: notjunk:1;M01:P0:hPz1ubOp300=;N6Pz4MtFc0SCFWyBNr3efJ5vVUV G8REO5XjaQJ9CSd4CQSFdcTEB4PijopweXbH0KOX2xhGnb5R6MuSWMep14eLgVtLr4rfxAZfv Y+kJZzQTG7zvYAasygEXoXsdyMpv25dD2pC3TbGxPBt9U/xC727Os9C27gwnSC+uPLEwsPDTe v2pZtkfy63+IuxtfCVAkm1OOpAdFr+GO/jJ+mvRWGehEeGVzMYImrDda7qtt0mmictN7OV6i4 rt0PbOzO3hymtnVvnFt6yt5WdQQ1ajjvoauyVYIOyXGx3rRTPtFtau2CsTnWar70IMdIudjsN 8LGLRRo7hubhttgDD9CJSlI+/J04JFsfiuuk6/u/1ZMYZpjqv13LhfWimE510tK6IuDJK5JcC mOyLDWaRbZaJYxbale6MlHAGTQNnzTkVd7XufrSvWMhWG6tva22/X0q+VuJ2+ApXIdmsiV2w0 aa9GDpK25LlvPzqsqateQFFn0X0qJx9V//eGZo5WOiMESCMoS10ODwUINqEDb7RQRaFysrgvq dQghWVWpBNHa+WJN32nbAZyc7JRQLPd+79iWFzapBrqI9E34UJjL+HCCF7J9kbsAkgLdEvHck wR38NX+k7Oii7MHlwGlv0K0zvKabdGJPxspea6mOfxGvnQejdHxf+mIVdTsHebOwweJRwHWaz CBL9uL0lKhYwtAG5AqZaiLWOynbIRnOgdZGCspQHzyHhsSbZp8gkU60z6K39Uq1/tYHllbh+z XQ5kqhnzYJk/AAA1eyKlBBLrC9jVcObyPK1vbT2AXsffVswr3bSDwz3AJzzPscfvCY0Mkr+qy vGdiU5EB4Azvda6D21qGwFD9RvgWY0sE4VYKb4Lxe6xEQmhHKmaphNrkjZJ0mi6qxEUrGAHhS 3zd6hoyo23fedt8bXyTQZG70JmRlZlKAqOhoqL/VHv6dxiHcv9yqBBHb81olm3X8VrpWhrpF4 1aDVlYe88dOWF09EbWmqlcdSK8Q= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757625974043058679?= X-GMAIL-MSGID: =?utf-8?q?1757625974043058679?= |
Series |
soc: nuvoton: Fix Kconfig
|
|
Commit Message
Jonathan Neuschäfer
Feb. 12, 2023, 11:31 a.m. UTC
Unfortunately, version 5 of the Nuvoton WPCM450 SoC driver was applied
to bmc.git, which misses a few fixes that were in version 6.
This patch adds the missing fixes:
- Add a menu "Nuvoton SoC drivers" to make it easier to add other
Nuvoton SoC drivers later on
- select CONFIG_REGMAP from CONFIG_WPCM450_SOC
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 77b8c67b5637 ("soc: nuvoton: Add SoC info driver for WPCM450")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
drivers/soc/nuvoton/Kconfig | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--
2.39.1
Comments
Hi Jonathan, On Sun, Feb 12, 2023 at 12:31 PM Jonathan Neuschäfer <j.neuschaefer@gmx.net> wrote: > Unfortunately, version 5 of the Nuvoton WPCM450 SoC driver was applied > to bmc.git, which misses a few fixes that were in version 6. > > This patch adds the missing fixes: Thanks for your patch! > - 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. > - select CONFIG_REGMAP from CONFIG_WPCM450_SOC Please include why this is needed. > > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> > Fixes: 77b8c67b5637 ("soc: nuvoton: Add SoC info driver for WPCM450") > Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> > --- > drivers/soc/nuvoton/Kconfig | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig > index df46182088ec2..2167d3d739d84 100644 > --- a/drivers/soc/nuvoton/Kconfig > +++ b/drivers/soc/nuvoton/Kconfig > @@ -1,11 +1,17 @@ > # 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 > + select REGMAP > help > Say Y here to compile the SoC information driver for Nuvoton > WPCM450 SoCs. > > This driver provides information such as the SoC model and > revision. > + Gr{oetje,eeting}s, Geert
diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig index df46182088ec2..2167d3d739d84 100644 --- a/drivers/soc/nuvoton/Kconfig +++ b/drivers/soc/nuvoton/Kconfig @@ -1,11 +1,17 @@ # 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 + select REGMAP help Say Y here to compile the SoC information driver for Nuvoton WPCM450 SoCs. This driver provides information such as the SoC model and revision. + +endmenu