Message ID | 20221019133208.319626-4-kory.maincent@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp337320wrs; Wed, 19 Oct 2022 06:49:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM53iw4+Td6FTmkV1eB+1uVdta+lFE7xmcDKoSx/FtLGy/KeXpPSgf53TlG6lLf/M+JZeUp5 X-Received: by 2002:a17:903:4d7:b0:178:8564:f754 with SMTP id jm23-20020a17090304d700b001788564f754mr8542501plb.60.1666187340268; Wed, 19 Oct 2022 06:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666187340; cv=none; d=google.com; s=arc-20160816; b=ksNgguYgfEtOucMkNWKgsyMw34WcF+HqI9sBBalH8zYvM+rcKPaWzn3T5QL4WX18pU tKkfWoINrS1p76Kc1BAZKiOjTuVS+sMXh1WR/cqmTU2XyiPlidlAj3RoasD/lFYuX63L THdnN8KGSFiMT+UP9OQ4YpDExFJ8DDHvxHl+WyjuFZ5ko2sOLl8aQBcqYsKeKwoR8qTu /BiuUsoKHlxWIZX48nlisGEHdepEIUqvQju3GVsC5RVr69/U4F6lOBbb3Sc8+avlldsM rSyRyG6YCMuydEj0pt4k63tCL2Q+kdQqERTiOLWI6Kfjj2dJeH5JzaccREh1GlKE/clc 6Siw== 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=CehQOdR4v7DxsG/sDIwF8vh4xeli0PmHWYqfNFH0Nwo=; b=Epz4h+GGMWay2x5a9zHizsHFlEJCsXhUAWnMmGRzNKLQRkW0g5B89+4N/m1+XpQnru AVl3OV9Zzoyd2i1uFVC1g6AJH8+zhiKrpf3LQlkN4bgD5FYJaXmeD9X53VLrRqtmVGX+ 03vQoaH32WDqHm3zBdxWuSCWl9jx+VMwH1ojM/2dRXoTbjpEuqgn+A9dQ4ZJh+QZvE8v xhPkL0RDdBtaSOWAvxS0IrU+EJ6ga+Jg/nz81+qXCSDT8HXP8MHZFMrYnDx29MOUcYAP 2Y4efgRptZwXufGvxYuO+5RWDZXF99hImSUnn4qlh3Wqi/RGibXxo7uEvQy3Sxv16cDQ TMrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=KGuID9Fl; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a170902ff0100b00182a9c27a9csi16610096plj.603.2022.10.19.06.48.46; Wed, 19 Oct 2022 06:49:00 -0700 (PDT) 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=@bootlin.com header.s=gm1 header.b=KGuID9Fl; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233608AbiJSNsO (ORCPT <rfc822;samuel.l.nystrom@gmail.com> + 99 others); Wed, 19 Oct 2022 09:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233411AbiJSNqz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 19 Oct 2022 09:46:55 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF7A6178B7 for <linux-kernel@vger.kernel.org>; Wed, 19 Oct 2022 06:32:20 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 94314E000E; Wed, 19 Oct 2022 13:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CehQOdR4v7DxsG/sDIwF8vh4xeli0PmHWYqfNFH0Nwo=; b=KGuID9FlBX+Cb7yVGGD5TKDL1LO7FHkk2hV+V+KD5MVKqyFq+/iIMA17P7T4ocgsGdqAph l++hQOf/+YEoWWgrI4/WxN0pfOTlS1tTpO2fFmcjqG2Uf4Y2Aosf1bZ4xk0VQfYlTGJVkw FpjdiJ9IgzXePSGm45RoEwIDKvFHl4uMI9R+QerPDqHEhtZD6lBTy3VXey7+5yXrgNxsOU /FC8+8UASGVvxzWFk0Y4Vm13z0ZDnxeaYt6pmdscqWMxq2RMRTwoBym1uAgnK+IoJmpa9r dIQiz9kh70t3HA13YQ8Nc5Kf/EZS4ZGGiB6l6ASNy5jirYUXjq9VOSeMJgGYzA== From: =?utf-8?q?K=C3=B6ry_Maincent?= <kory.maincent@bootlin.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent <kory.maincent@bootlin.com>, Russell King <linux@armlinux.org.uk>, Arnd Bergmann <arnd@arndb.de>, Gregory CLEMENT <gregory.clement@bootlin.com>, Sudeep Holla <sudeep.holla@arm.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Alexandre Ghiti <alexandre.ghiti@canonical.com> Subject: [PATCH 3/6] arm: configs: spear6xx: Enable PL110 display controller Date: Wed, 19 Oct 2022 15:32:05 +0200 Message-Id: <20221019133208.319626-4-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019133208.319626-1-kory.maincent@bootlin.com> References: <20221019133208.319626-1-kory.maincent@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1747124056096488406?= X-GMAIL-MSGID: =?utf-8?q?1747124056096488406?= |
Series |
[1/6] arm: configs: spear6xx: Refresh defconfig
|
|
Commit Message
Köry Maincent
Oct. 19, 2022, 1:32 p.m. UTC
From: Kory Maincent <kory.maincent@bootlin.com> Enable the PL110 DRM driver, used by the spear600. CONFIG_I2C is dropped from the defconfig as it is selected by CONFIG_DRM. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> --- arch/arm/configs/spear6xx_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Comments
On 19/10/2022 09:32, Köry Maincent wrote: > From: Kory Maincent <kory.maincent@bootlin.com> > > Enable the PL110 DRM driver, used by the spear600. > > CONFIG_I2C is dropped from the defconfig as it is selected by CONFIG_DRM. I2C as a user-selectable option should stay. Don't remove such (user-selectable) top-level options just because something else selected it. Best regards, Krzysztof
Hello Krzysztof, On Wed, 19 Oct 2022 09:38:45 -0400 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > On 19/10/2022 09:32, Köry Maincent wrote: > > From: Kory Maincent <kory.maincent@bootlin.com> > > > > Enable the PL110 DRM driver, used by the spear600. > > > > CONFIG_I2C is dropped from the defconfig as it is selected by CONFIG_DRM. > > I2C as a user-selectable option should stay. Don't remove such > (user-selectable) top-level options just because something else selected it. As the CONFIG_DRM selects it, the "make savedefconfig" removes it by default. Why keeping something that is already automatically enabled by CONFIG_DRM?
On Wed, Oct 19, 2022, at 15:48, Köry Maincent wrote: > Hello Krzysztof, > > On Wed, 19 Oct 2022 09:38:45 -0400 > Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > >> On 19/10/2022 09:32, Köry Maincent wrote: >> > From: Kory Maincent <kory.maincent@bootlin.com> >> > >> > Enable the PL110 DRM driver, used by the spear600. >> > >> > CONFIG_I2C is dropped from the defconfig as it is selected by CONFIG_DRM. >> >> I2C as a user-selectable option should stay. Don't remove such >> (user-selectable) top-level options just because something else selected it. > > As the CONFIG_DRM selects it, the "make savedefconfig" removes it by default. > Why keeping something that is already automatically enabled by CONFIG_DRM? It's something that DRM probably should not select, so if this ever gets fixed in DRM, you get a broken build. Just leaving the line in there is harmless. Arnd
On 19/10/2022 09:48, Köry Maincent wrote: > Hello Krzysztof, > > On Wed, 19 Oct 2022 09:38:45 -0400 > Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > >> On 19/10/2022 09:32, Köry Maincent wrote: >>> From: Kory Maincent <kory.maincent@bootlin.com> >>> >>> Enable the PL110 DRM driver, used by the spear600. >>> >>> CONFIG_I2C is dropped from the defconfig as it is selected by CONFIG_DRM. >> >> I2C as a user-selectable option should stay. Don't remove such >> (user-selectable) top-level options just because something else selected it. > > As the CONFIG_DRM selects it, the "make savedefconfig" removes it by default. > Why keeping something that is already automatically enabled by CONFIG_DRM? Same question every few months :) Because otherwise we can drop select in DRM and do not update the defconfigs. https://patchwork.kernel.org/project/linux-samsung-soc/patch/20191125125515.30795-1-m.szyprowski@samsung.com/#23021125 https://lore.kernel.org/all/20201130202501.GA32878@kozik-lap/ https://lore.kernel.org/all/c5150e83-0e50-3be6-b6bd-bf30fe5e94d1@linaro.org/ https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a2315d3aea5976acd919d3d3fcf82f752562c25b Best regards, Krzysztof
Krzysztof On Wed, 19 Oct 2022 09:57:26 -0400 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > On 19/10/2022 09:48, Köry Maincent wrote: > > Hello Krzysztof, > > > > On Wed, 19 Oct 2022 09:38:45 -0400 > > Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > > >> On 19/10/2022 09:32, Köry Maincent wrote: > >>> From: Kory Maincent <kory.maincent@bootlin.com> > >>> > >>> Enable the PL110 DRM driver, used by the spear600. > >>> > >>> CONFIG_I2C is dropped from the defconfig as it is selected by CONFIG_DRM. > >>> > >> > >> I2C as a user-selectable option should stay. Don't remove such > >> (user-selectable) top-level options just because something else selected > >> it. > > > > As the CONFIG_DRM selects it, the "make savedefconfig" removes it by > > default. Why keeping something that is already automatically enabled by > > CONFIG_DRM? > > Same question every few months :) > > Because otherwise we can drop select in DRM and do not update the > defconfigs. Alright, thanks, I will update it in V2. I will be more careful with savedefconfig for now ! Köry
diff --git a/arch/arm/configs/spear6xx_defconfig b/arch/arm/configs/spear6xx_defconfig index 1cf0621d2154..231cbd2ac536 100644 --- a/arch/arm/configs/spear6xx_defconfig +++ b/arch/arm/configs/spear6xx_defconfig @@ -32,7 +32,6 @@ CONFIG_STMMAC_ETH=y # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_I2C=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_SPI=y CONFIG_SPI_PL022=y @@ -40,6 +39,8 @@ CONFIG_GPIO_PL061=y # CONFIG_HWMON is not set CONFIG_WATCHDOG=y CONFIG_ARM_SP805_WATCHDOG=y +CONFIG_DRM=y +CONFIG_DRM_PL111=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y