From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751227AbaJORXX (ORCPT ); Wed, 15 Oct 2014 13:23:23 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:35162 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750993AbaJORXV (ORCPT ); Wed, 15 Oct 2014 13:23:21 -0400 From: Kever Yang To: heiko@sntech.de Cc: dianders@chromium.org, sonnyrao@chromium.org, addy.ke@rock-chips.com, cf@rock-chips.com, xjq@rock-chips.com, hj@rock-chips.com, huangtao@rock-chips.com, linux-rockchip@lists.infradead.org, Kever Yang , Ian Campbell , Lorenzo Pieralisi , Arnd Bergmann , Rohit Vaswani , devicetree@vger.kernel.org, Catalin Marinas , linux-kernel@vger.kernel.org, Marc Carino , Kumar Gala , Russell King , Rob Herring , Pawel Moll , Mark Rutland , Olof Johansson , Maxime Ripard , linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 0/6] add basic rk3288 smp support Date: Wed, 15 Oct 2014 10:22:59 -0700 Message-Id: <1413393785-26783-1-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org rk3288 is qual-core CPU Soc, we enable the smp in this patch. In version 3 we use regmap and pmu syscon for cpu power on/off. This should be work after Pankaj Dubey's patch applied: "syscon: Decouple syscon interface from platform devices" (https://lkml.org/lkml/2014/9/30/156) Changes in v5: - use read_cpuid_part() but not read_cpuid_part_number() Changes in v4: - add rockchip,pmu property into cpus.txt - merge patch "fix up rk3288 smp cpu hotplug" into this patch - remove "rockchip,rk3288-pmu-sram" because we don't use it here - modify the author info for patches Changes in v3: - add pmu regmap patches in version 3 - use one ops and secondary_starup for all rockchip SOCs - pick back the power domain operation for cpu hotplug - remove 'enable-method' from this patch - add compitable name "rockchip,rk3288-pmu-sram" for pmu-intmem Changes in v2: - use rk3288_boot_secondary instead ofsmp_boot_secondary - discards the power domain operation - handle the per cpu starup when actived by 'sev' - adjust the alignment Kever Yang (6): ARM: rockchip: convert to regmap and use pmu syscon if available ARM: rockchip: add option to access the pmu via a phandle in smp_operations ARM: dts: rockchip: add pmu references to cpus nodes ARM: rockchip: add basic smp support for rk3288 ARM: dts: rockchip: add intmem node for rk3288 smp support ARM: dts: rockchip: add reset for CPU nodes Documentation/devicetree/bindings/arm/cpus.txt | 9 + arch/arm/boot/dts/rk3288.dtsi | 18 ++ arch/arm/mach-rockchip/headsmp.S | 5 +- arch/arm/mach-rockchip/platsmp.c | 223 ++++++++++++++++++++----- 4 files changed, 211 insertions(+), 44 deletions(-) -- 1.9.1