Home
last modified time | relevance | path

Searched full:pmic_eic (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-pmic-eic-sprd.c68 struct sprd_pmic_eic *pmic_eic = gpiochip_get_data(chip); in sprd_pmic_eic_update() local
71 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() local
82 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() local
127 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() local
154 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 …]
/linux/arch/arm64/boot/dts/sprd/
H A Dsp9860g-1h10.dts50 gpios = <&pmic_eic 10 GPIO_ACTIVE_HIGH>;
58 gpios = <&pmic_eic 1 GPIO_ACTIVE_HIGH>;
H A Dsc2731.dtsi54 pmic_eic: gpio@300 { label
100 bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
/linux/Documentation/devicetree/bindings/power/supply/
H A Dsc27xx-fg.yaml94 battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;