Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4968815pxv; Tue, 20 Jul 2021 15:52:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF3WO8CRraM0oSvYQ6Bvdyt9xKAAk8mLLSBqzp1PO2CDIIcyMEtBG1cjximi3ghlG+fmu2 X-Received: by 2002:a17:907:9604:: with SMTP id gb4mr35089423ejc.142.1626821575964; Tue, 20 Jul 2021 15:52:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626821575; cv=pass; d=google.com; s=arc-20160816; b=hAVCV+urdMDC22t+Dd/SZVAQWsis32x+7OI84vZFdacGLQQaSFdRtK3XqPuDn+6E0g 8mXFgmpwABe5Aii2G/4C0nJn+b0T3uq3EAWMmnzTeivUZF3IOnd97/2iLe5fzd5kiA6+ hggb1bKwkrlrApdwtbfQxZd+RkJd0bS2Nd3okwEOwobC2NCzGVJxl3Ja/TIip32JKSCF g0xdyA0teP3nHDZEkVdFNbmcd6/M+WjryF7hgUBkfBBWbnTkRBBAbTmZ7Zj03QeiTl+A AXwCcSJxc+k4Lb7ULmdpk09GHeDqjcwjhXv/FkQN1SSXXhU7PqBzQI7DBJzveckuHozF FZdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:from :references:cc:to:subject:dkim-signature; bh=8rvL5HQ+2oj7S9mAJPnl8dW2ino+2XcaVlNM7m77QLw=; b=KQxrwr6RE9eWPOQSMgTdXIrywZERYcgmA6KVW2NFe/AY7QoF5esSCxL173GulQROYN Jq8aIZv6Z6fjKdOxkiMcOivwLP0ChX+clvhiAsaaJ3euAPwh1WpripPiq3wPiYMg5bOi yJiMRcL0cGfbFHxWZ3hm1kAJtTgx+RXAA/F4bVZe8VCHMO3FQKCyaH9xUrd3IypaMWlE 3CQhmOaJUJ67ouSkaJ3E8RKQVlgoyU5aLG0SS05d4zgr5b/mwO1seTGYiJhzyM4veEMp HpbqdriPUOm+F2LOkA97YN+kusRp96Xh/TBhDlmHSOX0yCrxqQJQlJYExF/B+N8q+/57 Zvhw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=xJd3KA5Z; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x23si26960650eds.52.2021.07.20.15.52.31; Tue, 20 Jul 2021 15:52:55 -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; dkim=pass header.i=@amd.com header.s=selector1 header.b=xJd3KA5Z; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231357AbhGTWKO (ORCPT + 99 others); Tue, 20 Jul 2021 18:10:14 -0400 Received: from mail-mw2nam10on2068.outbound.protection.outlook.com ([40.107.94.68]:50657 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231777AbhGTWJz (ORCPT ); Tue, 20 Jul 2021 18:09:55 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AajitFM5P51MGoPSF768VwCJy3dhyrc4fk28Cjs33wlFOJdEvf4ZIH2m0sMZ9UIqM+9BV3BvgMmgzL817eLULjU2Md8jaZcu6tEHyoDOxRr8wopivMK4IJ6qnPOAuAfjPnUOz2zgqY6522zMU1f5bDoUQuaHM250ZBSBxeC+FPxyCyY+vsEG7Q8EkO6YMNs6kAc6NU6QmrqAWmBtvSSEe4b432boahQJiHfGCOM1gGjEiI8GHBNzswmnLNK241ho6mygwtnSLprGz+0n9aLoktnC32ZLNWvmwKoWePmC5dBgnc9ik0qKOzxA0MKR5CPV+ZXUOh1DN46CRT9yFG/2iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8rvL5HQ+2oj7S9mAJPnl8dW2ino+2XcaVlNM7m77QLw=; b=injUVU8j3Mll6Cn1xvK/95hN5RdxbAalzvXH7wTdbOC5GQzVK4n+8LhjhA7CmrN+5JtlRtiJAGuD2A+ZKse0DV8rH5k8DWQnG5oHRr8P/c6IfuhFK7nHZJ51TuQQOJCSopk+Pnh/HSDk49jB/HltrZ8m3bM/MyCwtGxdbbF+KYoSUP1xfnDOzIVGN0VgRMTvl/4m/+Zzy0gRcobE6vduJMUOerlnAB0Hy/RpDiexH1CBesBWYHrI7HxLB9UNA1muQ8kZuDn1GfBu3jFi35sCkKSiwFpWzrz9QBlhYP6dh/TZE87zazuEN5NrjO+HHjsML8q9RPwMXfxW8pUTll07DQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8rvL5HQ+2oj7S9mAJPnl8dW2ino+2XcaVlNM7m77QLw=; b=xJd3KA5Ze7jGNYntAdBmdbsKrpdV2VXrTL64qaqADK4MXZAjxgMmILjOdh60iyqfgPluc2zKutpHg+ckkTvDqtPBY27kitVKOKubP7ZSuZ37hNSDreqYOdD4bEsyUovzgLik0JNPGFCvbM3faVBiOt1qWUSwcGLFJct8Cxlsbpc= Authentication-Results: collabora.com; dkim=none (message not signed) header.d=none;collabora.com; dmarc=none action=none header.from=amd.com; Received: from MWHPR1201MB2557.namprd12.prod.outlook.com (2603:10b6:300:e4::23) by MW2PR12MB2507.namprd12.prod.outlook.com (2603:10b6:907:c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.24; Tue, 20 Jul 2021 22:50:31 +0000 Received: from MWHPR1201MB2557.namprd12.prod.outlook.com ([fe80::d0a9:a5f1:ca5a:b439]) by MWHPR1201MB2557.namprd12.prod.outlook.com ([fe80::d0a9:a5f1:ca5a:b439%11]) with mapi id 15.20.4331.034; Tue, 20 Jul 2021 22:50:31 +0000 Subject: Re: [PATCH v4 09/12] ASoC: amd: add vangogh i2s dai driver ops To: Pierre-Louis Bossart , 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> <6983b9cf-d270-1033-5481-f8aa5bb378d9@linux.intel.com> From: "Mukunda,Vijendar" Message-ID: <4bba4d88-c064-7ee3-cddd-edfc5a047a1c@amd.com> Date: Wed, 21 Jul 2021 04:38:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 In-Reply-To: <6983b9cf-d270-1033-5481-f8aa5bb378d9@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SGXP274CA0021.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::33) To MWHPR1201MB2557.namprd12.prod.outlook.com (2603:10b6:300:e4::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.252.93.39] (165.204.159.242) by SGXP274CA0021.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.22 via Frontend Transport; Tue, 20 Jul 2021 22:50:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 73a3c264-a5d5-40f1-5273-08d94bd0c6c7 X-MS-TrafficTypeDiagnostic: MW2PR12MB2507: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1775; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0NNQvAQfFjRRfBpXW+i+Kq1YOnCTUU4Ttp4LpFbIPA8cGmawSV5YtaYQq2PtrHShAhq821d8Vi9eXy3DpT5RSDkdqP8QLHNPBeabaqMAwNSq8A6RNcaaZKXiKzwdt+9FiXizd2IkfYDJEWW82iYw7CUGUpgtkK63jvQGZBQXFrWbn8LGAbgggbeGrRFzjMbsbY/5LK2sZGLDFb1y/sDTdNqKujhw0MYWsf1vy94sDMnvm/IGd8TLW9QLgAlJ/xoY+H5LZvDUYo4BNz+7WqGmZRXS6P1UhHGJcmyQNNYuB7zx4N/Rwk/StBaEd8bsaLt2yoTm2Uxu+gX2l7L6rM9d2GL8r5ZZSh4CyOfl9F8DVsmLSQgOh61saDsMEvtfIxl4y1ZPQB9KxSd2GR4ra3fN8GmM8Z64XC4HlWxG3NVUEpOlMxrkE8xO4u39DcCj6pycJB03lEOD3bUc0zOXuN+VptuxKC9sCHJF11i96LgxboNrqG3JusIsTwsHz5ZNb/ZH30+0f1D1pFGP039KthrqFHpvm5R/5issUKW+n+BCFxd2QCV+rGebfzYsJrC8eKs/Fon0i2OwgNUfNiMAX809iWlLWkeBew3DJVpr7OkAog5miC2dBqPu/7lib2J5HfudB57BqwRZ5nKW6M2WlXClHQ5F+ta/ZWZD/yz+kBj5QdKMegE+uaxGji1KRmNGRD7wIgzceymetz+VLkXt/WjODRnWcR3LMsj5B1q9fqpSx66L9wt/QVkGadXj/TC9sfzc X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1201MB2557.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39850400004)(366004)(376002)(136003)(346002)(396003)(2616005)(956004)(6486002)(31696002)(316002)(16576012)(54906003)(66946007)(186003)(8936002)(8676002)(66556008)(53546011)(4326008)(478600001)(31686004)(6666004)(36756003)(66476007)(86362001)(38100700002)(5660300002)(26005)(2906002)(4744005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bkFaa2VWZHlWaDhQYVMvR3NrdnByWjN1M3djSExLajRIZHdITFU0QkRha3Zs?= =?utf-8?B?SHdVYmREdEpVT0huT1Q1RGhBVGM3R2lXL0Q2b1VBT2p1ZHFxT2x4K2pPUkdk?= =?utf-8?B?WmRaRXVRWXc3M09ZSm95b1pIWFdseGFkdUl1V2M5NG4zc0RTSlR2QWVUemQ0?= =?utf-8?B?d3YrSXZBaHBhZURjQ1NwbmdZQkJqZlRWdlFEWm5RUGhlVUI3YkYxc2FwWS9q?= =?utf-8?B?bDRiUCt3TFlsV091RE5KcEtiWWZJSDJ5K3lUTXJTSnFIMEZuUm9DUlNIT3FG?= =?utf-8?B?N1lQdkMwcFZycTBzR3ZRNksxdnFlcUJqc0VwTDlnZjhJQWVrOVVxS0Vjd3ZS?= =?utf-8?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0U2pCZHFU?= =?utf-8?B?bnZUMk43Qi9xOFFqVFVmNThrY29GUWNPbTloNll5ZGVhU05hU1A4S1l4dFd3?= =?utf-8?B?b3BVcERZcXYrUGVBN1B0SGJNSi91cDFoWTNVWG1nUEZ4NFdwQWpzcndXSUx2?= =?utf-8?B?dkl3dU1PeHdKUkhFQ3dHc3dRb25CTzVScEF5QkR2ZVdHV3BUNGV2TXFzUGgv?= =?utf-8?B?R0JQbEVpRDlvZFUvcEU0U284WFhJWlA4emJ0MG5sUEhzUVVoQ2ZVN2tHNndx?= =?utf-8?B?bytpR2JCL3lycHB1YnFiQkdJRGhPRWtYM0g4OUpSUlpwdUxtWm1taUVhbkYw?= =?utf-8?B?VHFKRlBjRlFwblVORlFQbE9lWkFNUW1jQ2lRelhVOXJhYlRZaGE0MUV2MDBn?= =?utf-8?B?MFVIeXNNMWJSZGNpYjY4RVRmQmhnbk5IRmt0U1gxRkNUYzZnbHR2dU1RK2Yv?= =?utf-8?B?aG9hbE14ek11OWgvajNtVStKKytsblljYlRRdDJDbk5rdytWZ2NIK2RuUVp0?= =?utf-8?Q?Q9AQFkGDdOwbQouEtUVlDqFM2e1fJ8gam616cnm?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73a3c264-a5d5-40f1-5273-08d94bd0c6c7 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1201MB2557.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2021 22:50:31.2876 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oszYo9eCEKt3GIj3BH+dJHzADDYHNtSQIHUh8e+58celT1+/v1P5cdw2sNBnF/TWCjPGpAhxMxIRKN76Cih4yQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2507 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/21/21 12:00 AM, Pierre-Louis Bossart wrote: > >> 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? Will fix it and post the new version > >> +#define TDM_ENABLE 1 >> +#define TDM_DISABLE 0 >> +#define ACP5x_ITER_IRER_SAMP_LEN_MASK 0x38