Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4804156pxv; Tue, 20 Jul 2021 11:50:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVfHLJ7CRJY1mH60B3Pvat5bEryDrNKaFD1EIiG9D4/uEiyylR6TrQmAPSy4HKjHydmum9 X-Received: by 2002:a05:6e02:550:: with SMTP id i16mr21324270ils.207.1626807028670; Tue, 20 Jul 2021 11:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626807028; cv=none; d=google.com; s=arc-20160816; b=Pce1ibYaRrwZQYtFzsWGKvurDEb07glj45du28J9O8S0QLy8wNdEOd80KCrJrf1w9b EixzNbX7Ct0rquvNWbu2P6/RW+H+A4WaNrRUHMlUr/lsea9pH3b4dqIUr3zlRTmGmXnN IvylPxXRQ+781mMr0rf5SGK5oezrSuTsji9+dLPRRcxr8RDHIVP+TWZayK8LLW9gzO6u Ux8rVE93qn83roZXY0itLTpa++U2J6+xokmRvFxuJ5L9sFdRnp5jowtId69HaFW8IdOd HOJ0HbKahKGzJ0UnHtYImZNQRcEunK92XteQgvZBjhD0YsrZeuDecLe+DuDZqqVPjpFn XUcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=VVLfyjhza0PmJIHQRpuxVWCF3yLLqrKcwdJmoLSacMs=; b=fRIkFVGQPEm2LmRAauBcnwSjc/3KbcOvxUGApmJFQZsCjOWSNWXVpgbmQT/E/U4zg7 GWVpHceihISMPwinfDDvL0QhMTdGeNnxxBBjXjAcsUmAYdern3mj1PVrS9mF986SI2aJ /g0FVncYaW9CPNJzQFNckohGHkKZffHtNq+G9Yq8cD1FhquO5t/Awl9i0802jEBTrNoZ y0t/Nc1osOVUd7TSnOeqMtdmgUGptBpAlO5WKwiB7Ex4OcEj6ciEkcvWyhbjLM7bKdG+ mmjSg3omz24vvW8rMg+can0PHcN/bjgJoo6jMaeqrsLmVEyZf7YGxwMm6QkH3VHsgfWv su4g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t23si24140424iog.21.2021.07.20.11.50.15; Tue, 20 Jul 2021 11:50:28 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232589AbhGTSHF (ORCPT + 99 others); Tue, 20 Jul 2021 14:07:05 -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