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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B133C5519F for ; Wed, 18 Nov 2020 21:12:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A58AB246B2 for ; Wed, 18 Nov 2020 21:12:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Sb9E3uox"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="ajvpli9V" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A58AB246B2 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1806VqA/Wzbs9YX6j51uqNXCTgNlMkoVXdlCEH22t04=; b=Sb9E3uoxJAAiGaeNwLgaHxjCe 07Tekcp8HDvF5enyIOK3gvgKTNTjap3HJpPrXXPNX5D/XrIUdv7+/pgj0nbd3aJbAGzJgAfAmvrLz bNvhIzZm8WZstGzgcwME/f+Nt/7cXitP7gr4a+I5Xstd6rI6O5yBSWv/HoywyfJJIkzmkZ0oUDfgL GCE5dl0y1uj/CGcxK9+zLsJFWeYkp0YvYy9gBPG5QxHSeIHv5bukNHttr2J3Cj0mep+3/hQvA4Q9Z zJmcVtZX7Ckafl2mUjpN++TQ3uoJ4crl5Eco8W9s1aVxDYlIMJFL9jTwEAYnvW+/62OZSZNEya7qz vL4uuEWcA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfUiw-0000fl-Cs; Wed, 18 Nov 2020 21:10:42 +0000 Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfUiu-0000fJ-Im for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2020 21:10:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1605733841; x=1637269841; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Jq/eRjn0obi2uv5Dl0AS2noEMEJK9gbeIkY5UoNCpN8=; b=ajvpli9Vt3/nhHzDQDPDW0btyiQVIfb33Unem++xpw2c025hCWHj7xeY YVpwO5HzI4OWF+wnf2HxdPrnMDeejzG9gs8W1MHUUvbYKapMIkvHO0giL szPcmkwVobOWYoavRPGipbjaGOUjzqfUeYXwtcMfAar6HwnXs+eqmIeNi HNABIf3mb38LFWQ13VVFqr+YC424MlG3PZojpTI/E5YBi0LQBwdZAPbmg Sn3OUIT6Iqhp4Qy3vXUWbBBtz/0xdaGnbUb8UX/k8veesJKQpnPrjVJHc qGjoYBee+SHkgtEoApIPL/TXn1BGKUJgGPB39qk+QP1KpyfAbkgNqz7ET w==; IronPort-SDR: 3UR5JNkMD9WDanNxM0NBtX9t15G95UXDp9NLTq9fAdrKKZgWWp/491k1x+pFqjw2QKHMPpoIMI D3/NkG5t/2aPunI3sKHa51eI8ezS4CfTvc7dovDU8za3qTlZ74jXIwKdJd8ACDcaoEMAhcfrKl IQdTBPLcsRFeQXWH7TejPUdryh3MW9DTSD28WAHNTIFACZLgaGz2LM/l0ZOPe3Wj5WfFXibaKP gtLBgeEEntJ2j62rQXgHmEQ2dNtpr9brkGZnwvruOATw+o0WFqcL9N27Mg/M2tvQnOCKm6cjOe Rr0= X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="98979099" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Nov 2020 14:10:37 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 18 Nov 2020 14:10:37 -0700 Received: from localhost (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Wed, 18 Nov 2020 14:10:36 -0700 Date: Wed, 18 Nov 2020 22:10:36 +0100 From: Ludovic Desroches To: Alexandre Belloni Subject: Re: [PATCH 0/3] ARM: dts: at91: add pincontrol node for USB Host Message-ID: <20201118210530.2liwy4sywichojry@sekiro> References: <20201118120019.1257580-1-cristian.birsan@microchip.com> <20201118150336.g3u3ljuhrbrn2cko@sekiro> <20201118152652.GA11581@piout.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201118152652.GA11581@piout.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201118_161040_828746_69A31249 X-CRM114-Status: GOOD ( 19.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, robh+dt@kernel.org, cristian.birsan@microchip.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 18, 2020 at 04:26:52PM +0100, Alexandre Belloni wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > Hello, > > On 18/11/2020 16:03:36+0100, Ludovic Desroches wrote: > > At first glance, there is no trivial way to register the pin range in the > > pinctrl-at91 driver. There is one driver for the pinctrl and one for the gpio. > > I am open to suggestions to fix it in the pinctrl-at91 driver as well if there > > is an elegant way (I have some in mind, but there are not) without having to > > refactor the driver. > > > > But shouldn't that driver be refactored at some point anyway? I know you > are moving away with new SoCs but it causes real issues. For example, > gpio hogs are not working, this is impacting some of your customers. > I agree, maintainance of this driver is difficult because of its design. Unfortunately, I doubt being able to hadnle a refactoring of this driver in a near future. > The other thing is the weird probe order preventing a nice cleanup of > the platform code. True. IMO, having gpio controlers probed before pinctrl is one of the reason which prevents a trivial fix. Regards Ludovic > > > -- > Alexandre Belloni, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel