提交 97fdcaac 编写于 作者: L Linus Walleij 提交者: Andy Gross

ARM: dts: reference PM8058 as IRQ parent

Some nodes are referencing the pm8058_gpio as IRQ parent, but
the HW IRQ offset they are supplying is actually that for the
parent to that controller: the PM8058 itself. Since that is the
proper parent, reference it directly.

We can switch this to the pm8058_gpio and the proper offset
once we have fixed the SSBI GPIO driver to properly deal with
the hierarchical IRQ domain and get proper local offset
translation.
Acked-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NAndy Gross <andy.gross@linaro.org>
上级 86e06f02
...@@ -369,8 +369,8 @@ ...@@ -369,8 +369,8 @@
ak8975@0c { ak8975@0c {
compatible = "asahi-kasei,ak8975"; compatible = "asahi-kasei,ak8975";
reg = <0x0c>; reg = <0x0c>;
/* GPIO33 has interrupt 224 on the PM8058 */ /* FIXME: GPIO33 has interrupt 224 on the PM8058 */
interrupt-parent = <&pm8058_gpio>; interrupt-parent = <&pm8058>;
interrupts = <224 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>;
...@@ -380,8 +380,8 @@ ...@@ -380,8 +380,8 @@
bmp085@77 { bmp085@77 {
compatible = "bosch,bmp085"; compatible = "bosch,bmp085";
reg = <0x77>; reg = <0x77>;
/* GPIO16 has interrupt 207 on the PM8058 */ /* FIXME: GPIO16 has interrupt 207 on the PM8058 */
interrupt-parent = <&pm8058_gpio>; interrupt-parent = <&pm8058>;
interrupts = <207 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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册