Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2054493pxb; Sun, 16 Jan 2022 08:25:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxm+uUXWPsm3cS0jtEYoZS+8ANGTzkTNZQ7UVctbmHktrpOSgRza7FlTwlSBaAWNC7tJS7I X-Received: by 2002:a17:902:8649:b0:149:f37a:9255 with SMTP id y9-20020a170902864900b00149f37a9255mr19110839plt.116.1642350317046; Sun, 16 Jan 2022 08:25:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642350317; cv=none; d=google.com; s=arc-20160816; b=l7Y7tYgjaZn0iGqe0u9896unrdzY2FsFOl1k0AG2B6hAbUMogg4w2rJfta2+qOzsIK OczHOWdveUWhDw+1UkAj4LU5Tial8mzs1DwQ2J8PUkSRg0wi/Wpr80y5U3CAAftfdrIi rZK0Gs3bemzuM0C8cO3y5CkoZRSEfwcrNt+KV1NhbbBFheu2VDz6xfSMWF6fg8JjFlFf 4eyy5ugNStYC/FzN/5gB9o2AvAsJkQstmcbnNzkjS9V5ZV2UXlafVb6CNm8rPESa40U2 aB/qrfu5578kkuOl4mV2oteAH+Y9kZAjhbhszLy4H4aoC0+XfSsHRboDrFPQpH49ltUy 80vQ== 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=kADQFhR2AfzvIpqsJVy4t8n1qBnT7lu/EvJZU+85jgQ=; b=VUsjM0tLTD07H0bqFv5tF10/YFXUnZLK2D44VVoQAuFCh09JRoxfy7tLrkFGKc6+GZ MY3vRGfJP6+1FxC7WNkRcKMoaCu8BVgkpgxbJovLoCvCk8fWP7V5tOFwmf7iR3RzakLP s2H65GLs4boA+kICYtDPrQzJB3nX5jboiFvd+OCy+Fu1pLDMyf21Asa25D4Q8/xRFnqT xo2yTZZdBy/A4h/3TgykeB0daylp8wQgmp2i96cd9Xwp8sAoRqbBaEfVCiecqJ37tP0V FEeotvjRFTyNBuEwmLeLVsT6zHQdMriq0dvyJOf3m/fTGyov9f3u60uhUbFDZG6Btw+9 XgHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LLg16acy; 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 x185si6092687pgd.718.2022.01.16.08.25.05; Sun, 16 Jan 2022 08:25:17 -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=@linaro.org header.s=google header.b=LLg16acy; 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 S233926AbiAPABH (ORCPT + 99 others); Sat, 15 Jan 2022 19:01:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233894AbiAPABG (ORCPT ); Sat, 15 Jan 2022 19:01:06 -0500 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D6EFC061574 for ; Sat, 15 Jan 2022 16:01:06 -0800 (PST) Received: by mail-oi1-x232.google.com with SMTP id g205so17998663oif.5 for ; Sat, 15 Jan 2022 16:01:06 -0800 (PST) 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=kADQFhR2AfzvIpqsJVy4t8n1qBnT7lu/EvJZU+85jgQ=; b=LLg16acyV9ssxzPynuDwH/S0CSc9tMRmrCIGdfwdrK7w85YRVu4Npgj+M//L/tDr1j +PEhJUymrMgWTts01augIl92yJZf1aVBfKdzBN9nHzipXIpTkLbTuWuUO9Uaf3zjE32h TbZXMS7sGGEK/1YkGFWy3HamgZZrEUuWJst5u7mTLybjcK/qWzghX8gcX2xy4yr1WtuH zjcFNZc24bkMehhg9rtL3RhaxpLOxleTi9rtFlTtXdLzs5UGZ1ewf1hRQ7kfSme0TB85 mwuZXvIwGlvIKbSgTXEMEFRziLFU8E2p6X4JtqhoNSQACmTiaVnaWfw1qzfwemqMO32X v6wQ== 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=kADQFhR2AfzvIpqsJVy4t8n1qBnT7lu/EvJZU+85jgQ=; b=LSovqjwwKx2IY6uzn+vOnD3/UAWz6Ssq+GVBDhAS12uEfXaJv7j3009PaaFU5kQ4WE GueayJP8uign5U34o6MiqZ2Lg6Qi8VHga+6bpyAcIEi319BIoB2mhoCGNFjd8bn7dBV1 SHYJnn868mOpC8wWuViyX2Jbmrjtc6raHnJd/v2QnFoc6TX3+wYrIt3VdvJ7MiVh+RCi hdEfofXXa92wCNzsdehz/ZhM27okYG5744fEA4pZyIhUs9oEMJTP6uO0oRO1GWAMNOaU bKnPlNp0+yUYd2K4yvnMennX2LmMS9ymR328WLL+JjpGVsgxluAnQmFlS+BA6HMDMckP gW7A== X-Gm-Message-State: AOAM531Yj6cQQZDj+KjWxI0pawWXA3EeGbTLK79AZJopIDbAaBq2QByw LO4DaOZCO1aLds1snjQucIAotgXQyIkXfRJOfZGFKQ== X-Received: by 2002:a05:6808:2097:: with SMTP id s23mr8244855oiw.132.1642291264587; Sat, 15 Jan 2022 16:01:04 -0800 (PST) MIME-Version: 1.0 References: <20220104140913.29699-1-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20220104140913.29699-1-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Linus Walleij Date: Sun, 16 Jan 2022 01:00:53 +0100 Message-ID: Subject: Re: [PATCH v2] pinctrl: at91-pio4: Use platform_get_irq() to get the interrupt To: Lad Prabhakar Cc: Ludovic Desroches , Nicolas Ferre , Alexandre Belloni , Rob Herring , Andy Shevchenko , Prabhakar , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 4, 2022 at 3:10 PM Lad Prabhakar wrote: > platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static > allocation of IRQ resources in DT core code, this causes an issue > when using hierarchical interrupt domains using "interrupts" property > in the node as this bypasses the hierarchical setup and messes up the > irq chaining. > > In preparation for removal of static setup of IRQ resource from DT core > code use platform_get_irq(). > > While at it, replace the dev_err() with dev_dbg() as platform_get_irq() > prints an error message upon error. > > Signed-off-by: Lad Prabhakar > --- > v1->v2 > * Switched using platform_get_irq() > * Replaced dev_err() with dev_dbg() Looks good to me but I'd like some ACK from a Microchip person before I merge this (for v5.18). Yours, Linus Walleij