Message ID | 1522069983-11381-9-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 35C51600F6 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 26 Mar 2018 13:13:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 174DA296BB for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 26 Mar 2018 13:13:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BD13296C0; Mon, 26 Mar 2018 13:13:20 +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 4A29A296BF for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 26 Mar 2018 13:13:19 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 700D126705E; Mon, 26 Mar 2018 15:13:02 +0200 (CEST) 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 E00E226720A; Mon, 26 Mar 2018 15:12:59 +0200 (CEST) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0060.outbound.protection.outlook.com [104.47.34.60]) by alsa0.perex.cz (Postfix) with ESMTP id CFEF5267190 for <alsa-devel@alsa-project.org>; Mon, 26 Mar 2018 15:12:56 +0200 (CEST) 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=xRzqkv8YPcB//INNyq38eIWSP2EFerNYd1A9h9rYEns=; b=lWYKsZ8UF0vHHrX+Eg0tSWrttmYvKJvGT6xKTLlDQ5wVeDUdtn7cndbRQ6idNp4v/hTKv00kT1awmaCQZWwcKKIP+a47AZ1MO7TsPQbOdbjU84YpelO9Ba6xzRP+RHEph1VTeeuikCcfZKeP6BjN/t48QfojdCUt3/SySZ4pbgI= Received: from DM5PR12CA0004.namprd12.prod.outlook.com (2603:10b6:4:1::14) by DM2PR12MB0331.namprd12.prod.outlook.com (2a01:111:e400:50d0::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Mon, 26 Mar 2018 13:12:52 +0000 Received: from DM3NAM03FT064.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::206) by DM5PR12CA0004.outlook.office365.com (2603:10b6:4:1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.609.10 via Frontend Transport; Mon, 26 Mar 2018 13:12:52 +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 SATLEXCHOV01.amd.com (165.204.84.17) by DM3NAM03FT064.mail.protection.outlook.com (10.152.83.1) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.631.7 via Frontend Transport; Mon, 26 Mar 2018 13:12:52 +0000 Received: from LinuxHost.amd.com (10.34.1.3) by SATLEXCHOV01.amd.com (10.181.40.71) with Microsoft SMTP Server id 14.3.382.0; Mon, 26 Mar 2018 08:12:50 -0500 From: Vijendar Mukunda <Vijendar.Mukunda@amd.com> To: <broonie@kernel.org>, <alsa-devel@alsa-project.org>, <perex@perex.cz> Date: Mon, 26 Mar 2018 18:43:03 +0530 Message-ID: <1522069983-11381-9-git-send-email-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522069983-11381-1-git-send-email-Vijendar.Mukunda@amd.com> References: <1522069983-11381-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)(39380400002)(396003)(39860400002)(376002)(2980300002)(428003)(199004)(189003)(68736007)(54906003)(110136005)(316002)(16586007)(77096007)(2616005)(446003)(26005)(11346002)(97736004)(336012)(478600001)(48376002)(426003)(186003)(104016004)(50466002)(53416004)(305945005)(47776003)(4326008)(2906002)(106466001)(105586002)(356003)(39060400002)(50226002)(5660300001)(7696005)(51416003)(575784001)(72206003)(6666003)(86362001)(2201001)(36756003)(81156014)(81166006)(8936002)(53936002)(76176011)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR12MB0331; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DM3NAM03FT064; 1:L4RL6ZoSTAe9WA3/24hb7cX2/ASWYsmyd86Kx4IZPsLViVgPXHeTc1DLjYs6LEONxHaeP1aRHKkj9aZ2jE8utO+rELSfD60w6sPN0Jka+r9qUixViqlWdISWDuo37Eiv X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f034aa2b-e6ce-4800-44a3-08d5931b4808 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:DM2PR12MB0331; X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0331; 3:qzMYWLlzN9mCdxTmTThpW6Z24UI4hJG1rPTy8hGOl11gNOElPGrMt7AF5u1zgv29wwPq8LrfqTTmXyZf+zSeRIrp41mdfpADJidceL5RiveBz4AhiLTgDjQsE/jTjLDtH3T1S4IYBk5HTUgDfIgDE5ilGmbRpaPHhEcxQLtrmmX7IewJmPo+dfWAKfHtxFKDfzcxk+UWKSHuByDNfK88sDtj87G+YNZNVf4XbI2JES8mdGoikn7GAf6B8DP0p1VYg0JyNZ/1Z5O83pI1mgPUvTUmtkb2ylsaQexjD5b9vNocAfivQcQ6YFhddKCWJqhHWWn1C/nGij68HTXzeIaJ3zvUkvwL488UXxMuU+2X+Hw=; 25:Fu2mmB4iCFaLklHfR+Eql3otVA7CAcvLO6inhejmYg4Pmh79SFkNIPrc+6cm0/lQiK93kBLb9PPfHedY8Dqs/IjaIxz4nctHWcu2lwbioYDfKrk+wqNbrmIgsqvN6CV7fIJVE6nQbNTPBaEc/r6mtjOTyR3pRz/yzoYtfgYTfzdZxpKDTz7Khco/HNjYrhJqlTfwlg/GRn5z3yt1xZzNwvF3n/1GoFePSLIS/aCzJFIRf7PVGhr5SCAJJiNrOdLRpcZA1R4wRb8x3M+W8FpQHqg53esP5hBnfZXNGvt3TgamxrH9CHgxqYGFL0GuVkvvEd+Ly57rrYE41R3QZvoZbA== X-MS-TrafficTypeDiagnostic: DM2PR12MB0331: X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0331; 31:RpmZH/m0sNAnI+M0Up44Mx5x4wJkibIkXyg1Q3qE85ZLb65ffe0X7hEnj+itnySH2Dj3hRUZSOikEQGJrQasiwQJ5ftkHPnmFB+PiN4W65jpIB9XlGUkfw1R/W1ocEwJqaCadamLkDWr9uQOBRXV2t+DHCuitnON0zbmkUn6j/4E+S3XnBhRIvJ7FjKoVx4N4t76TBmHq41Tyl82kZFxhyWWjy9gH+sSJGM9kxy1QqU=; 20:Nk1reVLxSA+FUEeznTvGvemZek4A8N4bICO2AzUlhzvedptSLhtwWk7XByzUMS2h+DYRbPZtP09z+SXVkpq1sPuvllj6wfQFE7dppd5lzZGdTjtGNoa5+RJjZe1LVi5WjaP9OyROmFbGDPhX+3cK5R5aM5JK58ZDCs57EqggoeW71hAy5mFAFycwQs6w7p0RbN6bl6kEtxQ/OBQwSzRksY+88lG/1+8Idw+gztaevjTUYlXy2vVhqv0KgxTHZVMe8tsdmtOAaFQvQL79uNmdhkP/n68MlDqEEqpjVehPeMcqPt8nW4K+69RhdCKZomE0/mpKVww3JZbxywOaLQ/xJnnNW+3F6s82R9BjUIIoa5AR+tQv7zQQnQRkNqJTgEoC4opEystP9b+RQ5cCiRpLOOA+YjiRLVX/SBhbVz2TgVZTEgx7fy5HiPyr3PoCGT9RZT1SpLhWl6KCdHoLdttExoYyQs6l9WmfC69EQlp+m7JTdHzkZJbSrROonSo5iDGN X-Microsoft-Antispam-PRVS: <DM2PR12MB03312B1E17C51A599EBB2B5A97AD0@DM2PR12MB0331.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)(3231221)(944501327)(52105095)(93006095)(93003095)(3002001)(10201501046)(6055026)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:DM2PR12MB0331; BCL:0; PCL:0; RULEID:; SRVR:DM2PR12MB0331; X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0331; 4:ujTXubNmEotVyAvSOoUc2GceiWkpgf/Tn//2NPis1CKbLKlCGY1yX3bDmFv4eB9xEQA7RabQ1jXxH19sOEYjnd/Bkl5JtT2EcENCMVmRfMXCrSGodAtFNPahVjsRhepz95+mmprHZFI2FwL6rLtgk7Gk3zZXJGegZ3Fx24XfZp4P25qX64ftrGIXxkhEE/iIWnGqCD7fsJe+iFGo+LAs03STyCix//AzXImc0i/j6h8c6DLUMdtL6q4HZkwPS0LfgjGX9yq+FOqeiy3RxU5pNDWUVAEVFls2AQ28+VEoReNk1Kwm3QaTEuhOPf9TM0zS X-Forefront-PRVS: 06237E4555 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR12MB0331; 23:IXQLdR8ZOsoXZjI1EWHlYvz3Sg8lW3Yv5bXwBXH4o?= =?us-ascii?Q?tERSQyJHwtUKqDqfrmYU7H5y2+KSZ5q5py3onFb47Da9KwxCxNJZOsfx1Ep7?= =?us-ascii?Q?l5ljbLL0wd3pauHLqc7ubmV72UBQmjlBW0QJpzt0wWgEoHWeHCPgRpbtrwDp?= =?us-ascii?Q?DA29KdzkP+PB12ppRVKbLuoJmV95v8plsUrLndweYnbwz/ceL9w/rE4W2WGN?= =?us-ascii?Q?yrSShmpAxxfTU1WVcBA1jo50l6hxzh3YwWoT61CuX2GU1s8KPcV7lBtr9a5U?= =?us-ascii?Q?+kf+lA0RbMQ7+/Sc/ax3SXjpjoMYoyokznywKuC9DqzWRClRHHyenIHw0MaK?= =?us-ascii?Q?gj4fpzbqEu63u3fXjsJPsUmn4HCvqUykm4s2sBfAcA1+nv8vEb75BpZCYT3D?= =?us-ascii?Q?av535hm/C/GOq53cd8f3qkwIJi4C5oiAhQeABYZGeKp20wKD9BMNiElnaLls?= =?us-ascii?Q?/JocDvf6NP85qvRlxqr401lb0qtXUawwNPErJBbfGa4kyEhqPY0WcKeOTbRG?= =?us-ascii?Q?UM4tHvd4HQoZ/XVKP2cK74fIdmJXn5Z03B13p8tdZIF5RUhEVVkdjrjD7asm?= =?us-ascii?Q?GVYuBQEfgzXAikazTUUSL1YA+0OBnII34C4FZA7FPGILwzFhXIHpKvTaiOMd?= =?us-ascii?Q?zwvfcLPXGemX9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uX1z4OvNVi4/4vxJmM0MlXK8hRX4aAudejSxqbfVXX8NZWORLMIJettwaFmheK2kIyM4P8iO6s0XRxrlDQJHT5LhyxHdCAKAkdhGgZ0VwwvfRhoOiOildrSvafO X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2018 13:12:52.1569 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f034aa2b-e6ce-4800-44a3-08d5931b4808 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=[SATLEXCHOV01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR12MB0331 Cc: tiwai@suse.de, Alexander.Deucher@amd.com, Vijendar Mukunda <Vijendar.Mukunda@amd.com>, lgirdwood@gmail.com, Akshu.Agrawal@amd.com Subject: [alsa-devel] [PATCH 8/8] 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 92b163a..3ebba00 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 a91f0a9..aa3e07b 100644 --- a/sound/soc/amd/acp.h +++ b/sound/soc/amd/acp.h @@ -107,6 +107,7 @@ #define ACP_I2S_MIC_16BIT_RESOLUTION_EN 0x01 #define ACP_I2S_SP_16BIT_RESOLUTION_EN 0x02 #define ACP_I2S_BT_16BIT_RESOLUTION_EN 0x04 +#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,