Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: sec-core: Update sec_pmic documentation

Update the documentation for sec_pmic state container structure to
reflect current code.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
51f1f1cb e349c910

+17 -12
+17 -12
include/linux/mfd/samsung/core.h
··· 24 24 }; 25 25 26 26 /** 27 - * struct sec_pmic_dev - s5m87xx master device for sub-drivers 28 - * @dev: master device of the chip (can be used to access platform data) 29 - * @pdata: pointer to private data used to pass platform data to child 30 - * @i2c: i2c client private data for regulator 31 - * @iolock: mutex for serializing io access 32 - * @irqlock: mutex for buslock 33 - * @irq_base: base IRQ number for sec-pmic, required for IRQs 34 - * @irq: generic IRQ number for s5m87xx 35 - * @ono: power onoff IRQ number for s5m87xx 36 - * @irq_masks_cur: currently active value 37 - * @irq_masks_cache: cached hardware value 38 - * @type: indicate which s5m87xx "variant" is used 27 + * struct sec_pmic_dev - s2m/s5m master device for sub-drivers 28 + * @dev: Master device of the chip 29 + * @pdata: Platform data populated with data from DTS 30 + * or board files 31 + * @regmap_pmic: Regmap associated with PMIC's I2C address 32 + * @i2c: I2C client of the main driver 33 + * @device_type: Type of device, matches enum sec_device_type 34 + * @irq_base: Base IRQ number for device, required for IRQs 35 + * @irq: Generic IRQ number for device 36 + * @irq_data: Runtime data structure for IRQ controller 37 + * @ono: Power onoff IRQ number for s5m87xx 38 + * @wakeup: Whether or not this is a wakeup device 39 + * @wtsr_smpl: Whether or not to enable in RTC driver the Watchdog 40 + * Timer Software Reset (registers set to default value 41 + * after PWRHOLD falling) and Sudden Momentary Power Loss 42 + * (PMIC will enter power on sequence after short drop in 43 + * VBATT voltage). 39 44 */ 40 45 struct sec_pmic_dev { 41 46 struct device *dev;