NULL, NULL, NULL, }; static struct palmas_pmic_platform_data pmic_platform = { .disable_smps10_boost_suspend = false, }; static struct palmas_rtc_platform_data rtc_platform = { .enable_charging = 1, .charging_current_ua = 100, }; static struct palmas_pinctrl_config palmas_pincfg[] = { PALMAS_PINMUX(POWERGOOD, POWERGOOD, DEFAULT, DEFAULT), PALMAS_PINMUX(VAC, VAC, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO0, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO1, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO2, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO3, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO4, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO5, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO6, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO7, GPIO, DEFAULT, DEFAULT), }; static struct palmas_pinctrl_platform_data palmas_pinctrl_pdata = { .pincfg = palmas_pincfg, .num_pinctrl = ARRAY_SIZE(palmas_pincfg), .dvfs1_enable = true,
.step_20mV = true, .base_voltage_uV = 560000, .max_voltage_uV = 1200000, .smps3_ctrl = true, }, { .en_pwm = false, }, }; static struct palmas_pmic_platform_data pmic_platform = { .dvfs_init_data = palmas_dvfs_idata, .dvfs_init_data_size = ARRAY_SIZE(palmas_dvfs_idata), }; static struct palmas_pinctrl_config palmas_pincfg[] = { PALMAS_PINMUX(POWERGOOD, POWERGOOD, DEFAULT, DEFAULT), PALMAS_PINMUX(VAC, VAC, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO0, ID, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO1, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO2, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO3, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO4, GPIO, PULL_UP, DEFAULT), PALMAS_PINMUX(GPIO5, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO6, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO7, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO8, SIM1RSTI, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO9, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO10, GPIO, PULL_UP, DEFAULT), PALMAS_PINMUX(GPIO11, GPIO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO12, SIM2RSTO, DEFAULT, DEFAULT), PALMAS_PINMUX(GPIO13, GPIO, DEFAULT, DEFAULT),
NULL, NULL, NULL, }; static struct palmas_pmic_platform_data pmic_platform = { .disable_smps10_boost_suspend = false, }; static struct palmas_rtc_platform_data rtc_platform = { .backup_battery_chargeable = true, .backup_battery_charge_high_current = true, }; static struct palmas_pinctrl_config palmas_pincfg[] = { PALMAS_PINMUX("powergood", "powergood", NULL, NULL), PALMAS_PINMUX("vac", "vac", NULL, NULL), PALMAS_PINMUX("gpio0", "gpio", NULL, NULL), PALMAS_PINMUX("gpio1", "gpio", NULL, NULL), PALMAS_PINMUX("gpio2", "gpio", NULL, NULL), PALMAS_PINMUX("gpio3", "gpio", NULL, NULL), PALMAS_PINMUX("gpio4", "gpio", NULL, NULL), PALMAS_PINMUX("gpio5", "gpio", NULL, NULL), PALMAS_PINMUX("gpio6", "gpio", NULL, NULL), PALMAS_PINMUX("gpio7", "gpio", NULL, NULL), }; static struct palmas_pinctrl_platform_data palmas_pinctrl_pdata = { .pincfg = palmas_pincfg, .num_pinctrl = ARRAY_SIZE(palmas_pincfg), .dvfs1_enable = true,
.clk32k_id = PALMAS_CLOCK32KG, .enable = true, }, { .clk32k_id = PALMAS_CLOCK32KG_AUDIO, .enable = true, }, }; static struct palmas_extcon_platform_data palmas_extcon_pdata = { .connection_name = "palmas-extcon", .enable_vbus_detection = true, .enable_id_pin_detection = true, }; static struct palmas_pinctrl_config palmas_ti913_pincfg[] = { PALMAS_PINMUX("powergood", "powergood", NULL, NULL), PALMAS_PINMUX("vac", "vac", NULL, NULL), PALMAS_PINMUX("gpio0", "id", "pull-up", NULL), PALMAS_PINMUX("gpio1", "vbus_det", NULL, NULL), PALMAS_PINMUX("gpio2", "gpio", NULL, NULL), PALMAS_PINMUX("gpio3", "gpio", NULL, NULL), PALMAS_PINMUX("gpio4", "gpio", NULL, NULL), PALMAS_PINMUX("gpio5", "clk32kgaudio", NULL, NULL), PALMAS_PINMUX("gpio6", "gpio", NULL, NULL), PALMAS_PINMUX("gpio7", "gpio", NULL, NULL), }; static struct palmas_pinctrl_platform_data palmas_ti913_pinctrl_pdata = { .pincfg = palmas_ti913_pincfg, .num_pinctrl = ARRAY_SIZE(palmas_ti913_pincfg), .dvfs1_enable = true,