Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C40DC282C4 for ; Mon, 4 Feb 2019 23:58:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA04720820 for ; Mon, 4 Feb 2019 23:58:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="J8VMeDjV"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lechnology.com header.i=@lechnology.com header.b="VWRsboRX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA04720820 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lechnology.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9zouqgRMxphOknQlxcR4E+ycQljpvy+kV8lZi2bpp7Q=; b=J8VMeDjVmblhq6mXY+znSaner hV4oVvckAuI1X5UvJCD8O6+iAfKyQQxid1owBf/46KW4rBLem30c4Kz7NIu+HgK04RCf+TMY4uIkf hcMIRKU9o10KWjVkieTd+x6YEwOuWN6n1MP7CJtdyELXFR3/HxMrNpc7IWBLBG58c8wNHvCs788If rOQxbOFFsnyQCss6USTs320LkiKJMPw6nH6hFaZr8wZohToO8a6WdL4a6FAVTHpWLxIgr9mVdmldo igEMt5e7pNkQPQFtKwKV+ztQLWE5yKyjMpf3QA5oLxzQEUDfKkKCft/tqpbLBvHZmNgDuzt7Fmvp0 T5ulUkUkw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqo7r-0006Hh-51; Mon, 04 Feb 2019 23:58:07 +0000 Received: from vern.gendns.com ([98.142.107.122]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqo7o-0006HD-BZ for linux-arm-kernel@lists.infradead.org; Mon, 04 Feb 2019 23:58:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ztTJUNn6xrf1rSdLZeO+Zk3GlaPqIoy0zfh9SL17tEw=; b=VWRsboRXDXhTU2PuFgko9WO0ar yuDbkdgakDDqnlRWUlUMzuwM5pE6WEtl0KTWGPDjvCN5LTuidO5q0j9XDmhPWrbTPSvIaoHtCcbLu Gs1J0+pampPqJdbKYkND1EPxS2DKlbmbXCfe/Stxvc0GQjsblo0guCTdzi5XOJHXkkd2VFVaCiG+D PZ3D4kVW7HPOqAcJ5d92Swrh/FCwYRvXaeDAaEh+wEYphpQbE4V8EDiXL/CbuWDqMygaGvSqBdviY 2dOHrUJVjiqaF5+zAs4pPDrs7NuhOuJnxSbZUzrPi3N0TwnU/I9FrS8QPeRwsfqXJdsyO0qZe+ZY1 RZxTt3hA==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:59834 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gqo4J-0000wp-0o; Mon, 04 Feb 2019 18:54:27 -0500 Subject: Re: [PATCH 22/35] ARM: davinci: cp-intc: add the new config structures for da8xx SoCs To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier References: <20190131133928.17985-1-brgl@bgdev.pl> <20190131133928.17985-23-brgl@bgdev.pl> From: David Lechner Message-ID: Date: Mon, 4 Feb 2019 17:58:00 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190131133928.17985-23-brgl@bgdev.pl> Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190204_155804_476502_AE751ACA X-CRM114-Status: GOOD ( 13.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add the new-style config structures for dm* 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 8b9220badef5..6d3da4364f7a 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 > @@ -742,6 +743,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, Missing minus one? + .end = DA8XX_CP_INTC_BASE + SZ_8K - 1, > + .flags = IORESOURCE_MEM, > + }, > + .num_irqs = DA830_N_CP_INTC_IRQ, > +}; > + > void __init da830_init_irqs(void) > { > cp_intc_init(); > diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c > index 9f48e1ac61fb..5e7f2c962abf 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 > @@ -671,6 +672,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, same here > + .flags = IORESOURCE_MEM, > + }, > + .num_irqs = DA850_N_CP_INTC_IRQ, > +}; > + > void __init da850_init_irqs(void) > { > cp_intc_init(); > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel