]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ARM: dts: Add dra7 iodelay configuration
authorTony Lindgren <tony@atomide.com>
Fri, 16 Jun 2017 11:54:29 +0000 (17:24 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Aug 2017 16:56:36 +0000 (09:56 -0700)
Add dra7 iodelay configuration.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
arch/arm/boot/dts/dra7.dtsi
include/dt-bindings/pinctrl/dra.h

index 571cacdf0010545750a228fe2194924d84c4849d..32347d7f00d7c935718399227fbe59d117a6e32f 100644 (file)
                        reg = <0x40d00000 0x100>;
                };
 
+               dra7_iodelay_core: padconf@4844a000 {
+                       compatible = "ti,dra7-iodelay";
+                       reg = <0x4844a000 0x0d1c>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       #pinctrl-cells = <2>;
+               };
+
                sdma: dma-controller@4a056000 {
                        compatible = "ti,omap4430-sdma";
                        reg = <0x4a056000 0x1000>;
index 5c75e80915fcdc5b4411984cd57b8308eb388bfb..18ec5df5a5812a9f037247b6c95de1d15fba2546 100644 (file)
@@ -73,5 +73,8 @@
  */
 #define DRA7XX_CORE_IOPAD(pa, val)     (((pa) & 0xffff) - 0x3400) (val)
 
+/* DRA7 IODELAY configuration parameters */
+#define A_DELAY_PS(val)                        ((val) & 0xffff)
+#define G_DELAY_PS(val)                        ((val) & 0xffff)
 #endif