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

Commit 7bce5317 authored by Rishi Gupta's avatar Rishi Gupta Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: socinfo: Add TTP platform subtype mapping



This commit adds support for getting platform
type through sysfs node.

Change-Id: Iad7d0ebeb220780cd69846443abd8419b0ee8d30
Signed-off-by: default avatarRishi Gupta <rishgupt@codeaurora.org>
parent e9c5e370
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2009-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2009-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -67,6 +67,7 @@ enum {
	HW_PLATFORM_STP = 23,
	HW_PLATFORM_SBC = 24,
	HW_PLATFORM_ADP = 25,
	HW_PLATFORM_TTP = 30,
	HW_PLATFORM_HDK = 31,
	HW_PLATFORM_INVALID
};
@@ -89,6 +90,7 @@ const char *hw_platform[] = {
	[HW_PLATFORM_STP] = "STP",
	[HW_PLATFORM_SBC] = "SBC",
	[HW_PLATFORM_ADP] = "ADP",
	[HW_PLATFORM_TTP] = "TTP",
	[HW_PLATFORM_HDK] = "HDK",
};