Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3548625pxb; Mon, 24 Jan 2022 11:59:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLr8i9dG+Dqjg0XnKcqsYsxYEcgAxDxgR5ANewmE666ZEDozoQT3oPlmuzorZeRt8nA/su X-Received: by 2002:a17:902:8204:b0:14b:550b:4ca3 with SMTP id x4-20020a170902820400b0014b550b4ca3mr5266816pln.139.1643054248656; Mon, 24 Jan 2022 11:57:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643054248; cv=none; d=google.com; s=arc-20160816; b=WUbh+upsdRT46YyNCkuHDxv8tkky8Ej1wbc+du+AQ2vg/pYbcZV6JJSwee25cLUAHj lVPRcH0IX6aCRNsnkkjfCTcCaLK67p1v4C9/FOSlg+cw6p0NW0f7QtNEAx0BG4x2HoLp ZzOhdutkZrbk5Ds5mZll2eXP/iOvXQdHbHa/ZzD5yPn/ErL6Ea/X224TlPIuG2jbKOAE 2+81o7cDSiA1n/UA6GRuRAhhsTf6YpgTxLRDrkBzow/nsOoEWMGjUfStJmekyWj31cJy 14TlxmObq9GE7X1doWyDg0xSaaTKHi4HRnn3GgikzcfmDAvrG+e2SSGqJ/ySbNJuBmPh 2CSg== 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; bh=ZXczVih0FPrq5RMJMFbQoznMPhMuyGl4ivag5w/6yQo=; b=EYsFpR2/yd8pyVcqLVpw6GdpvcbbdPAgmqp4Otj8RZQgjg75qj8L1iE2jh64JFj544 fjAOAdk6aaZRTqOJ0Ase3ONipe2vyccEM622BgWMtfCcycW7o8rB/DX61pgt9zMNdiSx izYH1MlGMvapwSy0jFyqo8RYpjHOO8aE9d3acelBkVVu1Omrg7zP37qJRWHhihxQhZt8 2SQX/kcScI1NPL07p1GRA3JHPnps7kvpDC7BZ/tEuSn0SlIOrKr437+z3lQ4TDMYN4Zr sCqAKv4WwP1yGpy2gSMX5wONiFJL54OkBVfBL793G5aSOZtzGXtKrVXYjmvKwCwVvgZA uOpw== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l187si4645257pfd.276.2022.01.24.11.57.15; Mon, 24 Jan 2022 11:57:28 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343734AbiAXSwu (ORCPT + 99 others); Mon, 24 Jan 2022 13:52:50 -0500 Received: from mail-qk1-f174.google.com ([209.85.222.174]:46697 "EHLO mail-qk1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343542AbiAXSux (ORCPT ); Mon, 24 Jan 2022 13:50:53 -0500 Received: by mail-qk1-f174.google.com with SMTP id 13so7050414qkd.13; Mon, 24 Jan 2022 10:50:53 -0800 (PST) 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=ZXczVih0FPrq5RMJMFbQoznMPhMuyGl4ivag5w/6yQo=; b=qjEje+L9jxsTceVKPDo2TxHNl6tCrbp9WYTwAtiyqeMoL+1G2zzTzc7yF0JGn/PpSo 1lLFR/XXbWyerydGnFCpJ+JWgnjsWHJQrDm6kfTmFI/qVeSJo+5iTsEuySfej7mp4nuI +U9caO2T0cD7H6uCwmIImAtFf14KjL6tbV9+rJW3GEgCLQK7ZTh3Awh2DFC91w8NR0Xz SQJX4tbdpBkumHH9tUuMoIK3gkpAj+xnR/pTyh18aDCBgaoICHinOBfZdFroeCLcCkt9 grHO1PlrN03o4kLNd3VVjywA38oKaUlCKeOtFlBJ2xF9LH41sZ7MhZT2VoxZ4pcI55UJ klBA== X-Gm-Message-State: AOAM530021Ph7bI9Mj6obfunjWxP5mpnjQOc5ZLESr2SUfxGM9o7Wzdb pYJHKRyE4JDtJ/yVG/SbvfRLHjeCZ5GcRlAF+uI= X-Received: by 2002:ae9:f445:: with SMTP id z5mr2102446qkl.8.1643050252793; Mon, 24 Jan 2022 10:50:52 -0800 (PST) MIME-Version: 1.0 References: <1642851166-27096-1-git-send-email-akhilrajeev@nvidia.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 24 Jan 2022 19:50:37 +0100 Message-ID: Subject: Re: [PATCH v4 0/3] Enable named interrupt smbus-alert for ACPI To: Andy Shevchenko Cc: Akhil R , =?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:06 PM Andy Shevchenko wrote: > > 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. It looks good to me. If no one else has concerns regarding it, I'll queue it up for 5.18. > > 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