From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751894AbeA2M2x (ORCPT ); Mon, 29 Jan 2018 07:28:53 -0500 Received: from mail-io0-f196.google.com ([209.85.223.196]:43625 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbeA2M2w (ORCPT ); Mon, 29 Jan 2018 07:28:52 -0500 X-Google-Smtp-Source: AH8x224LUrp0hG1FIV/mvmia8GLEJkjJPT+AAUeacUXNY9j/rLI3WEmNZAIpB9hvay+zET9s4q6dE5Vu1GDSLe34THQ= MIME-Version: 1.0 In-Reply-To: <20180129113248.GA10969@sirena.org.uk> References: <20180124141101.12867-1-codekipper@gmail.com> <20180124141101.12867-2-codekipper@gmail.com> <20180129113248.GA10969@sirena.org.uk> From: Code Kipper Date: Mon, 29 Jan 2018 13:28:51 +0100 Message-ID: Subject: Re: [linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality To: Mark Brown Cc: Chen-Yu Tsai , Maxime Ripard , linux-arm-kernel , linux-sunxi , Liam Girdwood , linux-kernel , Linux-ALSA , "Andrea Venturi (pers)" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29 January 2018 at 12:32, Mark Brown wrote: > On Mon, Jan 29, 2018 at 08:34:00AM +0100, Code Kipper wrote: > >> I'm not sure..I was looking for a clean example of being able to >> override the number of bclks in the lrclk width and some other >> devices(Rpi) were doing it this way. I open to suggestions, > > You're looking for set_bclk_ratio() I think. Hi Mark, I'm looking for a mechanism to be able to override the bclk width (usually it's based on param_width) from the device tree. The tdm slot functionality looked just what I needed. BR, CK From mboxrd@z Thu Jan 1 00:00:00 1970 From: Code Kipper Subject: Re: [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality Date: Mon, 29 Jan 2018 13:28:51 +0100 Message-ID: References: <20180124141101.12867-1-codekipper@gmail.com> <20180124141101.12867-2-codekipper@gmail.com> <20180129113248.GA10969@sirena.org.uk> Reply-To: codekipper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <20180129113248.GA10969-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Mark Brown Cc: Chen-Yu Tsai , Maxime Ripard , linux-arm-kernel , linux-sunxi , Liam Girdwood , linux-kernel , Linux-ALSA , "Andrea Venturi (pers)" List-Id: alsa-devel@alsa-project.org On 29 January 2018 at 12:32, Mark Brown wrote: > On Mon, Jan 29, 2018 at 08:34:00AM +0100, Code Kipper wrote: > >> I'm not sure..I was looking for a clean example of being able to >> override the number of bclks in the lrclk width and some other >> devices(Rpi) were doing it this way. I open to suggestions, > > You're looking for set_bclk_ratio() I think. Hi Mark, I'm looking for a mechanism to be able to override the bclk width (usually it's based on param_width) from the device tree. The tdm slot functionality looked just what I needed. BR, CK From mboxrd@z Thu Jan 1 00:00:00 1970 From: codekipper@gmail.com (Code Kipper) Date: Mon, 29 Jan 2018 13:28:51 +0100 Subject: [linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality In-Reply-To: <20180129113248.GA10969@sirena.org.uk> References: <20180124141101.12867-1-codekipper@gmail.com> <20180124141101.12867-2-codekipper@gmail.com> <20180129113248.GA10969@sirena.org.uk> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 29 January 2018 at 12:32, Mark Brown wrote: > On Mon, Jan 29, 2018 at 08:34:00AM +0100, Code Kipper wrote: > >> I'm not sure..I was looking for a clean example of being able to >> override the number of bclks in the lrclk width and some other >> devices(Rpi) were doing it this way. I open to suggestions, > > You're looking for set_bclk_ratio() I think. Hi Mark, I'm looking for a mechanism to be able to override the bclk width (usually it's based on param_width) from the device tree. The tdm slot functionality looked just what I needed. BR, CK