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

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

Merge "power: battery: Add "cp" prefix to cp iio channel names"

parents f552d63d 0870dbcb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -150,9 +150,9 @@ enum {

/* CP Channels */
static const char * const bat_cp_ext_iio_chan[] = {
	[BAT_CP_PARALLEL_MODE] = "parallel_mode",
	[BAT_CP_PARALLEL_OUTPUT_MODE] = "parallel_output_mode",
	[BAT_CP_MIN_ICL] = "min_icl",
	[BAT_CP_PARALLEL_MODE] = "cp_parallel_mode",
	[BAT_CP_PARALLEL_OUTPUT_MODE] = "cp_parallel_output_mode",
	[BAT_CP_MIN_ICL] = "cp_min_icl",
	[BAT_CP_SWITCHER_EN] = "cp_switcher_en",
};

+1 −1
Original line number Diff line number Diff line
@@ -432,7 +432,7 @@ enum smb5_iio_channels {
};

static const char * const cp_slave_iio_chans[] = {
	[CURRENT_CAPABILITY] = "current_capability",
	[CURRENT_CAPABILITY] = "cp_current_capability",
	[CP_ENABLE] = "cp_enable",
	[CP_INPUT_CURRENT_MAX] = "cp_input_current_max",
};
+1 −1
Original line number Diff line number Diff line
@@ -867,7 +867,7 @@ int smblib_set_aicl_cont_threshold(struct smb_chg_param *param,

/* CP channels */
static const char * const smblib_cp_ext_iio_chan[] = {
	[CP_PARALLEL_OUTPUT_MODE] = "parallel_output_mode",
	[CP_PARALLEL_OUTPUT_MODE] = "cp_parallel_output_mode",
	[CP_MASTER_ENABLE] = "cp_enable",
	[CP_ILIM] = "cp_ilim",
	[CP_DIE_TEMP] = "cp_die_temp",