Re: [PATCH] ARM: dts: omap4-droid4: Configure CPCAP battery driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

On Mon, Jun 12, 2017 at 12:21:38AM -0700, Tony Lindgren wrote:
> Configure CPCAP battery driver.
> 
> Cc: devicetree@xxxxxxxxxxxxxxx
> Cc: Marcel Partap <mpartap@xxxxxxx>
> Cc: Michael Scott <michael.scott@xxxxxxxxxx>
> Cc: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx>
> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>

Reviewed-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx>

-- Sebastian

> ---
>  arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> --- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> +++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> @@ -26,6 +26,22 @@
>  			#io-channel-cells = <1>;
>  		};
>  
> +		cpcap_battery: battery {
> +			compatible = "motorola,cpcap-battery";
> +			interrupts-extended = <
> +				&cpcap 6 0 &cpcap 5 0 &cpcap 3 0
> +				&cpcap 20 0 &cpcap 54 0
> +			>;
> +			interrupt-names =
> +				"eol", "lowbph", "lowbpl",
> +				"chrgcurr1", "battdetb";
> +			io-channels = <&cpcap_adc 0 &cpcap_adc 1
> +				       &cpcap_adc 5 &cpcap_adc 6>;
> +			io-channel-names = "battdetb", "battp",
> +					   "chg_isense", "batti";
> +			power-supplies = <&cpcap_charger>;
> +		};
> +
>  		cpcap_charger: charger {
>  			compatible = "motorola,mapphone-cpcap-charger";
>  			interrupts-extended = <
> -- 
> 2.13.0
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux