From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0F9EC43217 for ; Wed, 16 Nov 2022 07:31:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232369AbiKPHbT (ORCPT ); Wed, 16 Nov 2022 02:31:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiKPHbS (ORCPT ); Wed, 16 Nov 2022 02:31:18 -0500 Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CAE9B1F6; Tue, 15 Nov 2022 23:31:18 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 5EFE55809C4; Wed, 16 Nov 2022 02:31:17 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Wed, 16 Nov 2022 02:31:17 -0500 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=fm3; t=1668583877; x=1668591077; bh=E7Jvxw9QD6 996LKckctE3pdX4RULOQBfxqDk4Zxzl70=; b=UCYzRJf5/nF7KDyRXSU6qXw6m2 h/GU0Nq4X2X7krevsnL8L2tQjh7uA+CbeT3BoQMb0+Z7hbw3YCDdZh3StmM3fQla L+8mrROo/hgakmB9OW4IUO3GJj1yZwqE8JnxdBh6dYzTfATlwnzoSBDzME8MyDTT ksd98dty5hszdERTH7aOJ9A5lXFno5oW9VJ414s4ixJyOfDjugQucJc02H/yraY7 m8D/EpW3c4NzwprB+ZRuzHLf99xy3MLiDnSWAKTV4C7GPG6mSl+bu8j21ycmD9Gc RD0dwIdCqv6pAmrzjsTKMDN8jGWTAyhrPQINx0ItVtRXFZX60RtwNhaVDaPQ== 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= fm1; t=1668583877; x=1668591077; bh=E7Jvxw9QD6996LKckctE3pdX4RUL OQBfxqDk4Zxzl70=; b=a71ozBRnHjODiY3Bl2l8nH5zIEdMV8WQ9QLrSluipnJQ c+ZPC8SEZNgpWnmMNqVGumLalZNySjSk2TFEHXWBflhQXSwblMaBzCHDll3ksYkv 12sVw0c3uZGlni/OyzVh4u/8yVkN4In+Neu8oOK44OdkRjKicMfd88Wp9JpVJsJg Ueg6dGTdJmIUAu1TIdA1z1xmAIOvybbmCEieBdj3cnQMBn+lSPTMlaM019IYdisK Y149puB9nPI8d7avw0dglZCmuP1niuRXJT042eDWdyAcew/kisksjG6M4N9UP8SD 6Y065HA8/rCwTDOlRBmzVWQ6NmnPx8ftOwIbBKvmcg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeehgddutdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id D04D8B60086; Wed, 16 Nov 2022 02:31:14 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead Mime-Version: 1.0 Message-Id: <88f8d4b3-b144-4d04-a2bc-61ee30dd6ff6@app.fastmail.com> In-Reply-To: <20221116065335.8823-1-zhuyinbo@loongson.cn> References: <20221116065335.8823-1-zhuyinbo@loongson.cn> Date: Wed, 16 Nov 2022 08:30:54 +0100 From: "Arnd Bergmann" To: "Yinbo Zhu" , "Linus Walleij" , "Bartosz Golaszewski" , "Rob Herring" , "Krzysztof Kozlowski" , "WANG Xuerui" , "Jiaxun Yang" , "Thomas Bogendoerfer" , "Juxin Gao" , "Bibo Mao" , "Yanteng Si" , "open list:GPIO SUBSYSTEM" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, "Arnaud Patard" , "Huacai Chen" Cc: "Jianmin Lv" , zhanghongchen , "Liu Peibao" Subject: Re: [PATCH v3 1/2] gpio: loongson: add dts/acpi gpio support Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Wed, Nov 16, 2022, at 07:53, Yinbo Zhu wrote: > The latest Loongson series platform use dts or acpi framework to > register gpio device resources, such as the Loongson-2 series > SoC of LOONGARCH architecture. In order to support dts, acpi and > compatibility with previous platform device resources in driver, > this patch was added. I think the support for legacy platform_data should be left out of this patch. I am working on a series that removes unused platform_data headers for machines that have DT support and no longer use static platform_device declarations anywhere in the kernel, so if you add another instance, that would just get removed again in the near future. Just don't add it here. If there are users that use traditional boardfiles instead of DT, they already need kernel patches to add the board files, and adding in the driver support can be part of the same patches. Arnd