arm: dts: Enable cdrom LUN for QRD 8226 device only
android-usb-cdrom controls the number of LUNs to enumarate
with mass storage driver. Currently it is set for 8226 and its all
variants including QRD. Install Disk Emulation Feature is required
only for QRD 8226 variants. Hence disable this feature for 8226 and
enable for QRD 8226 variants.
CRs-Fixed: 518895
Change-Id: Ic93a52d43c023090b60c35a3a1afe6df9556a559
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8226-qrd.dtsi b/arch/arm/boot/dts/msm8226-qrd.dtsi
index 10a2dce..a10b499 100644
--- a/arch/arm/boot/dts/msm8226-qrd.dtsi
+++ b/arch/arm/boot/dts/msm8226-qrd.dtsi
@@ -442,3 +442,7 @@
qcom,fast-avg-setup = <0>;
};
};
+
+&android_usb {
+ qcom,android-usb-cdrom;
+};
diff --git a/arch/arm/boot/dts/msm8226.dtsi b/arch/arm/boot/dts/msm8226.dtsi
index a5d511b..3f1fcf1 100644
--- a/arch/arm/boot/dts/msm8226.dtsi
+++ b/arch/arm/boot/dts/msm8226.dtsi
@@ -275,10 +275,9 @@
<87 512 6000 6000>;
};
- android_usb@fe8050c8 {
+ android_usb: android_usb@fe8050c8 {
compatible = "qcom,android-usb";
reg = <0xfe8050c8 0xc8>;
- qcom,android-usb-cdrom;
qcom,android-usb-swfi-latency = <1>;
};