Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp103019imj; Thu, 14 Feb 2019 16:17:37 -0800 (PST) X-Google-Smtp-Source: AHgI3IYPwPAllPUyjt4zZcyrJa+jSi2/YWQl2UlTgSFDjVXVli54V2Qb/LfFJEaA43AOCTZxkKUR X-Received: by 2002:a63:f648:: with SMTP id u8mr2541633pgj.91.1550189857936; Thu, 14 Feb 2019 16:17:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550189857; cv=none; d=google.com; s=arc-20160816; b=KX3emD+lpsiv+Oig0rnCCGICnbtSlq3AOBTh8xvhj/hx0en5Urx+11LUJXvHOIGf5I GYRPqgpRtJG74RXbjfejUn/tYAnH+v31bcHyhQjgxLdaZCb94kH3QCfb5ufqacoIuhP4 +lamDrn9L+1rjeuefKxt/GxDqXONnZzMpxWGJbBcofiYGtI9vhLUK+YOpf9MyytJiYzA 7I4oUGlcj6VkH5g+MJftCLtXFrrYlxOwMOAUJdEG4INDwITuhp2yfP1qxfu9MEIP6uyb 02YVRUQfWTE7dXvBRvWHKzQjpOT0CwNGOIvZV2Od7ENMLoge398P2pkwVi7TWI6RlWxg j0jg== 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=OE+68BkD2Gvi09w8U3xAg2OuU34U9g+A9X06DXSG8XE=; b=b4IUJ2w3bIg6CUHVz57uKGXdylKnUvvy+hGKoO8yKOtphhoJ9ImHrQ+Yq25XQGBz32 wWvmb102AVN0C06USBUkZyQZdVj9hSOIR8Fpp1M2RhGir+UEe+kUFiEqL70Q9M/7S/Az 9aPLqfEWgb4QIm2Er1+lxAcNHNB/FWAQrwxw8BFyGiFw8ptVRPSAm+st/8rWlZz0iAAn 9lnZCyx5OJX47+eH68jJYuARGl8QGK9i7KrcmBhsaffTPc2gq+qQzQaQQZZ1yXDeuJM3 wq5BBYFJV/vwnitJLVQCYEHyjGBgRQzp+aOJ3+2LeRt91B2q8nkhh/LdxzQPrFAPBgud E6dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=jTAXyTPL; 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 a63si3757440pfb.61.2019.02.14.16.17.21; Thu, 14 Feb 2019 16:17:37 -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=jTAXyTPL; 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 S2501944AbfBNOya (ORCPT + 99 others); Thu, 14 Feb 2019 09:54:30 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44790 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439626AbfBNOxP (ORCPT ); Thu, 14 Feb 2019 09:53:15 -0500 Received: by mail-wr1-f66.google.com with SMTP id v16so6761887wrn.11 for ; Thu, 14 Feb 2019 06:53:14 -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=OE+68BkD2Gvi09w8U3xAg2OuU34U9g+A9X06DXSG8XE=; b=jTAXyTPLTWqRzAtWn1anu+O6hZZ2wZzyOgCyW/hbQdl5Fh/Js5PA4Bl90yyqSRd6aw I6rM/rz4zLpk/r+vvkWumqm0p/9aD+wm44zty5cT8SGRurLl+oJq8Rii3YcGaALUnWeE gI1w03TYFz8z3OYWreBVwRWXXRBBz0E1Wk8IINsqIv0BtzmkGrv99TSx4i9F+BbcdZet M28ZN8zqqqCUqhfVqmTw4RZeki9ddO7XN8v5Emc6Ldn0GqbWDp471GlFkQ7Hr8kJWHw6 ODcZLhUUuvcPU1kMRMrvE4J7p/DM3Pc9wTUgVralXVdzVAIuqC/ooI38uze2nbloO6mo O9lw== 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=OE+68BkD2Gvi09w8U3xAg2OuU34U9g+A9X06DXSG8XE=; b=S/xaty5shtgMiEl/sMNwOzmwLRknWrvi8vo/VP16L6MT5p0EVFsyqwyAQ5yMrf3Ysq Ce45W+0mOqWf6rjwCtAvpO/I8LZl/IKQQUxn664hST6IBNIbZ57ulTCTP8p2hpqFhmbh NNZnOOPOneU61lhCwnEUaPCTnj5lD/2hsPR8X1gPWqOpUe2yg74VffpHkPcHaIHx54Je w0O55wavPkEqUN6JoJjlsAMU1r9weZvwGUu84uoMwWeNhncnUf1QAR2+RUuL34R5st+A kxM4Z1kUxSHB0YxLabuvpObXPhnN/kGGZnnNaf01DC48BudOUIZ2aZNTGEn0ymR3Cwhm Ybnw== X-Gm-Message-State: AHQUAua4zURbA3o5+WIAzfXPpNvWJq6rEMB+sER+eykObMmOIneat5bS JaSTApBoQCQW/zmUzKif2Yl65w== X-Received: by 2002:a5d:434c:: with SMTP id u12mr3249843wrr.14.1550155993849; Thu, 14 Feb 2019 06:53:13 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id y20sm4181005wra.51.2019.02.14.06.53.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:53:13 -0800 (PST) From: Bartosz Golaszewski To: Dmitry Torokhov , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v4 26/37] ARM: davinci: cp-intc: add the new config structures for da8xx SoCs Date: Thu, 14 Feb 2019 15:52:20 +0100 Message-Id: <20190214145231.8750-27-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214145231.8750-1-brgl@bgdev.pl> References: <20190214145231.8750-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 Add the new-style config structures for da8xx SoCs. They will be used once we make the cp-intc driver stop using davinci_soc_info. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da830.c | 10 ++++++++++ arch/arm/mach-davinci/da850.c | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/arch/arm/mach-davinci/da830.c b/arch/arm/mach-davinci/da830.c index 5cfd30c57429..38af72be1a85 100644 --- a/arch/arm/mach-davinci/da830.c +++ b/arch/arm/mach-davinci/da830.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -821,6 +822,15 @@ void __init da830_init(void) WARN(!da8xx_syscfg0_base, "Unable to map syscfg0 module"); } +static const struct davinci_cp_intc_config da830_cp_intc_config = { + .reg = { + .start = DA8XX_CP_INTC_BASE, + .end = DA8XX_CP_INTC_BASE + SZ_8K - 1, + .flags = IORESOURCE_MEM, + }, + .num_irqs = DA830_N_CP_INTC_IRQ, +}; + void __init da830_init_irq(void) { cp_intc_init(); diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 6df6994c0f26..9a3ce68c0de4 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -759,6 +760,15 @@ void __init da850_init(void) WARN(!da8xx_syscfg1_base, "Unable to map syscfg1 module"); } +static const struct davinci_cp_intc_config da850_cp_intc_config = { + .reg = { + .start = DA8XX_CP_INTC_BASE, + .end = DA8XX_CP_INTC_BASE + SZ_8K - 1, + .flags = IORESOURCE_MEM, + }, + .num_irqs = DA850_N_CP_INTC_IRQ, +}; + void __init da850_init_irq(void) { cp_intc_init(); -- 2.20.1