Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1543146ima; Thu, 25 Oct 2018 00:29:21 -0700 (PDT) X-Google-Smtp-Source: AJdET5eel+axrk5DQbIeotPdDxSpQpXf+z8zAKX1h+DckeATKfN4GBPJPvK+991tBiNF7XzE5KTe X-Received: by 2002:a63:1411:: with SMTP id u17-v6mr406519pgl.247.1540452561074; Thu, 25 Oct 2018 00:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540452561; cv=none; d=google.com; s=arc-20160816; b=X3fAtaGXfVNVuMqqhTrc6SdmSq4aNCzeK4efh0J1MR5zv84EcG05TqDIbLJpJ/pPyH tqpvL/Vlf8YsL29tKAmfYu6xmvESvLiaBwBklMDaNSFWUKB3EdGMih6NJAFt7DNjfntd R4/MoBW3VCcBv/LH6QxwcuJ0PB4MAdYOwp/rcFmXcpc46lwUTu5VOHdzsaEqFiXj9eCQ ysgxJJPBl44rsoU7/K2D8VtN+fRVKHGrFPl4T65b2RJVP7eNSvHKFiRiQTUlMGR9HHzm Fa4tt08p0wgkyXRtdeZGhD7MRV3dQ+e3OQM5DkHljKu2S8E1IOCf5zqPT5yblP5cHwb1 SLXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=HStL3FiCNUbsgtCiyzXxX//fHRuJ2wPSgwvWMLjWj3k=; b=IZC/AiymMvOtwCMXOsd+gqB/7M5npRoGnncaDbdbsn6L/C/lil5p3tijxIMEi7QC0A 9tNCdvw/PBrwaaqpuPNT38N7YggLgU8dw//58sT5MUTUJI9738ZAiuchCQfItGaVN47g BWz/sps8DW/AFmTGa/sK5dp06GZufq6GA9Cs0iZEBcptP6dHEKNnRWBEpxFTVh9AvL4G MwkD/LU4vKB3fFp0ED0R46ueNIJE1NUe5KYdL6hY87wPBJ4w0yJbYTnVY7F46L/KYHKL QK6HeIGOruT4RqmYHATkx52bkEWgh6tRIW6uIcQBSTNDAivDhquhRBpDPweUI9K0PSB9 227g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p82-v6si4532371pfi.12.2018.10.25.00.29.05; Thu, 25 Oct 2018 00:29:21 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726852AbeJYP7k (ORCPT + 99 others); Thu, 25 Oct 2018 11:59:40 -0400 Received: from mga07.intel.com ([134.134.136.100]:37268 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbeJYP7k (ORCPT ); Thu, 25 Oct 2018 11:59:40 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2018 00:28:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,423,1534834800"; d="scan'208";a="102327310" Received: from kuha.fi.intel.com ([10.237.72.189]) by fmsmga001.fm.intel.com with SMTP; 25 Oct 2018 00:28:07 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Thu, 25 Oct 2018 10:28:05 +0300 Date: Thu, 25 Oct 2018 10:28:05 +0300 From: Heikki Krogerus To: Randy Dunlap Cc: Heiko Stuebner , Guenter Roeck , Hans de Goede , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 1/5] driver core: Add fwnode member to struct device_connection Message-ID: <20181025072805.GD2034@kuha.fi.intel.com> References: <20181024150525.11552-1-heikki.krogerus@linux.intel.com> <20181024150525.11552-2-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 24, 2018 at 08:33:53AM -0700, Randy Dunlap wrote: > On 10/24/18 8:05 AM, Heikki Krogerus wrote: > > This will prepare the device connection API for connections > > described in firmware. > > > > Signed-off-by: Heikki Krogerus > > --- > > include/linux/device.h | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/include/linux/device.h b/include/linux/device.h > > index 90224e75ade4..a964a0d614fa 100644 > > --- a/include/linux/device.h > > +++ b/include/linux/device.h > > @@ -753,11 +753,17 @@ struct device_dma_parameters { > > > > /** > > * struct device_connection - Device Connection Descriptor > > + * @fwnode: The device node of the connected device > > * @endpoint: The names of the two devices connected together > > * @id: Unique identifier for the connection > > * @list: List head, private, for internal use only > > + * > > + * NOTE: @fwnode is not used together with @endpoint. @fwnode is used when > > + * platform firmware defines the connection. When the connection is registeded > > for your next version:) registered OK. thanks, -- heikki