forked from luck/tmp_suning_uos_patched
clk: qcom: gcc-sdm660: Add missing modem reset
This will be required in order to support the
modem upstream.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
Link: https://lore.kernel.org/r/20200726111215.22361-2-konradybcio@gmail.com
Fixes: f2a76a2955
("clk: qcom: Add Global Clock controller (GCC) driver for SDM660")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
edab812d80
commit
b538304da7
|
@ -2402,6 +2402,7 @@ static const struct qcom_reset_map gcc_sdm660_resets[] = {
|
||||||
[GCC_USB_20_BCR] = { 0x2f000 },
|
[GCC_USB_20_BCR] = { 0x2f000 },
|
||||||
[GCC_USB_30_BCR] = { 0xf000 },
|
[GCC_USB_30_BCR] = { 0xf000 },
|
||||||
[GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x6a000 },
|
[GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x6a000 },
|
||||||
|
[GCC_MSS_RESTART] = { 0x79000 },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config gcc_sdm660_regmap_config = {
|
static const struct regmap_config gcc_sdm660_regmap_config = {
|
||||||
|
|
|
@ -152,5 +152,6 @@
|
||||||
#define GCC_USB_20_BCR 6
|
#define GCC_USB_20_BCR 6
|
||||||
#define GCC_USB_30_BCR 7
|
#define GCC_USB_30_BCR 7
|
||||||
#define GCC_USB_PHY_CFG_AHB2PHY_BCR 8
|
#define GCC_USB_PHY_CFG_AHB2PHY_BCR 8
|
||||||
|
#define GCC_MSS_RESTART 9
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user