Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16198053 authored by Prateek Raj Singh's avatar Prateek Raj Singh
Browse files

Add support for new HSP version



This patch contains changes for adding support for new HSP SoC versions.

CRs-Fixed: 2941918
Change-Id: I170bf26458dbeb84182ead97594c3dc605b1a64f
Signed-off-by: default avatarPrateek Raj Singh <pratsing@codeaurora.org>
parent 317d25c7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
 */

#include <linux/init.h>
@@ -442,6 +442,8 @@ int btfm_slim_hw_init(struct btfmslim *btfmslim)

	if (chipset_ver == QCA_HSP_SOC_ID_0100 ||
		chipset_ver == QCA_HSP_SOC_ID_0110 ||
		chipset_ver == QCA_HSP_SOC_ID_0210 ||
		chipset_ver == QCA_HSP_SOC_ID_1211 ||
		chipset_ver == QCA_HSP_SOC_ID_0200) {
		BTFMSLIM_INFO("chipset is hastings prime, overwriting EA");
		slim->e_addr[0] = 0x00;
+2 −0
Original line number Diff line number Diff line
@@ -110,6 +110,8 @@ enum {
	QCA_HSP_SOC_ID_0100 = 0x400C0100,
	QCA_HSP_SOC_ID_0110 = 0x400C0110,
	QCA_HSP_SOC_ID_0200 = 0x400C0200,
	QCA_HSP_SOC_ID_0210 = 0x400C0210,
	QCA_HSP_SOC_ID_1211 = 0x400C1211,
};

enum {