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

dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ)

The AXP305 PMIC used on many boards with the H616 SoC seems to be fully
compatible to the AXP805 PMIC, so add the proper chain of compatible
strings.

Also at least on one board (Orangepi Zero2) there is no interrupt line
connected to the CPU, so make the "interrupts" property optional.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Andre Przywara and committed by
Lee Jones
614e1bb5 32979fcf

+2 -1
+2 -1
Documentation/devicetree/bindings/mfd/axp20x.txt
··· 26 26 * "x-powers,axp803" 27 27 * "x-powers,axp806" 28 28 * "x-powers,axp805", "x-powers,axp806" 29 + * "x-powers,axp305", "x-powers,axp805", "x-powers,axp806" 29 30 * "x-powers,axp809" 30 31 * "x-powers,axp813" 31 32 - reg: The I2C slave address or RSB hardware address for the AXP chip 32 - - interrupts: SoC NMI / GPIO interrupt connected to the PMIC's IRQ pin 33 33 - interrupt-controller: The PMIC has its own internal IRQs 34 34 - #interrupt-cells: Should be set to 1 35 35 ··· 43 43 AXP20x/LDO3: software-based implementation 44 44 45 45 Optional properties: 46 + - interrupts: SoC NMI / GPIO interrupt connected to the PMIC's IRQ pin 46 47 - x-powers,dcdc-freq: defines the work frequency of DC-DC in KHz 47 48 AXP152/20X: range: 750-1875, Default: 1.5 MHz 48 49 AXP22X/8XX: range: 1800-4050, Default: 3 MHz