public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Neil Armstrong <narmstrong@baylibre.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/8] video: meson: remove power domain get
Date: Fri, 30 Aug 2019 14:09:23 +0200	[thread overview]
Message-ID: <20190830120928.23890-4-narmstrong@baylibre.com> (raw)
In-Reply-To: <20190830120928.23890-1-narmstrong@baylibre.com>

Remove getting and enabling the node power domain since it's now handled
by the dm core directly.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/video/meson/meson_vpu.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/drivers/video/meson/meson_vpu.c b/drivers/video/meson/meson_vpu.c
index 279401d597..34d35749eb 100644
--- a/drivers/video/meson/meson_vpu.c
+++ b/drivers/video/meson/meson_vpu.c
@@ -7,7 +7,6 @@
  */
 
 #include "meson_vpu.h"
-#include <power-domain.h>
 #include <efi_loader.h>
 #include <dm/device-internal.h>
 #include <dm/uclass-internal.h>
@@ -93,7 +92,6 @@ static const struct udevice_id meson_vpu_ids[] = {
 static int meson_vpu_probe(struct udevice *dev)
 {
 	struct meson_vpu_priv *priv = dev_get_priv(dev);
-	struct power_domain pd;
 	struct udevice *disp;
 	int ret;
 
@@ -115,14 +113,6 @@ static int meson_vpu_probe(struct udevice *dev)
 	if (!priv->dmc_base)
 		return -EINVAL;
 
-	ret = power_domain_get(dev, &pd);
-	if (ret)
-		return ret;
-
-	ret = power_domain_on(&pd);
-	if (ret)
-		return ret;
-
 	meson_vpu_init(dev);
 
 	/* probe the display */
-- 
2.22.0

  parent reply	other threads:[~2019-08-30 12:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-30 12:09 [U-Boot] [PATCH 0/8] arm: meson: add Video support for G12A and SEI510 board Neil Armstrong
2019-08-30 12:09 ` [U-Boot] [PATCH 1/8] power: domain: meson-gx-pwrc: add G12A support Neil Armstrong
2019-10-10 18:15   ` Anatolij Gustschin
2019-08-30 12:09 ` [U-Boot] [PATCH 2/8] clk: meson: g12a: add support for VPU/HDMI clocks Neil Armstrong
2019-10-10 18:15   ` Anatolij Gustschin
2019-08-30 12:09 ` Neil Armstrong [this message]
2019-10-10 18:15   ` [U-Boot] [PATCH 3/8] video: meson: remove power domain get Anatolij Gustschin
2019-08-30 12:09 ` [U-Boot] [PATCH 4/8] video: meson: sync with linux drm-misc tree Neil Armstrong
2019-10-09 15:12   ` Neil Armstrong
2019-10-10 20:48   ` Anatolij Gustschin
2019-08-30 12:09 ` [U-Boot] [PATCH 5/8] video: meson: add compatible for Amlogic G12A Neil Armstrong
2019-10-10 18:22   ` Anatolij Gustschin
2019-08-30 12:09 ` [U-Boot] [PATCH 6/8] arm: meson: board-g12a: Setup VPU in fdt Neil Armstrong
2019-10-10 18:23   ` Anatolij Gustschin
2019-08-30 12:09 ` [U-Boot] [PATCH 7/8] ARM: dts: meson-g12a: add U-Boot specific DT for graphics Neil Armstrong
2019-10-10 18:25   ` Anatolij Gustschin
2019-08-30 12:09 ` [U-Boot] [PATCH 8/8] configs: sei510: enable Video Display support Neil Armstrong
2019-10-10 18:28   ` Anatolij Gustschin
2019-10-11 12:57 ` [U-Boot] [PATCH 0/8] arm: meson: add Video support for G12A and SEI510 board Neil Armstrong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190830120928.23890-4-narmstrong@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox