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

Commit eceb9e4a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "regulator: qpnp-lcdb: Disable step voltage ramp for PM8150L V3"

parents e10217cf 7db3a1a5
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-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
@@ -2092,7 +2092,12 @@ static void qpnp_lcdb_pmic_config(struct qpnp_lcdb *lcdb)
			lcdb->wa_flags |= NCP_SCP_DISABLE_WA;
		break;
	case PMI632_SUBTYPE:
	case PM6150L_SUBTYPE:
		lcdb->wa_flags |= FORCE_PD_ENABLE_WA;
		break;
	case PM8150L_SUBTYPE:
		if (lcdb->pmic_rev_id->rev4 >= PM8150L_V3P0_REV4)
			lcdb->voltage_step_ramp = false;

		lcdb->wa_flags |= FORCE_PD_ENABLE_WA;
		break;
	default: