soc: qcom: sleepstate: add sleep state compatible entry
Current sleep state entry compatible string is tied with remote processor ID which is not always true. Use generic compatible string for sleep state entry to support for any remote processor ID. CRs-Fixed: 1043377 Change-Id: I6ef2810b07960006b0fe4c573d5ce2bead90ee97 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
This commit is contained in:
parent
7c0c7b0b3d
commit
1a55bb30e0
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
||||||
Qualcomm Technologies, Inc. SMSM Point-to-Point (SMP2P) Sleepstate driver
|
Qualcomm Technologies, Inc. SMSM Point-to-Point (SMP2P) Sleepstate driver
|
||||||
|
|
||||||
Required properties:
|
Required properties:
|
||||||
-compatible : should be "qcom,smp2pgpio_sleepstate_3_out";
|
-compatible : should be one of the following:
|
||||||
|
- "qcom,smp2pgpio_sleepstate_3_out" - for sensor processor on remote pid 3
|
||||||
|
- "qcom,smp2pgpio-sleepstate-out" - for other cases
|
||||||
-gpios : the relevant gpio pins of the entry.
|
-gpios : the relevant gpio pins of the entry.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
|
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License version 2 and
|
||||||
|
@ -74,6 +74,7 @@ static int smp2p_sleepstate_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
static struct of_device_id msm_smp2p_slst_match_table[] = {
|
static struct of_device_id msm_smp2p_slst_match_table[] = {
|
||||||
{.compatible = "qcom,smp2pgpio_sleepstate_3_out"},
|
{.compatible = "qcom,smp2pgpio_sleepstate_3_out"},
|
||||||
|
{.compatible = "qcom,smp2pgpio-sleepstate-out"},
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue