mfd: axp20x: AXP717: Add AXP717_TS_PIN_CFG to writeable regs
Add AXP717_TS_PIN_CFG (register 0x50) to the table of writeable registers so that the temperature sensor can be configured by the battery driver. Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Link: https://lore.kernel.org/r/20250204155835.161973-3-macroalpha82@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>pull/1188/head
parent
2014c95afe
commit
bfad07fe29
|
|
@ -224,6 +224,7 @@ static const struct regmap_range axp717_writeable_ranges[] = {
|
|||
regmap_reg_range(AXP717_VSYS_V_POWEROFF, AXP717_VSYS_V_POWEROFF),
|
||||
regmap_reg_range(AXP717_IRQ0_EN, AXP717_IRQ4_EN),
|
||||
regmap_reg_range(AXP717_IRQ0_STATE, AXP717_IRQ4_STATE),
|
||||
regmap_reg_range(AXP717_TS_PIN_CFG, AXP717_TS_PIN_CFG),
|
||||
regmap_reg_range(AXP717_ICC_CHG_SET, AXP717_CV_CHG_SET),
|
||||
regmap_reg_range(AXP717_DCDC_OUTPUT_CONTROL, AXP717_CPUSLDO_CONTROL),
|
||||
regmap_reg_range(AXP717_ADC_CH_EN_CONTROL, AXP717_ADC_CH_EN_CONTROL),
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@ enum axp20x_variants {
|
|||
#define AXP717_IRQ2_STATE 0x4a
|
||||
#define AXP717_IRQ3_STATE 0x4b
|
||||
#define AXP717_IRQ4_STATE 0x4c
|
||||
#define AXP717_TS_PIN_CFG 0x50
|
||||
#define AXP717_ICC_CHG_SET 0x62
|
||||
#define AXP717_ITERM_CHG_SET 0x63
|
||||
#define AXP717_CV_CHG_SET 0x64
|
||||
|
|
|
|||
Loading…
Reference in New Issue