From patchwork Fri Jun 16 11:54:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 105727 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1265341qgd; Fri, 16 Jun 2017 04:59:01 -0700 (PDT) X-Received: by 10.101.73.8 with SMTP id p8mr11168597pgs.0.1497614341035; Fri, 16 Jun 2017 04:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497614341; cv=none; d=google.com; s=arc-20160816; b=Ag5GL2CXeLI934VajqXOhbIdHoTOwoPeNB470lOSbRXpqscXCmiF/il6EMlLv89itx A/DZdDgSRnGuaopHuYFi2qYghgP+0n+8sFjrER/oEOpSy3WO1m93yhBSOwo23VPV9m3g tb0oEyQ5fZc3b99gj/F4HXHrENBz3W6ObcFF/nl1btIRR9KQp5x1wzFJAYEon87MnaAX WECPJ+hy8sWzbAu6ffEmNHl7NVvmsU23AiFxtbQSHANto2Emz7RNbe4gITK3hsFAwSwg qwOdFbh5j365HoVgRahFM9Bdce30srGVVuH7uWRVu4sVUz59x2NflJ1pQ7GyupSD6+t0 2P8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=IdBk3+eVQEz/SVH+AOm2K9BL5WNlDyPuCQA/CoiJWLI=; b=eNMI5yvCUsxhN6+rEsrMA4ZF9jDcDUPWXOSbcPD0RKM3V2NTGzzfxtL5CWO3fl9Dfv ED9fXwjN88vVJvQpFtXi7Xx5tCZU5VrWviz2gbPv8LKwMLnJyV87PpJMoChmzcKnMng7 C6+mEGa2O/rkrQ+F3FJNNEsty6eRVq0tub6WUDUwzqFjhkganP5GWEVqfVRAkbMYHbNK nl7N9NHJSVCIcwDYZ0MJVtqNtUlm1UD4T3OXijuKt7OpJ91nhhBmjN80SlefQc/y7zAK 6EUPAAgVcXf5RDJ+LalX3RVrj3KSnwvH29hOYke+HjUQAoHjsToNHFRNIX0UE2am3VZM cbWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.b=ttRpDCLs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s62si1823170pfi.72.2017.06.16.04.59.00; Fri, 16 Jun 2017 04:59:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.b=ttRpDCLs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753531AbdFPL6i (ORCPT + 25 others); Fri, 16 Jun 2017 07:58:38 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:54897 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753042AbdFPLzW (ORCPT ); Fri, 16 Jun 2017 07:55:22 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v5GBsoqK015087; Fri, 16 Jun 2017 06:54:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1497614090; bh=Xn3JMcomNOO7UOg2Gxrv2ozbw3XdbpR0rHxNkJiuE5Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ttRpDCLs0PfwvJFYj32+X5uFJFsIQbmE9eLWWezsMLV2vN2BQkdA4F67aeLu8Acv0 8bdz3JNdBoC3N2VhEhQZQkZyemcwk4f67RKu8IXUK+vz3XeHWbSAFUqr7Fb1avi+gQ ySzdz14o3L4d7uA5q5Bo57To08q1oVSIEBKgFQb4= Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5GBsobl015814; Fri, 16 Jun 2017 06:54:50 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Fri, 16 Jun 2017 06:54:49 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5GBsd1V016625; Fri, 16 Jun 2017 06:54:47 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren , CC: Rob Herring , , , , , Ulf Hansson , , Russell King , Subject: [PATCH 02/12] ARM: dts: Add dra7 iodelay configuration Date: Fri, 16 Jun 2017 17:24:29 +0530 Message-ID: <20170616115439.8508-3-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616115439.8508-1-kishon@ti.com> References: <20170616115439.8508-1-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tony Lindgren Add dra7 iodelay configuration. Signed-off-by: Tony Lindgren Signed-off-by: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi | 8 ++++++++ include/dt-bindings/pinctrl/dra.h | 3 +++ 2 files changed, 11 insertions(+) -- 2.11.0 diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index c09a91e77f53..b9b8b4b5143a 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -418,6 +418,14 @@ 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>; diff --git a/include/dt-bindings/pinctrl/dra.h b/include/dt-bindings/pinctrl/dra.h index 5c75e80915fc..18ec5df5a581 100644 --- a/include/dt-bindings/pinctrl/dra.h +++ b/include/dt-bindings/pinctrl/dra.h @@ -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