Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1283617pxb; Fri, 21 Jan 2022 14:18:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoUeyEJuXOmV9ureS7ZXhWMduoxOio8aetEr1PWXxNA8ezA8ZGUG+niFKVQ4N5rMGIoVcx X-Received: by 2002:a17:90a:f005:: with SMTP id bt5mr2654585pjb.169.1642803523675; Fri, 21 Jan 2022 14:18:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642803523; cv=none; d=google.com; s=arc-20160816; b=RcC4TwxdWo0C8uSEOaAIXvY2kSh4uu6EKAZUbZe1Qu70EoesBITEaVxVmmhuwU+ico l0LLiVNQOOyC95o4QBWlFhnWG+LG/Cz35FnIZc2QENP+nIGbxTWCr065UP3tfyPlbn5L z0QtngoPNa/hk/BSi5rqms4YU6zk1UgARb2K19/sPAMBC37U16HckCboLK1gNI06Pj6x YSJtTpBzb8zeXNMxKvQ/1lPsaRUqW7YGCkWJ9K2BczjrNsdGItqCMjbQhD8kuBTBHi3Q DIrR20kRx9Z14rdXC+lu2BKySc4yKT+lJgfo5NaC4137wT5sr0PaW2Ejx09GTDI8Bt5u Y1BQ== 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=0B0txwt9I3zBHBA04rxL+1M1cNNBUpFyJyCl5rt6UEQ=; b=KTtsI88Y+5ZgXXWa8diWJAMX+4CHlpQg9ckVoQrct4y4XN81mwjdwJ+/M2Max3Se9U WJVUaiMkJRv5vIeEyrgD411OW9PNkPttZy0TTPklQgbJTcMqtW7yi011U9pGD394AYPr t/PokY/UueCKmDKFGYcD7BLuhZEYgBnkyh1FJp3c7NhQNTiSdmMCfv3ChvQTZuM1wnJv pUEXmqbcsO9Q9gETDVkVQZ8qXYt1ow9ynbdB7trIcNN9G9nZTWc9RIlfudbGJPS5i2NB BMrhsaDMzuHAFgfQPIjHmvSCdtziTKHAp4jB6ixCJHzbki+2nGI4N2jV1K6uRxMePdWD 3EDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OaZBl8tG; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m123si6772258pgm.478.2022.01.21.14.18.31; Fri, 21 Jan 2022 14:18:43 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=OaZBl8tG; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376419AbiATPFA (ORCPT + 99 others); Thu, 20 Jan 2022 10:05:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376355AbiATPE6 (ORCPT ); Thu, 20 Jan 2022 10:04:58 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F969C061574; Thu, 20 Jan 2022 07:04:58 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id n10so14300925edv.2; Thu, 20 Jan 2022 07:04:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0B0txwt9I3zBHBA04rxL+1M1cNNBUpFyJyCl5rt6UEQ=; b=OaZBl8tGrO1X9a7FHGZB4cmJ4VgTU/3ItHTB79dImrklyW3lvKSD8e+ysCI/q8fTkY ZN/OJ9sLOdYorv2sKzI/D6kLhs/iS3ZZvdwmkCt/Bte9hVj/JLeaTa5pd0Z7LXPVtBHZ PTV2OqYeVGK6CUmulaU1mkya5Nx+qD6sVJbaoGkbUkw0YbABzXFkz538JiSIxTwMcc/t SlSOJuRSr2h6li7ph1WuwSEInBUxqmajFWtG+B8Hxn+Js0If8VxlZt+J8ffhVMW3C4ur iC+g6I9030SeiVxyy1EdJwlaJkyDAyvpLBlS6TAx37CzQJZmOuWcTjl9rCC+MSANkzSX kFhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0B0txwt9I3zBHBA04rxL+1M1cNNBUpFyJyCl5rt6UEQ=; b=mqS2rHgT34MivHGFR8AkkM0JsYSoo0avOhBikljCixK2zF0s4in4W8GSY8JMbOXXsH HRbpZ68ZiOiqJQtwiQKPYDhc+CL8L98uj75JNoNCg1gaI1nUB3cKShhuiLo45G5hnhyY 49RAqnczOZeBIPPIvh5HOgNb9ImCc8OeSn4TZaUymELjv+s05ZGmWQ5jErowAAD58DPT grASC9DB7T23KXibwinnrgUhEuBe13nO+GwXiqJqZrB4mhNqdg51O2KAnYRKokaoXon2 R9ak3gRCIPsRR5L9ySVqOSIU/aTuIn5zTtpfjshMHdtenOs8/ew2SFdNnZqBmtnT88r9 yTLg== X-Gm-Message-State: AOAM530RyrP1WEMspF0OZ+eUlyoN+WGmrGR87EDLxJnVgYqBMf2B7FIL ZGmsjsSDxQOORhifKKKAR78glRqPX2YjFtUwpHU= X-Received: by 2002:a17:907:968c:: with SMTP id hd12mr28869417ejc.639.1642691096836; Thu, 20 Jan 2022 07:04:56 -0800 (PST) MIME-Version: 1.0 References: <1642686255-25951-1-git-send-email-akhilrajeev@nvidia.com> <1642686255-25951-3-git-send-email-akhilrajeev@nvidia.com> In-Reply-To: <1642686255-25951-3-git-send-email-akhilrajeev@nvidia.com> From: Andy Shevchenko Date: Thu, 20 Jan 2022 17:03:14 +0200 Message-ID: Subject: Re: [PATCH v3 2/3] docs: firmware-guide: ACPI: Add named interrupt doc To: Akhil R Cc: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Christian Koenig , Dmitry Osipenko , Greg Kroah-Hartman , Jon Hunter , Laxman Dewangan , Len Brown , ACPI Devel Maling List , linux-i2c , Linux Kernel Mailing List , linux-tegra , "Rafael J. Wysocki" , Sumit Semwal , Thierry Reding , Wolfram Sang Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 20, 2022 at 3:45 PM Akhil R wrote: > > Added details and example for named interrupts in the ACPI table. Added details and example for --> Add a detailed example of the ... > + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { > + 0x20, I would think of splitting this to two separate entries in between of which the GpioInt() resource is provided. It will explicitly show that you describe the case only for Interrupt(). Something like Interrupt (...) { 0x20 } GpioInt(...) { ... } Interrupt (...) { 0x24 } But it's up to you. > + 0x24 > + } ... > +The driver can call the function - device_irq_get_byname() with the device > +and interrupt name as arguments to get the corresponding IRQ number. Needs switch to fwnode as per comment against the previous patch. -- With Best Regards, Andy Shevchenko