From patchwork Sun Feb 26 05:39:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61563 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809300wrd; Sat, 25 Feb 2023 21:40:53 -0800 (PST) X-Google-Smtp-Source: AK7set9N1R4NvjuTEwDos77C4rgxofdSXTthhgAcwxQqqfg5vMsh8AMEPE6QwDCNbr3FLLRtqTM/ X-Received: by 2002:a05:6a20:a11b:b0:cc:d96c:1090 with SMTP id q27-20020a056a20a11b00b000ccd96c1090mr3442285pzk.2.1677390053283; Sat, 25 Feb 2023 21:40:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390053; cv=none; d=google.com; s=arc-20160816; b=BuAgmT4RJAf4NJ1gmz1S/i6Ega4sVqZ/rSO5dBztsT2fZ+rkp4A8cM0nLS0oNqzbSX W71gNOY6satDHa1aYfxhxqPsM7c/le3jwOhw+6fPveZEx2lyWqiWeLPu/QiaRlsV6Hxc DDLV+tarxJVUMDT6FX7xJYqHhBIYiyYUlUStPgUWOua9cD0/IX6fAYEN0ktR7EhuV+3d CqG1qB2Ig+NcvDfSBFXvNCFIr1oHLxNwyacSJfEjRhKG49VcB/nbWP9vv7gGvqsAjhHS IUw+VtW7cpOE+fJByFxVNHppr8ufHLJ1d/oph9A5QO2E1DB9R6ncjCjACyf7XNRUJyYT ZUHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AyoTZxblYHrDgUuDfRxaCtNtUrEUy/+HCnPw8W0zpKM=; b=Swi9WkRbMcZQsG+vYnthU1TVFYk7hrrK19ZqBRjB7vsoDCF7yh351gdy/482pkyBvh BVU3yMKmC38M04wvDDP7blvlTwZf+P0m19u+/DLlWpNUeVUqI+0XnM2FhIqzh8wOBO22 13i6ZPQamti3wBW+n92MqWJ26vASqkz2YDfPePkYXEnIY7EVtbcXo0XINJ9hGTA8clMW rMWyWOWYBCPX/8Q1esOBNshjhIrV+u/weTuuThMuLIMTROZGiObCoxPz+CG/lgI/Ej1w sllbw/HvhDRByNeetXQBtu3ipbGbu/ocyTFDQINpHxGvLEXtA61lWVxtH1NjDccsuFxs jviQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=vE34UtPh; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a65550c000000b00502fd2d2901si3659484pgr.343.2023.02.25.21.40.41; Sat, 25 Feb 2023 21:40:53 -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=@infradead.org header.s=bombadil.20210309 header.b=vE34UtPh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229643AbjBZFkB (ORCPT + 99 others); Sun, 26 Feb 2023 00:40:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjBZFj6 (ORCPT ); Sun, 26 Feb 2023 00:39:58 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FF4F136E9 for ; Sat, 25 Feb 2023 21:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=AyoTZxblYHrDgUuDfRxaCtNtUrEUy/+HCnPw8W0zpKM=; b=vE34UtPha3vYcnY3CA1tx0eYDv n5+ZoUMoM6RFCuvENArB8yc9DIMT16fw+tSYZXAiWj1fA3D8ax7rXYNf5JYgfIB/YUQ9COkgHC8fL D7Zn3Qj2Qzg1sTL2ybUR4J4lDFS9LUprVbfxWKgURB8slpOt7OeittRhl5gPi46p1CGdTxgpPen/R pykahEiooe9Gcp+Gp/o/ASPVPptdRQzhM5li4XeEutcdEg7cS+Opmi9546ZCBAoBHeY48PvDqqz8g M7kn8FEuRWX2UhxnFgjCD8RPWXbAmr5IycK2as91NO5EzsI9qPoMKjXmDD/dcLemmrAYWBNtuPHK7 x/lzHb8g==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lL-006qYL-37; Sun, 26 Feb 2023 05:39:55 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Jeffery , Corey Minyard , openipmi-developer@lists.sourceforge.net, Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH 1/8] ipmi: ASPEED_BT_IPMI_BMC: select REGMAP_MMIO instead of depending on it Date: Sat, 25 Feb 2023 21:39:46 -0800 Message-Id: <20230226053953.4681-2-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758870952275832362?= X-GMAIL-MSGID: =?utf-8?q?1758870952275832362?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP_MMIO" to "select REGMAP_MMIO", which will also set REGMAP. Fixes: eb994594bc22 ("ipmi: bt-bmc: Use a regmap for register access") Signed-off-by: Randy Dunlap Cc: Andrew Jeffery Cc: Corey Minyard Cc: openipmi-developer@lists.sourceforge.net Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Acked-by: Corey Minyard --- drivers/char/ipmi/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -- a/drivers/char/ipmi/Kconfig b/drivers/char/ipmi/Kconfig --- a/drivers/char/ipmi/Kconfig +++ b/drivers/char/ipmi/Kconfig @@ -162,7 +162,8 @@ config IPMI_KCS_BMC_SERIO config ASPEED_BT_IPMI_BMC depends on ARCH_ASPEED || COMPILE_TEST - depends on REGMAP && REGMAP_MMIO && MFD_SYSCON + depends on MFD_SYSCON + select REGMAP_MMIO tristate "BT IPMI bmc driver" help Provides a driver for the BT (Block Transfer) IPMI interface From patchwork Sun Feb 26 05:39:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61564 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809344wrd; Sat, 25 Feb 2023 21:41:02 -0800 (PST) X-Google-Smtp-Source: AK7set93yRM1UWcqhqh5mYXZWsNkt6CzFhGZO/9I2e7sPn6KQW4SDv2zgRfWg2gOIFiFO/qNqMxS X-Received: by 2002:a17:902:f547:b0:19a:c65d:f93 with SMTP id h7-20020a170902f54700b0019ac65d0f93mr18115136plf.53.1677390061742; Sat, 25 Feb 2023 21:41:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390061; cv=none; d=google.com; s=arc-20160816; b=jR3hg8er8AEBEwRJX95lb0NnvDxrVKhJ3nvtI8mLPrBibGTHcOrS/BTL9c0O9PsKPu TPyPDPzcN1o3mAEfjEmRFR1kh5GSsjh/IB2BApOSmZ3DTkh1al8eagpBCyt8bT0OJOXT I7tahsmWuqXUMcHGUsDVlhO8S54clH7M8lh1NieVCdDhUO6AWE37/FP8D4zUxG02QsKU +s73+x1eOzL9hSdsu5vhcx03NqkuNrMLMBwk+8bfIp3E9JumyY5cMV/89+MxmAQMuuJr A1RNV5Cjj/La+IzL0I/tsjsIiR0950PWzSUnVTKd17cI12b64UFZRh+dLsV8o4PGkGVO rA7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5EL3h3gDbv1fOup+zFv/dxa8dkjfhZsLYy7zEK7AZjE=; b=q3+0N3VjMzAO5Ba9eScKxRe8lcD6mANi2aKn9ina60uPpd22QAzFVdJZNc7VHMUMJW 8q29Jyvw9YYDMlgsJvfgpvjHGvgl8ted3i9o7KhQ6kpD+taq+EdRP9U62i5/VO+MQfIg WHJ1lHPEVPj0RCGb3cAsQT3zXsulet4T8EE+7hzzsPXdckIrVXX0CCeiI7msGxPzLP37 RQOzEVM/EBgv5il+ItX1uiDJq5z6qA7j+fKbq80Ym58fKwxktFA9SkLqrrmDJHh5UL0x R2v2IqDg/+tZA9CQNqx1Dd1vffOQvV+aL29OwTXZu+4el6vJQs3P3Ls0CyNVHANesyof iAMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZABGG7wn; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg14-20020a170902fb8e00b0019cb21ef99csi3490793plb.160.2023.02.25.21.40.49; Sat, 25 Feb 2023 21:41:01 -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=@infradead.org header.s=bombadil.20210309 header.b=ZABGG7wn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229620AbjBZFj7 (ORCPT + 99 others); Sun, 26 Feb 2023 00:39:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjBZFj6 (ORCPT ); Sun, 26 Feb 2023 00:39:58 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D175136EA; Sat, 25 Feb 2023 21:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=5EL3h3gDbv1fOup+zFv/dxa8dkjfhZsLYy7zEK7AZjE=; b=ZABGG7wnGOx6TcA9KINzaegqjD 4QUug6UACr1wdMOK5fTqdO/UKI6Xu2fJudekLhS/cibD6PMOw3lMho63cshMjB69n9jRskuCL6Pt+ e0UNJa0W/nZtnFX9/aVcZk89HYuHuYWXDoXEC91b2OlTtxaHYObY4uOxKiWgVszbJ5Tfh8SNenos7 ggbN7SJ7Baeh86xDSdW07MShRFdKAN1BEMx4u6g8kZLA7V3UaKZGEiGP0EEoBtjR5WAmh2NawhyyK 6Og6C2FYvTLO+Ouwkzrh8Xl7gGc7CxMgdOg6CMI61HfGQEZPktSfbVsoCotVBsdc1es39CVhaNY4O JmxgZhgw==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lL-006qYL-GS; Sun, 26 Feb 2023 05:39:55 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Riku Voipio , Stephen Boyd , Michael Turquette , linux-clk@vger.kernel.org Subject: [PATCH 2/8] clk: HI655X: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:47 -0800 Message-Id: <20230226053953.4681-3-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758870961256385888?= X-GMAIL-MSGID: =?utf-8?q?1758870961256385888?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: 3a49afb84ca0 ("clk: enable hi655x common clk automatically") Signed-off-by: Randy Dunlap Cc: Riku Voipio Cc: Stephen Boyd Cc: Michael Turquette Cc: linux-clk@vger.kernel.org --- drivers/clk/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/clk/Kconfig b/drivers/clk/Kconfig --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -91,7 +91,7 @@ config COMMON_CLK_RK808 config COMMON_CLK_HI655X tristate "Clock driver for Hi655x" if EXPERT depends on (MFD_HI655X_PMIC || COMPILE_TEST) - depends on REGMAP + select REGMAP default MFD_HI655X_PMIC help This driver supports the hi655x PMIC clock. This From patchwork Sun Feb 26 05:39:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61569 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809578wrd; Sat, 25 Feb 2023 21:42:01 -0800 (PST) X-Google-Smtp-Source: AK7set8HQqwXDlxgAf7x+n694JwVl/nzTGznzaVecea0fcioM8bsnju8zBYOP0UZkULSl18cESkW X-Received: by 2002:a17:90a:1a49:b0:237:1610:be01 with SMTP id 9-20020a17090a1a4900b002371610be01mr21077170pjl.13.1677390121463; Sat, 25 Feb 2023 21:42:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390121; cv=none; d=google.com; s=arc-20160816; b=sZ7bBPHAEY7l54eY7ytr7PzyBbpGlpzeFj37H3wU1+OC/8fFufpn5pmS12+nIKR4LL bNewGass+X/BZyQdFKp7kBJveFV232r0VpKeixa11MTwilDUFp1fWV/JALotKY1oWpNj cgVnh/CAAZCLR1zGnCs1NMCeRoLxH99ggWYfV9jj20XrsrxioP13TFkeDiH2d/3zaQ4q 7VySWmibpzSbrWEjyBdsU8QedDl5W6vZ0KGKIY9ltGZVfQ2wZ8Zvq7pGMNKmVzAfCHYr WDb2SKSYILy6JG93FCDjOtWjFFDwv5isRgCy+PEPeQaCJAK/bXe/bPsOHhzJm2Yh66cb 7SSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6v9IARzIwbKOte5wIp9AIhAolACRtWXmOhlJpgpaN3Y=; b=tqy66xx4dSemjXUoKaS0WRqVN+Gn66itGXTljyU5kOcqCc0v4Z/egc8sLRplOygbG7 XTdjuOp4tHl8BpupoUWJLlElr0Imub0+B//EHwvA0n3A5JKC5iv/mhR3AIz1TU1Ve6+U XDT7Ay56/aKf1oCz/44fOK/KrJNCnT3icD1UyMpsZhNnKhaf3vqTJZQTPNxszwzPFefC dQ2wXBj1BPgBlFnyxOw0KAlPAtHhZKdigdfd5MiObH25OsHVfBnnbuyE0ybcuTgF1crd c/XdhhFCIKFgZdwvDwP2obKVNY/Qx460lZA+rktFiKNXjdr2dkj7RG8bvLK6zgs30Xm6 svtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=WFsJLwpK; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 74-20020a63034d000000b00502f457058fsi3609180pgd.249.2023.02.25.21.41.49; Sat, 25 Feb 2023 21:42:01 -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=@infradead.org header.s=bombadil.20210309 header.b=WFsJLwpK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229695AbjBZFkP (ORCPT + 99 others); Sun, 26 Feb 2023 00:40:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjBZFj7 (ORCPT ); Sun, 26 Feb 2023 00:39:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7B48136EA; Sat, 25 Feb 2023 21:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=6v9IARzIwbKOte5wIp9AIhAolACRtWXmOhlJpgpaN3Y=; b=WFsJLwpKRp042RteZ5099Lv9Q/ IYDDh6FBSdDCOpOzVw/X0tnu3oyQrkokrHwzhI9BZmkcL2W81fDAIAwPZtDeOwBbD5LiqSfZa/TaB Lj16t/8lxset8GyzVL5oZzP9mMoQ5JnAJ+9I/CkjkAET9HyYjdZvj62WRvNL7gUclDN8o9gL4wDyv OMHZAZhkoYlAgnpKw9Cu0mI7tUhANa9sZD8/tMuyQ6/21I4TsXvPWoUaqOuJoDnsU4qrvp2ap3x6a DqHfVoNpVCI8TDlyD9jlfsjY2MAvr8hXyCBU4NtKItIUSxIdYPtTOuNrmxqECDTyHhy+ElsYnLCMs y0MfmFqw==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lL-006qYL-Sq; Sun, 26 Feb 2023 05:39:56 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Michael Walle , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH 3/8] gpio: GPIO_REGMAP: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:48 -0800 Message-Id: <20230226053953.4681-4-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758871023747743129?= X-GMAIL-MSGID: =?utf-8?q?1758871023747743129?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: ebe363197e52 ("gpio: add a reusable generic gpio_chip using regmap") Signed-off-by: Randy Dunlap Cc: Michael Walle Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org Acked-by: Michael Walle --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -100,7 +100,7 @@ config GPIO_GENERIC tristate config GPIO_REGMAP - depends on REGMAP + select REGMAP tristate # put drivers in the right section, in alphabetical order From patchwork Sun Feb 26 05:39:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61567 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809548wrd; Sat, 25 Feb 2023 21:41:52 -0800 (PST) X-Google-Smtp-Source: AK7set8TLvzjNw/e8D1tKfdI4QZSzvBqYdpooAWJIOu9hpDaswz4FrT7Gxq+7HjlqUUdj7k8z+V8 X-Received: by 2002:a17:902:f907:b0:19c:dc14:ea6b with SMTP id kw7-20020a170902f90700b0019cdc14ea6bmr6081735plb.63.1677390112289; Sat, 25 Feb 2023 21:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390112; cv=none; d=google.com; s=arc-20160816; b=XNIl6ioOyHdq9pVSpRacgLcHj9lz/TztsH4/viOSunYHmTwB7otLXGNef1U6UbK7Gv +9BktsutCULjnrDuo6gpqABDGxw1bLd4TwuRcZ4tYo4GqKMHs2C1eenspgoC4Bjb7xE5 mmXNH31gR7d0sAYO/6yHhGupkpfpfzJqySCncnrBLfDGfSpOBdcFD+dOsNJf4pZ8WByG 6RC6qyYw+hYMSFPWCxD+g8uzFamMalkLVcTDmFrLsjPYpfjD2ROnujAlnFeWGqj4jwkU wDF5FgErnLjTrEdks0EaShFChgsiuDqy37eBdC0dPtYQrt6kjBaG9gZrm6CkQ5IGYqqQ MDCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jZDKgKykgJivmPlxfhgmYfxwzNIu4E7QMWQ1piQj3M0=; b=WaPfksBBxUhuvoOiD2Oe9bTL8SQCmmiYflzJURJgLfahTvTyqNzhV4D3ZmGkGTWRvl hvIia4MvTlWd42KQ9egAasrRt02tmHF9lSRu3K3xEwboXbG09QKW6B/7fvQVSAw+egZ2 ycx71NEz9ZVSkGzQ6EEYYWNMaNmBW5L+/KdYrj2vkpgue+6gICqWypOVW+w/w7iIfhee VEhgIUwXknbmT+/msb1env9oxng9PmwlGocy4JXYYQIb/BpIei84+Lsvz3IIES3xE4eJ iNiijMx87GWH+rCrWQReqtYxcpWIwYtJ5lLEcSj12+pbsvprtQb40U62HiWPKYIgVfQP Z/AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=GjLoAa0R; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kh6-20020a170903064600b001965a0fc34fsi3293901plb.139.2023.02.25.21.41.39; Sat, 25 Feb 2023 21:41:52 -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=@infradead.org header.s=bombadil.20210309 header.b=GjLoAa0R; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229667AbjBZFkD (ORCPT + 99 others); Sun, 26 Feb 2023 00:40:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbjBZFj6 (ORCPT ); Sun, 26 Feb 2023 00:39:58 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51077136EB; Sat, 25 Feb 2023 21:39:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=jZDKgKykgJivmPlxfhgmYfxwzNIu4E7QMWQ1piQj3M0=; b=GjLoAa0RZXwFgvWheSIzYKnhB2 5q247ieUuUeaZQJRGP6uSVuJ0z+MR23HQ4AKgtll3atMiQzrt0MGLRewIVUp/N+87gq5CwD5t+CSZ SPzwJhki1nja2wyo1c1I/nYfYtcLDPzqhT2b7FzrOjtSthNTPYq205C7Lm/duIFaCs0CVMpj73kb6 a85pW3FGbjy1bQzW/9yY4edwPCKDval1gWADrnVnXeRG/JdtO7fC+ROpPvIfVpN6p3l4TFmdqiPIF AlVSY+I/EhretKFUVykVXdHyUXM5uftacbK70mIIHV8oleNfV5WrnmVTalSFof4UHvFbUsKyW2e66 H4tn0zvQ==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lM-006qYL-CI; Sun, 26 Feb 2023 05:39:56 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Dan Murphy , Pavel Machek , Jacek Anaszewski , Lee Jones , linux-leds@vger.kernel.org Subject: [PATCH 4/8] leds: TI_LMU_COMMON: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:49 -0800 Message-Id: <20230226053953.4681-5-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758871014698519701?= X-GMAIL-MSGID: =?utf-8?q?1758871014698519701?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: 3fce8e1eb994 ("leds: TI LMU: Add common code for TI LMU devices") Signed-off-by: Randy Dunlap Cc: Dan Murphy Cc: Pavel Machek Cc: Jacek Anaszewski Cc: Lee Jones Cc: linux-leds@vger.kernel.org Acked-by: Pavel Machek --- drivers/leds/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/leds/Kconfig b/drivers/leds/Kconfig --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -795,7 +795,7 @@ config LEDS_SPI_BYTE config LEDS_TI_LMU_COMMON tristate "LED driver for TI LMU" depends on LEDS_CLASS - depends on REGMAP + select REGMAP help Say Y to enable the LED driver for TI LMU devices. This supports common features between the TI LM3532, LM3631, LM3632, From patchwork Sun Feb 26 05:39:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61568 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809551wrd; Sat, 25 Feb 2023 21:41:52 -0800 (PST) X-Google-Smtp-Source: AK7set/GWOTL26JlbXYXnH3nz+cadwlppUM+NeJHfuVlhchCcB8D5Y9YusqaEeVrOJtOavT11AkD X-Received: by 2002:aa7:8ede:0:b0:5a9:bcf7:ea75 with SMTP id b30-20020aa78ede000000b005a9bcf7ea75mr15841573pfr.10.1677390112494; Sat, 25 Feb 2023 21:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390112; cv=none; d=google.com; s=arc-20160816; b=E0oPqY4TjOoy8E7qmYYukjGDd+210knJS6pLk8zexM4Kb5cwSm+aJNMVvJTvu6tb69 HXvLLnxAQhIl12f8fYYC02M5SgklGWKO+PLyF4Vngg1icYdFXA/nYXrImQ6etxb8m/Sx L6ZGJyPskpU0LO44Rv8BqpefuTzCXd7ezKNJycbmLWZvfSVaItALjbhkSeFstFG8wNAj tdhVD53g/MADFcGSGDDUIHmENC/4maGhW6hOvYX2LdIN3Qv0ZyqnEOKGfLj6rMcGE7Pd 1lguGiHy6ZyLZN/9iVvDo1Oco/GCTbe2BwJ+PRvRkWx/eOfDS2reRo//xoPcge2jvtbT yZ1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=O340cx3Gf4ovH/d02TCwqdI/1zyYU3moQhAG1qL628c=; b=KxucIprC29q4WzMMYASgTNCZT8I7AceUzySJhuJ5b01ulblA+BcS3qd0Sd2Em0iqPM SmUjscPtcxSrbGzGCncOrwJsrh7oKwC6OeOWsrN4UV8SHkVEu18EygJ/VMILNN384m7T CkW6GFdgAzJAQhkb1Y47Cmuv0bI/SCfoRZUFwVbyyfZ63qtSXcGzLxofM3yhlwqRjZVL VaVbbBAkSiYsof1tbyze+USzCRU72ku5gnQF8xcaeDJSXmeB7HQxyhdtjZs2dQAMEIgd ydFBg/B7AvBzs1EzMWTZXIf5Bdqh7Z78yHE1+0m/mbj71Wgu3MqmMchuYP4qLx6h6C9y Anow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pI5DciSQ; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a27-20020a631a5b000000b00503016f280dsi3418014pgm.823.2023.02.25.21.41.40; Sat, 25 Feb 2023 21:41:52 -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=@infradead.org header.s=bombadil.20210309 header.b=pI5DciSQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbjBZFkM (ORCPT + 99 others); Sun, 26 Feb 2023 00:40:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjBZFj7 (ORCPT ); Sun, 26 Feb 2023 00:39:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 437DC136EF; Sat, 25 Feb 2023 21:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=O340cx3Gf4ovH/d02TCwqdI/1zyYU3moQhAG1qL628c=; b=pI5DciSQKlna6bL0mallbe8Ihi X3b+wazKWjPIFHBzO2k2MpiVgLW3ygLANi/AF5yJaXfBCvA3CfEzTuju9IgnvXB7OGEkvwwDDdvDJ 9Z9n5RR9kKliIDiujjn7XESJLRcnkWQcaIix6VUwkcwXA0z21WQAQNTJLldYl6UnbA8jB7EtSnQma S0l6nlNAGs9qAsf2HdLGiBLw1MteqhlFjuHr6p75SSEVAZtC3e4ltOijeGrw4ZaZDgO6g21ErtiHx DgHGM3k4R25XyPSZ5CllseMdv2tJ07dK6WVyEoA7aYgdX1lKkOV85PAYswLJvCjS6pmSCcuuoGQJy Il5zW/rQ==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lM-006qYL-Ql; Sun, 26 Feb 2023 05:39:56 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Darren Hart , Hans de Goede , Michael Shych , Mark Gross , Vadim Pasternak , platform-driver-x86@vger.kernel.org Subject: [PATCH 5/8] platform: mellanox: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:50 -0800 Message-Id: <20230226053953.4681-6-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758871014542436115?= X-GMAIL-MSGID: =?utf-8?q?1758871014542436115?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". For NVSW_SN2201, select REGMAP_I2C instead of depending on it. Fixes: c6acad68eb2d ("platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface") Fixes: 5ec4a8ace06c ("platform/mellanox: Introduce support for Mellanox register access driver") Fixes: 62f9529b8d5c ("platform/mellanox: mlxreg-lc: Add initial support for Nvidia line card devices") Fixes: 662f24826f95 ("platform/mellanox: Add support for new SN2201 system") Signed-off-by: Randy Dunlap Cc: Darren Hart Cc: Hans de Goede Cc: Michael Shych Cc: Mark Gross Cc: Vadim Pasternak Cc: platform-driver-x86@vger.kernel.org Acked-by: Vadim Pasternak --- drivers/platform/mellanox/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff -- a/drivers/platform/mellanox/Kconfig b/drivers/platform/mellanox/Kconfig --- a/drivers/platform/mellanox/Kconfig +++ b/drivers/platform/mellanox/Kconfig @@ -16,17 +16,17 @@ if MELLANOX_PLATFORM config MLXREG_HOTPLUG tristate "Mellanox platform hotplug driver support" - depends on REGMAP depends on HWMON depends on I2C + select REGMAP help This driver handles hot-plug events for the power suppliers, power cables and fans on the wide range Mellanox IB and Ethernet systems. config MLXREG_IO tristate "Mellanox platform register access driver support" - depends on REGMAP depends on HWMON + select REGMAP help This driver allows access to Mellanox programmable device register space through sysfs interface. The sets of registers for sysfs access @@ -36,9 +36,9 @@ config MLXREG_IO config MLXREG_LC tristate "Mellanox line card platform driver support" - depends on REGMAP depends on HWMON depends on I2C + select REGMAP help This driver provides support for the Mellanox MSN4800-XX line cards, which are the part of MSN4800 Ethernet modular switch systems @@ -80,10 +80,9 @@ config MLXBF_PMC config NVSW_SN2201 tristate "Nvidia SN2201 platform driver support" - depends on REGMAP depends on HWMON depends on I2C - depends on REGMAP_I2C + select REGMAP_I2C help This driver provides support for the Nvidia SN2201 platform. The SN2201 is a highly integrated for one rack unit system with From patchwork Sun Feb 26 05:39:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61566 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809547wrd; Sat, 25 Feb 2023 21:41:52 -0800 (PST) X-Google-Smtp-Source: AK7set84MgPXwUvvYs6pzvQjsWGMg7OuB8Aasp6YdBxB2IRQ1VEQc+XeVYOruySjtViEXvndJRh9 X-Received: by 2002:a17:902:f283:b0:19c:947c:8819 with SMTP id k3-20020a170902f28300b0019c947c8819mr15382690plc.59.1677390112186; Sat, 25 Feb 2023 21:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390112; cv=none; d=google.com; s=arc-20160816; b=gRSMfK9IVdjQ3U64YLlvdO6p57Kthv2PyB8nxB5xVv70c+adsHWk8nPONCvjwVv/l9 vwBqHj5oUzn52eA5ayFlGUKqbym6bYyzmYmyffPC5gu9UZaK4i+S/FlaZpBqwUKUIo9A gmFU+R9qaXyHH67k+QrVR1clQcJfRnjxfk+DC5wmH+zn0Dw7JQlnHXrTAJJPlRvR5Mfp 2zElVu8Lbh8JM03MTCdp7nUHgPrMJvSOcVFvzTa72oPd4PQMEQ+kjaKRMoR5hycofazf lNnKU4+v90paMHUy7ShD5+mdYqynzCtv4IDbpFIfsk+sF/LWBg35AabR1uADkM7Mll7m xYNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HOomam99WaNIQXbFT/rjlLSN0DNgUGphOu08F90yWb4=; b=RmA6Q2aIYA0c7finEF/lbh63m860lQqaNuB+O5KpV4cbMuj/diAec/AMQjKIYbeN6W USY21umYQrg1vwjr1IJxu8C9cfAMmELD4Cr5OTpYKCUU0fXpB64x5ExHB8OmCUYQQBix p6JW7p6QVcSr0ENeA+hqg3xLbLAFkfZt3OZXDEhrSDV1cuPsJtAlcLcxHC+Rxj02564s dyc/75e7BE0mxJEwhIKIzQfXY15NlWGmCWszgMkRKAFK+rH7eRcJ93o6TS0ZvonzXQfc RuT6Yw9MJazqkqzMLM89pDzTWfVUE/3AewUzwUQ28yJSyjaLY/D7Mo5x4Hg/KNobHpEs 7SfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1dLCZvQk; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ko14-20020a17090307ce00b0019caa175f94si3379415plb.414.2023.02.25.21.41.40; Sat, 25 Feb 2023 21:41:52 -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=@infradead.org header.s=bombadil.20210309 header.b=1dLCZvQk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbjBZFkI (ORCPT + 99 others); Sun, 26 Feb 2023 00:40:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbjBZFj7 (ORCPT ); Sun, 26 Feb 2023 00:39:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 537CE136F2; Sat, 25 Feb 2023 21:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=HOomam99WaNIQXbFT/rjlLSN0DNgUGphOu08F90yWb4=; b=1dLCZvQkudXTaKFBvI3S7iA1N9 5iYkLfTq2a0QOKkHfo9rt38xzfD+xBLIzrKc6yWt7Qaud3nLKhnXBhjnx0jI5hjQjpft3TgSmH+rB 7xXr0AI+c3NGzW2+vo642Qx2tVGbwNEy/tCfYJK0t9hFGI2/UlNB22bImGjzX3GRXXEB3qLu3tY4Q 7ayuDoXn/usLwFSBQsXy+L/g96TTq8ZXh1u6B0CUvmKWDRjt7Gy7ggSLeD7DR4fvHK5YR2L6HN+6L Ytzmi45vGRH9Na0qaenIW4MB6FswupthXaf9FeUZg6qn8QCKG6tf1aPIT69SSiIqWTwjpmcZvpkzl eOghchog==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lN-006qYL-Ak; Sun, 26 Feb 2023 05:39:57 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Vadim Pasternak , Darren Hart , Hans de Goede , Mark Gross , platform-driver-x86@vger.kernel.org Subject: [PATCH 6/8] platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:51 -0800 Message-Id: <20230226053953.4681-7-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758871014168317794?= X-GMAIL-MSGID: =?utf-8?q?1758871014168317794?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: ef0f62264b2a ("platform/x86: mlx-platform: Add physical bus number auto detection") Signed-off-by: Randy Dunlap Cc: Vadim Pasternak Cc: Darren Hart Cc: Hans de Goede Cc: Mark Gross Cc: platform-driver-x86@vger.kernel.org Acked-by: Vadim Pasternak --- drivers/platform/x86/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -- a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -955,7 +955,8 @@ config SERIAL_MULTI_INSTANTIATE config MLX_PLATFORM tristate "Mellanox Technologies platform support" - depends on I2C && REGMAP + depends on I2C + select REGMAP help This option enables system support for the Mellanox Technologies platform. The Mellanox systems provide data center networking From patchwork Sun Feb 26 05:39:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61570 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809646wrd; Sat, 25 Feb 2023 21:42:24 -0800 (PST) X-Google-Smtp-Source: AK7set9bnajtMDvzLR5k6LDxEI9L1v1qQxszWhXTjQMxPAGXbGzOE25X3Sk1W3a2aosYN7zvnBq6 X-Received: by 2002:a17:903:183:b0:196:3bbb:e9e3 with SMTP id z3-20020a170903018300b001963bbbe9e3mr24805859plg.28.1677390143919; Sat, 25 Feb 2023 21:42:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390143; cv=none; d=google.com; s=arc-20160816; b=WAj07w7kKLic2qLFqNApQHqoQ9S5AcIbTJz1DaeDWN5EwIhTuTKqNKfV2VEHA0fpep DSNNtRklzyuGHYy5EqzPhOq6aO+e/FmgzKLbQSaN+FZoC4EyuXYzIy2bTT+A/xmrorzN j+ZlXRbjOYWtXnmN/ijDP2FQW4iwZUQCcGBMOt/uBL/ALUWNEIaNqek5MW7I4eujYSJG AHrEhEY7A6ZRqhkUL4uIWSQPJgxRan4Z6USuSLoGeiGLDzqETToTtb6FddFNWmaVd6Q4 wwKT+8V9tw4qZCId453nnb3AGmq/sztkE5189J1byalDl7dAXaurf/yDh9mzWFYQMOnG NyNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vm8XesWZZsdJp3yTtd1wnFZl0IgUFeQLot9qSDQtjWw=; b=n8bmY2zwG39jSlKWJ1+LlheB7Tm6ZrCaiH5yDkt86qeCIjRrCJWQSu1pOxDzT/Z8Wm c7nxoDtfD4M8UChSXVzoORDqS5Fi0D5Jez4r9SZu1DcluUy7EVwO/2Lx0FX03WEiGk/L ggmGHq7EMbXAStn3+NoKMM7qTZZehjwcuoDo93TkG02s/cDOfw+NK4TOTdrVb1hXgGmI 7ceGhO4QGYn0anMpT57dUMZNnqI3kTcw58ER+KYe1rZy8p+djTj1fmM8Vg3zlnXJ0hDI GdCE09qgNDSTSXe0ieE8BH7ThJJZXw9rL6/CaIdiCj5tcpyW8qeWl/hcspIWdoGuT3U0 Cexg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=k1vZOkQW; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iw15-20020a170903044f00b0019a84b88f81si3246673plb.435.2023.02.25.21.42.11; Sat, 25 Feb 2023 21:42:23 -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=@infradead.org header.s=bombadil.20210309 header.b=k1vZOkQW; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229650AbjBZFkX (ORCPT + 99 others); Sun, 26 Feb 2023 00:40:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbjBZFj7 (ORCPT ); Sun, 26 Feb 2023 00:39:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78AF9136F3; Sat, 25 Feb 2023 21:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=vm8XesWZZsdJp3yTtd1wnFZl0IgUFeQLot9qSDQtjWw=; b=k1vZOkQWbzFIE8hajMCqs31sXz XaqcWLE8zcWJS79sXGCa/hba+DSpcr7IoLcyQIWD2Rh4u1MP1u01rFLTldFsXVbf4hLpyJqqwklPe Ba2eqnsV0NljxngI5jLQNntsFX6PEBeEpp57n0W8DUm7dvKg8Zt/JBsdskhfG7cXTT0o5314eJl+7 w/2MRUPbt3hv3uzaKkGevXYg26JYsIjk4ymhemUJSyahqM/TuZjwfJMWwyltxHqumUXH73ZwGV5+J Y7/vbl6D91QBhFgR268o3hrQv5sw4qq6J2UZJUsaNgO8jC8dwR3d5oIv7x6y50wPuxaudU1smqrh2 v5kkRewA==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lN-006qYL-QJ; Sun, 26 Feb 2023 05:39:57 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Yegnesh S Iyer , Bin Gao , Zhang Rui , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , linux-pm@vger.kernel.org Subject: [PATCH 7/8] thermal: intel: BXT_PMIC: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:52 -0800 Message-Id: <20230226053953.4681-8-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758871047550436674?= X-GMAIL-MSGID: =?utf-8?q?1758871047550436674?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: b474303ffd57 ("thermal: add Intel BXT WhiskeyCove PMIC thermal driver") Signed-off-by: Randy Dunlap Cc: Yegnesh S Iyer Cc: Bin Gao Cc: Zhang Rui Cc: Rafael J. Wysocki Cc: Daniel Lezcano Cc: Amit Kucheria Cc: linux-pm@vger.kernel.org --- drivers/thermal/intel/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -- a/drivers/thermal/intel/Kconfig b/drivers/thermal/intel/Kconfig --- a/drivers/thermal/intel/Kconfig +++ b/drivers/thermal/intel/Kconfig @@ -73,7 +73,8 @@ endmenu config INTEL_BXT_PMIC_THERMAL tristate "Intel Broxton PMIC thermal driver" - depends on X86 && INTEL_SOC_PMIC_BXTWC && REGMAP + depends on X86 && INTEL_SOC_PMIC_BXTWC + select REGMAP help Select this driver for Intel Broxton PMIC with ADC channels monitoring system temperature measurements and alerts. From patchwork Sun Feb 26 05:39:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61565 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809487wrd; Sat, 25 Feb 2023 21:41:36 -0800 (PST) X-Google-Smtp-Source: AK7set+5f3WHYOtxZ865n3T0xJThLWsIgHknL2Or8UyVau6Nx3J5m8Vt6V70VHBaldXaSXYaSclS X-Received: by 2002:aa7:96e9:0:b0:5dc:71a:c928 with SMTP id i9-20020aa796e9000000b005dc071ac928mr10682612pfq.26.1677390096488; Sat, 25 Feb 2023 21:41:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390096; cv=none; d=google.com; s=arc-20160816; b=v/MqDknaxXscz+1yoLQkFiYOfmZlZE32XVe9jfJPhSPOv6RlYdt0enj6feVoNTBqF/ +U4LFshENTwWst6SDfnzhS4ulalphQvH99iE+tSPjmodP7xiplKM2uRRnjVXIFf92nhm JkarDNqdO42Qat6nSaKvYXV+P1ECyEU6mAu1jPOfjnWhfMwYDreZpPOmin4pwfAupKmp y/JOFFQu1jcaiYYtDMy8Jlt1rEN1NKBn4yX/CTihR4SDWmXlYNVHjb3KHeOz0HB6jNgy ho/BclVMPfXCpfjMRy/hKq2NTGr35sXFWMHh7f8WFluPv961NqUKnaYH6qNoVAPy6C/9 jozw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cSNByO9fFLUH/bsd79G915kzP5bO5cbyzpjf2Z+gFkk=; b=Yspz2TYMg/QuydXUJCeK2jUaKlu6Dt5oKo/0t6I9FTedvmw6T4d3Q8SqCDoaNIr/UL 9ARUy85HHPvu8ZN2FlDMfHXmpbQsH+C3LHHWfXx4zz+qP/jbp4/0vMGUzvHWapMP/Fs9 DYFxLe35bOryv65B2BFsp1s04GXFI9gy16zpjF3s8zNrnxFyoz43g+eFkGqqIeKziGs8 VsfL004iFugdzrNVCiyfUYAcbDs/ENZLLTP02C4zXqcyD3AtQKRcE/jJGADosxNY4Sfy Xlu2M8XjKwshKHOj3NUyiOjUeqRLTQZ5OM3JnEITr40OQcEcK6knutoqSAqH4fhK09Pn Kukg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Wc+ujKzB; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f5-20020aa79d85000000b00592d5c262aasi3567771pfq.137.2023.02.25.21.41.23; Sat, 25 Feb 2023 21:41:36 -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=@infradead.org header.s=bombadil.20210309 header.b=Wc+ujKzB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbjBZFkS (ORCPT + 99 others); Sun, 26 Feb 2023 00:40:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbjBZFj7 (ORCPT ); Sun, 26 Feb 2023 00:39:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF6B8136E9; Sat, 25 Feb 2023 21:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=cSNByO9fFLUH/bsd79G915kzP5bO5cbyzpjf2Z+gFkk=; b=Wc+ujKzBtm+iV66xOvUoAUGW1r emDMt3GkBYnW0zXqvn/HmExzeY6gQDdMGhpcFu4c8lxCp3UQHRmYnYPxdl+RiiEWrmwdVJtoDo8ic 2AJ2rMwrf3jXoLafx9hsLP7nJOHL5h2VmuUqb2XpeE8cJwkdWo/k3V+LmYLOkDow6LK+ly4VEI3/q JMbwUBLaJhg3VGoL+4IAzrZukTKM3QBl2T00aO8Cu5bYdy2744qx2geTxx22LnV3UAjkaUVdk4buX TApEbcGYagRdqgIdrXjnnjZAknRduFfiREeJpas6LHqLXhXECpCapPST1GWw0NdCcXTOg7A3zGYMc Jps0jjIw==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lO-006qYL-6D; Sun, 26 Feb 2023 05:39:58 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Greg Kroah-Hartman , Oskar Senft , linux-serial@vger.kernel.org Subject: [PATCH 8/8] serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:53 -0800 Message-Id: <20230226053953.4681-9-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758870998151061174?= X-GMAIL-MSGID: =?utf-8?q?1758870998151061174?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: 8d310c9107a2 ("drivers/tty/serial/8250: Make Aspeed VUART SIRQ polarity configurable") Signed-off-by: Randy Dunlap Cc: Greg Kroah-Hartman Cc: Oskar Senft Cc: linux-serial@vger.kernel.org --- drivers/tty/serial/8250/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -- a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -257,8 +257,9 @@ config SERIAL_8250_ASPEED_VUART tristate "Aspeed Virtual UART" depends on SERIAL_8250 depends on OF - depends on REGMAP && MFD_SYSCON + depends on MFD_SYSCON depends on ARCH_ASPEED || COMPILE_TEST + select REGMAP help If you want to use the virtual UART (VUART) device on Aspeed BMC platforms, enable this option. This enables the 16550A-