Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2686220ybi; Sun, 28 Jul 2019 15:13:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQpMxgObpKqBHEiy3q7RBNNGKy9bI02ObHri+LIaefVR1PWoLdZ6m/scYBJPhePK4nxPB0 X-Received: by 2002:a17:902:a504:: with SMTP id s4mr84196949plq.117.1564351991688; Sun, 28 Jul 2019 15:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564351991; cv=none; d=google.com; s=arc-20160816; b=fgG131QgWxbFqsP83nmYthGCvm72BZqw0CFCc+P2URABhJFF0p7QyCvGTKJJDcG6Vn S5dRWDizBzw3eXapSAp9UheVmjgKVrHuYbcTQFYF7qDDtX0NAtF/cP6cstuP/cAcko/E rCin6gJw61gkaLrGxeLw+u4qJlfivukCm++TikgaTuuD9+0DVkjjN88IC+MNnZ6gdfcT xyfT7DOJ8j1+at0APQszRt+3nv6+WeW509LZC9WJlXkeiwi5jgh4vt54OpkFs/xVCxUb qU3JFqL3J2qETx3HiNSv/GM964Ve14S1PFVFe7o5hWKBKzve4eKmSdjZ8E6MtR49N9Ku ES9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=P/UUoIRi1saO6ICrZirvERC3tkUx/Rrg9Uu5W/WNhiI=; b=X/d0VUkEryIpmMfkdhMfj0LRJWdlhT7r5rDb6hmAJ/d/2qnOw/VNc5THuBPzpGwWcq GEaRa/SH17Do7yjKTjYSQKO1WbZVBChLU2PkzlLEXGgnLJVWj7G4QfKMzetGYXkFD9Ca OvNVcBrT0GS7Or9Pjl9kjgU16GI9uRKTqZ9x7Sa/6i6aPwxLwXao44te/DJkaY3o9Z6l KflQjTURyNObCLBi3x5rvJ1gND39+YEqzGEQPJ902oHgDQnt1Q9+V8DqXlhzAyGOxU/N gaD0SYWBcKWTrGw8sFImHIrrfojsoJi5N3uLOZa9x483XAQ3syA201DF+/ijWeHIvAVt gc6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fYfSEu0N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id x9si25298966plo.98.2019.07.28.15.12.56; Sun, 28 Jul 2019 15:13:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fYfSEu0N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726251AbfG1WLy (ORCPT + 99 others); Sun, 28 Jul 2019 18:11:54 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46186 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbfG1WLy (ORCPT ); Sun, 28 Jul 2019 18:11:54 -0400 Received: by mail-lj1-f195.google.com with SMTP id v24so56726358ljg.13 for ; Sun, 28 Jul 2019 15:11:53 -0700 (PDT) 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=P/UUoIRi1saO6ICrZirvERC3tkUx/Rrg9Uu5W/WNhiI=; b=fYfSEu0NfzDyjpxjq/ysAcfDfZY2Yjdv2Ql2GucgXtjPYlngCS87l9KxOWAW9WqMsG 7YQnuBTDQi5lzkUsX7ju8ANwHjvY9RUH9p8uqm7fuSwta6Dlt3zwJ2m7C99onbm2WOlO 5kQIlhiEAqqZbf+UX43YuSJRk4k/V7goItgDwki5TllMdkb/aJYwH7SA5dBL/xuSuWDW Jq2AC0UUkcz96HnCyDSY+VjSrm3G0lf77JURZyw8jThfrM1MQ+H496xoacb3imKl/1Ie Nwjrrj+N5WFI4HRChmgn3C8YEOlQy+2sFGBTBwZ6HxhsL2++jWO2ibkrrJXXfDzkk+OZ grUQ== 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=P/UUoIRi1saO6ICrZirvERC3tkUx/Rrg9Uu5W/WNhiI=; b=dK0w2ResZT1RPUrMYS/aGO1avq6Gf33sYEhYEY2drZqAW02YouxxEoQtIWXoa324CJ 9dRH9PPAuMzF3mvlKgFRKe+UavK3ixnwS5T6PBBwFCnq7XUMCxS4cwLcSC4AH0i08jV4 KWg891CWwgwgKojxiwUxeiSRzBiXBT0qWBaJwuHXBoD89aNRURqDO8KgXzue2X59sMsJ hB/thw6ggOFfa5eAEz8lfycSdxAVW8x+m43OqvLwFxMH+BdcAwvQ+Hy1QHPCsfkNkZef 7X5O8Be/KI1orEeqVfffUNJ6GZ49pMmmhv37dKZ6o4WTPuWcO15tCT3LqdbzKewth6zK P/zg== X-Gm-Message-State: APjAAAWeVknhAzZWw/Mj5tZGXD6MQq1XeoKdQ91uI8M51XUdxQtvxNYh 6tdk3npBAzwBIzo0LfK9C3Ne2h0EYmy9MEypgT+JlQFV X-Received: by 2002:a2e:a0cf:: with SMTP id f15mr34303871ljm.180.1564351912427; Sun, 28 Jul 2019 15:11:52 -0700 (PDT) MIME-Version: 1.0 References: <20190713075259.243565-1-dmitry.torokhov@gmail.com> <20190713075259.243565-2-dmitry.torokhov@gmail.com> In-Reply-To: <20190713075259.243565-2-dmitry.torokhov@gmail.com> From: Linus Walleij Date: Mon, 29 Jul 2019 00:11:41 +0200 Message-ID: Subject: Re: [PATCH 1/2] drivers: base: swnode: link devices to software nodes To: Dmitry Torokhov , Greg KH Cc: "Rafael J . Wysocki" , "Enrico Weigelt, metux IT consult" , Linux Input , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Andy Shevchenko , Heikki Krogerus Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 13, 2019 at 9:53 AM Dmitry Torokhov wrote: > It is helpful to know what device, if any, a software node is tied to, so > let's store a pointer to the device in software node structure. Note that > children software nodes will inherit their parent's device pointer, so we > do not have to traverse hierarchy to see what device the [sub]tree belongs > to. > > We will be using the device pointer to locate GPIO lookup tables for > devices with static properties. > > Signed-off-by: Dmitry Torokhov Reviewed-by: Linus Walleij If some device core person like Rafael and/or Greg can ACK it I can apply this patch to the GPIO tree. Yours, Linus Walleij