Commit da4f07dd authored by Linus Walleij's avatar Linus Walleij

ARM: dts: qcom-apq8060: Fix up interrupt parents

Before we fixed up the interrupt hierarchy for the SSBI
GPIO controller, we had to use the PM8058 directly to pick
interrupts. After making the interrupt controller work properly,
we can reference the real interrupt parent.
Signed-off-by: default avatarBrian Masney <masneyb@onstation.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 582648f5
...@@ -93,9 +93,8 @@ cm3605 { ...@@ -93,9 +93,8 @@ cm3605 {
vdd-supply = <&pm8058_l14>; // 2.85V vdd-supply = <&pm8058_l14>; // 2.85V
aset-gpios = <&pm8058_gpio 35 GPIO_ACTIVE_LOW>; aset-gpios = <&pm8058_gpio 35 GPIO_ACTIVE_LOW>;
capella,aset-resistance-ohms = <100000>; capella,aset-resistance-ohms = <100000>;
/* GPIO34 has interrupt 225 on the PM8058 */
/* Trig on both edges - getting close or far away */ /* Trig on both edges - getting close or far away */
interrupts-extended = <&pm8058 225 IRQ_TYPE_EDGE_BOTH>; interrupts-extended = <&pm8058_gpio 34 IRQ_TYPE_EDGE_BOTH>;
/* MPP05 analog input to the XOADC */ /* MPP05 analog input to the XOADC */
io-channels = <&xoadc 0x00 0x05>; io-channels = <&xoadc 0x00 0x05>;
io-channel-names = "aout"; io-channel-names = "aout";
...@@ -515,9 +514,8 @@ i2c@19c80000 { ...@@ -515,9 +514,8 @@ i2c@19c80000 {
ak8975@c { ak8975@c {
compatible = "asahi-kasei,ak8975"; compatible = "asahi-kasei,ak8975";
reg = <0x0c>; reg = <0x0c>;
/* FIXME: GPIO33 has interrupt 224 on the PM8058 */ interrupt-parent = <&pm8058_gpio>;
interrupt-parent = <&pm8058>; interrupts = <33 IRQ_TYPE_EDGE_RISING>;
interrupts = <224 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&dragon_ak8975_gpios>; pinctrl-0 = <&dragon_ak8975_gpios>;
vid-supply = <&pm8058_lvs0>; // 1.8V vid-supply = <&pm8058_lvs0>; // 1.8V
...@@ -526,9 +524,8 @@ ak8975@c { ...@@ -526,9 +524,8 @@ ak8975@c {
bmp085@77 { bmp085@77 {
compatible = "bosch,bmp085"; compatible = "bosch,bmp085";
reg = <0x77>; reg = <0x77>;
/* FIXME: GPIO16 has interrupt 207 on the PM8058 */ interrupt-parent = <&pm8058_gpio>;
interrupt-parent = <&pm8058>; interrupts = <16 IRQ_TYPE_EDGE_RISING>;
interrupts = <207 IRQ_TYPE_EDGE_RISING>;
reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&dragon_bmp085_gpios>; pinctrl-0 = <&dragon_bmp085_gpios>;
...@@ -539,12 +536,11 @@ mpu3050@68 { ...@@ -539,12 +536,11 @@ mpu3050@68 {
compatible = "invensense,mpu3050"; compatible = "invensense,mpu3050";
reg = <0x68>; reg = <0x68>;
/* /*
* GPIO17 has interrupt 208 on the * GPIO17 is pulled high by a 10k
* PM8058, it is pulled high by a 10k
* resistor to VLOGIC so needs to be * resistor to VLOGIC so needs to be
* active low/falling edge. * active low/falling edge.
*/ */
interrupts-extended = <&pm8058 208 IRQ_TYPE_EDGE_FALLING>; interrupts-extended = <&pm8058_gpio 17 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&dragon_mpu3050_gpios>; pinctrl-0 = <&dragon_mpu3050_gpios>;
vlogic-supply = <&pm8058_lvs0>; // 1.8V vlogic-supply = <&pm8058_lvs0>; // 1.8V
...@@ -589,11 +585,10 @@ ethernet-ebi2@2,0 { ...@@ -589,11 +585,10 @@ ethernet-ebi2@2,0 {
compatible = "smsc,lan9221", "smsc,lan9115"; compatible = "smsc,lan9221", "smsc,lan9115";
reg = <2 0x0 0x100>; reg = <2 0x0 0x100>;
/* /*
* GPIO7 has interrupt 198 on the PM8058
* The second interrupt is the PME interrupt * The second interrupt is the PME interrupt
* for network wakeup, connected to the TLMM. * for network wakeup, connected to the TLMM.
*/ */
interrupts-extended = <&pm8058 198 IRQ_TYPE_EDGE_FALLING>, interrupts-extended = <&pm8058_gpio 7 IRQ_TYPE_EDGE_FALLING>,
<&tlmm 29 IRQ_TYPE_EDGE_RISING>; <&tlmm 29 IRQ_TYPE_EDGE_RISING>;
reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
vdd33a-supply = <&dragon_veth>; vdd33a-supply = <&dragon_veth>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment