Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3408236pxf; Mon, 22 Mar 2021 05:54:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ/bxH2pIfavlGUb16zE+SWRM8il9O+Ej3gjO7X5tb/TpultWhzkZzz7hDnZCdYfdDIwc/ X-Received: by 2002:a17:907:1119:: with SMTP id qu25mr3881023ejb.423.1616417693379; Mon, 22 Mar 2021 05:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616417693; cv=none; d=google.com; s=arc-20160816; b=aaa9MeqPhHcy2b9wyc6W0lLzD6jGCGpdSj0X5/o/0zO78OCr+ekdqDYRer5tmmXuiU Gn20ErrUFX2HQTUcYQiOqNane9xX47z3h3SYPan4CkuOiMfANIUQtViVLK15pbl3patb qtg1i8PYhTrW8zhKj+92VzxGU1GOHtj7LqO/QNe6RYCqAYK28NO9uEmjD9hGm0Y8urHO Ju3sfCIS769yB2tupDBM3K1AXtEsIRRb9JKde/vINm6keC+MCUOBEtbZKDSor1iH4FAD 4VLpq9v3p3y41RahvyOAwz3L7VwBMORYLvHnxjoI3WxN5Xp1x1Trq4XHZXOCn8W4zZh5 obdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Tim9PBVuVi0TH58nfyNz8afp9pqyyITLZZbnoqVhySk=; b=z+2TOLX4mtRRsk9ssnWVDX+i8FsPB60cg8Q94kJCQox4Ui5Mgz2TVJa7PDz7d2eEzx HyCA3UvS+UN7wx58jCfR1VhZUsngLUzuZMw320roVxwReOW9Z1ymHiPdIvch4QobZW8H QSXoUMvXAiq9+WRX18Rqx7Q0eLZqCktT9IkLG7rGfuyWqQk9sVomMcpaOD2josRx+qCU 6dPtUn3dLF+4TDwWMJeHlkQteMSuQRGTmgroWqO6aMd6BsqPKIalSds6vwLVf+Lbxn74 K+bYZasP8p8dVpxIGojG4YSlO4YJcAR8++XecCjMTCTZsjGggYV/KCm2QRxhGmVQ/P2e zowg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nhnpq40h; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q3si11998899edc.7.2021.03.22.05.54.30; Mon, 22 Mar 2021 05:54:53 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Nhnpq40h; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231549AbhCVMu4 (ORCPT + 99 others); Mon, 22 Mar 2021 08:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232292AbhCVMmL (ORCPT ); Mon, 22 Mar 2021 08:42:11 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 275E8C061574 for ; Mon, 22 Mar 2021 05:42:11 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id u20so20793137lja.13 for ; Mon, 22 Mar 2021 05:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Tim9PBVuVi0TH58nfyNz8afp9pqyyITLZZbnoqVhySk=; b=Nhnpq40hG2sJsIXz9OX+tqD9B/HrOvlhJYw3U/wDOGoEU50xmcVvfxjq56kNIj8Xhy q6l73eSPTST2N/fvHHGu3/zqbtABhEGlplhqVg1JDXAIOgM7Lxu7fR+7tyV/glFtxkx+ RVQuvW8rLbuBeaxKk1mtElAqQ3qQGojgqvDRm8WACGIVV4o2B7ND/THnJgcvBJCjBVKJ nT63a1deWRtNG9iDiFj7XGu11ZsewJ1Ajtg3bdmm5M9K5Jjvile0JEiPMkvyZIiuvl7l UoUIqeNCL8hE1XogSa81bnfwwMg7nj/Sq9Yx+/XU8UWgpMPul1uopVziNVgIVKjsjAKi PF5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Tim9PBVuVi0TH58nfyNz8afp9pqyyITLZZbnoqVhySk=; b=nzVhJ1xY6hLEQalVG01yVhyAfbc5P1dqOwU8dL1Ze4Fhylxeq5vf2oGl1JlZdyg3RG I2B8sLLMN4/qX+w6D5eoxROfRKhl8VB5RigpyNTRnUxAhxnWra/KkRPMN96yTOOnRUMJ u+FWjl921b6xHv0q5EPkLmHrJ0ULSqlMByQc5b5LucY8tKr37/TIOjUWjsT94I9RcY7v x+4GgrdzrLMxUmi9SlnE9SEel6ghfcQzpI4JhxQKIU59MM5z/4dYRXX3g9zhoUrCzMxM B0+VxX+idNuOEXV/TWaFoYXYWvt8zReldp4kANiNlbHS0Ov6mEgEB1+3UaqUXOk4IXLR ZmwA== X-Gm-Message-State: AOAM531vq7OjjS6m1xNeq8lp0n7ThkZNQubXxXdzg2CdxWAKDaSr2BmX jsED13G651hY7OpDL3ibOU1ls6ZEE2T5is9SnIw8Nw== X-Received: by 2002:a05:651c:103a:: with SMTP id w26mr9528236ljm.273.1616416929564; Mon, 22 Mar 2021 05:42:09 -0700 (PDT) MIME-Version: 1.0 References: <1614120685-7452-1-git-send-email-Asmaa@mellanox.com> <1614120685-7452-2-git-send-email-Asmaa@mellanox.com> In-Reply-To: From: Linus Walleij Date: Mon, 22 Mar 2021 13:41:58 +0100 Message-ID: Subject: Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c To: Asmaa Mnebhi , Andy Shevchenko , Andy Shevchenko Cc: "bgolaszewski@baylibre.com" , "linux-kernel@vger.kernel.org" , Mika Westerberg , "Rafael J. Wysocki" , ACPI Devel Maling List , Andrew Lunn Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. If you need to do workarounds because of broken ACPI tables, you need to convince the ACPI maintainers that there is no way you can fix these tables so it needs to be fixed in the kernel. It is not something for the GPIO maintainers to decide. To continue that argument please mail these people in the MAINTAINERS file, Andy and Mika Westerberg and have a discussion with the kernel ACPI community: ACPI M: "Rafael J. Wysocki" M: Len Brown L: linux-acpi@vger.kernel.org Yours, Linus Walleij