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 E3023C77B78 for ; Thu, 4 May 2023 12:45:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229638AbjEDMpm (ORCPT ); Thu, 4 May 2023 08:45:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbjEDMpl (ORCPT ); Thu, 4 May 2023 08:45:41 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBDE76199; Thu, 4 May 2023 05:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=14sjKY8h8FWkGXw0wntZ015vh0LfS2hxWosSTp8tzLU=; b=mUJiJWJRnjt37+pnHmf80+vLPa LTmHDz9mwSOwtSnTc4j8e8JgtGrZz5XXOIYOpuocZKx65fWcStKlwHC4Y5Ber/9PjieGsaCph8eFh YjCWuaPgjD8iJWZ1zUU9AyzAe3hopakTtyQwYfgbFmNZQxUBu4Z/bLgqv5H++JpCtyT+1othWxq8+ y3M7uuBa8MkAwxAlj4EYvTLErrYNUPTHJB80QgBuU1eDUHcD4CB2g4svUTkzfmXK8zLK56VgBqnp4 kPvLhcrKgfVo1CPwVcJl6SFZSExnoH/yNX1LJjKYzjabB23KydEZolNi3/3EkETqXRVo+JrIuQ75o iiiTuh2A==; Received: from p200300ccff0d59001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0d:5900:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1puYKp-0000l9-2J; Thu, 04 May 2023 14:45:23 +0200 Date: Thu, 4 May 2023 14:45:21 +0200 From: Andreas Kemnade To: Linus Walleij Cc: Tony Lindgren , Aaro Koskinen , linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski , linux-kernel@vger.kernel.org Subject: Re: [BISECTED REGRESSION] OMAP1 GPIO breakage Message-ID: <20230504144521.1b3a3574@aktux> In-Reply-To: References: <20230425173241.GF444508@darkstar.musicnaut.iki.fi> <20230425201117.457f224c@aktux> <20230425183857.GG444508@darkstar.musicnaut.iki.fi> <20230425212040.5a4d5b09@aktux> <20230425193637.GH444508@darkstar.musicnaut.iki.fi> <20230425215848.247a936a@aktux> <20230426071910.GE14287@atomide.com> <20230504055156.GO14287@atomide.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.24; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi, On Thu, 4 May 2023 14:13:32 +0200 Linus Walleij wrote: > On Thu, May 4, 2023 at 7:52=E2=80=AFAM Tony Lindgren w= rote: > > * Tony Lindgren [230426 07:20]: =20 > > > Seems that we should just revert this patch for now and try again aft= er > > > the issues have been fixed. =20 > > > > Looking at the proposed fixes being posted seems like they are quite > > intrusive.. How about we partially revert this patch so omap1 still > > uses static assigment of gpios? =20 >=20 > I think Andreas patch (commit 92bf78b33b0b463b00c6b0203b49aea845daecc8) > kind of describes the problem with that: the probe order is now unpredict= able, > so if we revert the patch then that problem returns, but I don't know how > serious that problem is. >=20 well, I think we can even fully revert 92bf78b33b0b463b00c6b0203b49aea845da= ecc8 after my patch gpiolib: fix allocation of mixed dynamic/static GPIOs is in as a short time solution. That should only leave unpredictable numbers of multiple dynamic gpio controllers. Regards, Andrea