From: Oskari Lemmela <oskari@lemmela.net> To: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Chen-Yu Tsai <wens@csie.org>, Maxime Ripard <maxime.ripard@bootlin.com> Cc: Lee Jones <lee.jones@linaro.org>, Quentin Schulz <quentin.schulz@bootlin.com>, Vasily Khoruzhick <anarsoul@gmail.com>, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Oskari Lemmela <oskari@lemmela.net> Subject: [PATCH v6 3/8] arm64: dts: allwinner: axp803: add AC and battery power supplies Date: Tue, 20 Nov 2018 19:52:06 +0200 [thread overview] Message-ID: <20181120175211.3913-4-oskari@lemmela.net> (raw) In-Reply-To: <20181120175211.3913-1-oskari@lemmela.net> Parts of the AXP803 are compatible with their counterparts on the AXP813. Add DT nodes ADC, GPIO, AC and battery power supplies. Signed-off-by: Oskari Lemmela <oskari@lemmela.net> Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Tested-by: Vasily Khoruzhick <anarsoul@gmail.com> --- arch/arm64/boot/dts/allwinner/axp803.dtsi | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi index e5eae8bafc42..c3a618e1279a 100644 --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi @@ -49,6 +49,39 @@ interrupt-controller; #interrupt-cells = <1>; + ac_power_supply: ac-power-supply { + compatible = "x-powers,axp803-ac-power-supply", + "x-powers,axp813-ac-power-supply"; + status = "disabled"; + }; + + axp_adc: adc { + compatible = "x-powers,axp803-adc", "x-powers,axp813-adc"; + #io-channel-cells = <1>; + }; + + axp_gpio: gpio { + compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio"; + gpio-controller; + #gpio-cells = <2>; + + gpio0_ldo: gpio0-ldo { + pins = "GPIO0"; + function = "ldo"; + }; + + gpio1_ldo: gpio1-ldo { + pins = "GPIO1"; + function = "ldo"; + }; + }; + + battery_power_supply: battery-power-supply { + compatible = "x-powers,axp803-battery-power-supply", + "x-powers,axp813-battery-power-supply"; + status = "disabled"; + }; + regulators { /* Default work frequency for buck regulators */ x-powers,dcdc-freq = <3000>; -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: oskari@lemmela.net (Oskari Lemmela) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 3/8] arm64: dts: allwinner: axp803: add AC and battery power supplies Date: Tue, 20 Nov 2018 19:52:06 +0200 [thread overview] Message-ID: <20181120175211.3913-4-oskari@lemmela.net> (raw) In-Reply-To: <20181120175211.3913-1-oskari@lemmela.net> Parts of the AXP803 are compatible with their counterparts on the AXP813. Add DT nodes ADC, GPIO, AC and battery power supplies. Signed-off-by: Oskari Lemmela <oskari@lemmela.net> Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Tested-by: Vasily Khoruzhick <anarsoul@gmail.com> --- arch/arm64/boot/dts/allwinner/axp803.dtsi | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi index e5eae8bafc42..c3a618e1279a 100644 --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi @@ -49,6 +49,39 @@ interrupt-controller; #interrupt-cells = <1>; + ac_power_supply: ac-power-supply { + compatible = "x-powers,axp803-ac-power-supply", + "x-powers,axp813-ac-power-supply"; + status = "disabled"; + }; + + axp_adc: adc { + compatible = "x-powers,axp803-adc", "x-powers,axp813-adc"; + #io-channel-cells = <1>; + }; + + axp_gpio: gpio { + compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio"; + gpio-controller; + #gpio-cells = <2>; + + gpio0_ldo: gpio0-ldo { + pins = "GPIO0"; + function = "ldo"; + }; + + gpio1_ldo: gpio1-ldo { + pins = "GPIO1"; + function = "ldo"; + }; + }; + + battery_power_supply: battery-power-supply { + compatible = "x-powers,axp803-battery-power-supply", + "x-powers,axp813-battery-power-supply"; + status = "disabled"; + }; + regulators { /* Default work frequency for buck regulators */ x-powers,dcdc-freq = <3000>; -- 2.17.1
next prev parent reply other threads:[~2018-11-20 17:52 UTC|newest] Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-11-20 17:52 [PATCH v6 0/8] AXP8x3 AC and battery power supply support Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela 2018-11-20 17:52 ` [PATCH v6 1/8] dt-bindings: power: supply: axp20x: add AXP813 AC power DT binding Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela 2018-11-20 17:52 ` [PATCH v6 2/8] ARM: dts: axp81x: add AC power supply subnode Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela [this message] 2018-11-20 17:52 ` [PATCH v6 3/8] arm64: dts: allwinner: axp803: add AC and battery power supplies Oskari Lemmela 2018-11-20 17:52 ` [PATCH v6 4/8] arm64: dts: allwinner: a64: sopine-baseboard: enable " Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela 2018-11-20 17:52 ` [PATCH v6 5/8] arm64: dts: allwinner: a64: pinebook: " Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela 2018-11-20 17:52 ` [PATCH v6 6/8] power: supply: add AC power supply driver for AXP813 Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela 2018-11-20 17:52 ` [PATCH v6 7/8] mfd: axp20x: Add AC power supply cell " Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela 2018-12-07 16:40 ` Lee Jones 2018-12-07 16:40 ` Lee Jones 2018-11-20 17:52 ` [PATCH v6 8/8] mfd: axp20x: Add supported cells for AXP803 Oskari Lemmela 2018-11-20 17:52 ` Oskari Lemmela 2018-12-07 16:40 ` Lee Jones 2018-12-07 16:40 ` Lee Jones 2018-12-07 18:58 ` Vasily Khoruzhick 2018-12-07 18:58 ` Vasily Khoruzhick 2018-12-07 19:22 ` Lee Jones 2018-12-07 19:22 ` Lee Jones 2018-12-08 15:05 ` Quentin Schulz 2018-12-08 15:05 ` Quentin Schulz 2018-12-10 6:27 ` Lee Jones 2018-12-10 6:27 ` Lee Jones 2018-12-10 8:29 ` Quentin Schulz 2018-12-10 8:29 ` Quentin Schulz 2018-12-08 18:10 ` Oskari Lemmelä 2018-12-08 18:10 ` Oskari Lemmelä 2018-12-08 18:10 ` Oskari Lemmelä 2018-12-10 6:27 ` Lee Jones 2018-12-10 6:27 ` Lee Jones 2018-11-30 8:31 ` [PATCH v6 0/8] AXP8x3 AC and battery power supply support Chen-Yu Tsai 2018-11-30 8:31 ` Chen-Yu Tsai 2018-12-05 18:00 ` Sebastian Reichel 2018-12-05 18:00 ` Sebastian Reichel 2018-12-07 7:28 ` Lee Jones 2018-12-07 7:28 ` Lee Jones 2018-12-07 7:45 ` Chen-Yu Tsai 2018-12-07 7:45 ` Chen-Yu Tsai 2018-12-07 7:45 ` Chen-Yu Tsai
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20181120175211.3913-4-oskari@lemmela.net \ --to=oskari@lemmela.net \ --cc=anarsoul@gmail.com \ --cc=devicetree@vger.kernel.org \ --cc=lee.jones@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=maxime.ripard@bootlin.com \ --cc=quentin.schulz@bootlin.com \ --cc=robh+dt@kernel.org \ --cc=sre@kernel.org \ --cc=wens@csie.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.