Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2813837ybi; Sun, 9 Jun 2019 22:00:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlc+F0j7+JIw2lv29JIO75fclZ8OnMfKh9li+rqRAcdH4g9sG9ysBO02upTd1p/XVGMZxp X-Received: by 2002:a17:902:bc47:: with SMTP id t7mr56098619plz.336.1560142806946; Sun, 09 Jun 2019 22:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560142806; cv=none; d=google.com; s=arc-20160816; b=sDCEWve7Ct1qOmHmaidc8biEoucYQI8Fz0QSzP/Lewc1+x4X2v0tGiHyG1LA91yKbo wqgHqFHSwntdXae9OEe4OBFE0BRZ7yqtk8eNRPAl0cJ0BL9rXHP+Z99jVKK4Ik+V0ocE ypp929QeLBl9ZMmDAGiEkBxsVIgHRz++8/65fwYM7hAgojzXPt9ARAXtkRWzbKj70zLb osVXNn7k2y89glchnH2U0XGJ6MtRgUR0Y+gXLuzYej90hHniMMT7o+vG4kGxvNTi8s0O 9esLK3l/SdjXa51efwlM371palAsUVhT3GnqOWOlT1c4QSmFQQ5htNyL7imbRsytinaZ SV+Q== 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:dkim-signature; bh=zNXUi9TWiJdCWeS3niaxWBdK/J0s96piGx66Ch8Rew8=; b=sl2jaovG4EcPjtiHTmfpqIhvv2wddpea3gUZ+LkgdAUJOwPIqKdspjEPdHZz2wYM02 Qxv1qUHVx2yNLtA5jk5p0kyE/5VeLXKBS05g34L7x9cK/gS9HDSR9RWXh+hbLKWWBA+a w7EUveyyeE+nGCrXAV+xnwRVcXLqR0M9Mi1p9aiXH4jdLy6IF55ETckxq0zQwJSmMvpF PhvZJq80EvEKVr3WWnEHQdvWr7a3h2c1kwqKFWdhlbiS3daDV5OTXKP9kwMBSz/4xMr3 ndGo50NOW2tvMv91BJL59LaskIrUpwWu0X22vxRmFXSO2NYMLQvaAry43a7VT7jzaRB/ nzGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KTw7EhRn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si9121361pfn.53.2019.06.09.21.59.51; Sun, 09 Jun 2019 22:00:06 -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; dkim=pass header.i=@kernel.org header.s=default header.b=KTw7EhRn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728480AbfFJEzB (ORCPT + 99 others); Mon, 10 Jun 2019 00:55:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:57446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725320AbfFJEzA (ORCPT ); Mon, 10 Jun 2019 00:55:00 -0400 Received: from localhost (unknown [122.182.223.237]) (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 0AAEE207E0; Mon, 10 Jun 2019 04:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560142499; bh=pNVtwDi1EOVr8B79cvvDcqYTcIy9EArIA8yhGGfUK+w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KTw7EhRntHexBM4QG2iHqWsly9oEVnROvuplzi0KrEIcXo/VAGLOAwdezCKeKbw+A 7+UkZAQrAkWlvgsVhIfNVUIS4+SfVPT8bzCEpYHDJm1WhrjW34GBxGo/yojiyDLzTx lCF+LkLtz34CdJoE6zX00mQbSPF8ZwS6FJJtzAg0= Date: Mon, 10 Jun 2019 10:21:50 +0530 From: Vinod Koul To: Srinivas Kandagatla Cc: broonie@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, mark.rutland@arm.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 5/6] dt-bindings: soundwire: add bindings for Qcom controller Message-ID: <20190610045150.GJ9160@vkoul-mobl.Dlink> References: <20190607085643.932-1-srinivas.kandagatla@linaro.org> <20190607085643.932-6-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190607085643.932-6-srinivas.kandagatla@linaro.org> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07-06-19, 09:56, Srinivas Kandagatla wrote: > This patch adds bindings for Qualcomm soundwire controller. > > Qualcomm SoundWire Master controller is present in most Qualcomm SoCs > either integrated as part of WCD audio codecs via slimbus or > as part of SOC I/O. > > Signed-off-by: Srinivas Kandagatla > --- > .../bindings/soundwire/qcom,swr.txt | 62 +++++++++++++++++++ So I was expecting to see bus support patches for OF first. I think you have missed those changes. Please do include those in v2 with bindings and OF support for bus. > 1 file changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soundwire/qcom,swr.txt > > diff --git a/Documentation/devicetree/bindings/soundwire/qcom,swr.txt b/Documentation/devicetree/bindings/soundwire/qcom,swr.txt > new file mode 100644 > index 000000000000..eb84d0f4f36f > --- /dev/null > +++ b/Documentation/devicetree/bindings/soundwire/qcom,swr.txt > @@ -0,0 +1,62 @@ > +Qualcomm SoundWire Controller > + > +This binding describes the Qualcomm SoundWire Controller Bindings. > + > +Required properties: > + > +- compatible: Must be "qcom,soundwire-v..", > + example: > + "qcom,soundwire-v1.3.0" > + "qcom,soundwire-v1.5.0" > + "qcom,soundwire-v1.6.0" > +- reg: SoundWire controller address space. > +- interrupts: SoundWire controller interrupt. > +- clock-names: Must contain "iface". > +- clocks: Interface clocks needed for controller. > +- #sound-dai-cells: Must be 1 for digital audio interfaces on the controllers. > +- #address-cells: Must be 1 for SoundWire devices; > +- #size-cells: Must be <0> as SoundWire addresses have no size component. > +- qcom,dout-ports: Must be count of data out ports > +- qcom,din-ports: Must be count of data in ports On these I think we should have specified dpn properties as specified in DisCo, but then looking at spec we do not define that for master, but bus seems to have it. Pierre do you why master does not have dpn properties in DisCo? > +- qcom,ports-offset1: Must be frame offset1 of each data port. > + Out followed by In. Used for Block size calculation. > +- qcom,ports-offset2: Must be frame offset2 of each data port. > + Out followed by In. Used for Block size calculation. > +- qcom,ports-sinterval-low: Must be sample interval low of each data port. > + Out followed by In. Used for Sample Interval calculation. These are software so do not belong here -- ~Vinod