mirror of
https://github.com/torvalds/linux.git
synced 2026-11-09 05:34:02 +01:00
mfd: max77705: Mark PASS2 revision as supported
The existing driver takes a safe approach and only probes on tested MAX77705 revisions. The only tested revision at the time was PASS3. PASS2 chips are present in the Samsung Galaxy S10/S10+/S10e devices. Testing on the S10 and S10+ shows the driver operates correctly on PASS2: interrupts are registered and fire, bind and unbind release the I2C device cleanly, and the charger and fuel gauge report plausible values, charging the battery to the same voltage as the vendor kernel, haptic feedback works. Link: https://lore.kernel.org/all/20251023131732.GN475031@google.com/ Signed-off-by: Denys Romaniuk <chiffathefoxx@gmail.com> Link: https://patch.msgid.link/20260928-max77705-pass2-supported-v2-1-c04f3932c182@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
5bf2ae8b13
commit
42a947779e
|
|
@ -105,7 +105,7 @@ static int max77705_i2c_probe(struct i2c_client *i2c)
|
|||
return -ENODEV;
|
||||
|
||||
pmic_rev = pmic_rev_value & MAX77705_REVISION_MASK;
|
||||
if (pmic_rev != MAX77705_PASS3)
|
||||
if (pmic_rev != MAX77705_PASS2 && pmic_rev != MAX77705_PASS3)
|
||||
return dev_err_probe(dev, -ENODEV, "Rev.0x%x is not tested\n", pmic_rev);
|
||||
|
||||
/* Active Discharge Enable */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user