Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1601450

[PATCH v4 10/18] ARM: sun5i: chip: enable ACIN power supply subnode

From Quentin Schulz <quentin.schulz@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v4 10/18] ARM: sun5i: chip: enable ACIN power supply subnode
Date 2017-03-15 15:40 +0100
Message-ID <tlifM-sV-11@gated-at.bofh.it> (permalink)
References <tleOS-6tc-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The NextThing Co. CHIP has an AXP209 PMIC and can be power-supplied by
ACIN via the CHG-IN pin.

This enables the ACIN power supply subnode in the DT.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun5i-r8-chip.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts
index c9a1821..d078560 100644
--- a/arch/arm/boot/dts/sun5i-r8-chip.dts
+++ b/arch/arm/boot/dts/sun5i-r8-chip.dts
@@ -128,6 +128,10 @@
 
 #include "axp209.dtsi"
 
+&ac_power_supply {
+	status = "okay";
+};
+
 &i2c1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c1_pins_a>;
-- 
2.9.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 00/18] add support for AXP20X and AXP22X power supply drivers Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 12:00 +0100
  [PATCH v4 15/18] ARM: dtsi: axp209: add battery power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 12:10 +0100
  [PATCH v4 14/18] mfd: axp20x: add MFD cells for AXP20X and AXP22X battery driver Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 12:30 +0100
  [PATCH v4 11/18] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 12:50 +0100
    Re: [PATCH v4 11/18] dt-bindings: power: supply: add AXP20X/AXP22X  battery DT binding Sebastian Reichel <sre@kernel.org> - 2017-03-15 23:40 +0100
      Re: [PATCH v4 11/18] dt-bindings: power: supply: add AXP20X/AXP22X  battery DT binding Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 23:50 +0100
        Re: [PATCH v4 11/18] dt-bindings: power: supply: add AXP20X/AXP22X  battery DT binding Sebastian Reichel <sre@kernel.org> - 2017-03-16 00:10 +0100
  [PATCH v4 12/18] mfd: axp20x: add CHRG_CTRL1/2/3 to writeable regs for AXP20X/AXP22X Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 13:00 +0100
  [PATCH v4 13/18] power: supply: add battery driver for AXP20X and AXP22X PMICs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 13:10 +0100
    Re: [PATCH v4 13/18] power: supply: add battery driver for AXP20X  and AXP22X PMICs Sebastian Reichel <sre@kernel.org> - 2017-03-16 00:40 +0100
  Re: [PATCH v4 00/18] add support for AXP20X and AXP22X power supply  drivers Lee Jones <lee.jones@linaro.org> - 2017-03-15 13:20 +0100
    Re: [PATCH v4 00/18] add support for AXP20X and AXP22X power supply  drivers Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 14:30 +0100
      Re: [PATCH v4 00/18] add support for AXP20X and AXP22X power supply  drivers Sebastian Reichel <sre@kernel.org> - 2017-03-16 00:00 +0100
        Re: [PATCH v4 00/18] add support for AXP20X and AXP22X power supply  drivers Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-20 12:40 +0100
          Re: [PATCH v4 00/18] add support for AXP20X and AXP22X power supply  drivers Sebastian Reichel <sre@kernel.org> - 2017-03-20 20:40 +0100
  [PATCH v4 17/18] ARM: dts: sun8i: sina33: enable battery power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 13:50 +0100
  [PATCH v4 18/18] ARM: sun5i: chip: enable battery power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 14:00 +0100
  [PATCH v4 16/18] ARM: dtsi: axp22x: add battery power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 14:20 +0100
  [PATCH v4 03/18] mfd: axp20x: correct name of temperature data ADC registers Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 15:20 +0100
  [PATCH v4 10/18] ARM: sun5i: chip: enable ACIN power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 15:40 +0100
  [PATCH v4 09/18] ARM: dts: sun8i: sina33: enable ACIN power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 16:00 +0100
  [PATCH v4 01/18] dt-bindings: power: battery: add constant-charge-current property Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 16:00 +0100
  [PATCH v4 07/18] ARM: dtsi: axp209: add AC power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 16:30 +0100
  [PATCH v4 08/18] ARM: dtsi: axp22x: add AC power supply subnode Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 16:50 +0100
  [PATCH v4 06/18] mfd: axp20x: add AC power supply cells for AXP22X PMICs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 17:10 +0100
  [PATCH v4 04/18] iio: adc: add support for X-Powers AXP20X and AXP22X PMICs ADCs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 17:30 +0100
  [PATCH v4 05/18] mfd: axp20x: add ADC cells for AXP20X and AXP22X PMICs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 17:50 +0100
  [PATCH v4 02/18] power: supply: power_supply_core: add constant-charge-current optional property Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-03-15 18:10 +0100
    Re: [PATCH v4 02/18] power: supply: power_supply_core: add  constant-charge-current optional property Sebastian Reichel <sre@kernel.org> - 2017-03-15 23:30 +0100

csiph-web