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=-8.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable 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 D5042C76190 for ; Thu, 25 Jul 2019 17:44:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ABDCC206DD for ; Thu, 25 Jul 2019 17:44:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lOQLyh4Z" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403750AbfGYRoq (ORCPT ); Thu, 25 Jul 2019 13:44:46 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:37350 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388291AbfGYRop (ORCPT ); Thu, 25 Jul 2019 13:44:45 -0400 Received: by mail-oi1-f195.google.com with SMTP id t76so38299296oih.4 for ; Thu, 25 Jul 2019 10:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YcakAwhbTJoGYOpuC9oEF2WLvqGmsUfwK1z2nnLHMx8=; b=lOQLyh4ZNknNXbKWG97od/UX1813pei3SQYOlzqfOBssMSPnPm/s9PBy7maBCSRQR+ 6K6LuD8sKfW7wZdMb04oWNrprN/bwJU8opJUc/hN6RVCS3BW5KS+df7hEe4j5phFRaVN 5xan32Z6xKmFJh4YvSrz+IewIJvJIywhpqXNvxm/g8UixovFxlF9XcS74wn/iNu5vDTN jcV59QX4f940eW515Aa+C5zzgAmgb/9KZ8wM7r6Bykq2UrPIOebXD5uUAOf3nZEITFr+ pUKgyZ/lXzgKGxxqtAGOOqBOpVIGWe1OKpuQIC7HbaWSj1rH1Hcd2+0fPCBLbrtDmd9J +ufw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=YcakAwhbTJoGYOpuC9oEF2WLvqGmsUfwK1z2nnLHMx8=; b=O0T5Td/vQLKhVYoke7g3oYjo5jEtQJYHrKIUPfKEA1DCgTq/k1elQteqFA1j9PXCQA h1S2dWW2Rek5Y4fkQ9RnBD82z+ggaS9rwuhrGdVCkN6EXg2GV9k0W1xBRWbbBMTcCCww wsnmkAtG8r1spk6OF39tiS8PYn8Wi06pQtsVMVd00JRuykQO1gQvXcAV12Q+hAia08ii cwAzorjdFL2JrZrpyjjW6PQGdM9UYqR8DZQYpO5FBEVKiQbAzZ08d04opclBQD+PPNyr 3emRt5ny7nsB8X7gxlhxU9/RLywwkCLSsz5SqMprgHVtaBG0dTHRz7tFhZUTa6KO8ZgM 84xQ== X-Gm-Message-State: APjAAAWYmGvEwDfN/fQbe8UE4HV45qle3psUvchqNMonzYp8tLDuIeF+ N4EZXlIa9e3C6D3PW3vbjgAtFZvW5h0= X-Google-Smtp-Source: APXvYqzB6wcKueZqL/f5Yl4DSRC0xnwviVPYuE27V4XggjeaSOX7/Y1xUexB+LH0hHqnf6Kelh3OAQ== X-Received: by 2002:a65:6415:: with SMTP id a21mr74594225pgv.98.1564076314666; Thu, 25 Jul 2019 10:38:34 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id e10sm51619090pfi.173.2019.07.25.10.38.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 10:38:34 -0700 (PDT) Date: Thu, 25 Jul 2019 10:39:19 -0700 From: Nicolin Chen To: Daniel Baluta Cc: Daniel Baluta , Linux-ALSA , Viorel Suman , Timur Tabi , Xiubo Li , linuxppc-dev@lists.ozlabs.org, "S.j. Wang" , "Angus Ainslie (Purism)" , Takashi Iwai , Mark Brown , dl-linux-imx , Pengutronix Kernel Team , Fabio Estevam , Linux Kernel Mailing List , Lucas Stach Subject: Re: [alsa-devel] [PATCH 08/10] ASoC: dt-bindings: Document fcomb_mode property Message-ID: <20190725173918.GD31961@Asurada-Nvidia.nvidia.com> References: <20190722124833.28757-1-daniel.baluta@nxp.com> <20190722124833.28757-9-daniel.baluta@nxp.com> <20190724232209.GC6859@Asurada-Nvidia.nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 25, 2019 at 09:02:22AM +0300, Daniel Baluta wrote: > On Thu, Jul 25, 2019 at 2:22 AM Nicolin Chen wrote: > > > > On Mon, Jul 22, 2019 at 03:48:31PM +0300, Daniel Baluta wrote: > > > This allows combining multiple-data-line FIFOs into a > > > single-data-line FIFO. > > > > > > Signed-off-by: Daniel Baluta > > > --- > > > Documentation/devicetree/bindings/sound/fsl-sai.txt | 4 ++++ > > > > This should be sent to devicetree mail-list also. > > > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/sound/fsl-sai.txt b/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > index 59f4d965a5fb..ca27afd840ba 100644 > > > --- a/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > +++ b/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > @@ -54,6 +54,10 @@ Optional properties: > > > represents first data line, bit 1 represents second > > > data line and so on. Data line is enabled if > > > corresponding bit is set to 1. > > > + - fsl,fcomb_mode : list of two integers (first for RX, second for TX) > > > + representing FIFO combine mode. Possible values for > > > + combined mode are: 0 - disabled, 1 - Rx/Tx from shift > > > + registers, 2 - Rx/Tx by software, 3 - both. > > > > Looks like a software configuration to me, instead of a device > > property. Is this configurable by user case, or hard-coded by > > SoC/hardware design? > > Indeed this is a software configuration and configurable by user case. > Will think of a another way to specify it. Yea, it needs to be put somewhere else other than devicetree. Not sure sysfs is a good approach for ASoC components or can be done via amixer control. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolin Chen Subject: Re: [PATCH 08/10] ASoC: dt-bindings: Document fcomb_mode property Date: Thu, 25 Jul 2019 10:39:19 -0700 Message-ID: <20190725173918.GD31961@Asurada-Nvidia.nvidia.com> References: <20190722124833.28757-1-daniel.baluta@nxp.com> <20190722124833.28757-9-daniel.baluta@nxp.com> <20190724232209.GC6859@Asurada-Nvidia.nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8BA62F8015A for ; Thu, 25 Jul 2019 19:38:37 +0200 (CEST) Received: by mail-pf1-x443.google.com with SMTP id y15so23111634pfn.5 for ; Thu, 25 Jul 2019 10:38:37 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Daniel Baluta Cc: Linux-ALSA , Fabio Estevam , Pengutronix Kernel Team , Timur Tabi , Xiubo Li , Daniel Baluta , "S.j. Wang" , "Angus Ainslie (Purism)" , Takashi Iwai , Linux Kernel Mailing List , Mark Brown , dl-linux-imx , Viorel Suman , linuxppc-dev@lists.ozlabs.org, Lucas Stach List-Id: alsa-devel@alsa-project.org On Thu, Jul 25, 2019 at 09:02:22AM +0300, Daniel Baluta wrote: > On Thu, Jul 25, 2019 at 2:22 AM Nicolin Chen wrote: > > > > On Mon, Jul 22, 2019 at 03:48:31PM +0300, Daniel Baluta wrote: > > > This allows combining multiple-data-line FIFOs into a > > > single-data-line FIFO. > > > > > > Signed-off-by: Daniel Baluta > > > --- > > > Documentation/devicetree/bindings/sound/fsl-sai.txt | 4 ++++ > > > > This should be sent to devicetree mail-list also. > > > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/sound/fsl-sai.txt b/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > index 59f4d965a5fb..ca27afd840ba 100644 > > > --- a/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > +++ b/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > @@ -54,6 +54,10 @@ Optional properties: > > > represents first data line, bit 1 represents second > > > data line and so on. Data line is enabled if > > > corresponding bit is set to 1. > > > + - fsl,fcomb_mode : list of two integers (first for RX, second for TX) > > > + representing FIFO combine mode. Possible values for > > > + combined mode are: 0 - disabled, 1 - Rx/Tx from shift > > > + registers, 2 - Rx/Tx by software, 3 - both. > > > > Looks like a software configuration to me, instead of a device > > property. Is this configurable by user case, or hard-coded by > > SoC/hardware design? > > Indeed this is a software configuration and configurable by user case. > Will think of a another way to specify it. Yea, it needs to be put somewhere else other than devicetree. Not sure sysfs is a good approach for ASoC components or can be done via amixer control. 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=-8.0 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 DC1ACC76190 for ; Thu, 25 Jul 2019 17:40:58 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 2A61522BE8 for ; Thu, 25 Jul 2019 17:40:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lOQLyh4Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2A61522BE8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45vfdK2fsczDqQd for ; Fri, 26 Jul 2019 03:40:53 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::541; helo=mail-pg1-x541.google.com; envelope-from=nicoleotsuka@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lOQLyh4Z"; dkim-atps=neutral Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45vfZp2ld4zDqPT for ; Fri, 26 Jul 2019 03:38:39 +1000 (AEST) Received: by mail-pg1-x541.google.com with SMTP id n9so17165707pgc.1 for ; Thu, 25 Jul 2019 10:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YcakAwhbTJoGYOpuC9oEF2WLvqGmsUfwK1z2nnLHMx8=; b=lOQLyh4ZNknNXbKWG97od/UX1813pei3SQYOlzqfOBssMSPnPm/s9PBy7maBCSRQR+ 6K6LuD8sKfW7wZdMb04oWNrprN/bwJU8opJUc/hN6RVCS3BW5KS+df7hEe4j5phFRaVN 5xan32Z6xKmFJh4YvSrz+IewIJvJIywhpqXNvxm/g8UixovFxlF9XcS74wn/iNu5vDTN jcV59QX4f940eW515Aa+C5zzgAmgb/9KZ8wM7r6Bykq2UrPIOebXD5uUAOf3nZEITFr+ pUKgyZ/lXzgKGxxqtAGOOqBOpVIGWe1OKpuQIC7HbaWSj1rH1Hcd2+0fPCBLbrtDmd9J +ufw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=YcakAwhbTJoGYOpuC9oEF2WLvqGmsUfwK1z2nnLHMx8=; b=MBQ4AZIKKwmUwvBgfODsMa+Kgv4LTTux0gt1jeJ2ONG5gRlcNWTLHQOLd/nBdVnbOx TVr3LAlZY28TQzXM+2t7Z6Mdwev2eSs7OzGCcM+Uv6lAcZ/KwWXyjQo01OzLVuz2YDhs 1CCmb2whxq4d7hp/M0PB/niEULFuWXNieX610+iSJHrkyQ2fu0MzMlcXl65+SZaxNYyI GEnllxunZZzFHEoaCN5BSZ5I2kMFLP8oD4gavyTpsnSZkK1oWBeWS2l+rzHpwRbsrr41 D7+4veWunRSzx0ueuR574D772c+8mrPwzykhltKJKIZy7KXQ0Kfj6mF5zs0cXh9i8VzB r7lQ== X-Gm-Message-State: APjAAAXqDZgyJn5QIpyJJV00M4WNMPvtpKng1j4QxdaCoI3BI1dDpRDm 3jD6yLsP3OY43vznukM32NE= X-Google-Smtp-Source: APXvYqzB6wcKueZqL/f5Yl4DSRC0xnwviVPYuE27V4XggjeaSOX7/Y1xUexB+LH0hHqnf6Kelh3OAQ== X-Received: by 2002:a65:6415:: with SMTP id a21mr74594225pgv.98.1564076314666; Thu, 25 Jul 2019 10:38:34 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id e10sm51619090pfi.173.2019.07.25.10.38.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 10:38:34 -0700 (PDT) Date: Thu, 25 Jul 2019 10:39:19 -0700 From: Nicolin Chen To: Daniel Baluta Subject: Re: [alsa-devel] [PATCH 08/10] ASoC: dt-bindings: Document fcomb_mode property Message-ID: <20190725173918.GD31961@Asurada-Nvidia.nvidia.com> References: <20190722124833.28757-1-daniel.baluta@nxp.com> <20190722124833.28757-9-daniel.baluta@nxp.com> <20190724232209.GC6859@Asurada-Nvidia.nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-ALSA , Fabio Estevam , Pengutronix Kernel Team , Timur Tabi , Xiubo Li , Daniel Baluta , "S.j. Wang" , "Angus Ainslie \(Purism\)" , Takashi Iwai , Linux Kernel Mailing List , Mark Brown , dl-linux-imx , Viorel Suman , linuxppc-dev@lists.ozlabs.org, Lucas Stach Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Jul 25, 2019 at 09:02:22AM +0300, Daniel Baluta wrote: > On Thu, Jul 25, 2019 at 2:22 AM Nicolin Chen wrote: > > > > On Mon, Jul 22, 2019 at 03:48:31PM +0300, Daniel Baluta wrote: > > > This allows combining multiple-data-line FIFOs into a > > > single-data-line FIFO. > > > > > > Signed-off-by: Daniel Baluta > > > --- > > > Documentation/devicetree/bindings/sound/fsl-sai.txt | 4 ++++ > > > > This should be sent to devicetree mail-list also. > > > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/sound/fsl-sai.txt b/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > index 59f4d965a5fb..ca27afd840ba 100644 > > > --- a/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > +++ b/Documentation/devicetree/bindings/sound/fsl-sai.txt > > > @@ -54,6 +54,10 @@ Optional properties: > > > represents first data line, bit 1 represents second > > > data line and so on. Data line is enabled if > > > corresponding bit is set to 1. > > > + - fsl,fcomb_mode : list of two integers (first for RX, second for TX) > > > + representing FIFO combine mode. Possible values for > > > + combined mode are: 0 - disabled, 1 - Rx/Tx from shift > > > + registers, 2 - Rx/Tx by software, 3 - both. > > > > Looks like a software configuration to me, instead of a device > > property. Is this configurable by user case, or hard-coded by > > SoC/hardware design? > > Indeed this is a software configuration and configurable by user case. > Will think of a another way to specify it. Yea, it needs to be put somewhere else other than devicetree. Not sure sysfs is a good approach for ASoC components or can be done via amixer control.