Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp1689905pxb; Sun, 10 Jan 2021 07:10:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0nUKqQF6FN/AmLpfr3tZi8VJ2ObTkto6+C8VWHvHPpyDK/lIptPTLyup+Jr/w/AZvPXVV X-Received: by 2002:aa7:d784:: with SMTP id s4mr11222310edq.215.1610291454950; Sun, 10 Jan 2021 07:10:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610291454; cv=none; d=google.com; s=arc-20160816; b=K76FQdgj4TtZ19mRCq6x/PJ5mib+Jr9uqlu/S1qMfr536LoBkx8IpYZ0xab8uglCwk /My0J9k+4YmNGrANFKsejlOiQB6I7zkp8L9CP2p5x1eW3hIjfuXv5SFsZxW0Cq4CC1/h 67lxgXh6kvKht2F5lpFdSE7ax5m4An+1CSHnip5cuXtKxJgHM7KrHnUMoKIrrZRYjnBe jVW5a76Crn034lm2l/BCZFOYF3Zo2IiSRmDjy4a0nuovwpk9GHJh4sBEvysalOvM4j9E WzPHASPEOF0qLYnW2hh+A8/yOhtXTRRW07DLc9O+lHJz8oNVQifGf2jnGVQqhbu5RDdD yzLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fNkaenRaQtl2z5OzGHzplBCOqBpOBCDeckkyzmMVqjI=; b=c+Fe2YkCl5VcL6UqPEHgFY/GiBAFW/qdFC+ETvlHkC0YLVB2KF1b81cdkbenTHXNB3 Y9FhmnCYOy1Z05CPLzk8iiIVCi+p2RBxzLucZguFT58TvLNXsYDqWY3gugk+w95Vzdbf QJrTBVN/b6GeRP/i9FFqmUKVAtb+8geYYdFKQKqMqT+/fHydkQ+YqH9IbbA3ZVtdo6OQ VL0+3Afxaido/rORk8k4W6O5z7Lx2MQnHKohcp7hv4R45Omyf42oAs04XdSlATaBOX4L m/Pj7G+CMVdqjJKKupLI4vW5k19qRhyNtt8cBt+FN7YoEr4WYPGdBNg6r6OFow/nZBWs vF/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lRiM+Gaa; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce28si6141996edb.124.2021.01.10.07.10.31; Sun, 10 Jan 2021 07:10:54 -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=@linuxfoundation.org header.s=korg header.b=lRiM+Gaa; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726748AbhAJPIV (ORCPT + 99 others); Sun, 10 Jan 2021 10:08:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:37994 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726723AbhAJPIU (ORCPT ); Sun, 10 Jan 2021 10:08:20 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 41E8F22AB0; Sun, 10 Jan 2021 15:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610291259; bh=xttBw4mUlK1lvEwL0uPYIYpq4RDu7OXwOwOhhm+UpCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lRiM+GaaUFQ+LhFPUCk3QjbQ7JoVT3l65GcWseQbqIwLM2f3ml0O9Og8d/mCbj/l/ GUXa0rNJB87JromcSyKKlukafIf2t85TwFCu+7c4iMndiQmC/Nk0FmNfjbGLj8kSHe qEfXU412cUAb8HdVfZ+eHmRDhqrxLDcUriiW379M= Date: Sun, 10 Jan 2021 16:08:53 +0100 From: Greg KH To: Daniel Scally Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-media@vger.kernel.org, devel@acpica.org, rjw@rjwysocki.net, lenb@kernel.org, mchehab@kernel.org, sergey.senozhatsky@gmail.com, yong.zhi@intel.com, sakari.ailus@linux.intel.com, bingbu.cao@intel.com, tian.shu.qiu@intel.com, robert.moore@intel.com, erik.kaneda@intel.com, pmladek@suse.com, rostedt@goodmis.org, andriy.shevchenko@linux.intel.com, linux@rasmusvillemoes.dk, laurent.pinchart+renesas@ideasonboard.com, jacopo+renesas@jmondi.org, kieran.bingham+renesas@ideasonboard.com, hverkuil-cisco@xs4all.nl, m.felsch@pengutronix.de, niklas.soderlund+renesas@ragnatech.se, prabhakar.mahadev-lad.rj@bp.renesas.com, slongerbeam@gmail.com, heikki.krogerus@linux.intel.com, Laurent Pinchart , Andy Shevchenko Subject: Re: [PATCH v5 08/15] software_node: Add support for fwnode_graph*() family of functions Message-ID: References: <20210107132838.396641-1-djrscally@gmail.com> <20210107132838.396641-9-djrscally@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210107132838.396641-9-djrscally@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 07, 2021 at 01:28:31PM +0000, Daniel Scally wrote: > From: Heikki Krogerus > > This implements the remaining .graph_*() callbacks in the fwnode > operations structure for the software nodes. That makes the > fwnode_graph_*() functions available in the drivers also when software > nodes are used. > > The implementation tries to mimic the "OF graph" as much as possible, but > there is no support for the "reg" device property. The ports will need to > have the index in their name which starts with "port@" (for example > "port@0", "port@1", ...) and endpoints will use the index of the software > node that is given to them during creation. The port nodes can also be > grouped under a specially named "ports" subnode, just like in DT, if > necessary. > > The remote-endpoints are reference properties under the endpoint nodes > that are named "remote-endpoint". > > Reviewed-by: Laurent Pinchart > Reviewed-by: Andy Shevchenko > Signed-off-by: Heikki Krogerus > Co-developed-by: Daniel Scally > Signed-off-by: Daniel Scally > --- > Changes in v5: > > - Cosmetic changes only Acked-by: Greg Kroah-Hartman