Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2527951imj; Mon, 11 Feb 2019 04:28:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IYZHyLwGcF8+R0JPSOXYs7wF7u41ykZ8M7a9p2JYgHPWSIC9A4jIQScL0pZ7IODSOHJrMhQ X-Received: by 2002:a63:7f46:: with SMTP id p6mr33302757pgn.54.1549888125226; Mon, 11 Feb 2019 04:28:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549888125; cv=none; d=google.com; s=arc-20160816; b=b4f2LitIaxC0E8BNxr3z1cWFa4Dh/X+/b67LQ7Az5BzZrfp6anDWybCkBqTTnvvHE1 8IudofbZOXJ1RbVXFz1CWM7CTHA7deqh51IjFlPt4s9sBIUqFeTw9gYlQJ4Gh69/rl4V ipdekwyyftdLRhtJW2CGIwoNOYtnQ/DsZR0/MG31/ydoTZ0Ij9keLz5oCeDYU9/L5kRf ftgphSDChFS0vHgeATo9y/c6bQBDZeibIBGgHP+1TGgbMV/ujpVJBOPb56rGLPcvS5xj aPD2fJMqZnKO6RKsr8XbHM5T1cm+tSc/iK5j5U4B2VMPYTxkxVjCUt2Wpt6GcHWxPaFV uQbw== 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=R9pVFEt/XFt/zjhWp4QhfoWoFkI5rsvSStm8RZytusyVWN+L8JtLgDgj8FYoruiyxZ hYGRAmq5AZ8WWHoPerB6pPTSC32ieWN6pdevx6q34YKSJrrkAcBiOe1kzYcBmae2Q2yI cqDd0clpreFYSoEAt2QZtsIOBCM3xUcFEHUVKWFUt4w+6Y9ObDRKe+DvULI4ESRwBQCa AwC+MC1qt9qOfZ2Bs3iUhmlv6MduTiXvvDTO099zdVUZnZRJuXtdc2a4sFn7OOWP1lhP FZk81HqNOGUBvmjwC1a1e68L0VaDTTElCoBJTe9ImvJHKaXrY3S4SbQvqStUjCMNiJQz HfPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="ChzDAc/n"; 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 u17si10092802pfi.7.2019.02.11.04.28.28; Mon, 11 Feb 2019 04:28:45 -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="ChzDAc/n"; 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 S1727431AbfBKM1m (ORCPT + 99 others); Mon, 11 Feb 2019 07:27:42 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35678 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727660AbfBKM0n (ORCPT ); Mon, 11 Feb 2019 07:26:43 -0500 Received: by mail-wr1-f65.google.com with SMTP id t18so134098wrx.2 for ; Mon, 11 Feb 2019 04:26:42 -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=ChzDAc/nPzQ1itzXH8bi+m2nz+pQr+ANDOkVbdJzNc7verHaAZiMnVY1ACJSn9B+EB 0eG1sXID3RmweoMqRSaA6WetZJGgdQCspz5gUmaA0NrrQZgS8KhV8r5fE2LkjyzL/E1A u1JQqwYVKRdctP1tUETQuGaaHbDKFKR06Wji/NFUhpvKB5hBClhtQx13udz2nfL5QN6F i/a8Ua+1BDAJyHV0I9EKJsNovC9NC23iQw1/rLE/bTgRDRcVqLR58YOm/MeTyy9Co+Ia RCx+LKzzgRVtVyhRFwMwqXXediW4BCRsP3jeO9TKdkbzIhXZKdohjY6oc2+gQvrZb8DL jg7Q== 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=pD1Ywz+DqKJHyIK3W1Lyk+awPQYi8HfKtRl64OJezwt17Oh2fXr3QYs6PDHsR/C3E+ IWFysnzbpGz4hnWJFYP+0jwr6LtPZVrUBSEPItO2eYtkFOWH/NyvJV0yPueVMFVBafLa t0QYjotPBHNdHtaR8bTDCoZ/lQreYJvlWz0Krn4/FxgbCHZKwTJE8M48k+/hT0J78mrd BY7Rq7lENgShpnwqhkH8gF5lIKEs6N+RxeLOjNVdTid8pNtsXRO90afme5wXEGEmt5Ms 2XG9XSAw37j7M/LHkheauL1LVmw7V6ZbEfd5nMOnUNdBgIOi3Zq5s0hw1A+de/luIBqV uPZA== X-Gm-Message-State: AHQUAua8YVsC8o1twTfgQf0XUimT6GFBSbkKToMQD2oTrJiJoi6j8aQY NZS4u/36s6RJIR91USKA899eHA== X-Received: by 2002:a5d:6b09:: with SMTP id v9mr28496782wrw.304.1549888001474; Mon, 11 Feb 2019 04:26:41 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id l20sm19494321wrb.93.2019.02.11.04.26.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 04:26:40 -0800 (PST) From: Bartosz Golaszewski To: 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: [RESEND PATCH v2 23/33] ARM: davinci: cp-intc: add the new config structures for da8xx SoCs Date: Mon, 11 Feb 2019 13:25:56 +0100 Message-Id: <20190211122606.8662-24-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211122606.8662-1-brgl@bgdev.pl> References: <20190211122606.8662-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