Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2455520pxj; Sun, 13 Jun 2021 21:46:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgSUKFx2oh9QfinMZIFl8bvszN5JE8AQQ56d+FFmj+FLrx/iKD2vIoqrMQfnVTJ0Xy/Ho7 X-Received: by 2002:aa7:d8d8:: with SMTP id k24mr14932910eds.253.1623646019708; Sun, 13 Jun 2021 21:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623646019; cv=none; d=google.com; s=arc-20160816; b=XlDGsAoyJT20TVykwuoVrPNN1e2F06AdlEDKRbgFZ1B3YzneNNNixtKIGAfvKFmxc7 Ck5WiU3bY3pvEQkS5wWeql6Ll4Z35WNdTwxFOwwKLESaHnrvMLGDrioNARy2fyq/m/Mc rxw2ZBh1xsiLYUglxskVy72zY+hvNBnM1zwrR+oUiVRX03Z1Qmk7lyx+pznk6E6DFCe9 U+RjdLaYK3DN9qIdZ69wEQnM5RsXVx0rZnIK0mVvT7dqhSLGQ6RtKMnfPoyQtIn7tR5Q hgUFnBAyFm3uR+6TZxvxutmd5wQxCzbV9fBe0nNifauk7UKQJOZflp8hXPfqkq0MY6JV qJYg== 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=eMnwrp0WnhkI1oTo4Uy5rijs+N5NC7dLGYJe6/tz80k=; b=FRoHasK3u2HJ6mJXqI2b5VJpmnpaawQ+TecXJiqY/Ka8iaFiJnQ7ubXmywK1zse0F+ mAMUSrhL8GMBfJzSyBnchQa7knlVZgsyacLMAQlMKJiBHRkNDKgbAvAM5gy/+k+w4UII uDIKFwo1pWFdqJGz+fAjaN3dQXxlvcajRx0X7X4o4vAJwnxfgsfHrUUtKhzw7UGzS1cX 591/jAQM0BdZAxH0G91m5Nh5+cqtdy89MzIRylTML4POzqY2N+92nTrg03fA27RQV8WK Rbd87qqHips9/XerC0rMzr+EbU5fdOL0X09JLaGE7lArQLdj3FWHauCDaeqMO/gKXVQs vyTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SGHiC0c9; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si10341323ejc.581.2021.06.13.21.46.36; Sun, 13 Jun 2021 21:46:59 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=SGHiC0c9; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232276AbhFNEpp (ORCPT + 99 others); Mon, 14 Jun 2021 00:45:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:37056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbhFNEpn (ORCPT ); Mon, 14 Jun 2021 00:45:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 91C04613AD; Mon, 14 Jun 2021 04:43:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623645821; bh=IvmZ1b1TDZMBnSXVm8/fTN69Cd3Wq1w0/TEjzhTNHeE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SGHiC0c9pe1NmkciV35SzWPJ3Mah7tgis/rKoEwBFY8+d2CV8kChZGfa4K6vHe6N9 lekO9YUMujZPLcNBS1Ijov4tnjHenblB992BITzbbmjj+vfC3YfOm/42WFu+w98eX0 0UpgnrhGuRL3WICWPb9QhitNZJ/xxBKJ+OwlQMG3QQDYT0w7Sh96kHRBuegj0sHlej lRvahn+q7GC/TWOKOXt92qYfDeNjAYcXZXE0Sf3+M/P2sIq8vcDXGUymLXW8C2xyqB ocGckpjJOauk+4Hv6PAL+PRGIjZLK9x5KE9x6L6Z8cTvZ4y3fZAijXdub7/XguA1Nq KQZY8jweyVVpA== Date: Mon, 14 Jun 2021 10:13:37 +0530 From: Vinod Koul To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, Leon Romanovsky , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Ranjani Sridharan , hui.wang@canonical.com, Jason Gunthorpe , Dave Ertman , sanyog.r.kale@intel.com, Bard Liao , rander.wang@linux.intel.com, bard.liao@intel.com Subject: Re: [PATCH v4] soundwire: intel: move to auxiliary bus Message-ID: References: <20210511052132.28150-1-yung-chuan.liao@linux.intel.com> <21002781-0b78-3b36-952f-683482a925d7@linux.intel.com> <07dbe0a2-0abb-810b-ef39-b83511d3f3e0@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11-06-21, 09:51, Pierre-Louis Bossart wrote: > Thanks Vinod for your feedback, > > > > If you look at the *existing* code, we don't handle any "resources" with the > > > platform devices, we use the platform_device_info.data to pass the link > > > information. It's a void pointer. We do not touch the resource field in the > > > platform_device_into at all. > > > > Yes that is true I dont disagree on that part. My ask here is to make it > > better, it can be followed up after this but I would at least like to > > agree on the direction. > > [...] > > > > That's it. We did not change anything else, all the other fields are > > > identical. We are only changing the TYPE of device and the interfaces for > > > probe/remove but using the same information and the same device hierarchy. > > > > The move in itself is okay but I dont think that should be the end goal. > > What we suggested in this patch is only an iso-functionality change. I > believe from Greg's and your feedback that there is no objection on that > small step. > > This is not the end-goal indeed. The second step would be to remove the > intel_init.c file. I fully agree with you Vinod that this can be moved into > the SOF driver, and we could do this in a follow-up step. We can also > improve the partition between 'context' used by the child driver and > information passed by the parent on SHIM registers and bases. > > I think we'd need to agree on the details of the second step, Bard and I can > work on a proposal, but I don't see a disconnect on the direction to > simplify the interface. That's the right thing to do. That is agreeable to me. Looking forward to updates to clean these bits up Thanks -- ~Vinod