]> Pileus Git - ~andy/linux/commitdiff
metag: tz1090: select and instantiate pinctrl-tz1090-pdc
authorJames Hogan <james.hogan@imgtec.com>
Mon, 22 Apr 2013 15:46:43 +0000 (16:46 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Thu, 27 Jun 2013 12:49:56 +0000 (13:49 +0100)
Select PINCTRL_TZ1090_PDC from SOC_TZ1090 to enable the PDC pin
controller driver once it is merged, and instantiate it from
tz1090.dtsi.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
arch/metag/Kconfig.soc
arch/metag/boot/dts/tz1090.dtsi

index 6b11ca363ceb5358fb122e4c7ac6d6e75f83baab..2a3c860c75250c15bc5bcf8c4c9532aa2772e2de 100644 (file)
@@ -21,6 +21,7 @@ config SOC_TZ1090
        select METAG_SMP_WRITE_REORDERING
        select PINCTRL
        select PINCTRL_TZ1090
+       select PINCTRL_TZ1090_PDC
        help
          This is a Toumaz Technology Xenif TZ1090 (A.K.A. Comet) SoC containing
          a 2-threaded HTP.
index 697f3840e4d8cc64733a417b2c2d4ad8d8361af5..853744652b93460875cc9a36caf2fad3fc3953b5 100644 (file)
                        compatible = "img,tz1090-pinctrl";
                        reg = <0x02005800 0xe4>;
                };
+
+               pdc_pinctrl: pinctrl@02006500 {
+                       #gpio-range-cells = <3>;
+                       compatible = "img,tz1090-pdc-pinctrl";
+                       reg = <0x02006500 0x100>;
+               };
        };
 };