From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933992AbdJQHiN (ORCPT ); Tue, 17 Oct 2017 03:38:13 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:49039 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933950AbdJQHiF (ORCPT ); Tue, 17 Oct 2017 03:38:05 -0400 X-Google-Smtp-Source: ABhQp+SM2t0aHks8BAJnDp15xHmiutgse2XTb9pEKV3URId0RSsK2r8oDmuVPCBkUjxkbpHrB/7qHA== From: Neil Armstrong To: khilman@baylibre.com, carlo@caione.org Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] soc: amlogic: add support for Meson GX VPU Domains Date: Tue, 17 Oct 2017 09:38:00 +0200 Message-Id: <1508225882-8795-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On the Amlogic Gx SoCs (GXBB, GXL & GXM), the VPU power domain is initialized by the vendor U-Boot code, but running mainline U-boot has been possible on these SoCs. But lacking such init made the system lock at kernel boot. This patchset adds the Video Processing Unit power domain driver to enable the same power-on and power-down sequences and was designed to allow booting with the power domain already initialized or not. This driver has been tested on : - Odroid-C2 (GXBB) with Vendor and Mainline U-Boot - P212 (GXL) with Vendor and Mainline U-Boot - Khadas Vim (GXL) with Vendor U-Boot - Khadas Vim2 with (GXM) Vendor U-Boot Neil Armstrong (2): soc: amlogic: add Meson GX VPU Domains driver dt-bindings: power: add amlogic meeson power domain bindings .../bindings/power/amlogic,meson-gx-pwrc.txt | 65 ++++++ drivers/soc/amlogic/Kconfig | 10 + drivers/soc/amlogic/Makefile | 1 + drivers/soc/amlogic/meson-gx-pwrc-vpu.c | 234 +++++++++++++++++++++ 4 files changed, 310 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/amlogic,meson-gx-pwrc.txt create mode 100644 drivers/soc/amlogic/meson-gx-pwrc-vpu.c -- 2.7.4