Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2515770pxb; Sun, 23 Jan 2022 07:09:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeUbF9FrFo2kfwCNQoTTW+ind0jrrUsokNp6yLVnyKbsKs8zVaynPRgcvGaDojokhSi61U X-Received: by 2002:a17:90b:3cc:: with SMTP id go12mr9228874pjb.64.1642950550636; Sun, 23 Jan 2022 07:09:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642950550; cv=none; d=google.com; s=arc-20160816; b=0GEel/aL8rKxJrMNQA/XFGZo7kjg9rOIB0q+EthdxEGE1URqlbTQWcbNUbvG3Ycpza wsARBYjm+eyl47I3HbCsyAMLClAgM/TEwT7uADtl1r/qW+A9eb8SHILxYjfyCrnt7iTT 7Sd7Jsk9cGFfezCawQVFrUdNAHObmC5QYl/sskp78I77xi6HJv4+BSxY3xwuYM5qgoxd OVQvZxFbQoalT5VTdgV3FW2Y4y8nM8/MQyfdmcVXZtWazF+0CuAAwmF7o7Vxfw9bAWfk 0MxnGxEgNvMq5jrZrvBJVvXaU81blUxOxUmLSN2se8n00nt6SgAGiXgCXw7Gaqk0XK9X +HiQ== 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=wYb6Nzatpvxg3qByWKT69tE4DtcAsw2arG+geLWimVc=; b=w3+R5uwgagZg3EuUPpEOm0/wAZFUqiItBF/0XniKxdQ4THqEQvFwgY5VzTTWAxWG6Q oOGHag/XJqYuASdsyzBtghFDvs2MuK5lSyhQBJcPnMEoKTCNiZ+9tBLQOcHC22apubdm kyT6mCcDERFWvZz7tcoKuE90Lfgc1uOmvPhYYbJS5k8O+fxFuei1RpDYmEXCdXZAUU0Y TcvsVgRa9msRYanAL9Mm7S3AWTcMol5SSiHd2/JHSRrmvyZbO2C/ovmal98QoHiu8X/6 tnwh9dNqLcJC2KpufcJvo1uY+gM7qR7+E8EibODbouy+VQ3x5ipk7rwY//l7yPOuuQIQ 91eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cvZ4U9I2; 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 nn4si11855569pjb.112.2022.01.23.07.08.59; Sun, 23 Jan 2022 07:09:10 -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=cvZ4U9I2; 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 S234468AbiAVMGN (ORCPT + 99 others); Sat, 22 Jan 2022 07:06:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbiAVMGM (ORCPT ); Sat, 22 Jan 2022 07:06:12 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 224ECC06173B; Sat, 22 Jan 2022 04:06:12 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id p12so47368701edq.9; Sat, 22 Jan 2022 04:06:12 -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=wYb6Nzatpvxg3qByWKT69tE4DtcAsw2arG+geLWimVc=; b=cvZ4U9I2UL5ep8oODsKSeXyA8ssxTxnchDEAe4iVOcV7ZuOcV+LnVJyEA5wLOmWE8a 3vTzLF0iEaYac7pGyLJGunwLUoAYidbdqSAut+Q+7uDNv4rCiRQ+CJPYQUi327md0/PU vwPMwxEPrmdmmRzp43X/s+pUVQeHfqnKyvAd4OAK4NA9QHtZivniXlU017dA1brcZ5zW R/rkM8rT9Z2VtlhedotHEVDWKzVuDxWI3ilufWBjr//i/RXjpvseU6o5rp195ZWTg88J qnFozoD09bRuZuenoqKa51UtVwEefRDTJo3br98brrgx5oG9eY8tdvNAsX2eXKDPI5Ev LAHg== 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=wYb6Nzatpvxg3qByWKT69tE4DtcAsw2arG+geLWimVc=; b=3eQjjoqZ99WgLkX2C8mLGk55ZVg7L1FkxG6BNLaKzwhUQgVyIMzLVA7GQ/B9h6YbeD mT3nnHAy9AyGoIWLgBfcSbd38bDliX/1kFKOHohi/JFldO2xHV4Bj35eZQAfLggfaAPk 3bMDjtzK2RQKAi8JvV8GUVFwqQG8fMGQA64e42uMvaouq08fCqiuKCEksGf5ykZ+mNa6 AoHdkG7sDRfAQSjVpRwu8UJc1WQuda7ZB5Jk5mh5AAwdfVK9FoFyPmEu/p1zS2aORVyC /uNGu6KLBBanH79NnJSpYYQd+KUIl+qh0u+x7KEM3bZupeRnsEksVdwPNEJ5+QzqXUh9 jewQ== X-Gm-Message-State: AOAM532nZcLRaH/09uSlivivF6NOccPXjq81pGqcQZ34m+61f9on/hdA HgOxmMuXF6AuRjVFvmudTjOOQ0q7a/4qW29+KHo= X-Received: by 2002:aa7:cf0e:: with SMTP id a14mr7950328edy.296.1642853170555; Sat, 22 Jan 2022 04:06:10 -0800 (PST) MIME-Version: 1.0 References: <1642851166-27096-1-git-send-email-akhilrajeev@nvidia.com> In-Reply-To: <1642851166-27096-1-git-send-email-akhilrajeev@nvidia.com> From: Andy Shevchenko Date: Sat, 22 Jan 2022 14:05:34 +0200 Message-ID: Subject: Re: [PATCH v4 0/3] Enable named interrupt smbus-alert for ACPI 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 Sat, Jan 22, 2022 at 1:33 PM Akhil R wrote: > > I2C - SMBus core drivers use named interrupts to support smbus_alert. > As named interrupts are not available for ACPI based systems, it was > required to change the i2c bus controller driver if to use smbus alert. > These patches provide option for named interrupts in ACPI and make the > implementation similar to DT. This will enable use of interrupt named > 'smbus-alert' in ACPI as well which will be taken during i2c adapter > register. I'm fine with the series, Reviewed-by: Andy Shevchenko Maintainers can ask something else, though. > v3->v4: > * Removed device_irq_get_byname() > * Updates in comments and document. > v2->v3: > * Grammar/spelling corrections. > * Added description in function comments. > * Removed 'unlikely' from NULL check on 'name' > v1->v2: > * Added firmware guide documentation for ACPI named interrupts > * Updates in function description comments > > Akhil R (3): > device property: Add fwnode_irq_get_byname > docs: firmware-guide: ACPI: Add named interrupt doc > i2c: smbus: Use device_*() functions instead of of_*() > > Documentation/firmware-guide/acpi/enumeration.rst | 39 +++++++++++++++++++++++ > drivers/base/property.c | 29 +++++++++++++++++ > drivers/i2c/i2c-core-base.c | 2 +- > drivers/i2c/i2c-core-smbus.c | 10 +++--- > drivers/i2c/i2c-smbus.c | 3 +- > include/linux/i2c-smbus.h | 6 ++-- > include/linux/property.h | 1 + > 7 files changed, 80 insertions(+), 10 deletions(-) > > -- > 2.7.4 > -- With Best Regards, Andy Shevchenko