From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE421C433E9 for ; Wed, 10 Mar 2021 23:16:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD58264FD4 for ; Wed, 10 Mar 2021 23:16:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233697AbhCJXPy (ORCPT ); Wed, 10 Mar 2021 18:15:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233603AbhCJXPm (ORCPT ); Wed, 10 Mar 2021 18:15:42 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF1BC061574 for ; Wed, 10 Mar 2021 15:15:41 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id n16so36517859lfb.4 for ; Wed, 10 Mar 2021 15:15:41 -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=FvgqzQ3J8j30csPWmBVtuOz65ao5kSPhlDNVxVSpFEc=; b=I3yoB+2Jz9M77UGRHjOQ21FENV/4rcf8+OthqQA31JhtTKZUynjkLmtKEf0HMj+NLJ 8jvPlfUVgF98rs95p39XYZc7yFb68WICkPO/kQvt6Q1c8J+jFT7QEG8y7D7kdoqxOKRJ DMvE5N7lFIevdpnTIj5+Slb00i7pEud0WDbJWaNU6iv3eZS9zVGUZtE2fpS3+EVmb/ec gxuW8mdqT5QZr8E/D68kK+oKbchcF9jIscvwr/plgHJf3SvvLbj/ikY77bD8rHw/9yWj yAbzJKsg98OHJB07f4Nlku0qvpt94YACmKgcRBfReIi1j5LWoP2M0muZ8nMy/pBj6pTI Bdmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FvgqzQ3J8j30csPWmBVtuOz65ao5kSPhlDNVxVSpFEc=; b=a8W/KWp4ccfut3w3eYfn9ZWlhFlfNRPGAxYoC9avuxs5KV3wRWqRlfBu/8D9yw7rEp 3hmiXFVmllpYihWFagZ2WB2/NRxO9JYdGCNFvRX9A3CYpO0/c35qjt+Gx8tJ0jNwaLkg ScXNjY0Nfq2MiT7hpz8MyYrej4j3m2czgvK+kDHscDgZ/NHrwTjPLrRK3sQ1uIoOXUL7 IxLLgYG1RnFHnJmRd6N/v8wkYpi/7F8NkSjkpSUk6DHqwqaC3tgxRxiZL4PLLddqtBTI Zh7Yxras61ZJo8Odro72lRv1LlDDYeZ9YKxpDiwPNnCFVLbuXcZVilDjZLjSMCyfoPSB nOHg== X-Gm-Message-State: AOAM530BBBLO6+1uN4FJuYmnT8/XZ+CoBtKGOlGFfixFjhzQDfhlsG+1 NzC/THxH0h8eNxlu83M5+Y5mYs4KfuuJJDQ3oeT1qw== X-Google-Smtp-Source: ABdhPJz6sqRctIaxVCY7bLqYO+NzPpIJ6vlSe8TnV452GfK18RjK/YOYwyudDIEPPPFgwGG+hoX2MGiC29xhnianDGc= X-Received: by 2002:ac2:4d95:: with SMTP id g21mr508729lfe.29.1615418140326; Wed, 10 Mar 2021 15:15:40 -0800 (PST) MIME-Version: 1.0 References: <20210304201253.14652-1-andriy.shevchenko@linux.intel.com> <20210304201253.14652-2-andriy.shevchenko@linux.intel.com> In-Reply-To: <20210304201253.14652-2-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Thu, 11 Mar 2021 00:15:29 +0100 Message-ID: Subject: Re: [PATCH v3 1/5] irqdomain: Introduce irq_domain_create_simple() API To: Andy Shevchenko Cc: Mika Westerberg , Linux Doc Mailing List , "linux-kernel@vger.kernel.org" , "open list:GPIO SUBSYSTEM" , ACPI Devel Maling List , Marc Zyngier , Jonathan Corbet , Bartosz Golaszewski , Thomas Gleixner , "Rafael J. Wysocki" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 4, 2021 at 9:13 PM Andy Shevchenko wrote: > Linus Walleij pointed out that ird_domain_add_simple() gained > additional functionality and can't be anymore replaced with > a simple conditional. In preparation to upgrade GPIO library > to use fwnode, introduce irq_domain_create_simple() API which is > functional equivalent to the existing irq_domain_add_simple(), > but takes a pointer to the struct fwnode_handle as a parameter. > > While at it, amend documentation to mention irq_domain_create_*() > functions where it makes sense. > > Signed-off-by: Andy Shevchenko Reviewed-by: Linus Walleij Yours, Linus Walleij