Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp514446img; Tue, 26 Feb 2019 04:10:05 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibtkyx1jTi3zrhhMcjPQ7uUPCwgvfZN00VSBKSFQs1Ds2gcwH4OoMset9o5XFXRBxC+xUi4 X-Received: by 2002:a17:902:20c3:: with SMTP id v3mr5286331plg.268.1551183005366; Tue, 26 Feb 2019 04:10:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551183005; cv=none; d=google.com; s=arc-20160816; b=BtpXVOvKoEco1NM9VDBhs5UsrBBqNJz/m679vd5Ivq9JOiTzdo2aaMPVedpzoc//T/ jUEtKL4/jYzKLWardpdW395LiLuY7ebl6WWuUeLoxKKNPCl4K5xakGKrmMEhe1Nuv4II SxNX7YOO5cNoFWNsabBnPWUDYU8bGXHxM8OIqH3LDwlb+1/pP37dRaEOAel3VZFo28v7 gWfgU/J9tdl5QGGndYIQGQQUiodN8lI3O/QZqKPE+DbfZd7h2e8xFwDrCu44OqYuAIna JsYVtcE+AbL9Q3mrXpqEiuIIEBuljA2gli9Swg65fMGfSkeCXb3diBC4fwjL5lpNfrvy Onjw== 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=2FgZZ1EvXiQW14YwhWJkkZvTKvqMw94PKF0P4G+L3sE=; b=C6M+dfWngZjVLRrv+1VMkdqSxJ2Cm9/3+pwWuPk7kHmSiFNU5fAoC+R2Icz7JLdQ9g vuii/rSHvAOrh2sef+5ztxBjhDprm4OnYcB4Wm8UwSxodqV8Cs8HdvnmaeTHT+jKGr8D J4l0UanoFfXpDWOipnk6IgAS8UXVbW46TnA4ZztF38tPssSFkpCCyGDCv3jytpdrV/iH pjek3jXKio/ojGuiwG2WiJqgU7KhYz6TJ3mbVvl+XsUSdcZOARm8jTk8r9Gip5AgGM89 v77mU3+B575dC11aOX5ZPMSLwaSz80KOwXCtApbfu4QLdmxhbXLGLUFz1g0j5zm9dYUm 5aKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=tzgS+uF9; 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 q13si6555213pgv.157.2019.02.26.04.09.50; Tue, 26 Feb 2019 04:10:05 -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=tzgS+uF9; 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 S1728647AbfBZMIp (ORCPT + 99 others); Tue, 26 Feb 2019 07:08:45 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55737 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727731AbfBZMHj (ORCPT ); Tue, 26 Feb 2019 07:07:39 -0500 Received: by mail-wm1-f65.google.com with SMTP id q187so2140964wme.5 for ; Tue, 26 Feb 2019 04:07:38 -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=2FgZZ1EvXiQW14YwhWJkkZvTKvqMw94PKF0P4G+L3sE=; b=tzgS+uF9F9GSsACIgXXYU2lRUlanElCpH5tzyt9UCVDqcpYHelyOhBsWKfgV3W51TR lGkJj8jXQvLV4thwQVkP2pjdiXM37aOOIbY3cq+KL99Bbl1sAozH/3RUzeAhpv0kmShk ArGVNM97OcKuqoI/YOC/Sf4v78fPBkN+YeTyUg74salDIN2vXte8Toqx8ff1s+xUH/lD SzI3H30QfS0s90mMoON8tfbPFrWKE1SVLUEF+zPqSZfBe2fm4EwzW/eZ/XHZcmoEOkyH lSMp6HBlmhatZ/Lcbk3L5sxzP1UJpJKBi+SoISwfT+asVFTnPA2EnszGW1g8AnXSza74 Qmpg== 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=2FgZZ1EvXiQW14YwhWJkkZvTKvqMw94PKF0P4G+L3sE=; b=IgLLI3VrD1nsH42MVGhxEEf8uN4jC5vUgdwHHH7sJ14QF56t/Rx6oCwMRQ4CpMYbDm KmumUu18TJYUCEjVxc8bdPcB78EovOJyFo4xqRyyLNQJmBcFzTfTCNZCHWkfv2QTl2c3 ToF+SKnD0IL2CoNQay8TSuZg/7B25bj4AsKMrADFXToCfgQNh+whfs6Eb18U2X91xsnK T8bcjZOtoiTcrKOcrSr3vX/HLY80Wom1WxxAOxBKCeTZKoGJTxAvqMKnKe2UOBn9ftAd Ey8h5uDiPUZch+oJoJBRqLBEVT3WLx9TtzFae8wog6nfFIVBm/a4mOjTF9loWenuzE6g SZxw== X-Gm-Message-State: AHQUAuaVajBEFq6pF/KCpI+r49XF9eZRvbOz4oaVYCjlWFI6iJl2RhfT QaTDkNvPrBGgwR8lFp9Jcekd3A== X-Received: by 2002:a1c:6788:: with SMTP id b130mr2589872wmc.102.1551182857584; Tue, 26 Feb 2019 04:07:37 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id a8sm12642158wmh.26.2019.02.26.04.07.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 04:07:36 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Daniel Lezcano , Thomas Gleixner , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 06/11] ARM: davinci: move timer definitions to davinci.h Date: Tue, 26 Feb 2019 13:06:28 +0100 Message-Id: <20190226120633.18200-7-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190226120633.18200-1-brgl@bgdev.pl> References: <20190226120633.18200-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 56c1835c42e5..208d7a4d3597 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