From patchwork Thu Jul 26 13:54:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 949684 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="kz63xgpM"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41btsH6qwlz9ryl for ; Thu, 26 Jul 2018 23:55:31 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 93C07C21E15; Thu, 26 Jul 2018 13:54:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 6CD87C21D74; Thu, 26 Jul 2018 13:54:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CB8B3C21BE5; Thu, 26 Jul 2018 13:54:09 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by lists.denx.de (Postfix) with ESMTPS id AA1D9C21C2C for ; Thu, 26 Jul 2018 13:54:08 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id y2-v6so2078414wma.1 for ; Thu, 26 Jul 2018 06:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=auWTI5ZjXpy3fp2dgnhrJ531B2UjswdAeRRayzM1qtE=; b=kz63xgpMeNdDLvG09NzGI91U/9Xrga8zQBH86fDMM7QXlFihxLBsMyLLfECV+Ez0KE qu/0h7CPr0Qp9lmAmyxqCdnfl5AJVcUYR0nNJfwAuVL0joi1cgrTAs7uDe/1AVgTy7Lu nuEzwYePKF2qWYiNreZYt+syVjyzqLMXYnlr9n+Uwe60hSO4AK4QyZZ2yG6WsM82a40e ENYRTjBqjaaFZ5mxrYfDZWSVTpCji5M1kBaWHwer4zr+2LaskRUCXLUfgd91vhWVLDNP h7stcxMf9fxilVSITaoOIPMFfratgUccQzuHRe/TArCRV5/Xm1UQ+ffqPs7sRevpdfLN 0rPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=auWTI5ZjXpy3fp2dgnhrJ531B2UjswdAeRRayzM1qtE=; b=j5agd2Q4xNevSxwsrKEGS2MjN/47VZKamr0JKEj9YWoa26v00XM6KqXPe6YFfAM7sL nqaQ05hHO/boiN5C2mtpcLMrhiXrlDvpBISFGH7HwLlsW8SjWYYeFrnqTJVLC0Z4jjhL G2fdvMnNZI98WNBjRP7f5WmxEUQi5VEMeqF8VcusSLGtj8++XinjySG3UN2JkgFSYau/ w8MxqMU6e8M7RwmEYfKgkMVcPp2eIFb27rUNVb58WLteW2HYP9nWsMh7oVn990qpO1/w IkAF3P/VVJ7HkNONHAy5uMjLpJNyL4OeQ4KbFaVeDjl03FvTu0pYiCSyz3javdO97wLk N7QA== X-Gm-Message-State: AOUpUlGykLqFSifMUB01XvG5sQvNdg1sG9ODmbYIx5ivyKpUl7+KNGMm EUbjDKpJIq1qwrzGQoFZalysKg== X-Google-Smtp-Source: AAOMgpdvPqkZzrr5MHSWH340QdMn8LdN7q3caX9Oashm2mKOxNeemm7hYxSuS/t9T9W9R0L0iV+7Vw== X-Received: by 2002:a1c:8414:: with SMTP id g20-v6mr1815306wmd.90.1532613246596; Thu, 26 Jul 2018 06:54:06 -0700 (PDT) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id z14-v6sm2237131wrr.71.2018.07.26.06.54.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Jul 2018 06:54:05 -0700 (PDT) From: Neil Armstrong To: jh80.chung@samsung.com, sjg@chromium.org Date: Thu, 26 Jul 2018 15:54:02 +0200 Message-Id: <1532613244-4585-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 Cc: u-boot@lists.denx.de, linux-amlogic@lists.infradead.org Subject: [U-Boot] [PATCH u-boot 0/2] Add the VPU Power Domain support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The Amlogic Meson SoCs embeds a specific Power Domain dedicated to the Video Processing Unit. The first patch implements support for this power domain in preparation of the future support for the Video display support in U-Boot. The second patch adds changes in the clock driver to handle the setup of the VPU and VAPB clocks configured from DT using assigned-clocks entries. Neil Armstrong (2): power: domain: Add the VPU Power Domain driver clk: clk_meson: Add mux and div support for reparent and rate setting drivers/clk/clk_meson.c | 533 ++++++++++++++++++++++++++++++- drivers/power/domain/Kconfig | 7 + drivers/power/domain/Makefile | 1 + drivers/power/domain/meson-gx-pwrc-vpu.c | 198 ++++++++++++ 4 files changed, 734 insertions(+), 5 deletions(-) create mode 100644 drivers/power/domain/meson-gx-pwrc-vpu.c