Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1142688pxk; Fri, 18 Sep 2020 05:05:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqfP8BPbxAPvtyycUyOtvWsL3kVZmEPWn3C32NtkCSkFtG6sJp5pNUKFaeeh15r1PBwZFB X-Received: by 2002:a17:906:3bd8:: with SMTP id v24mr36762994ejf.509.1600430736390; Fri, 18 Sep 2020 05:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600430736; cv=none; d=google.com; s=arc-20160816; b=lhQH2c1xrp9x8RK4sromooWYex0UQcZKii1UCyY/eJHu3cGzq5Zhf7i3fbsr1GTG2Y hfePYAPPNdppREKp7hPrQpnVBJEc8oFzpStXj5xh2gX1XJoD2zR8qdSNPj8OHNF6by8G FnRRsWR2Zdz2KZySBlVHIwqsR/QuReL2eWyJdirKRIP7v529QdXcJuMHOQlONVVVY5Uy ki5S/EXpF24SaP1G4XWHcZnDcyMcKEmJP668C33+uWmIMHEaJM89itp+EJA5UeKCYLz0 nC9gERH7CcIGyTGY+ueR6lJYSejBgj9BRxr12JsqVg3FZLbvv3VGONxw3du/K8IyrmaD zSaQ== 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=Yu9Hd15R7GKtuTwO0paq7DxfMSXDeVPHe6lNXETbXAQ=; b=vnkUJJkRZfzLQK/Hy8vm8tEu4FKDavo8nLYSyqdYR8fPtfKg/2agvM1fhB0DX34XKp VDLWnmHTMw4kGkWMdRqRoLa1NHxeHpd1w3Sh7EW7V0Yz+48bW3XeUFrNJ/e9ChATf8B/ +uefVGe21xLhfGnARd9uW6SAr2D7kcqvjpRHojdpY6Z/GgPEX+ObA8WRp5RLJKnm0EHj W8Rurj8N7oWY/nLoFKmBbF41X4aKBHliGrqwkDVzd5Iw0Z5yO80HfyG8VbsmLkj38x2C tLIpWJ3JxJurvCgtPFe3lHZCqmZILI8yAg9qEX5pfN6KSdYsZLOTMkqOBgBCW0C7ZdK+ ZIKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rxaUP3bx; 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 ha18si2057344ejb.543.2020.09.18.05.05.12; Fri, 18 Sep 2020 05:05:36 -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=default header.b=rxaUP3bx; 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 S1726566AbgIRMAi (ORCPT + 99 others); Fri, 18 Sep 2020 08:00:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:39210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726199AbgIRMAi (ORCPT ); Fri, 18 Sep 2020 08:00:38 -0400 Received: from localhost (unknown [136.185.124.244]) (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 1E0D32100A; Fri, 18 Sep 2020 12:00:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600430437; bh=EWVOPeAE3w06YdnOUsiNsI6p2M/jMN2L8S5LmGhKJ1Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rxaUP3bxi6YazO+nKhUVEDqcmNGmSMmf0FYq8u6M2kOgMBfKNlY20s3BivxBXagk1 7kv3wMTIy/xsKf8AI1YR/yuja9tzR0KllrUsTOYSgPIuRS1LeB7PrxeUrKKsabflUF qKPfTfImwsxCh7ECh7p5ddnN/qvzKUhOZOWVHO70= Date: Fri, 18 Sep 2020 17:30:34 +0530 From: Vinod Koul To: Bard Liao Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, rander.wang@linux.intel.com, ranjani.sridharan@linux.intel.com, hui.wang@canonical.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, mengdong.lin@intel.com, bard.liao@intel.com Subject: Re: [PATCH] soundwire: Add generic bandwidth allocation algorithm Message-ID: <20200918120034.GP2968@vkoul-mobl> References: <20200908131520.5712-1-yung-chuan.liao@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200908131520.5712-1-yung-chuan.liao@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08-09-20, 21:15, Bard Liao wrote: > This algorithm computes bus parameters like clock frequency, frame > shape and port transport parameters based on active stream(s) running > on the bus. > > Developers can also implement their own .compute_params() callback for > specific resource management algorithm, and set if before calling > sdw_add_bus_master() > > Credits: this patch is based on an earlier internal contribution by > Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. All hard-coded > values were removed from the initial contribution to use BIOS > information instead. Applied, thanks -- ~Vinod