ARM64: t210: foster: enable power supply extcon
Venkat Reddy Talla [Mon, 16 Nov 2015 10:16:20 +0000 (15:16 +0530)]
Enabling power supply extcon interface to report
input cable type from kernel to framework layer,
adding power-supply,default-ac-cable-connected
property to set ac cable state true always.

Bug 1690367

Change-Id: I260dc64fd4126536871aebb3a94e8810ebc1ffff
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/833239
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Murali Duggireddy <mduggireddy@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

arch/arm64/boot/dts/tegra210-foster-e-p2530-common.dtsi

index 764d734..04f028b 100644 (file)
                dt-override-status-odm-data = <0x01000000 0x00000000>;
        };
 
+       psy_extcon {
+               status = "okay";
+               power-supply,default-ac-cable-connected;
+       };
+
        /* Put common control config here */
        xusb_pad_ctl: xusb_padctl {
                nvidia,ss_portmap = <0x0321>;