From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E90E4C83000 for ; Tue, 28 Apr 2020 06:56:26 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 716F1206B8 for ; Tue, 28 Apr 2020 06:56:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="afHhg6Rt"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="l/4fnZb1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 716F1206B8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D2FB6167E; Tue, 28 Apr 2020 08:55:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D2FB6167E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1588056984; bh=ujTtylA/phrBZ8ch8RBwoXgLGoWz0Wx/496DeKxbNQk=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=afHhg6Rt1ZVBGaMVFx5OWSuBaKTnbWegHRN/YM4nwH18fec2xmGntmKN75ap6msjP Xe37JehUZHPsL0Oj6URmjkYHqhiFOOKcv5LMoEKh+lHXx15CAOTytmawr/0ZXVWLDC xxyuBEuqWVFnYYtmc3qO0NK98OJrmvaH4FEmlPd8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 595C4F800B8; Tue, 28 Apr 2020 08:55:34 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4023FF801DB; Tue, 28 Apr 2020 08:55:32 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BB414F800B8 for ; Tue, 28 Apr 2020 08:55:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BB414F800B8 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="l/4fnZb1" Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 717A7206B8; Tue, 28 Apr 2020 06:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588056927; bh=ujTtylA/phrBZ8ch8RBwoXgLGoWz0Wx/496DeKxbNQk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l/4fnZb1+F7QykUyFuMsrc0ivfseA8LbsIokFGWuuzpv3bTYI5bO4iyzxWYPOInyo mWEEwULk0N1YXlS0jxzzAK2xsq0CFq/CHpD3HITKqthF69dtXCg8tnrlG3Rdn4WjMF Eh4AjMGZyxSlGlmJtNGBzebcNG69mmPgsG46iGCs= Date: Tue, 28 Apr 2020 08:55:24 +0200 From: Greg KH To: Vinod Koul Subject: Re: [RFC 1/5] soundwire: bus_type: add sdw_master_device support Message-ID: <20200428065524.GA992087@kroah.com> References: <20200416205524.2043-1-yung-chuan.liao@linux.intel.com> <20200416205524.2043-2-yung-chuan.liao@linux.intel.com> <20200420072631.GW72691@vkoul-mobl> <20200423142451.GA4181720@kroah.com> <20200428043144.GU56386@vkoul-mobl.Dlink> <20200428063736.GB990431@kroah.com> <20200428064951.GA56386@vkoul-mobl.Dlink> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200428064951.GA56386@vkoul-mobl.Dlink> Cc: pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, tiwai@suse.de, mengdong.lin@intel.com, linux-kernel@vger.kernel.org, ranjani.sridharan@linux.intel.com, hui.wang@canonical.com, broonie@kernel.org, srinivas.kandagatla@linaro.org, jank@cadence.com, slawomir.blauciak@intel.com, sanyog.r.kale@intel.com, Bard Liao , rander.wang@linux.intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Tue, Apr 28, 2020 at 12:19:51PM +0530, Vinod Koul wrote: > On 28-04-20, 08:37, Greg KH wrote: > > On Tue, Apr 28, 2020 at 10:01:44AM +0530, Vinod Koul wrote: > > > > > That is not true for everyone, it is only true for Intel, pls call that > > > > > out as well... > > > > > > > > Why is it not true for everyone? How else do you get the pm stuff back > > > > to your hardware? > > > > > > The rest of the world would do using the real controller device. For > > > example the soundwire controller on Qualcomm devices is enumerated as a > > > DT device and is using these... > > > > > > If Intel had a standalone controller or enumerated as individual > > > functions, it would have been a PCI device and would manage as such > > > > If it is not a standalone controller, what exactly is it? I thought it > > was an acpi device, am I mistaken? > > > > What is the device that the proper soundwire controller driver binds to > > on an Intel-based system? > > The HDA controller which is a PCI device. The device represent HDA > function, DSP and Soundwire controller instances (yes it is typically > more than one instance) Then those "instances" should be split up into individual devices that a driver can bind to. See the work happening on the "virtual" bus for examples of how that can be done. A platform device better not be being used here, I'm afraid to look at the code now... greg k-h