Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6791rwb; Thu, 12 Jan 2023 02:45:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXvyv79hDep9ngKAYLKBfQ4CpPC5raOqLLYD1jmCrTb5B8wuT1nTyI172hxJ1F56OlPDnyB0 X-Received: by 2002:a05:6402:538c:b0:483:21d8:87af with SMTP id ew12-20020a056402538c00b0048321d887afmr56316566edb.24.1673520338078; Thu, 12 Jan 2023 02:45:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673520338; cv=none; d=google.com; s=arc-20160816; b=Cm5UAb4rsdy8CauuDWMy5EA7bsnc9kuXpV4VxvkV34lALls0hoLmjh+O+hlT5aJcvJ b/jqqaeqGompPdp43mdEMlb43M4HJnIW6uRdo3xqROpwp1Z6hfY34/hc2mTfPluzXR+O hAeoLZdgQEd/ZHpn5qQX3UPGQ9z6r7gKiD6bIzOyRRX/BsIwF0M0IXh58IDDeqSL27CD daX14zf0HOuTZmDvZvlLr3wOX/7GF8WOhf82//75/cAY5nVmHQxYph+V7XQ1hscitj7K U+9kfAlhPmq8nprg6d4eT+Our3ya8cwPQHoJhW6olqRU6KJCJe/p+ORLMhIWDttjbQgk P7Jg== 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=XnSx3k86yn0WY5oxd+pkTjscw3x8idBcLq30moNhD6w=; b=lJ6xKOrJGa1lCq7runKqQ3YC7GNeKOrpYs06CFiSvaKumojPsRlSFRefSR9hIKrVUC cnL2k0BJsOMu6jA2BV72r3gSiVNOOhrdWQKZQRY5lhetCJrNH8JVHAtLlcVV+soeLgsh 2aouZlh0jiojWJs3nZ1gynx72Ai1m9eD+NJ+uww0Q1bu3CtyMu+IGlZ7TPwpIJrurCEz cZP+Lf6VArEN6DJ39+h5uLegoiZshjPR/x5q3tIYoGxwl8Pra4xuzse1t2hAAo5J4ZHA i3a9gDEnSMq6PiVLY8H7/Xt/kOKFDBJM7CEip9o6dHU4jYxAUgax3V5GAXFhiQbuNOdg lRDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=dh8DS6fm; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=cAGnQv1E; 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 ez19-20020a056402451300b00489e993b8easi15061950edb.630.2023.01.12.02.45.25; Thu, 12 Jan 2023 02:45:38 -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=@arndb.de header.s=fm2 header.b=dh8DS6fm; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=cAGnQv1E; 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 S229554AbjALK0Y (ORCPT + 51 others); Thu, 12 Jan 2023 05:26:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237145AbjALKZk (ORCPT ); Thu, 12 Jan 2023 05:25:40 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FA86373A0; Thu, 12 Jan 2023 02:20:15 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 75B595C01F6; Thu, 12 Jan 2023 05:20:14 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Thu, 12 Jan 2023 05:20:14 -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=fm2; t=1673518814; x=1673605214; bh=XnSx3k86yn 0WY5oxd+pkTjscw3x8idBcLq30moNhD6w=; b=dh8DS6fmkcsSsxHuD8iz/zeF7K YG5Ghv7dmYP+9sQZSbSZJzKNhlbznIROAgjRQUXINKR6PwK8uQsIF9GqELRlVfvl RfAc+au/WCDFMxs+mKeZzMudPp1Lbsrnb6UVy1R7cqbzLV0EqmyhJpV2YDzayIv7 H4R3Ly5IKKrtQETyeniID0cVz1R9Zwe/g2gxSpQSRe6LTYCwzJ7e0RlGmPndGIki +LygMmVPFsITN6nSIed5gYxbIyRW59fMOl5oE3PXIQviO7hcPU/hk3KHl2Cwiiog LXpVaqtw2WEJYbf0VYmOzuKf6SsJJE6D2mad7CvvtX3VYytW3HfsiVx6XWmA== 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=1673518814; x=1673605214; bh=XnSx3k86yn0WY5oxd+pkTjscw3x8 idBcLq30moNhD6w=; b=cAGnQv1E43V4UV4Yqz6tu3ibCfdgHR29+TKeIgPko4yD JKFXJiYGJ8PW/rN0+xXEIbDZtdBZH5r3wjC30Y0+HNdv3aTGCCpUEGFq/a1hkzCX XLMCdX6+zPYiOb9+hZWJYrAE3jJlcFKBv0+uWeU48+Fy+uuCAXKQWJpHAG445qiW GbFkR4SbOCt1aJhM/y2LacCy9vtAUxL6F1dKbgQJnLqaSuX78zK9Mx+YytNq3EOt yBhiGgmIXJnfR7hb6c1/KH+YQHbDavFU5HehZUac/ZO3+jQgYkx1TgW6IfLwk01C YrUEXvDkyc1j8FhC9KitRdUiK3M2DQ18YQUUdmQtXA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrleeigddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 75878B60086; Thu, 12 Jan 2023 05:20:13 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20230112083746.9551-1-lukas.bulwahn@gmail.com> <20230112083746.9551-4-lukas.bulwahn@gmail.com> <3f2663ff-ff3f-4632-853a-ba4d38df9701@app.fastmail.com> Date: Thu, 12 Jan 2023 11:19:53 +0100 From: "Arnd Bergmann" To: "Tony Lindgren" Cc: "Lukas Bulwahn" , "Aaro Koskinen" , "Janusz Krzysztofik" , "Krzysztof Kozlowski" , linux-arm-kernel@lists.infradead.org, Linux-OMAP , linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] usb: remove OMAP USB Device Controller and OHCI support for OMAP1/2 chips 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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 Thu, Jan 12, 2023, at 10:53, Tony Lindgren wrote: > * Arnd Bergmann [230112 09:03]: >> On Thu, Jan 12, 2023, at 09:37, Lukas Bulwahn wrote: >> > Commit 0fee2eac5c2b ("usb: phy: remove phy-isp1301-omap driver") removes >> > the Philips ISP1301 with OMAP OTG driver and its corresponding config >> > ISP1301_OMAP. The drivers, OMAP USB Device Controller and OHCI support for >> > OMAP1/2 chips, with corresponding configs, USB_OMAP and USB_OHCI_HCD_OMAP1, >> > need this removed driver (see "depends on ISP1301_OMAP") to build. >> > >> > Remove those two drivers. >> > >> > With the config USB_OMAP removed in this commit, remove some further code >> > in the omap-dma header and mach-omap1 architecture code. >> > >> > Signed-off-by: Lukas Bulwahn >> >> This would be a great cleanup because of the simplications of the >> omap-dma code. I had previously looked at it and concluded that >> the driver is still in use though, and I think my mistake was >> just in the Kconfig part of this patch: > > It sure would be nice to drop the old custom dma api in omap-dma.c > while keeping the dma.c in arch/arm/mach-omap1. I see that four out of the five remaining board files still use omap_udc, which is the only remaining user of the custom DMA interface. What I had not noticed earlier is that DMA support in that driver is actually optional, though it's hardwired to be enabled. So if we want to kill off the old DMA stuff there is actually a choice between either making omap_udc PIO-only or converting it to use the standard dmaengine interface. Arnd