Message ID | 1520836460-21809-8-git-send-email-Vijendar.Mukunda@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7F81260211 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 12 Mar 2018 06:34:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E3DF28AC1 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 12 Mar 2018 06:34:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6312D28AC8; Mon, 12 Mar 2018 06:34:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9A7C2896D for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 12 Mar 2018 06:34:04 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C9C122676BA; Mon, 12 Mar 2018 07:33:48 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6EFA22676B8; Mon, 12 Mar 2018 07:33:46 +0100 (CET) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0046.outbound.protection.outlook.com [104.47.32.46]) by alsa0.perex.cz (Postfix) with ESMTP id 6FD1A2676B6 for <alsa-devel@alsa-project.org>; Mon, 12 Mar 2018 07:33:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9zBzLyp/Rc/gNxS1tzM3YWKx7qssVAlf8+kaq+EpDTs=; b=1qJqeehJCxzDnA1c1FdOdzYSqIOkYe/ZC5Lz+uZJWwdKieBMCHC6aTtT8KUTcEabEJBNh7oMqtTGv/BKgsSqmbsZJh8nkdgAR7dNpzYpkW5lAPlQurI4MyClRtT0Is6vBMZs08zxImMVXpWm4iS1m7psZ+ikgZ+PWH/5iP9TqA8= Received: from DM5PR12CA0020.namprd12.prod.outlook.com (2603:10b6:4:1::30) by BN1PR12MB0017.namprd12.prod.outlook.com (2a01:111:e400:52::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.12; Mon, 12 Mar 2018 06:33:41 +0000 Received: from CO1NAM03FT037.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e48::206) by DM5PR12CA0020.outlook.office365.com (2603:10b6:4:1::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.567.14 via Frontend Transport; Mon, 12 Mar 2018 06:33:40 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; gmail.com; dkim=none (message not signed) header.d=none; gmail.com; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV02.amd.com (165.204.84.17) by CO1NAM03FT037.mail.protection.outlook.com (10.152.80.241) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.18 via Frontend Transport; Mon, 12 Mar 2018 06:33:40 +0000 Received: from LinuxHost.amd.com (10.34.1.3) by SATLEXCHOV02.amd.com (10.181.40.72) with Microsoft SMTP Server id 14.3.382.0; Mon, 12 Mar 2018 01:33:38 -0500 From: Vijendar Mukunda <Vijendar.Mukunda@amd.com> To: <broonie@kernel.org>, <alsa-devel@alsa-project.org>, <perex@perex.cz> Date: Mon, 12 Mar 2018 12:04:20 +0530 Message-ID: <1520836460-21809-8-git-send-email-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520836460-21809-1-git-send-email-Vijendar.Mukunda@amd.com> References: <1520836460-21809-1-git-send-email-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(39860400002)(396003)(376002)(39380400002)(2980300002)(428003)(189003)(199004)(48376002)(7696005)(53936002)(36756003)(2950100002)(5660300001)(6666003)(2906002)(86362001)(26005)(51416003)(2201001)(39060400002)(4326008)(77096007)(97736004)(50466002)(336012)(186003)(76176011)(316002)(106466001)(305945005)(16586007)(356003)(478600001)(50226002)(81156014)(72206003)(8936002)(68736007)(105586002)(8676002)(47776003)(53416004)(81166006)(54906003)(104016004)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR12MB0017; H:SATLEXCHOV02.amd.com; FPR:; SPF:None; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM03FT037; 1:X9AzJATwZfM7h1VGAEFGMbumm5V4Ia5O/1WL/FQNrA8yMKFMmI0Ok8+bjCNCWpQrDxmCl8RvjWtLlhOUBlxyRVUOri664Ngx6wLG0gX8q1L/20LVa6msFxp9TFDoVu/y X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a7ac10b1-c315-4ec3-1c11-08d587e331e3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:BN1PR12MB0017; X-Microsoft-Exchange-Diagnostics: 1; BN1PR12MB0017; 3:EaIGhAvRmVMmblXdok4VJSb51mbFN1lQr1FmygVtlNPMn4F4w6KgbX9pvYvFBp3BG3miGwo1qyFbu9V7t/3veZiO4OZgMMUAR/Xplv0pObtsohHo94OOWtlhqy2j/axgKWc7y3mIKAyRNf4aKes0uISscA17+tyS8K+lLbQs/NlEttlR/hVDWDplVgtOMJxj9amZiMl2D4k+kRGus95FfqBPUbtNBxvGMoxDM2OzBqWM8Wven/L66KMrA4vHjP7Rz0V4ILcSCuLBK1r5ubGUygSaCfI3C1sW4h/Ri5l7nc4CxyPD2o5Qb28hJSxTIDsn29iAaKyChcdFvifKIu93gX40tx6Q8RKDwUIv/uEP8qE=; 25:5zQZr1wJUaMwQScOzfucfj6wTKmYhTpsgp2JGdLGlCooCAXZiQsQ9fj46VGq/bZjs9jKLs3p5hBT7+2ewgMjk7Trg0rc03LpidXR0EwiuvPAgLteSbHzgF/bL+xE+/G/xQdFNJxL26ZLPw5YxxyV4buijhrZoy5ZmgARwY6B2rfbYj2HrElcLLRLNpdl3LUKh78cTpbzm2/xUaMT6D0fqBRcD9pm4KkV0jhSEjtW5/DL17bSqj4mZ+g4ni/Q+HIhQwkCN+cGrBsCpyRuDkzBlhn3/dYUsfePsQOznfidXik+Q6UJnjX2UJiWnUe+2j0OowEw1k+KiNBGhIIwUZmOfQ== X-MS-TrafficTypeDiagnostic: BN1PR12MB0017: X-Microsoft-Exchange-Diagnostics: 1; BN1PR12MB0017; 31:opWRtCz0UOi8ThP2IK/+8qa5feFlC919bvqGGLT02ridYsVoX6wq62V2Bs+01NRXhXIqGjZXjf1MG9rM3PZhr/egfZGwGZTIskcoW6u1mAZnWVThobfPuUxfVGX4b5g+ZC31jaw8dZfloR+pL/13Sv5TZMojAZrP/Py+67LCa+GRk/XjlS1cqrd4sF5rzvZinxBXfeNUYllbp+LZXtj0O0bpHOqM4hv4/9XrgaWfKUo=; 20:HQuCCZq2AcPW1TJRo/Lewuvhil/cd5aHs/aMFf/ZOzL9FK7Y87+RIiuqVi86WReS5HZLbGkIbNX9BS0LyNrGggaZ6WW8QIlR6PXsgcZMQRZFGG5hT9VJ9x7HKA5DpuGSJK+MzoCAhQyONec5hkIXSvM6LOvrZ4lDt/G1AJBCUbBvAhbdskIRGqvAvQAwJTVUuRgT9VJ7zAoms5AWhFF4NoBm7nOtpAHy1/3COSWaJz6iW+u4Tdi8/EU+0wu7oskVlvtaZ1JqjRy6wBz0W6rU3oBBq8d0ajXF3uA+zDaEculy4nB9yc4FiVNSpb8Tl+jogjYlFgrOgixsoF9RZh04UaJsHWuu3L8By/xPwmC9cveYLDTL5Qd668GYUisOrIlZibFnU9Qyw/m7G4zJOLVSOVg4VVarzlib4c30J021YxPzzmDJ8aTIXs7HafLuam0cMIvRNnNm73duYh3ea2aBjzcQCpin/gQWhswjvo5a6n7MQOhC0QoNqZxu9IUGOKbM X-Microsoft-Antispam-PRVS: <BN1PR12MB001717BE3A33A33DA6FA0AE197D30@BN1PR12MB0017.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93003095)(10201501046)(3231220)(944501244)(52105095)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:BN1PR12MB0017; BCL:0; PCL:0; RULEID:; SRVR:BN1PR12MB0017; X-Microsoft-Exchange-Diagnostics: 1; BN1PR12MB0017; 4:O9jtreAIbVVMN9ykKFGpo3qZu8I7Jz/fyZAOTn4v97xEoKLy8RuSi3XmD/57D7RJSAYZcYQuZVyhwv47FqZ9dIi7+ssiJOPsBKdOdG/J8UzLLSVb/n9EnrBGXwIAKxzNdZx8KH43TO6FV4QgtU2c0cLs8/zAhArw6FqBxUOF3ChIPttzgO70jIFBpDCPA9orR3ZTWEEOKnUB2uz+NtTqrxXMPIw33IyYI2rZDbCQAxrohZCGhBeNmKTmKb9/962z2ukVQXLxeXudX624tSBf+clVWFzgTr4RdV32a9uyeGKWA5QIr1H/HlRVhIV6gATa X-Forefront-PRVS: 06098A2863 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR12MB0017; 23:T+MG8ok13MG7Gcy4Vrc3GgwGnGjrpg2mqgvQcEv9l?= =?us-ascii?Q?n9R6IxXQPN8PMTl/IdJOZ3LLASvTI5tGGNULaFqdQOk5FqoqgZ9z9wpUgb8N?= =?us-ascii?Q?cjibNbUC010ytXUFEkJDXFhIWcFcFuAeldTIYL4HXilTLBddboDUiOSEt9xV?= =?us-ascii?Q?Mh+EP+zbwbZdhoDRqj8puO2dps/KiJATnIR+K8GIW/3H8raLrTzdaqDJDIdW?= =?us-ascii?Q?yKpL5CyWvjrT6qdaEqOGr2fSsbm3IjTjNNKYsNzSUI3eIpVH80pYIyVw9hW7?= =?us-ascii?Q?NiAxuaBzqo7L2ab+S4yNWBCS6KYASQtQ4yTluLJte55SWk9P7m8sNZ3JrtX6?= =?us-ascii?Q?zcSgZ9mDKAagrBxCTLOdkt+xuqbfLvcsLcPkUEnfMFzPHVgxtvlZyIX/ZaEP?= =?us-ascii?Q?2dV0ng90+/tkhqdgq5RnAS4GLVYbn11I76fZeYmQvYGqP7vpDsvYsu8NAfqk?= =?us-ascii?Q?/91nfVqG+VQNa8fI25EcCqAP+wcGIHzHixKft3B7SpV6F0z78E5wPqzqZZ/o?= =?us-ascii?Q?9Pj33/A1hyaig1F5v4ZJtSmTjkjLi2sp91udd35y3Zrf1abiCQ8Is3RTUGxR?= =?us-ascii?Q?mEWcTh5SbC3VU3RXebJFcl8ddXh9WrRiJqTA8fcCMCPzigvVBWkgICczzpVd?= =?us-ascii?Q?WXSet7ZNHiDvNTfijvtelDL9RnSlCAkS9FwNOgHHRngYndOYY/qkbibkvJMM?= =?us-ascii?Q?eTF+22W5kWKdqhjqoOr5ps2v6vrAdaJRzSuxMIhiwapF99vjD1tP+DiJfGtl?= =?us-ascii?Q?6dMLO/HWrl2OkaXUEr3JruACigOS3vDok5EP7+uangHLRqFGVvTQeWNDiyk8?= =?us-ascii?Q?B5psN6898myes03cBQzI9+z4KDyo3X1eiMQxHILuHrFyMrB23q2K5y92G+sD?= =?us-ascii?Q?1nawUuFrWYPCHJj0a5ErMHSAexjRfkFb8U0nP9oFqIaBy0Rx4WnlEl0BhKuS?= =?us-ascii?Q?0ZRvFfh8YJa9CUsTQCUhHwHtZzlW5v5rJzeZ1BS19Hm+S/v2biNyG0UgWE6o?= =?us-ascii?Q?P2ttHkqgpKSkuUq4w9ABiXXTSgaTiRO+de7h5Eh4rdfMSMxzyQDDoe+3qFQQ?= =?us-ascii?Q?bEai9Oe+mPZJE+BYksrJK4inT5wGfzHs3dTqmnop8v4wPTLT4rXbNpraEzRN?= =?us-ascii?Q?BmM2w6Gaak=3D?= X-Microsoft-Antispam-Message-Info: 7R3BatiJh34OkiSeWRpxiBU6xPtuEU2zdw/Q4cPwIv193CMi27FLw8Y2iJTlEbIzlElwrtKj8XRUs/0xymDq+kzrV1lAVYiC6lvZK2+urK5h93tcGTNbzlp8GuF/85mOvyGywaE20U2PtBsluaPNYKN1iMGuuoZcF2K0JgA2XHFP2NmXjOKLe77a/SqLdLI4 X-Microsoft-Exchange-Diagnostics: 1; BN1PR12MB0017; 6:dGFSvk1/KpIQCtPHrBDfKefsePKDvFUKSfL5ys2ciFpDjfs2/PLq8fh0JRxH6gaExgISsI3MRNMgOY5heSsL+RoBFc3ckJ/U5Y2zN7UMvjw60+jc2LDjncCxDada+StEHNP1ID2O+38bzhKBy8diA8EaUF/kJL/YxFffs8aq5C+KUzdwPb0OoiUKp+HuB3edLIJapoQUes/pPDPXsIStjJkly+BT6xm5SXzvPGe81zwymTQ2kndjoqomFwlq4LQv4QA+8tH3XL+W6dE5O8ZFvUwRpwaEi3kSPIcVBeiDOVu+qe6I4FrNz457DoTBSC8eN986oWF5xm8fcBICWWlTsdzZpL9oVvSUJuT+B/iD2bA=; 5:FQyH9BLZ5dGMsEAtq9qWwoXH0+BWKheuOqAgCwd9gKcrL2LjQRxys6xlR3tr9GH3GHK/3XDGQ1SY+gwAnmAmFokGJExoAzuqSKlsKp6euvkoJSafYr9087hpb7petvTI8Scqu4nQXEgMzycL1Fo2QSTVxNPdW2Fr+Y7cx6bc4Pc=; 24:/dvCKyNWreY3S+auRtuVTmleB1g9YZAi+eJvpXM7Y/7Qjisak+ryMMHnPMjYVBZ/3q93J86ovQ16vIv9tuTLh9ajl/CyPzqgPiIgADovVd0=; 7:1iJwQc8tQ28gXApQvW4ST/fyJNXHcGoSr6Wd8cGaVfcl4+tEv4GoeEQywm7086Jwhfx1A+ODaRRv9odPZggmlqGGpn5a1o7WY+qn1BgMcQC7iGhflz1Kzepy+0esCCPPyRTxP7N0xOZgu6COVt64O9xCbEqKpCKkTStoWfR1cwCWRDQ4KvitowKMAy//g4nhyAtHYSaXIZUOZkPBxfauIhhMtr/x15kPv19+cYAom/gigIya1UUyz9ruZrLG5KRt SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR12MB0017; 20:/lpiczMtAkY4+I2faKCiYBBxuPq9Yh9ZE9umlu1MH6p6AraJcJbxI7bwW7PvXeD4zb7yPN0FR8TxW2cq8tuidKn/V+fVlCB4CbO9FJbRpNCpyzKydxVX1EtZtYISeB41pLiXDpTQzQqg1bbP1YNYm3Hx1TGxuDZuFTAusPopv8BKYQl+/1BFmdRYZjEAUyPThf5bPhw6S311Vv5RCzqnnujhPAkGobXlnSgj+DtHzu0lT2ysMgbz0blN1LVpOuYM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2018 06:33:40.4117 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a7ac10b1-c315-4ec3-1c11-08d587e331e3 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXCHOV02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR12MB0017 Cc: tiwai@suse.de, Alexander.Deucher@amd.com, lgirdwood@gmail.com, Vijendar Mukunda <Vijendar.Mukunda@amd.com> Subject: [alsa-devel] [PATCH 7/7] ASoC: amd: enabling bt i2s config after acp reset X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c index a6787ac..f7471ae 100644 --- a/sound/soc/amd/acp-pcm-dma.c +++ b/sound/soc/amd/acp-pcm-dma.c @@ -604,6 +604,11 @@ static int acp_init(void __iomem *acp_mmio, u32 asic_type) val &= ~ACP_SOFT_RESET__SoftResetAud_MASK; acp_reg_write(val, acp_mmio, mmACP_SOFT_RESET); + /*For BT instance change pins from UART to BT */ + val = acp_reg_read(acp_mmio, mmACP_BT_UART_PAD_SEL); + val |= ACP_BT_UART_PAD_SELECT_MASK; + acp_reg_write(val, acp_mmio, mmACP_BT_UART_PAD_SEL); + /* initiailize Onion control DAGB register */ acp_reg_write(ACP_ONION_CNTL_DEFAULT, acp_mmio, mmACP_AXI2DAGB_ONION_CNTL); diff --git a/sound/soc/amd/acp.h b/sound/soc/amd/acp.h index cd83a03..84b3850 100644 --- a/sound/soc/amd/acp.h +++ b/sound/soc/amd/acp.h @@ -108,6 +108,8 @@ #define ACP_I2S_BT_16BIT_RESOLUTION_EN 0x04 #define I2S_SP_INSTANCE 1 #define I2S_BT_INSTANCE 3 +#define ACP_BT_UART_PAD_SELECT_MASK 0x1 + enum acp_dma_priority_level { /* 0x0 Specifies the DMA channel is given normal priority */ ACP_DMA_PRIORITY_LEVEL_NORMAL = 0x0,