Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1579240rdd; Thu, 11 Jan 2024 03:36:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBjjbicIvMyucyZn0YtOXKPkmbZv+se0l28cq5vdnXI4wZhZjFDXB/1ICJU8giPr+Bv1uQ X-Received: by 2002:a17:903:234c:b0:1d4:8db0:ab0d with SMTP id c12-20020a170903234c00b001d48db0ab0dmr1146183plh.48.1704972971622; Thu, 11 Jan 2024 03:36:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704972971; cv=none; d=google.com; s=arc-20160816; b=uG0nt1LD1JshR7FmTt7CQEnDAuUOKERNuSMFkXm0pgPNNuMjoCMyKWta6hpdfxYkyt DD5suejQnqr8DA68VqJ480rIeqDAIM3HJvjm46l2c6GYIPjxQvsMyXaiB+nIQavY90Y2 N6n+9zkV3pnSZVHppLgfjBJm39HeN/sbWU8En3ShhKgJ/nRLdMPf9yjkHFPqJOW8lS0i zBK/n7amb9gKKiQOK5m6/SVfjOdC+Q0W5yRo1PeMOfND6VHOhcmfjKsJbl/gVHnNyJMX ptgc4tXuPOYEY+JX4futtfdbrAKeJKaI4fhZPHgCaln02rUUoZHPZv68AEBeW6tH8MML BCIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bWNZWNBJh4P5mNL0PcE7AwlqcolOgoQPrYU8bTq+ZAo=; fh=xrE0kVeZyNHucnWqhnQrAdUHWoc4Y2c7ZcVfI0y8tr4=; b=bBCV5f9gticy9VCmfuQndoMUab9l2bNnx+uAZIejVkwJje4bRuBydOu7PHnxIHH4H0 uzFDe+92qxe05fYRF+k9jOvRC/HAQx8jcY/2OkpVG9vKRWIRw02eg22zqGtV69BjkiJX cjhnTHm2EzB4rCNth9ZcdCiCow4Aae0TH2LRUPUdHgVHiLOZCBlBpKn7a3QrQHhtZXPo wtR8NXuIXMLAoTvAXLt2HuFoxH4c22PssYfgb0TYUTx6/7Nj+8iVaEl49dEosPxb57rd yirW74c6ZYUsbmBjhc2s6nfs+TXZon01HD83x2V40TjD4AE7im9H/l3OvmMpSD5oVvYv Hd2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IvFJ3gZn; spf=pass (google.com: domain of linux-kernel+bounces-23499-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id kd12-20020a17090313cc00b001d45b0d700fsi861225plb.226.2024.01.11.03.36.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:36:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23499-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IvFJ3gZn; spf=pass (google.com: domain of linux-kernel+bounces-23499-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4A3EE283D19 for ; Thu, 11 Jan 2024 11:36:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50B60154A9; Thu, 11 Jan 2024 11:35:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IvFJ3gZn" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B48915482; Thu, 11 Jan 2024 11:35:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69AFEC433F1; Thu, 11 Jan 2024 11:35:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704972955; bh=aBdXrdu7Fc3ywB3LGukHqXOp/HVe7tj8vpqYpP1GRMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IvFJ3gZnJZmOW4n1hDb23BAssZ0EUOybEz7w/eZDwzNSg5bilSn8XI9BXJJ93D/0d o09I04nLNlA3Cow6eZT+PujIFuptFMcf9eUDNW4/nTJCqwOl7iWyVUTZwo9hs+OXin y2gDzAAfeTSFB0im9juwXFPOpR4dsX9yshWNxTXZwcnDMtps8uQPbeU+EDjq3ElIrY N1XqwjNc02YboOdua/+DnwuYUdKah9CSZ6vhEAsofIaGvd1HDRccJAh4DUTdcHVwZ5 0FPsse1MSDcaCS6sx5uUIBSOScPpXiJbtYDqM44o/fGRMiRUn8P9XMVj1QSBKga5eF hhSYZuH+NvKCA== Date: Thu, 11 Jan 2024 11:35:41 +0000 From: Lee Jones To: Yoshinori Sato Cc: linux-sh@vger.kernel.org, Damien Le Moal , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Thomas Gleixner , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , Magnus Damm , Daniel Lezcano , Rich Felker , John Paul Adrian Glaubitz , Helge Deller , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Yang Xiwen , Sebastian Reichel , Linus Walleij , Randy Dunlap , Arnd Bergmann , Vlastimil Babka , Hyeonggon Yoo <42.hyeyoo@gmail.com>, David Rientjes , Baoquan He , Andrew Morton , Guenter Roeck , Stephen Rothwell , Azeem Shaikh , Javier Martinez Canillas , Max Filippov , Palmer Dabbelt , Bin Meng , Jonathan Corbet , Jacky Huang , Lukas Bulwahn , Biju Das , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Sam Ravnborg , Sergey Shtylyov , Michael Karcher , Laurent Pinchart , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: Re: [DO NOT MERGE v6 23/37] mfd: sm501: Convert platform_data to OF property Message-ID: <20240111113541.GH1678981@google.com> References: <569f0bfb4fa3fcec8fbd64f67fc4fd2d1cba3f77.1704788539.git.ysato@users.sourceforge.jp> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <569f0bfb4fa3fcec8fbd64f67fc4fd2d1cba3f77.1704788539.git.ysato@users.sourceforge.jp> On Tue, 09 Jan 2024, Yoshinori Sato wrote: > Various parameters of SM501 can be set using platform_data, > so parameters cannot be passed in the DeviceTree target. > Expands the parameters set in platform_data so that they can be > specified using DeviceTree properties. > > Signed-off-by: Yoshinori Sato > --- > drivers/mfd/sm501.c | 436 ++++++++++++++++++++++++++++++++++ How has this grown from 99 lines to 436 lines? Most of it almost certainly needs moving (back?) out to the leaf drivers. A great deal of the properties parsed in here are only relevant to a single device (display for instance). Please move all non-generic handling out to the relevant subsystems. > drivers/video/fbdev/sm501fb.c | 106 +++++++++ > 2 files changed, 542 insertions(+) -- Lee Jones [李琼斯]