Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3421185pxf; Mon, 22 Mar 2021 06:11:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpVdAK2cbjseUlV8LGbHriOQKgizx+0nn9a4ufHzkLZ+kFezS/HibEx3YVeb4uB6Sh912G X-Received: by 2002:a05:6000:4b:: with SMTP id k11mr18048999wrx.35.1616418663450; Mon, 22 Mar 2021 06:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616418663; cv=none; d=google.com; s=arc-20160816; b=aBDQ1OWwl15q4kEbrHtIDQsks/x2+RTUqwCTOecHibIIxnGuv9TshMUT1IHNeh12pu 6HHm5OgtN9TOvKphzxWl+D3BJkDK3YkudKpwkZPIRCmN2meisvG8fJ0wfSGUpqjc852P jR/9TWkQjkflhbRTEHlqQhU1WyAqLIme3POe3zC1sUwIeOEIlw7P8ydeiqiREboQ69hr uPBG2DNkGK4SOuu22cyoc2SelM7tzaT/103a4LJNNvUOrkFWOaZKoiW/repQaZ0kSx+k eYpobT8+d+DwIUu0/oXWpjzs22f6s5QuPqsFNdqd+nc37KL7f5T7bpFSQ0ZliTu6blRP tmgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=v8Wo2NxoEuxRe8gxg04xosCu0KhqzQoUO3d4R0CiInQ=; b=JVFbIFHpyGdtXlAa2soB+tfb3qU30GcpBHaozkKKRx7v8JcvRRd74Iuc8b8YMgACwz OgXIIdKrL/4dGtJ0KwJzP8dtx1J330KQpJWXzRSOdeAn458Yph2fmYcmYfKj1kKRXuTJ CN33CnuKpHQU2l7TURfN6V2GAqKQ0t3mvUpg+nEUGllK2JgCcItevt0sB1XRru/Mrl5u CB+NVFdcNiNnvYetEgJgHE5tjV/YQIgLN5CA/F6/EYliKNBQtDnsu1arZS1InJuVBXew ymRFw+vOwO8Sw0tpCb2qOgsnTiK6PQuwDCQm53l8DzYSEDBILvKIPxD3ZDfDTCTygflB xIEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hy25si10633125ejc.333.2021.03.22.06.10.40; Mon, 22 Mar 2021 06:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232083AbhCVNGm (ORCPT + 99 others); Mon, 22 Mar 2021 09:06:42 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:40152 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232816AbhCVMww (ORCPT ); Mon, 22 Mar 2021 08:52:52 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lOK32-00COle-Gt; Mon, 22 Mar 2021 13:52:44 +0100 Date: Mon, 22 Mar 2021 13:52:44 +0100 From: Andrew Lunn To: Linus Walleij Cc: Asmaa Mnebhi , Andy Shevchenko , Andy Shevchenko , "bgolaszewski@baylibre.com" , "linux-kernel@vger.kernel.org" , Mika Westerberg , "Rafael J. Wysocki" , ACPI Devel Maling List Subject: Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c Message-ID: References: <1614120685-7452-1-git-send-email-Asmaa@mellanox.com> <1614120685-7452-2-git-send-email-Asmaa@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 22, 2021 at 01:41:58PM +0100, Linus Walleij wrote: > On Wed, Mar 10, 2021 at 9:38 PM Asmaa Mnebhi wrote: > > > > That's fine, the hardware description model (I guess in your case > > > ACPI) should take care of that. > > > > > We cannot really pass it through the ACPI table because the ACPI > > table is common to all BlueField-2 boards. And each board may have > > a different GPIO pin associated with a particular function. This is > > why we use ACPI properties instead of GpioInt(). So that the > > bootloader can change the GPIO pin value based on the board > > id detected at boot time. > (...) > > Yes. It would belong in the ACPI table if we had a different ACPI > > table for each board. But unfortunately that is not the case. > > You have to agree with Andy about all ACPI details. > > Andy is the ACPI GPIO maintainer and we cannot merge > a patch with any kind of ACPI support without his ACK, > so hash it out as he wants it. The only people on the > planet that can make me think otherwise is if Rafael > Wysocki and Mika Westerberg say something else, > which is *extremely* unlikely. +1 And given this is burried inside a network driver, you are also going to get push back from the networking maintainers to do this correctly. Andrew