Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4061345ima; Mon, 4 Feb 2019 09:32:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IYyMmYDPPA983QEu7yNIu+ageCxKMirF3l2cUaQgkA8IecmSHmy00fmSAaRJ2xhnRSo8AeH X-Received: by 2002:a62:1a44:: with SMTP id a65mr527077pfa.30.1549301527894; Mon, 04 Feb 2019 09:32:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549301527; cv=none; d=google.com; s=arc-20160816; b=oNIHR2ntY9/gDCD3FiHVnCKlY2WVJ7y81wGBGGsNcWnmRd022otjRYACQZTxkeCFIa 1S7xWm33z2XgNX1inl9/rosNjUbcifeJFr0gqWkdDDeDjmh2N5715Kp8RIStEoI9N/YP Qta/Ay+K+65CLh4hiYJ+aPXGFbwa3SdaGqH9bnPtVbuN4V+eFok09DXqP9EnE02ll5qp 9D+kROYkdby1yQ2iK5JJc5WLmRv0dMrJAgGJQMi81zVQOwwVTzihtNBLpkrj/QQ1ckFQ Hb/rC28gsgymwakbj/ygxOTTV0skf49aFknzbNEP9njbd8sVnY6rShs2KZy0dUd6AhPw H7Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cL06X0SvDGMjwFcjqHY6E+rz25qUhZDQqZhRx5iU7ME=; b=A70OeUSfmFUda7U+088g61Lb3QwuM9BnX0AvHh6MiScCuWMUF+r8G/Pblkeziq9wUF 3/EeA5oAL1PzT39qQlJKmIWUQ7xESquRy3dXFR2OAsCg0l2pqbEMVmRQVkLvg0RHa028 Of8c5lgEIZH6RzM2IRuhdtSM67+DVkHo5ooDGTuo+ZuLQChtrhXyh4EUs+GOxknAb5Qz 0+w4tqU7ORDE4d+2pcxy6r9OVz896IB77FkZhur1KOQDbupLbzIvvQMSN70R1TDRlKCO NEaFJ4oux0xvBAbQ1v05o0oRH06o2x/V+r1Rm0gEuQeD7qzU1da1Na3tNn0yEpR1B19Q TUBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=F1jCRjN8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o68si613437pfo.140.2019.02.04.09.31.50; Mon, 04 Feb 2019 09:32:07 -0800 (PST) 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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=F1jCRjN8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730925AbfBDRSz (ORCPT + 99 others); Mon, 4 Feb 2019 12:18:55 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:50537 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730296AbfBDRSR (ORCPT ); Mon, 4 Feb 2019 12:18:17 -0500 Received: by mail-wm1-f67.google.com with SMTP id z5so714175wmf.0 for ; Mon, 04 Feb 2019 09:18:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cL06X0SvDGMjwFcjqHY6E+rz25qUhZDQqZhRx5iU7ME=; b=F1jCRjN8h8/nMYlj12bcajal+uotZrxHk42c9h4CQV3w8N7Jmhl4MBsR4mruIs8czv hhjG621Ul6NTAC3hqPzsV2JybtBfP7R9xaaRmKLv55C23v49ZEpqlSAgSudEdjW5+PhA ib8aofUBRsnb2QV4q7BGjpALJTTAYhMg2IuF9DRN1V4tN7bz4h6ktGxyQErwVqqFUrjA BP2S1QZbDfW6EsWZ0lhXx9E5orB7txQMiFTjx96NBKRhz/eJsKD+OnXQrR7wRVYadXHT j90ZyaPDWP/L9ByaF+9J3Ocdnk9szuX+zJloQ92zJwTltvEqIl8t+z12UxSYgNT5DssM p+kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cL06X0SvDGMjwFcjqHY6E+rz25qUhZDQqZhRx5iU7ME=; b=OhislCHK5V3QhGbXa/yYcszm6ii0h2/S+81e3UiOa/JVu/2zbojdQlPmdazTLOBQ6L W4U4g/ED+Rzuqc9bxmMwmAwrFU3Ylx530drxYClX+QaGO3FRal7LdVP0Lf+kwsGQtJlV 9isDivlZy2qBmfpV+AvYnoU85YlKls/vE7woGBkLmZM9Ol1r3UY4V/h93LFrTZhFOJQj Bwrf7Z+rbeuaw5YfU0EFvb0u9qjJxXroF5SYn23DYpcYwM7NglhNkzC09dlto+f0IAjB ufDdX8NHfU3gDqnt4LRbPLOQRN7xfiIFy4267pFXo14Dw497FGnHWkffQ+aHmBlxWfuK 4iEQ== X-Gm-Message-State: AHQUAuZfduI9iQE6COfenimi2CT46Ux6p7V2rsyu2Idgb5mTKlWN0UxG IB4fUG+qD00PEmp86bDO5gkqfw== X-Received: by 2002:a1c:570d:: with SMTP id l13mr307866wmb.139.1549300695211; Mon, 04 Feb 2019 09:18:15 -0800 (PST) Received: from localhost.localdomain (aputeaux-684-1-8-223.w90-86.abo.wanadoo.fr. [90.86.125.223]) by smtp.gmail.com with ESMTPSA id q9sm11197506wrv.26.2019.02.04.09.18.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 09:18:14 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Daniel Lezcano , Rob Herring , Mark Rutland , Thomas Gleixner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 07/12] ARM: davinci: move timer definitions to davinci.h Date: Mon, 4 Feb 2019 18:17:52 +0100 Message-Id: <20190204171757.32073-8-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190204171757.32073-1-brgl@bgdev.pl> References: <20190204171757.32073-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Boards from the dm* family rely on register offset definitions from arch/arm/mach-davinci/include/mach/time.h. We'll be removing this file soon, so move the required defines to davinci.h where the rest of such constants live. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/davinci.h | 3 +++ arch/arm/mach-davinci/include/mach/time.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/davinci.h b/arch/arm/mach-davinci/davinci.h index db4c95ef4d5c..dfd1b1ab7b59 100644 --- a/arch/arm/mach-davinci/davinci.h +++ b/arch/arm/mach-davinci/davinci.h @@ -60,6 +60,9 @@ void davinci_map_sysmod(void); #define DAVINCI_GPIO_BASE 0x01C67000 int davinci_gpio_register(struct resource *res, int size, void *pdata); +#define DAVINCI_TIMER0_BASE (IO_PHYS + 0x21400) +#define DAVINCI_WDOG_BASE (IO_PHYS + 0x21C00) + /* DM355 base addresses */ #define DM355_ASYNC_EMIF_CONTROL_BASE 0x01e10000 #define DM355_ASYNC_EMIF_DATA_CE0_BASE 0x02000000 diff --git a/arch/arm/mach-davinci/include/mach/time.h b/arch/arm/mach-davinci/include/mach/time.h index 1c971d8d8ba8..ba913736990f 100644 --- a/arch/arm/mach-davinci/include/mach/time.h +++ b/arch/arm/mach-davinci/include/mach/time.h @@ -11,9 +11,7 @@ #ifndef __ARCH_ARM_MACH_DAVINCI_TIME_H #define __ARCH_ARM_MACH_DAVINCI_TIME_H -#define DAVINCI_TIMER0_BASE (IO_PHYS + 0x21400) #define DAVINCI_TIMER1_BASE (IO_PHYS + 0x21800) -#define DAVINCI_WDOG_BASE (IO_PHYS + 0x21C00) enum { T0_BOT, -- 2.20.1