Skip to content
Permalink
Browse files

dt

Change-Id: I36fda7678c878e217cd6546bc58f6c3bfc49b746
  • Loading branch information...
Blefish committed Jul 29, 2015
1 parent f9548e8 commit 67d0b3292ce55484db715e15cbd4a87cf5b8e5f3
@@ -0,0 +1,49 @@
#include <dt-bindings/input/input.h>

#include "qcom-msm7x30.dtsi"

/ {
rmt-oeminfo {
compatible = "huawei,rmt-oeminfo";
};

battery {
compatible = "huawei,battery";
voltage-min-design = <3200>;
voltage-max-design = <4200>;
technology = "LIPO";
};

msmhandset {
pwr-key-delay-ms = <0>; /* 0 will disable end key */
};

ldo8: regulator-ldo8 {
regulator-max-microvolt = <2850000>;
};

ldo10: regulator-ldo10 {
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2700000>;
};

ldo11: regulator-ldo11 {
regulator-min-microvolt = <1800000>;
};

ldo20: regulator-ldo20 {
regulator-min-microvolt = <1800000>;
regulator-always-on;
};
};

&pmicintc {
keypad@148 {
linux,keymap = <
MATRIX_KEY(0, 0, KEY_VOLUMEUP)
MATRIX_KEY(0, 1, KEY_VOLUMEDOWN)
>;
keypad,num-rows = <5>;
keypad,num-columns = <5>;
};
};
@@ -0,0 +1,5 @@
#include "huawei-msm7x30.dtsi"

/ {
model = "Huawei IDEOS X5";
};

3 comments on commit 67d0b32

@Osyotr

This comment has been minimized.

Copy link

replied Sep 23, 2015

What is this? I googled a bit but could you explain?

@Blefish

This comment has been minimized.

Copy link
Owner Author

replied Sep 24, 2015

It's WIP for 3.10 kernel with device tree. I've only tested this on U8800 and SEMC urushi. Basically this allows us to use unified device config, sharing common msm7x30 stuff in one file and custom stuff in another file. It greatly simplifies the board logic code, but it's a big change and requires many changes. I dumped it here because I will be leaving so others can get their hands dirty.

If we successfully move our boards to DT based, it will be a lot simpler to move to upstream linux kernel. All new devices use DT.

@Osyotr

This comment has been minimized.

Copy link

replied Sep 24, 2015

Thanks.

Please sign in to comment.
You can’t perform that action at this time.