From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751652AbcFXJlF (ORCPT ); Fri, 24 Jun 2016 05:41:05 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:62296 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbcFXJj5 (ORCPT ); Fri, 24 Jun 2016 05:39:57 -0400 From: Arnd Bergmann To: Linus Walleij Cc: Lee Jones , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH 0/7] ARM: ux500: cleanup of CPU id handling Date: Fri, 24 Jun 2016 11:41:25 +0200 Message-Id: <20160624094132.1852086-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:i+JQom4741lZmJOoKyQXcbaOpE/Zwq0DiCNHxuXGHLc2uppLlj1 KplBhAmOT7SChi8bs/IImMO/tdeiAYCiFaDPZIaJ5+ZSA/YQgXic8GRKu2Teg2k1Y092SL7 tJPqn06g8ckCRM9ukgmyiafBDkNhVo2ORSt+8p42BiZPmISYZjrZgZOHswjbPFtyNjO6y6m 3gHyRHdDN9arvoU3pF6yw== X-UI-Out-Filterresults: notjunk:1;V01:K0:NnwlQ58S8vQ=:1eWq+JHloSLppKc/PUy5fS cIPi+JlqcCOKSSspOs0XPT3BDyjzkbgoFWlxMmUeTBP9ZX14ArPfzPy8lq8uCx1V5FG1SFQXa uh8SqC/mKbZA4xMhwbrI89XXSzRWWdTo7R1SSGO8U6x36Ziw0hofRmwdc4LN2S39sJaPe/3n0 2cc4vQOFutjv60HDWDxbXTjfBcoJWMZC2lPcdX/U/juKQ7YSxqT5MhU8c1bVAj7BMW2I8B96v SlF7EdxvLZeWo3Ayyq+D0YHF/NRe7uav1apAdVHdrJEZ9W63KDQv4jOipdZpVCh5RbtjiFeYw j9h+jO0SThY2EOQyAi8zQOI+rJLorwp0g6U3USmRuBP2FDrPm8BBvooSLvxHrw7VIwt3ei9Lh z2vAdtBLen894taBcFkQYzdbfP0apVDyIz1SC5r7946WfrM3EUf+k/sCRz5NmhRxUp0b7KLZp z1+OdJDWJ/A5EWWMGCV4cnDhVRGm8raSYnRR6mwZcGOwH76sdWiAD3o10cQ5m2tT8rD+rA9TV a7Kl6knJCZC9Vg3rog+UuuHO1+oxZudcMNRt3u1/HzKMe9LhXO1MHncGzzDc6ZTIT0KIuNW1+ ejweazpWa/d0cofvogOlwjY/yMTpuuc+8ls5l3QFsQ/EHZwkQ9If5/+0dDB90MfurcQA06B9Q IbZ+5BZnYAykuFZdOr59lkgXN/nzSYsNCZhaFyJKz/F5fAxFP4dSfhbcdw3ZWZ+OcKSQ= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I stumbled over the cpu_is_u*() function in ux500 and decided to see if I could simplify that code a bit. I ended up with a significant reduction of code in arch/arm/mach-ux500/. The new version is compile-tested with lots of randconfig builds, but I did not run it on actual hardware, so it needs to be tested by someone who has access to at least one of the machines. I had an earlier series to cleanup the ux500 platform data, and this is based on top of those changes but should also be easy to rebase as a standalone series. It's probably best to merge both patch sets as a single branch for v4.8 through the arm-soc tree, provided the testing is successful. Patch 6/7 is the only one that should be user-visible, so please review carefully if the change is desired or not. Arnd Arnd Bergmann (7): ARM: ux500: move l2x0 init to .init_irq ARM: ux500: use CLK_OF_DECLARE() ARM: ux500: remove cpu_is_u* helpers ARM: ux500: consolidate soc_device code in id.c ARM: ux500: call ux500_setup_id later ARM: ux500: move soc_id driver to drivers/soc ARM: ux500: consolidate base platform files MAINTAINERS | 1 - arch/arm/mach-ux500/Makefile | 3 +- arch/arm/mach-ux500/cache-l2x0.c | 67 ---------- arch/arm/mach-ux500/cpu-db8500.c | 124 ++++++++++++------ arch/arm/mach-ux500/cpu.c | 148 --------------------- arch/arm/mach-ux500/id.c | 116 ----------------- arch/arm/mach-ux500/id.h | 144 --------------------- arch/arm/mach-ux500/platsmp.c | 1 - arch/arm/mach-ux500/setup.h | 11 -- drivers/clk/ux500/u8500_of_clk.c | 16 +-- drivers/clk/ux500/u8540_clk.c | 16 +-- drivers/clk/ux500/u9540_clk.c | 4 +- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/ux500/Kconfig | 7 + drivers/soc/ux500/ux500-soc-id.c | 222 ++++++++++++++++++++++++++++++++ include/linux/platform_data/clk-ux500.h | 17 --- 17 files changed, 326 insertions(+), 573 deletions(-) delete mode 100644 arch/arm/mach-ux500/cache-l2x0.c delete mode 100644 arch/arm/mach-ux500/cpu.c delete mode 100644 arch/arm/mach-ux500/id.c delete mode 100644 arch/arm/mach-ux500/id.h create mode 100644 drivers/soc/ux500/Kconfig create mode 100644 drivers/soc/ux500/ux500-soc-id.c delete mode 100644 include/linux/platform_data/clk-ux500.h -- 2.9.0