Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1397971pxb; Fri, 21 Jan 2022 17:38:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxF9rxedkbZ8eJMDR8/ZNybN3DYIfTOxiI79DEtKDtVsZyVAseuLs5mtGCBOLchJXd751Do X-Received: by 2002:a17:902:7fc4:b0:14a:9f3d:3358 with SMTP id t4-20020a1709027fc400b0014a9f3d3358mr6039976plb.165.1642815510097; Fri, 21 Jan 2022 17:38:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642815510; cv=none; d=google.com; s=arc-20160816; b=fUFr6G74Pi+FPL6U3Qcn9ZydATmlNI9tFhTMRMZ7GgSLo3Gglul/5c2qOYaiLz7lLX EP1RH3E/jXmRNNgRt44XRiXRPZ9glTfxSSvJ1d7XmhtPWmzPpEx9hZ97+cJKTxPrfvCF P6tUxTB2VKh1kFBCaK7THXjsK7GKFQbYcE+JkvYVGqwOJBzOGPvHM1LAJ5LO5b+PZr/G jkoFR0y432T+ow3myB5sQvAJeM9JbkH8SKCbWumcWGHJx9Q0Q+MLDMiZ3p+8/WEJ7FNl eGhIhaBKdH55jedE+FIKzbkVT6hUr56/5nxFm25h7xq3yiRsuC/1xNvyw2U4XWihv0Sc Qa5w== 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=3RTok0QdcyCLG0X7mCMhhPiWMNqHei85rW/K5CrEw/o=; b=0yDT7wBldijK3rt5Z7Ect6aNlURwLzv4tGbZOZW09XHgUk7hK5sU9TGXF7rA/aoxiI hZ55q1++89lfjRerSinM1GD2VXZzG8P6BMqIMzUaQQV9FV+gWX8hkFIz++56XOQczO+G AKts7zq1dpoH072T7p8MLsa2MlFVuRPUnOpPI7MB9TQUJEEa1jdGe9fv+R1TPMcHvFZF urvgg+8wFl34f0QHeLpald33ROsLISdP3JvHLqBt9d2M3r1C8ISw4GEP3t7Tpt/5aA4S HikGuZWZLsp9P2+/acSMi7cYei/9BZfeNKocPUovIOKoZHQn2eIiQ9iZnQUu4XPk3Xz9 4Tmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ADs5xleO; 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 p1si13890150pjn.18.2022.01.21.17.38.18; Fri, 21 Jan 2022 17:38:30 -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=ADs5xleO; 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 S1380787AbiAUN64 (ORCPT + 99 others); Fri, 21 Jan 2022 08:58:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350404AbiAUN64 (ORCPT ); Fri, 21 Jan 2022 08:58:56 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 536F7C061574; Fri, 21 Jan 2022 05:58:55 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id p15so389257ejc.7; Fri, 21 Jan 2022 05:58:55 -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=3RTok0QdcyCLG0X7mCMhhPiWMNqHei85rW/K5CrEw/o=; b=ADs5xleOA+pKeVrOklaucBTrNGkWPtFwt1cTQdtIzMxveiG/jvH+r1eSJABLVv+qAr gmwOghx9kiY6h3iR5264BODcuJWRBYo8yxJ0N7teBqsuqisMQNyB2RuHOSFu0VIGhUuN v6QJfEKw6CT4aDEWFS/zMY0b9j/c04XX/jkmzoe7KrFj9YPXYkxNphHH5DLnkQMip4yf 0CFvkh8olxe9MlMqPctB4Uul2PafFes63QJUHbocXRCsPUWiA4tUOiJS/AnYjd2YmIWM ei5YwKnvMWmQUeSUS9bEiJNIkwGFaBdf3ZEj2yhq3VXxYSGIDaEAsx3P4R35eZfqvAyq dN8A== 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=3RTok0QdcyCLG0X7mCMhhPiWMNqHei85rW/K5CrEw/o=; b=jnjV8IY8ZM2Uphyo4hnpkVr2j5MrCKo+lE6Jsrh9BmE+8/WHYNctS6D7StE0NI8gc4 nrchctRfEBGxMiaGHC5nkg2O3dTE/1807FsIXgDltT6lznotCpubVgii1O1a1hq2wlgX fCcOKSChq7xYQvGiU+flOPo2h1NZlDQyFxqEiPUUKyV1OEdBYc8z5Zu0SSPDwdl6HQ9j adhUO8MwSIi7ET5qVOPiAoZFmJWR22HiOLS1zQjOkhEGlhVvNm7nAS6dOEmhJG3DadM5 Keu4zG2c9sO14RqH8QYddQQ3sbmX02I13CZjYB0IGeu6kdUuAHOQKXpo0O5EIeWjrOZV mW9w== X-Gm-Message-State: AOAM531snDu8qsNd5MWcLl8GmIJQ4eay/jyi4w55WQ8XzPnvRkzwSNh9 8XiHY0ZdPk4OqStNF1HL+UDMh/lD5LbGF1mD4gs= X-Received: by 2002:a17:907:968c:: with SMTP id hd12mr3362309ejc.639.1642773533713; Fri, 21 Jan 2022 05:58:53 -0800 (PST) MIME-Version: 1.0 References: <1642686255-25951-1-git-send-email-akhilrajeev@nvidia.com> <1642686255-25951-2-git-send-email-akhilrajeev@nvidia.com> In-Reply-To: From: Andy Shevchenko Date: Fri, 21 Jan 2022 15:58:17 +0200 Message-ID: Subject: Re: [PATCH v3 1/3] device property: Add device_irq_get_byname To: Akhil R Cc: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Christian Koenig , Dmitry Osipenko , Greg Kroah-Hartman , Jonathan 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 Fri, Jan 21, 2022 at 2:29 PM Akhil R wrote: > > > Thanks, my comments below. > > > > > Add device_irq_get_byname() to get an interrupt by name from both the > > > ACPI table and the Device Tree. > > > > This needs to be clarified (it's not and, but or), what about: > > > > Add device_irq_get_byname() to get an interrupt by name from either > > ACPI table or Device Tree whichever has it. > Does 'whichever has it' mean a bit different here? Would it be good like this -? > > Add fwnode_irq_get_byname() to get an interrupt by name from either > ACPI table or Device Tree, whichever is used for enumeration. Yes, your variant is good. -- With Best Regards, Andy Shevchenko