Message ID | 1518766434-7911-10-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 A13DC603EE for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 16 Feb 2018 07:34:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9311729095 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 16 Feb 2018 07:34:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87E32290B3; Fri, 16 Feb 2018 07:34:00 +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 9CCE529095 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 16 Feb 2018 07:33:59 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id DF387267D86; Fri, 16 Feb 2018 08:32:45 +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 D2897267D86; Fri, 16 Feb 2018 08:32:44 +0100 (CET) Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0040.outbound.protection.outlook.com [104.47.42.40]) by alsa0.perex.cz (Postfix) with ESMTP id A0B91267DA8 for <alsa-devel@alsa-project.org>; Fri, 16 Feb 2018 08:32:41 +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=Vo2RLBPi8Rd6+QRMjWMBI6yfEK4yeMXj0mtMa0bv86M=; b=D5lipGksTLq4T3wI3aYA/tXzqTZO7NqJRGokMVItx+1B3tYX9lXlAY1hBYVpxULHyAtLjizhsNja6tGpfQgPf5bEZ8DBeIPDDnWgj/ZT6w8cbZIVo9RCiDyAjQLfyaOwh7kYRvHgM0k0GQ9Ul4Nxc8GLRXKAOm2/IjOPOizgIWo= Received: from SN1PR12CA0016.namprd12.prod.outlook.com (2a01:111:e400:5174::26) by DM5PR12MB1242.namprd12.prod.outlook.com (2603:10b6:3:74::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Fri, 16 Feb 2018 07:32:37 +0000 Received: from BY2NAM03FT045.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e4a::206) by SN1PR12CA0016.outlook.office365.com (2a01:111:e400:5174::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.506.18 via Frontend Transport; Fri, 16 Feb 2018 07:32:37 +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 BY2NAM03FT045.mail.protection.outlook.com (10.152.85.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.19 via Frontend Transport; Fri, 16 Feb 2018 07:32:36 +0000 Received: from SATLEXDAG01.amd.com (10.181.40.3) by SATLEXCHOV01.amd.com (10.181.40.71) with Microsoft SMTP Server (TLS) id 14.3.382.0; Fri, 16 Feb 2018 01:32:36 -0600 Received: from SCYBEXDAG03.amd.com (10.34.11.13) by SATLEXDAG01.amd.com (10.181.40.3) with Microsoft SMTP Server (TLS) id 14.3.382.0; Fri, 16 Feb 2018 02:32:35 -0500 Received: from LinuxHost.amd.com (10.129.12.246) by SCYBEXDAG03.amd.com (10.34.11.13) with Microsoft SMTP Server id 14.3.382.0; Fri, 16 Feb 2018 15:32:32 +0800 From: Vijendar Mukunda <Vijendar.Mukunda@amd.com> To: <broonie@kernel.org>, <alsa-devel@alsa-project.org>, <perex@perex.cz> Date: Fri, 16 Feb 2018 13:03:54 +0530 Message-ID: <1518766434-7911-10-git-send-email-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518766434-7911-1-git-send-email-Vijendar.Mukunda@amd.com> References: <1518766434-7911-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)(376002)(396003)(39380400002)(39860400002)(2980300002)(428003)(199004)(189003)(305945005)(2950100002)(53936002)(6666003)(68736007)(47776003)(76176011)(2906002)(48376002)(106466001)(7696005)(51416003)(50466002)(97736004)(39060400002)(36756003)(478600001)(336011)(77096007)(186003)(356003)(105586002)(4326008)(53416004)(5660300001)(575784001)(86362001)(54906003)(8936002)(16586007)(2201001)(72206003)(110136005)(50226002)(8676002)(316002)(26005)(81166006)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1242; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2NAM03FT045; 1:CFhBEW7t9uSwwXfVnalX561VfXrWUNyaDJiAM9dbhTYm8IbSguIHYUT6nTWtqvuH7IzIyXqKNJr1+KAEAfPtrEe+eOQN8yWgKNGsVm9qD0RDN88Wut96d1ywpjwnjAPQ X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cead82b9-3160-40a5-ac0b-08d5750f73bb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060); SRVR:DM5PR12MB1242; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1242; 3:ISrq96dGi++amQazaqpWInG/rfoNxhzY1z+kLPW1gp0QzMnGCm0EPJYxBPzLcTz9fgr4jAzHPLZiDXo0fLdajxTx9XK0oaEutctbjwVZfJCKG1QkCh7KFjz1KalbxFXtuWFED4XCZaOs8wV1rhjIjL+MTcRBZpDfeCk61mSqTUKTHkzQs035KYr7FGVmOJgwWayNyXSKx6EFvJUIvsb4bT3eddIk9jBEkNAOhq5P2cLCNERgKuOc+eOozL317M4fhPrWWwwGm2lot9zPmhm4WuR9uTvoXOUenmoueJyYkcOFu7wwwYc+xFtIGa/EKZyLd3cRD0lBPHKuePdGgw+eHwNjNkylAhzqSaXsBIehXn0=; 25:ric7uBlaKlkv9l1StBgIJFZ5gY0AuJwWMJyVm9hQCxsSHocY28giBVyKfIB7Ki0pHKapTZn/jpZCQKdc0PLmItm1yb5WfY5iDMbn9lQXVGyP4B/L9QcS8s6+sVbZW8JHhoqKdwD8RpocRNnGiCdLNkqSCJyhCmgxP26uiDevTKiUCBNIpyXICd1s6kvjZML5R5HoIVRJGXhCZFzhWjMByvo/3/gzuK1aNmSvCeYCOs62IUp8I7RM+o/RE3XougDtKjUMwyaIymlz9I7Dr3aMh95lYSsETPCuwyeJVQSVJ6Up99EFJrY28LFJGs9Yj/D7uh+KZaHx/M9o78Kt4OT8xg== X-MS-TrafficTypeDiagnostic: DM5PR12MB1242: X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1242; 31:P157CDQemiHYNbadc3ZA8drqKUdw3P3zPmmx9HdLkZKKJDU/SawhY6ys8/x8c6SX4zE5S8iIVqLiC+QSkMmENtDweVV/P0vPGtxpn+VKR0t5p8jerE2b+iSwic4nih5ojNRK2iNtlNGSpLD3y7NAa544wtDh1/6kOk0An0uG/7HMhZwEUQrXOGNsxjA89Soao/J6RyuhBcIQS99JYDUHD9/lkawgd6JXl0/5duZAgRM=; 20:rfvQV7HxV0PPEXxRalNRLb428DcREK0DJ7RT1PYogZVIpvqBcVpnqktoZnmPwslO9HN4dIiVR1B7aSywER0+RLX2BmAWOfXC7JWENTHLjQxl2oMSmVkqSYgDA7GDvZMuOBGzKk37PlU60/TAnqem5Z9/8XuopTiaGg5yALHRwRsQkX80eyhodmu42QphwLfCqrspkQCeTfaWHEj4iq3hl3pe7ZNltsTT5EavIpZlKgR3ybAyMKDqTbV1VlA3y2W8RqwRWorUndeMBGGxFVA7squgpK6Z5jkUAHoKkk0Dtx/QI8g09oIk8dN7vwj6B91cICQ20pBzAMc6wCyilLzuyCtLdimCljB6zx6uS9A/WPAHaEaZuFQTh+QXGfWzGHQ/4r42Kpa5YLa4dQRtlFk3iwj//20dixQnf8X212+8RSJSyLZr/1L4Gh9bt/E6FGvvyfO0N8UzFy4eHW7s+4PP+sSd2IJe0y9t5cEhOwsZtFn2jzJRQc8P0HV7qrdZoio1 X-Microsoft-Antispam-PRVS: <DM5PR12MB1242A8FD18C1FECAD020812597CB0@DM5PR12MB1242.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(93006095)(93003095)(10201501046)(3231101)(944501161)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:DM5PR12MB1242; BCL:0; PCL:0; RULEID:; SRVR:DM5PR12MB1242; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1242; 4:43xmNu7rIryHuHiRGZpnyJdM003qBtA7oTPHI8VrR4u5xck8/3lsDBGVugGWD5PhScXvszat4Sg2RHEsmKWX4yPyEA5xrDwlcGgzbazQCiPEDF6nXlb4MAtTuovXrGwnoar2nbUCKh9AaEE92vU5sb//a7AQtGALrPKYaFJEkE35MC9sMkJjCYnPzRNJUeS10CN32bY/SavOVJlKeGokdB22cjzmvvPVcVvJXCmgf8FBREYLQ9MnHbriCypMLkpOIGFFhsqEruvi1pi3ACjp+scFVPzJ1Q9tBwYcJYHxb0FYjarmZg82lpD0J2AnXUR7 X-Forefront-PRVS: 0585417D7B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR12MB1242; 23:Z2SD+q96NdhJJb1OZ0hR/R072x8NBDWqJysCX5TcR?= =?us-ascii?Q?ZN2LQchCvPcVrb2Ls+KnOGOXMkyRb4/Vg+H/f/P3sdVVAD1pCFKkFIatvOxY?= =?us-ascii?Q?lRwaZND3/zWlZvBKHccKuUfUlBehXUk3dv8tquGMuRkShOvVmi+lEHgbWJBI?= =?us-ascii?Q?GVpXE+I4zB3ZEog2tGamBMJmufQrw4DI39zwc7Aaqk4d+CxcwerXISqb0kbz?= =?us-ascii?Q?sV+B8Xbu4Ffh2sOYCTLGCzjT7to4jgvYUPdW0mZ95Go2fTQxh/RS7mhUMISu?= =?us-ascii?Q?ufht/y4LhlJPJ03wdscbRZo9VEubPHPKCNIueGRB79XhnTwZ20GkV1nqQyhZ?= =?us-ascii?Q?J2FWr2ra0BmKpExnoLDBGyxjpZbvX76VurPY4FVaDblfcwM5MF/yCQNiSZBG?= =?us-ascii?Q?Uv94EKd9JKx5/mPeWJb1E38ke2UmfU5F4LEvusdK3enAKSfmkWks7MBZlXcA?= =?us-ascii?Q?rzMf2Dv04j3DiMxGYdhbcUCQNgETmp7JYP6A665OtGEHNDzvCuAzTjTYP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q95pgz+wPskER/ogLQCeNvPB940lqThgNl7sTaMRnPBsOPlKiLNNEmMppBdEK5XWx4Lxsz/KbIFH0EcXX7rGiLekJjYSZP6JTwRQ=; 5:tYYBE8DeMk61UKjsXAKhVhj2aRfIrl+GQRm+bGieyUg8linWnDVeyJ34yOc1dqMKTM9eWfbIWT8ftZ1RUNJmzdby1P9yz8ktBuRomh5l0RXHUSywghIUDYZ/Kufd/0PAl3kere7Snr/hwHzMa7u78cuYUtYEfzs8JPRiYl1Hiqs=; 24:539UecBxDJ/xGuz2EUf9WMXObv1Jyjc4cclZtjGfjp3q/C0r23MGYCZHUymCoC5d72JD7Qwo34hWgTx+P9r5TXo6rYrA/3BipBJlYJ5uRBY=; 7:VJK4cIzMwvFFHvUwe8W1+guSdeFosKmNts3CKliIUYDyH/dDbxy4KBRI3N+NI47xPzKLiXRpaLP0qdv4UwthNeH2anDn56oH+IoeQN5l0rN2HzPgCAcIfXL8fQ0zfkPEih7kRq9EA5nqwLxQ5qbspqedfNloi3B2Xg+78j8DkbXzPMTVACF/okDIE+dZv0VewHXaZdn9Gw3TapU9/z2Ws/EJLupSMK3kT9PI1w68BCWhz36Vqvs7B4HgO8ATO6dK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1242; 20:kgv0ifnyDx9881PerctB/VBcdlhTvSuwwzu/3WThf3nJICtfZ5rdK2j0DbtaTYigWMTUhnPFt/UFRz7wWYFhwwsAod9wa5K7Oe1Bf9f550VIyLd4FjGSjiVFs9PchRz1lSUyNm4BEz05kWrBG5Qlo73qaaZDG3y4Abc8LTbStGR8kIyilKoPGQ+tmNBHoTjUCB1MsxbQCmzUZHsFQQmBEbmPEtkMHFs65Ce6sr52y8mN5wKEvj5yzvEH6U9QTMRU X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2018 07:32:36.7869 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cead82b9-3160-40a5-ac0b-08d5750f73bb 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: DM5PR12MB1242 Cc: tiwai@suse.de, Alexander.Deucher@amd.com, lgirdwood@gmail.com, Vijendar Mukunda <Vijendar.Mukunda@amd.com> Subject: [alsa-devel] [PATCH 9/9] 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 e8310ce..4c7d0e9 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..c8f105c 100644 --- a/sound/soc/amd/acp.h +++ b/sound/soc/amd/acp.h @@ -108,6 +108,7 @@ #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,