From patchwork Sat Sep 23 12:52:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= X-Patchwork-Id: 143999 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp362918vqu; Sat, 23 Sep 2023 13:47:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/lOp6lccoQLGCE9T4cHgo+DANO4VQN6XubXqSZnVqcW9YzfxU1ixcfNBRBlDN8AqDjo0r X-Received: by 2002:a17:902:c950:b0:1c5:db4e:bb2c with SMTP id i16-20020a170902c95000b001c5db4ebb2cmr4011518pla.64.1695502062011; Sat, 23 Sep 2023 13:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695502061; cv=none; d=google.com; s=arc-20160816; b=zWY6n5RNsfKUKGb+dPxGYTc/xrBKY0lauFq6EcHJxjL8PNAPqf9E/Z2PQZHuUuzPtf n5cLJYNh352QLatZoL84L/+27DhL+Pz2VwGETGfNlJzPxvPDSC59/CD0iSj6ppSl6bFQ WnmSNivQ/1eol2yTHSzGQ+7cbVqSPJZ4SoXeex1oODWs3bZjMLNN530oVz+/GduyZqvq 6NQcnrjKwy9SQlHD+NmJP/OntlNSR/s2I5pwcq3R2+bceChPoKoeYTx8Jge8+3CTz04f Ac3I40Hur6kPcBU14+dtu87i3q7tiyHwUf3K8Yg8AdtwSgwmu0xZz6rv207A4S0TqYz5 cRYA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LqpeQucnPRhx3VA3gA4CoCyyg5TrfOeojuRP2+MzguI=; fh=vZl1NXQUqfJ7QK/2nrioyOEuHo85+OpiMA1vtFeHvcI=; b=Rzvn0CXj9oyeYSxdrLliVizBkQIAR4PTcbKSyeNw6Pf5nh52uTAUoRTAC8pYzvPtTw jQoTywVBu4wSGNJN5jf1iCj8QhocK17kq4WTaSaw4lGDp4zcsk7Zj16kCZpX0Sks4nwm OvXiiIcgNhcDh+8FFpOQ3+cGED4tUth0PfQL0da37G9xm7ucHdMa91wuj3NuCpVM9Aqy Xsggvj+wXuAFQwdBZolskeTIjJQpy+6Z1N9gfWWJ8v7azUrpx313QuqhxNq/vXq/p4yD fyIBl/Ww4qeLM7YIEyfCGandLn+gIOZkNQJm9L3juyWFcdabjSIRMogDWkZUE6vab6J6 byFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b="l/YZ0AtI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id n4-20020a170902e54400b001c60ec1e650si123703plf.82.2023.09.23.13.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 13:47:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b="l/YZ0AtI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3F587802D3D3; Sat, 23 Sep 2023 05:52:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231640AbjIWMwu (ORCPT + 29 others); Sat, 23 Sep 2023 08:52:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231610AbjIWMwt (ORCPT ); Sat, 23 Sep 2023 08:52:49 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05DE719C for ; Sat, 23 Sep 2023 05:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1695473553; x=1696078353; i=j.neuschaefer@gmx.net; bh=I7aIv/vlyeo+vl/9kemBxv5Kp8uK897scWG8qKqLOLw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=l/YZ0AtI9q4HikU2nhGwSRPmgsrsgRRQpvVJYVKyEr/glxZBtDstmfQaSiiJMmjOs/RxNLid+4R VKtJyn36u1vM5v6bIBxQugIKpMf8rD76+eIcRvjmOT9TvheqiTPOXZnwCfGjK/3yjlM7zw/Vr9HmC 8Ugu8NaCTJA+eT98w6JWWcHn1shTuzCu+a8l1d6eshXwXgbVpy2vNE6hSvdiZf/QIdkBG8MXjwwmM iW/KKr2zcay7HjhhcgRpWDaqDUBmikAgUIEI9/yRno98S3Pexw05Gx95F7ws7xEU4Tf+14/hLcjro 2/Wo6mv2v6go96E1cWliK+W7VokBw2jtLb1Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([89.0.47.152]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MysRu-1reSBv1hbu-00vxeN; Sat, 23 Sep 2023 14:52:33 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-kernel@vger.kernel.org Cc: openbmc@lists.ozlabs.org, Joel Stanley , Paul Menzel , Arnd Bergmann , Geert Uytterhoeven , =?utf-8?q?Jonathan_Neusch?= =?utf-8?q?=C3=A4fer?= , Geert Uytterhoeven Subject: [PATCH v5 2/2] soc: nuvoton: Add "select REGMAP" to WPCM450 SoC driver Date: Sat, 23 Sep 2023 14:52:27 +0200 Message-Id: <20230923125228.1770991-2-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230923125228.1770991-1-j.neuschaefer@gmx.net> References: <20230923125228.1770991-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:k21NPkH4GANoX6/PdO1KSlxDu/mRSbml4Y4eFZwDlynA73UEvlL smPNP1PsOhXy9JDEw+TAKHCvltOHJZwz2AD+EwIUwOHvyC6YPHcDpvlneFDJadW8vL7El3q 9zOc7Hlv8+LgGLBJF8BZBjt84G/abTL+j7QMchcoejbD+5zHG+ws0rN3i49tFFrvvhni7RK rhh5pOQpq0aLipbz10wMA== UI-OutboundReport: notjunk:1;M01:P0:/KmbPWIkQ9s=;lnD8gZztCTxRiPb+VBt0bAXlU8E p+i3NoKQj3TDRb5CCibeHiCCLZuzo7buNINP4XtgDUo+V8Q9qa+k0SSKZyp2l1rXm3jHq7rTC o71MLIFLnCEMTzQhCNqRP4wViiVNNMwGOgK6uIGstlQmJUS8lUTwSyt7g2JcBJHioX/Ssp2+Z M9HhgK5Rwr8xnUhThlhqulh/3TXYn1O2lDOYpI5xoxLEYF71Ok/h5PaCja3WQb/l0lvvB94JH VwNbB28zk3gPxi0Ft9scX69kRZzKUZlSrMAsFnnJUBLsQ6TBm7BYrW0YHST2NKOb+ge/eWvu7 6qSIdOTb7nkBbLlHhWdXYd2bOpmZdTUTN+d3Ezwlb8jDoKQNV2NVkCDlyszMUeyzMkTn0EKwB wuh68QqISbDQ0gUUiYt+ycBeQxj959kTISLM8jVO+W5tzucOnxJCoHq9eeYaugqmi2gclc9OJ IFP3xgDT7wReznl8EnPlPcFQVzUc+ykx+l1YdFJRxgDLGHS8kg2HESx+jgwG4F9cAkUXLDpu5 7RR/vF5mWdmyMFyN1YBT6XDjEsDE5YL2XltYk7iesJHeZlKQURaI07ivkaUk5ykV/y5B78051 vU6AV7XNtbfzrSPX07C6NBi6dHWTnEGRyySGueV6IsX/X+Gtj0jLhREDHe9WUuleMmlMfpSdz eoCUE+wu1xIyo8x9oZK1xAjVObwZNdzwDrKSQ5coXR4PSu5+/Y8GPzo7BJzFwEFdNj8wQTSmc X6JvIn2tlcQO+b82unwNGQLOUQQ2zuy74rC+mtsG9e+BweM7JhI8yKbAsklMrR+tPcWLZJ0gv WMme3qf1g7uNXdFo3JjOhDsRw6xuVmaGmH7AbGTYVKu0eqD/qXA9845drRIJDNTqg4PEXGpAo gn+G2aH5MkVlKt3VIx+b1LigZzrd175TXAXeDEjspUd9mv3GLxUcQKQP/gQ044HabgD6vhJcW Ovo7TQ== X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sat, 23 Sep 2023 05:52:50 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777862770128693845 X-GMAIL-MSGID: 1777862770128693845 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 --- 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.40.1 diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig index 853392c8a9151..2167d3d739d84 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.