Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2003205pxb; Mon, 8 Mar 2021 11:25:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjPWHEJChE29YE5tUEgeZs093b1jQAoiu3CmBtH86BfcXbCbLJiDTr4Z8O8fCcF/FfKs9y X-Received: by 2002:a17:906:1d55:: with SMTP id o21mr16461420ejh.485.1615231507392; Mon, 08 Mar 2021 11:25:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615231507; cv=none; d=google.com; s=arc-20160816; b=e4r1wlC4Jie7hndxuQXVlCOVJ/sjaf9oUTXGkZFwGHIEDKypa9ZQZxMOLYAUSaIkQ1 pTnUFZ4U32/fW67peBcqY+AAlrt+xTOKzBdL3Ek6LMMI1Fiarzdtq+B/OBOAxrXhnHab Qo0Vazj+ErTyyWmS/zqWePbxiDESGsNZndeknJ4sXSP+4RC3PFpFl0Ca8Casm5mRgLPf 9yYCD9VHU0nISM56sNCY2lGwhtzfLusm1g76SGnTQS2vH/SmegxY8EAJ5+K3nOEmv49O TWC+0wlawx3765+cEoROVb+rUtAbKHaLCytD6aeqltF5PcfuhtDIeeGUlOa+p/FWGcmm KLRw== 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=O5hm6aHK8+K1Uogp8/qJt3hNGrKpWyW0WQaeRio5Q8A=; b=0LAzxTLWcZDqBTF9q9oj3V0+9H4r6oGP3SyLkEMZMA/pJSaTd9R1dD6fQQCUE0WWxE aLGxfC24eKB7kwfrYeRwYJWfq29gs74KalFW+SvTbqLQbPU6yMkoSyIbTxVFKI6tSfrg HnEV52ptoOzN7ClUfRSkjqPECxRiaNnF0uTg9/BpiENWkSAbPJFn/WRHxe/+gO5YItwB B0IG/TVWT60TuR2cwdwK2K3xvv+I53oRU7vv4s5lU8zlNVhv7gY10JpW25HP10P+ls3A OD/7XmyULjAN0FyfhEPav4TZ9XcNAEwBlif8ZTLEzqYW+WFBj2M9md/+HZXev30vPKgN WF8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TDedw5QV; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce27si7807002edb.213.2021.03.08.11.24.37; Mon, 08 Mar 2021 11:25:07 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TDedw5QV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231393AbhCHTXF (ORCPT + 99 others); Mon, 8 Mar 2021 14:23:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230481AbhCHTXC (ORCPT ); Mon, 8 Mar 2021 14:23:02 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2833FC061760 for ; Mon, 8 Mar 2021 11:23:02 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id hs11so22653451ejc.1 for ; Mon, 08 Mar 2021 11:23:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O5hm6aHK8+K1Uogp8/qJt3hNGrKpWyW0WQaeRio5Q8A=; b=TDedw5QVb9bgoxauwP+/OGfYJGObXA0ByQkjCJSSQrS2iCpc1a8qr0/xxLjEWCJ5dj 3QQP7JKMsHMkFex5umK1Usd8muY6HMrHv4z4Sx5Uvt7hvuj9dGlrVh+q4Jefpx0MT46+ 7QvtnA1P5iSn+pmgxNr03XoFdiTS87LdwGaPguXPHiWwJlmBxXH1x87XWAwJUFBiQ45M ypv1dAz3f2CQ7mTbChiMm5iQJR+5MNfS8PYfZZk5sH/ciwaF79Y8AuGhobVIIKXAJ0q8 wabCkxNVQ8X3xuVAl/JgPny5GorlIVmPhEOy38rPd2Z0RaEYyvwyoKRim615b2ygZS0S Qpyw== 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=O5hm6aHK8+K1Uogp8/qJt3hNGrKpWyW0WQaeRio5Q8A=; b=fbJeDR9Z/WxQzSkRcHg1wlFo+aMvhX6sxDUgU4nQkoEHZ4m804rOkGIfr0U2b9yZId Wwq4rrirTwzy3+x7EebgI3VjqL/LCxhusT2mY0NjbV3ta0NuTSLPzqHMpo36TuJeCg0N Y7Za4ca8USDE8OdvxR55DY0q2vBCRuUzQ9EQL/J5H9fZHz2W2IZAaekOr379MOPW3chd yojViU7P6TPjYEQOCShznRp7Fm+ljwzzHbLHmctjEAY4gboD3Rkp1b3spyvlGHGUhlQS H9MGSU+8P7Gdtfl/0o8+C9Q6LiE5RkfhUAoYcHoXIzmWTltI6k3iTpS8DUmcOEkQH+I9 Q2DQ== X-Gm-Message-State: AOAM533/5N7KP9Yo9mD7FcsR576U59BaJ+9LgDm4sX/T8lLKxieJZej2 GmuC7oHASg5dexyVhNubGvSDp64fKp5+TTvzoKoXyg== X-Received: by 2002:a17:906:bb06:: with SMTP id jz6mr16303394ejb.429.1615231380809; Mon, 08 Mar 2021 11:23:00 -0800 (PST) MIME-Version: 1.0 References: <20210304201253.14652-1-andriy.shevchenko@linux.intel.com> In-Reply-To: From: Bartosz Golaszewski Date: Mon, 8 Mar 2021 20:22:49 +0100 Message-ID: Subject: Re: [PATCH v3 0/5] gpiolib: switch to fwnode in the core To: "Rafael J. Wysocki" Cc: Andy Shevchenko , Mika Westerberg , Linus Walleij , "open list:DOCUMENTATION" , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , ACPI Devel Maling List , Marc Zyngier , Jonathan Corbet , Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 8, 2021 at 7:22 PM Rafael J. Wysocki wrote: > > On Thu, Mar 4, 2021 at 9:13 PM Andy Shevchenko > wrote: > > > > GPIO library uses of_node and fwnode in the core in non-unified way. > > The series cleans this up and improves IRQ domain creation for non-OF cases > > where currently the names of the domain are 'unknown'. > > > > This has been tested on Intel Galileo Gen 2. > > > > In v3: > > - fix subtle bug in gpiod_count > > - make irq_domain_add_simple() static inline (Marc) > > > > In v2: > > - added a new patch due to functionality in irq_comain_add_simple() (Linus) > > - tagged patches 2-4 (Linus) > > - Cc'ed to Rafael > > > > Andy Shevchenko (5): > > irqdomain: Introduce irq_domain_create_simple() API > > gpiolib: Unify the checks on fwnode type > > gpiolib: Move of_node operations to gpiolib-of and correct fwnode use > > gpiolib: Introduce acpi_gpio_dev_init() and call it from core > > gpiolib: Reuse device's fwnode to create IRQ domain > > [1-4/5] applied as 5.13 material and I have a minor comment regarding > the last patch (will send separately). > > Thanks! Hi Rafael! AFAICT this should go through the GPIO tree as usual. Any reason for you to pick these patches this time? Bartosz