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


Groups > linux.kernel > #1506281

Re: [PATCH 5/7] ARM: dts: am335x: Add the charger interrupt

From Robert Nelson <robertcnelson@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 5/7] ARM: dts: am335x: Add the charger interrupt
Date 2016-10-21 22:50 +0200
Message-ID <suOVk-2gP-31@gated-at.bofh.it> (permalink)
References <suIGg-6Bt-133@gated-at.bofh.it> <suIGg-6Bt-131@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 21, 2016 at 9:01 AM, Milo Kim <woogyom.kim@gmail.com> wrote:
> This enables the charger driver gets corresponding IRQ number by using
> platform_get_irq_byname() helper.
>
> Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
> ---
>  arch/arm/boot/dts/am335x-bone-common.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 25303d9..cec9d91 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -6,6 +6,8 @@
>   * published by the Free Software Foundation.
>   */
>
> +#include <dt-bindings/mfd/tps65217.h>

^ this hasn't been posted nor pushed to mainline yet.. ;)

> +
>  / {
>         cpus {
>                 cpu@0 {
> @@ -316,6 +318,12 @@
>
>         ti,pmic-shutdown-controller;
>
> +       charger {
> +               interrupts = <TPS65217_IRQ_AC>, <TPS65217_IRQ_USB>;
> +               interrupts-names = "AC", "USB";
> +               status = "okay";
> +       };
> +
>         regulators {
>                 dcdc1_reg: regulator@0 {
>                         regulator-name = "vdds_dpr";
> --
> 2.9.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Robert Nelson
https://rcn-ee.com/

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


Thread

[PATCH 5/7] ARM: dts: am335x: Add the charger interrupt Milo Kim <woogyom.kim@gmail.com> - 2016-10-21 16:10 +0200
  Re: [PATCH 5/7] ARM: dts: am335x: Add the charger interrupt Robert Nelson <robertcnelson@gmail.com> - 2016-10-21 22:50 +0200
    Re: [PATCH 5/7] ARM: dts: am335x: Add the charger interrupt Robert Nelson <robertcnelson@gmail.com> - 2016-10-21 23:10 +0200

csiph-web