Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp808149ybl; Thu, 22 Aug 2019 05:18:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzURn04klcpY5gjk/KTc9wzOrnHOtIhgRcILIzv6T+TVJYopSewtsiRPelIxVXzpRtNr3Bz X-Received: by 2002:a62:1d93:: with SMTP id d141mr22419216pfd.40.1566476322440; Thu, 22 Aug 2019 05:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566476322; cv=none; d=google.com; s=arc-20160816; b=U2CFTYEUu/zWbFAxpKboAw+k/9VJQixJXyCpTdH8eRAFeIXNU9qHRUQ/C98GejUM+Q fk6pYRXWbBzxyAXAXN0Ck+pfBLtPnhscnIlfgwNEl8ua4O+guWMuDPOzR5JOrbUwGzip G3zCNyTxqU+q/KQ3HKqZEnAOjwnLYsr033Y9U6kUZcZbIPFbC0fddD+qTu5CLSf6Yn41 ynDco2lAkCjcLrvSXyEfkN0XHS8sIRtMx1PUTEAOGAqVrjapOI93y+I7pvmzFBa/oByH PPRsjhDSRjfwJvgZRkDsUsEN6DHncIaOhb9eHHQSDx2uG5grafvwoSp0uc1EfHd0Yb6l Igdw== 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; bh=qNewrJov6I2RacTk/zW+giIjIDWSZouNfq4ah+gnz9Q=; b=pIp989gdr+udRwVC2g+DBxQyvpZbVzhY7D1t5azgaKYK1mvHkEtmdzXESX8dmAIW7i dWU1FmsoJTFiKacmWnaLASvW1AXJQCvLGjM7JmmpldGX8VxSI5j4ILB/YVjrrzGBVFhU HpmXm6wK5xeaScfQ87Rxh2vjZxPNSZodKYAftsI/rfL0OgcI/XfaWdKdio3nnQJSgrnb cmaaHB0rpDyzVsKM0Ekjn2Nb7fUdhQu6g5di5bBo/7u6/EkWdZvhdSsJhR71+rY8wnzy /MDOzUnEoJrzw12y7qxAMWWQkbTz1leOS5l+AmXBXR6PlCdSj6APHfUnG8dsmVsIQ3aC gItA== ARC-Authentication-Results: i=1; mx.google.com; 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 o185si10816305pfb.206.2019.08.22.05.18.27; Thu, 22 Aug 2019 05:18:42 -0700 (PDT) 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; 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 S2387475AbfHVJeu (ORCPT + 99 others); Thu, 22 Aug 2019 05:34:50 -0400 Received: from shell.v3.sk ([90.176.6.54]:35921 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbfHVJeV (ORCPT ); Thu, 22 Aug 2019 05:34:21 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 5FF33D7567; Thu, 22 Aug 2019 11:34:19 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id uiRR5u0ASFBZ; Thu, 22 Aug 2019 11:33:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 3B738D7571; Thu, 22 Aug 2019 11:33:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FiRjZKE5M8nP; Thu, 22 Aug 2019 11:32:59 +0200 (CEST) Received: from belphegor.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id E9798D756B; Thu, 22 Aug 2019 11:26:51 +0200 (CEST) From: Lubomir Rintel To: Olof Johansson Cc: Rob Herring , Mark Rutland , Thomas Gleixner , Jason Cooper , Marc Zyngier , Kishon Vijay Abraham I , Russell King , Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Lubomir Rintel Subject: [PATCH v2 17/20] ARM: mmp: move cputype.h to include/linux/soc/ Date: Thu, 22 Aug 2019 11:26:40 +0200 Message-Id: <20190822092643.593488-18-lkundrak@v3.sk> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190822092643.593488-1-lkundrak@v3.sk> References: <20190822092643.593488-1-lkundrak@v3.sk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Let's move cputype.h away from mach-mmp/ so that the drivers outside that directory are able to tell the precise silicon revision. The MMP3 USB OTG PHY driver needs this. Signed-off-by: Lubomir Rintel --- MAINTAINERS | 1 + arch/arm/mach-mmp/common.c | 2 +- arch/arm/mach-mmp/devices.c | 2 +- arch/arm/mach-mmp/mmp2.c | 2 +- arch/arm/mach-mmp/pm-mmp2.c | 2 +- arch/arm/mach-mmp/pm-pxa910.c | 2 +- arch/arm/mach-mmp/pxa168.c | 2 +- arch/arm/mach-mmp/pxa910.c | 2 +- arch/arm/mach-mmp/time.c | 2 +- {arch/arm/mach-mmp =3D> include/linux/soc/mmp}/cputype.h | 0 10 files changed, 9 insertions(+), 8 deletions(-) rename {arch/arm/mach-mmp =3D> include/linux/soc/mmp}/cputype.h (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 43604d6ab96c2..014f533d5aff8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10796,6 +10796,7 @@ L: linux-arm-kernel@lists.infradead.org (moderate= d for non-subscribers) S: Odd Fixes F: arch/arm/boot/dts/mmp* F: arch/arm/mach-mmp/ +F: linux/soc/mmp/ =20 MMU GATHER AND TLB INVALIDATION M: Will Deacon diff --git a/arch/arm/mach-mmp/common.c b/arch/arm/mach-mmp/common.c index 24c689a01ecb7..e94349d4726ca 100644 --- a/arch/arm/mach-mmp/common.c +++ b/arch/arm/mach-mmp/common.c @@ -13,7 +13,7 @@ #include #include #include "addr-map.h" -#include "cputype.h" +#include =20 #include "common.h" =20 diff --git a/arch/arm/mach-mmp/devices.c b/arch/arm/mach-mmp/devices.c index 130c1a603ba29..18bee66a671ff 100644 --- a/arch/arm/mach-mmp/devices.c +++ b/arch/arm/mach-mmp/devices.c @@ -11,7 +11,7 @@ #include #include "irqs.h" #include "devices.h" -#include "cputype.h" +#include #include "regs-usb.h" =20 int __init pxa_register_device(struct pxa_device_desc *desc, diff --git a/arch/arm/mach-mmp/mmp2.c b/arch/arm/mach-mmp/mmp2.c index 18ea3e1a26e69..bbc4c2274de3a 100644 --- a/arch/arm/mach-mmp/mmp2.c +++ b/arch/arm/mach-mmp/mmp2.c @@ -20,7 +20,7 @@ #include #include "addr-map.h" #include "regs-apbc.h" -#include "cputype.h" +#include #include "irqs.h" #include "mfp.h" #include "devices.h" diff --git a/arch/arm/mach-mmp/pm-mmp2.c b/arch/arm/mach-mmp/pm-mmp2.c index 2923dd5732a62..2d86381e152d6 100644 --- a/arch/arm/mach-mmp/pm-mmp2.c +++ b/arch/arm/mach-mmp/pm-mmp2.c @@ -17,7 +17,7 @@ #include #include =20 -#include "cputype.h" +#include #include "addr-map.h" #include "pm-mmp2.h" #include "regs-icu.h" diff --git a/arch/arm/mach-mmp/pm-pxa910.c b/arch/arm/mach-mmp/pm-pxa910.= c index 58535ce206dc5..69ebe18ff209f 100644 --- a/arch/arm/mach-mmp/pm-pxa910.c +++ b/arch/arm/mach-mmp/pm-pxa910.c @@ -18,7 +18,7 @@ #include #include =20 -#include "cputype.h" +#include #include "addr-map.h" #include "pm-pxa910.h" #include "regs-icu.h" diff --git a/arch/arm/mach-mmp/pxa168.c b/arch/arm/mach-mmp/pxa168.c index 6e02774889679..b642e900727a5 100644 --- a/arch/arm/mach-mmp/pxa168.c +++ b/arch/arm/mach-mmp/pxa168.c @@ -21,7 +21,7 @@ #include "addr-map.h" #include "clock.h" #include "common.h" -#include "cputype.h" +#include #include "devices.h" #include "irqs.h" #include "mfp.h" diff --git a/arch/arm/mach-mmp/pxa910.c b/arch/arm/mach-mmp/pxa910.c index cba31c758dea6..b19a069d9fabe 100644 --- a/arch/arm/mach-mmp/pxa910.c +++ b/arch/arm/mach-mmp/pxa910.c @@ -18,7 +18,7 @@ #include #include "addr-map.h" #include "regs-apbc.h" -#include "cputype.h" +#include #include "irqs.h" #include "mfp.h" #include "devices.h" diff --git a/arch/arm/mach-mmp/time.c b/arch/arm/mach-mmp/time.c index 8f4cacbf640e9..110dcb3314d13 100644 --- a/arch/arm/mach-mmp/time.c +++ b/arch/arm/mach-mmp/time.c @@ -33,7 +33,7 @@ #include "regs-timers.h" #include "regs-apbc.h" #include "irqs.h" -#include "cputype.h" +#include #include "clock.h" =20 #define TIMERS_VIRT_BASE TIMERS1_VIRT_BASE diff --git a/arch/arm/mach-mmp/cputype.h b/include/linux/soc/mmp/cputype.= h similarity index 100% rename from arch/arm/mach-mmp/cputype.h rename to include/linux/soc/mmp/cputype.h --=20 2.21.0