Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7086228rwi; Mon, 24 Oct 2022 09:38:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5oytJkpdnH2aXvk3fTcQVT8omomTxdefcc5HjVA+9z4clCi0yzSZn+fu63thN4VBtbyUXz X-Received: by 2002:a17:907:3ea9:b0:78d:fdf0:88fe with SMTP id hs41-20020a1709073ea900b0078dfdf088femr29529704ejc.667.1666629514697; Mon, 24 Oct 2022 09:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666629514; cv=none; d=google.com; s=arc-20160816; b=ikNe+qWop1XXrnvLPhSKbtOarkGQ2Z+yGuID4RP+pqZ7TY8oG19BcWELNc1eFTdgXp WO00aa6FV4y9pzd4QJvefaoW0evjZQ8iHiEVqNMBWSIqt8e4Rp+tp5Ul3UBk/VFIc4Gx i3gYxkOgUe/+l310UrfCN/LoYBHjUqP1G1MJNAfJ/k+AcRJfg+BNW+6BBs5CdJY6b05U oAwkdzW0mJKva596XR5tYQRuc1RyBCv4gOoG8xSKE35+zEp3QJH+j6pz31oJJl7YQUpP 7wop6YyeONO9S/TWvuwSsrpS1vl+2f+JXgNgn6nlwpxUBL+UceYj9o3RiovKHR0zepag auCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=yALotGF5gu2PaCNV/egtd+i3//YX5Y+ckq5ZuUGJVS4=; b=h0NhiNVLStkWX+yGeBYt8n3wes4rWaKGsc8zDpqirFKljr52gs1xp3ECj5Dl0DAxig 1FCUNF+NPy3IlGVXZghO/c+Btumgad6NOFYTc+TiI7Cnl82w4fpmww58nk0KoV69YztS O4juf13/+0+eB472UeOhDxDNm9ntCY6lIhuGq/6rrqKPMqZ64jfoEVazqyj5qszd2pTi 6rL6GiMCDtvTtrYWbNtC20wSXBqhpTFUJbmdCdKBaElUiraWDFACdE2khzfVx3gigZ8E PM7xaDSHLBkKKnsJcVcxFMpG+N6E9wnfhGjTcx7nI5UTyTwqdpU/gg2oDKosPg7RzkpU 7uIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=CGcKm8uy; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=EYkrsuKQ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne29-20020a1709077b9d00b0078db89b2566si163418ejc.699.2022.10.24.09.38.09; Mon, 24 Oct 2022 09:38:34 -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=@arndb.de header.s=fm2 header.b=CGcKm8uy; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=EYkrsuKQ; 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 S230048AbiJXQcX (ORCPT + 99 others); Mon, 24 Oct 2022 12:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233506AbiJXQbj (ORCPT ); Mon, 24 Oct 2022 12:31:39 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02F081F611; Mon, 24 Oct 2022 08:18:15 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id ABA773200956; Mon, 24 Oct 2022 09:33:00 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Mon, 24 Oct 2022 09:33:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1666618380; x=1666704780; bh=yALotGF5gu 2PaCNV/egtd+i3//YX5Y+ckq5ZuUGJVS4=; b=CGcKm8uy7pXuNtC88a+pdrGRCB k/M0r+ucQbVt2z7aNyBAR6pRBZw8NJs567YzTVed5NyNRhbcaXHwOuocNqvkUY1Q a68YYRB/kKOAn6neyz323y+AY0jABRus/GKs6ZnMGGzadubtLbobFzYRkyDscYbS vCDMVPpfg0mJkMo0dt3BPbxS9ISz4UETtXdTTqolJieAxJBZprtuBBFW7KWzQNwq b5d2/2R5JPt36BEgIYG/7w5fVNQB93HfHaAuyuzY3F4k1bSM1mk78MlxBoq0794c po8uCvWJYEsV2IuHpET+tTXFgicOU5us4NP4Qu4j6pJoahsQAacmTync8TwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1666618380; x=1666704780; bh=yALotGF5gu2PaCNV/egtd+i3//YX 5Y+ckq5ZuUGJVS4=; b=EYkrsuKQaLFIHyQdtqIYcx3apZCF9wBdNRpj+GJSpPB9 JkwjAsVrrY+8/LBhMLw2UdwaSO1W0CtV3JXA0M1ZcZjmWYGiVLpHXQ4TQ/N+Bs9+ FMO23IyPIUW5t2ttBK83GiHdDUQP5TYkVh0mAUKrMNBwg+uTrfY41l4PYZOuUU58 CHYsg0MyFCHjagA3vA8/qECW16h3s6jqrbPHqZZQKa3MsWPDCBNYL2GD7bnWj0K7 q/AAuW1ScFgFNBDiCUt6QRr+K76NWAMXWw+C94t+Udq1ws+LB/KWr+RXltGOJrqY EX9pCQ4ZjbGeCQ28d12waKezhvXypQmeT6IfOGlvlw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgedtgedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 81B7CB60086; Mon, 24 Oct 2022 09:32:59 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1047-g9e4af4ada4-fm-20221005.001-g9e4af4ad Mime-Version: 1.0 Message-Id: <9912a1eb-ad12-4608-bf48-d74ac5f5805a@app.fastmail.com> In-Reply-To: References: <20221021202254.4142411-1-arnd@kernel.org> <20221021203329.4143397-5-arnd@kernel.org> Date: Mon, 24 Oct 2022 15:32:39 +0200 From: "Arnd Bergmann" To: "Krzysztof Kozlowski" , "Arnd Bergmann" , linux-arm-kernel@lists.infradead.org, "Mauro Carvalho Chehab" Cc: linux-kernel@vger.kernel.org, "Ben Dooks" , "Simtec Linux Team" , "Alim Akhtar" , "Mark Brown" , "Juerg Haefliger" , "Linus Walleij" , "Tomasz Figa" , =?UTF-8?Q?Heiko_St=C3=BCbner?= , linux-samsung-soc@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH 05/21] ARM: s3c: simplify platform code Content-Type: text/plain 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_PASS, 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 On Mon, Oct 24, 2022, at 14:29, Krzysztof Kozlowski wrote: >> diff --git a/arch/arm/mach-s3c/Kconfig.s3c64xx b/arch/arm/mach-s3c/Kconfig.s3c64xx >> index c403d7642f0a..c52c7ce1d8fa 100644 >> --- a/arch/arm/mach-s3c/Kconfig.s3c64xx >> +++ b/arch/arm/mach-s3c/Kconfig.s3c64xx >> @@ -15,12 +15,9 @@ menuconfig ARCH_S3C64XX >> select HAVE_TCM >> select PLAT_SAMSUNG >> select PM_GENERIC_DOMAINS if PM >> - select S3C_DEV_NAND if ATAGS >> select S3C_GPIO_TRACK if ATAGS >> - select S3C2410_WATCHDOG > > This does not seem right. S3C2410_WATCHDOG is a driver used by all > (including Exynos) platforms. I don't remember why I removed this line, probably because I removed S3C_DEV_WDT after there are no references to that symbol left in board files. The watchdog driver is now DT-only with cragg6410 being the last remaining board file. Ideally we should not 'select' it from here but instead have it enabled in the defconfig file, but I agree that would be something to do in a separate patch, while the patch here should not change the behavior. I'll revert this part. >> @@ -121,10 +118,8 @@ config MACH_WLF_CRAGG_6410 >> select S3C_DEV_HSMMC1 >> select S3C_DEV_HSMMC2 >> select S3C_DEV_I2C1 >> - select S3C_DEV_RTC > > This as well. I'm fairly sure this can be removed along with S3C_DEV_WDT, S3C_DEV_I2C[2-7], S3C_DEV_NAND, and S3C_DEV_ONENAND as I remove the symbols due to the lack of references from cragg6410. I folded in this fixup now: --- a/arch/arm/mach-s3c/Kconfig.s3c64xx +++ b/arch/arm/mach-s3c/Kconfig.s3c64xx @@ -16,8 +16,10 @@ menuconfig ARCH_S3C64XX select PLAT_SAMSUNG select PM_GENERIC_DOMAINS if PM select S3C_GPIO_TRACK if ATAGS + select S3C2410_WATCHDOG select SAMSUNG_ATAGS if ATAGS select SAMSUNG_WAKEMASK if PM + select WATCHDOG help Samsung S3C64XX series based systems Arnd