Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1469895 > unrolled thread
| Started by | Wenyou Yang <wenyou.yang@atmel.com> |
|---|---|
| First post | 2016-08-25 09:30 +0200 |
| Last post | 2016-08-25 11:50 +0200 |
| Articles | 2 on this page of 22 — 4 participants |
Back to article view | Back to linux.kernel
[PATCH v8 00/11] power: act8945a_charger: Improvements Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:30 +0200
[PATCH v8 03/11] power: act8945a_charger: Remove "battery_temperature" Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:30 +0200
Re: [PATCH v8 03/11] power: act8945a_charger: Remove "battery_temperature" Sebastian Reichel <sre@kernel.org> - 2016-08-31 16:50 +0200
[PATCH v8 02/11] power: act8945a_charger: Achieve properties from its node Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:30 +0200
Re: [PATCH v8 02/11] power: act8945a_charger: Achieve properties from its node Sebastian Reichel <sre@kernel.org> - 2016-08-31 16:50 +0200
[PATCH v8 05/11] power: act8945a_charger: Add status change update support Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:30 +0200
Re: [PATCH v8 05/11] power: act8945a_charger: Add status change update support Sebastian Reichel <sre@kernel.org> - 2016-08-31 16:50 +0200
[PATCH v8 04/11] power: act8945a_charger: Improve Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:30 +0200
Re: [PATCH v8 04/11] power: act8945a_charger: Improve Sebastian Reichel <sre@kernel.org> - 2016-08-31 16:50 +0200
[PATCH v8 06/11] power: act8945a_charger: Fix the power supply type Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:30 +0200
Re: [PATCH v8 06/11] power: act8945a_charger: Fix the power supply type Sebastian Reichel <sre@kernel.org> - 2016-08-31 16:50 +0200
[PATCH v8 08/11] power: act8945a_charger: Add max current property Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:30 +0200
Re: [PATCH v8 08/11] power: act8945a_charger: Add max current property Sebastian Reichel <sre@kernel.org> - 2016-08-31 17:00 +0200
[PATCH v8 07/11] power: act8945a_charger: Add capacity level property Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:30 +0200
Re: [PATCH v8 07/11] power: act8945a_charger: Add capacity level property Sebastian Reichel <sre@kernel.org> - 2016-08-31 17:00 +0200
[PATCH v8 09/11] doc: bindings: mfd: act8945a: Update the example Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:50 +0200
Re: [PATCH v8 09/11] doc: bindings: mfd: act8945a: Update the example Rob Herring <robh@kernel.org> - 2016-08-30 22:00 +0200
Re: [PATCH v8 09/11] doc: bindings: mfd: act8945a: Update the example Sebastian Reichel <sre@kernel.org> - 2016-08-31 17:00 +0200
[PATCH v8 10/11] doc: bindings: power: act8945a-charger: Update properties. Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:50 +0200
Re: [PATCH v8 10/11] doc: bindings: power: act8945a-charger: Update properties. Sebastian Reichel <sre@kernel.org> - 2016-08-31 16:50 +0200
[PATCH v8 11/11] ARM: at91/dt: sama5d2_xplained: Add act8945a-charger node. Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-25 09:50 +0200
Re: [PATCH v8 00/11] power: act8945a_charger: Improvements Mark Brown <broonie@kernel.org> - 2016-08-25 11:50 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Wenyou Yang <wenyou.yang@atmel.com> |
|---|---|
| Date | 2016-08-25 09:50 +0200 |
| Subject | [PATCH v8 11/11] ARM: at91/dt: sama5d2_xplained: Add act8945a-charger node. |
| Message-ID | <s9XAe-6uu-31@gated-at.bofh.it> |
| In reply to | #1469895 |
Add act8945a-charger as a sub-device node.
Use the "interrupts" property, instead of the "active-semi,irq_gpios"
to denote the act8945a chager's irq.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
---
Changes in v8:
- Add 4 new patches: 1/11, 2/11, 9/11, and 11/11.
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index 0b9a59d..87eff10 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -162,14 +162,6 @@
compatible = "active-semi,act8945a";
reg = <0x5b>;
active-semi,vsel-high;
- active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
- active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
- active-semi,irq_gpios = <&pioA 45 GPIO_ACTIVE_LOW>;
- active-semi,input-voltage-threshold-microvolt = <6600>;
- active-semi,precondition-timeout = <40>;
- active-semi,total-timeout = <3>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
status = "okay";
regulators {
@@ -222,6 +214,21 @@
regulator-always-on;
};
};
+
+ charger {
+ compatible = "active-semi,act8945a-charger";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
+ interrupt-parent = <&pioA>;
+ interrupts = <45 GPIO_ACTIVE_LOW>;
+
+ active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
+ active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
+ active-semi,input-voltage-threshold-microvolt = <6600>;
+ active-semi,precondition-timeout = <40>;
+ active-semi,total-timeout = <3>;
+ status = "okay";
+ };
};
};
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2016-08-25 11:50 +0200 |
| Message-ID | <s9Zsl-7H6-11@gated-at.bofh.it> |
| In reply to | #1469895 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Aug 25, 2016 at 03:19:48PM +0800, Wenyou Yang wrote: > This patch series is to improve the implementation of act8945a-charger > driver, such as regard the act8945-charger as a sub-device, improve > the way to check the status, fix the power supply type property, > add the status change update, and add more properties: capacity level > property and max current property. I don't know why you're copying me on this series but can you please either stop or let me know what you're looking for me to do with it? It's quite large, is getting resent regularly with frequent replies and I'm never quite sure why it's there.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.kernel
csiph-web