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=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, 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 EA8CAC07E9B for ; Tue, 20 Jul 2021 18:47:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C28A3610CC for ; Tue, 20 Jul 2021 18:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232391AbhGTSHH (ORCPT ); Tue, 20 Jul 2021 14:07:07 -0400 Received: from mga05.intel.com ([192.55.52.43]:2800 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230381AbhGTSGx (ORCPT ); Tue, 20 Jul 2021 14:06:53 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10051"; a="296869500" X-IronPort-AV: E=Sophos;i="5.84,255,1620716400"; d="scan'208";a="296869500" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2021 11:47:31 -0700 X-IronPort-AV: E=Sophos;i="5.84,255,1620716400"; d="scan'208";a="462146678" Received: from aremenni-mobl.amr.corp.intel.com (HELO [10.209.130.10]) ([10.209.130.10]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2021 11:47:30 -0700 Subject: Re: [PATCH v4 09/12] ASoC: amd: add vangogh i2s dai driver ops To: Vijendar Mukunda , broonie@kernel.org, alsa-devel@alsa-project.org Cc: Sunil-kumar.Dommati@amd.com, open list , Takashi Iwai , Liam Girdwood , Alexander.Deucher@amd.com, krisman@collabora.com References: <20210720163732.23003-1-Vijendar.Mukunda@amd.com> <20210720163732.23003-10-Vijendar.Mukunda@amd.com> From: Pierre-Louis Bossart Message-ID: <6983b9cf-d270-1033-5481-f8aa5bb378d9@linux.intel.com> Date: Tue, 20 Jul 2021 13:30:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210720163732.23003-10-Vijendar.Mukunda@amd.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > diff --git a/sound/soc/amd/vangogh/acp5x.h b/sound/soc/amd/vangogh/acp5x.h > index 2300e63534e7..c94ed8795b9c 100644 > --- a/sound/soc/amd/vangogh/acp5x.h > +++ b/sound/soc/amd/vangogh/acp5x.h > @@ -74,9 +74,20 @@ > #define I2S_MASTER_MODE_ENABLE 0x01 > #define I2S_MASTER_MODE_DISABLE 0x00 > > +#define SLOT_WIDTH_8 0x08 > +#define SLOT_WIDTH_16 0x10 > +#define SLOT_WIDTH_24 0x18 > +#define SLOT_WIDTH_32 0x20 nit-pick: it's not incorrect but is the hex notation necessary? > +#define TDM_ENABLE 1 > +#define TDM_DISABLE 0 > +#define ACP5x_ITER_IRER_SAMP_LEN_MASK 0x38