Searched full:pmic_eic (Results 1 – 4 of 4) sorted by relevance
68 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_update() local71 regmap_update_bits(pmic_eic->map, pmic_eic->offset + reg, in sprd_pmic_eic_update()78 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_read() local82 ret = regmap_read(pmic_eic->map, pmic_eic->offset + reg, &value); in sprd_pmic_eic_read()122 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_set_debounce() local127 ret = regmap_read(pmic_eic->map, pmic_eic->offset + reg, &value); in sprd_pmic_eic_set_debounce()133 return regmap_write(pmic_eic->map, pmic_eic->offset + reg, value); in sprd_pmic_eic_set_debounce()151 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_irq_mask() local154 pmic_eic->reg[REG_IE] &= ~BIT(offset); in sprd_pmic_eic_irq_mask()155 pmic_eic->reg[REG_TRIG] &= ~BIT(offset); in sprd_pmic_eic_irq_mask()[all …]
50 gpios = <&pmic_eic 10 GPIO_ACTIVE_HIGH>;58 gpios = <&pmic_eic 1 GPIO_ACTIVE_HIGH>;
54 pmic_eic: gpio@300 { label100 bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
94 battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;