From patchwork Wed May 13 17:49:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 11546945 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 64032913 for ; Wed, 13 May 2020 17:49:55 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 7264420659; Wed, 13 May 2020 17:49:54 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30C9E205ED; Wed, 13 May 2020 17:49:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SlP0TChL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30C9E205ED Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=robherring2@gmail.com Received: by mail-ot1-f68.google.com with SMTP id t3so106105otp.3; Wed, 13 May 2020 10:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=6SJk5cSDZ3gmDlinxJJEPvGWzl7E54YlRe5edO2o3KQ=; b=SlP0TChLWScf4ZLqjKfS6u/iPkrjPmw4ki2TAkvdGl7JCpdkyKEo3KlH7Jb8FfFVrp LLqWHBjzbcHDYmPjlJ001rBb900gXfZixJc5IkX+wvh9E7YkAZGsyvxyjtQDFlZQmXZ/ oclBEhs/7rDkWYeyU0pVBH1oki+wArHTxEjHxdkiAhxIgLBPQ8fasPaW317EQOYZXc7i wouUmTGeLhdbajWmjSxc1JhUVA5cwN8aLjqMEO4MS3xOCO5+/6ztoyKGoJO1LKBlgPjB ZWfW/R8oW+X0CmuVtGJosZ144LsYeigYp4+/61HBNlucnjGAe55eKbNOfb0k3gVjmCOa ZN+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=6SJk5cSDZ3gmDlinxJJEPvGWzl7E54YlRe5edO2o3KQ=; b=PQaHdJZhuFFZxZ6e8tZrV1vhkh8bK2DQd4f51YzwPcFVlPI6eyQmDyIiUE+1WyUP6m n+DHDibeBTnJAB+hNVhYgWDZgck3toU+qzK5XcAZwb/aBBdOdYfieVdpdbv4XxIPjjRe 2eLV23+G3X4fuKa8soVy7rnpctZzgdgHGKXM/gSqXk239sx1FusKgbXG84PlnCLP+Ra5 6FcTIiGNfAHZQe748+GPeOteTclQiVimoiX4d+26ur/oWTHEYmWxu/DO+y2VzxM6ujCD 7AasZjLFqrXGrPTc2XeXb6BPdTSWSaGlBIHMRf1xsGcDTb6dOxgiIDZTORqNriCVRCCl NY6Q== X-Gm-Message-State: AOAM533GA3/tAZCWzk0sAo5tqhEdIaLAAGoJvx6CShPPB7UFnBH+A+7S h4pEws43KtmgbBzBbuB0mX0dCgjayTFEJ6XRTIACtdQ= X-Google-Smtp-Source: ABdhPJyk9lXTLPWfTrSyRjYrSIiC8YGsbh099C+toj8HH8Po4lSNLaPVY4hUFvVmNKJUU0c6DqqkkEsFdtaUWLJ7Jgs= X-Received: by 2002:a9d:63da:: with SMTP id e26mr430359otl.107.1589392192172; Wed, 13 May 2020 10:49:52 -0700 (PDT) MIME-Version: 1.0 From: Rob Herring Date: Wed, 13 May 2020 12:49:41 -0500 Message-ID: Subject: [GIT PULL v2] VExpress modularization List-Id: To: SoC Team Cc: "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Sudeep Holla , Linus Walleij , Stephen Boyd , Lee Jones , Greg Kroah-Hartman Arnd, Olof, Sudeep suggested I just send this series direct to you, so please pull. This updated PR fixes CONFIG_CLK_VEXPRESS_OSC being tristate. Rob The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936: Linux 5.7-rc2 (2020-04-19 14:35:30 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git tags/vexpress-modules-for-soc-v2 for you to fetch changes up to 848685c25da99d871bbd87369f3c3d6eead661ac: ARM: vexpress: Don't select VEXPRESS_CONFIG (2020-05-13 12:42:47 -0500) ---------------------------------------------------------------- VExpress modularization This series enables building various Versatile Express platform drivers as modules. The primary target is the Fast Model FVP which is supported in Android. As Android is moving towards their GKI, or generic kernel, the hardware support has to be in modules. Currently ARCH_VEXPRESS enables several built-in only drivers. Some of these are needed, but some are only needed for older 32-bit VExpress platforms and can just be disabled. ---------------------------------------------------------------- Rob Herring (16): ARM: vexpress: Move vexpress_flags_set() into arch code arm64: vexpress: Don't select CONFIG_POWER_RESET_VEXPRESS amba: Retry adding deferred devices at late_initcall clk: versatile: Rework kconfig structure clk: versatile: Only enable SP810 on 32-bit by default clk: vexpress-osc: Use the devres clock API variants clk: vexpress-osc: Support building as a module mfd: vexpress-sysreg: Drop selecting CONFIG_CLKSRC_MMIO mfd: vexpress-sysreg: Drop unused syscon child devices mfd: vexpress-sysreg: Use devres API variants mfd: vexpress-sysreg: Support building as a module bus: vexpress-config: Merge vexpress-syscfg into vexpress-config bus: vexpress-config: simplify config bus probing vexpress: Move setting master site to vexpress-config bus bus: vexpress-config: Support building as module ARM: vexpress: Don't select VEXPRESS_CONFIG arch/arm/mach-integrator/Kconfig | 1 - arch/arm/mach-realview/Kconfig | 1 - arch/arm/mach-versatile/Kconfig | 1 - arch/arm/mach-vexpress/Kconfig | 4 - arch/arm/mach-vexpress/core.h | 1 + arch/arm/mach-vexpress/dcscb.c | 1 + arch/arm/mach-vexpress/v2m.c | 23 ++ arch/arm64/Kconfig.platforms | 3 - drivers/amba/bus.c | 14 +- drivers/bus/Kconfig | 2 +- drivers/bus/vexpress-config.c | 354 +++++++++++++++++++++++++------ drivers/clk/Makefile | 2 +- drivers/clk/versatile/Kconfig | 26 +-- drivers/clk/versatile/clk-vexpress-osc.c | 20 +- drivers/mfd/Kconfig | 5 +- drivers/mfd/vexpress-sysreg.c | 99 +-------- drivers/misc/Kconfig | 9 - drivers/misc/Makefile | 1 - drivers/misc/vexpress-syscfg.c | 280 ------------------------ include/linux/vexpress.h | 30 --- 20 files changed, 355 insertions(+), 522 deletions(-) delete mode 100644 drivers/misc/vexpress-syscfg.c Acked-by: Linus Walleij