Message ID | 20190925213528.21515-1-khilman@kernel.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1192889ill; Wed, 25 Sep 2019 14:35:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFjR65CUlD5tQ57E2Ok9vXeeaQM9vy/MWGGZ7HU5/GVjeRZkomC5x9/WizofdzNI+TY0dc X-Received: by 2002:aa7:c759:: with SMTP id c25mr91485eds.15.1569447332796; Wed, 25 Sep 2019 14:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569447332; cv=none; d=google.com; s=arc-20160816; b=mhTaFR7SvA9Wyoqq7/Yf6Aen9cknzOGgqzcGunI8e9kYlWzxIRiwa0B8tF3iPQN6fl UWAPoNWfiZ6WxcZtCSf+CNrLDDRjs0sPQwRuysHHTepij1+ZwivzWoYHgkiNPMJklfjH ngztuNPDkFybvPRkR1qa/5GT5FRpJ+x5long/PoLzjRclhwZJwByhX9DS924Rhb82z/3 MAoNoIUVOLA7gKWOVnNCHYBewIcqm+0oXTjX4ax0COd7zqTr+fD8HA6gz0LET8lVar7e t/xM7+oUTI0QCCUlEBQVWtWMdJ2SRzOfI1YUNj6Sf+4/7LVX4IKaN8A3XnYKS72C6n2e qJYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Wh1ENjB23MaLHGlco5069grGHXBD41Q/B188iD67PGo=; b=BUUfuKUMAzMx1rDOwv/yjKFzvlQZKqCDT47txkVhIH1fAMghZtyWUPsTV42iMGd026 R4WrQAkMQv6hq7rqIu62rmJfvJTlQxArvD9uuuXq/fAoKNaO6M8FzQqSU24HMkfHZSMn tBqZddcf1WfSPN81v2SlqQzKme5jmDtNsV04B7gsHHVhqh0pdPVcX/5QZFoQ1Kpc9xye r0U2u8KtfJ+VGWi0z7z9Gh9zsN1SQ/EHcHljTYraZJCGrL9QZZ6z3GZ+48i355dbkbtq sXAHy0vEZEGLRKaCCWJPd1IVdsdEFrirF+MfUXX12pLW2U2OceJJ2ks8V5o11Q9iZv7e 2sVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P5aGc5i7; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: <linux-pm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si46361eju.265.2019.09.25.14.35.32; Wed, 25 Sep 2019 14:35:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P5aGc5i7; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727744AbfIYVf3 (ORCPT <rfc822;baolin.wang@linaro.org> + 11 others); Wed, 25 Sep 2019 17:35:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:46924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727683AbfIYVf3 (ORCPT <rfc822;linux-pm@vger.kernel.org>); Wed, 25 Sep 2019 17:35:29 -0400 Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net [71.197.186.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B52A421D80; Wed, 25 Sep 2019 21:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569447328; bh=6giJGc/llVkN+NRE9PVhNvjJj8GYEZQg8PvTR+MJpMQ=; h=From:To:Cc:Subject:Date:From; b=P5aGc5i7ZejW7VXXRnbSIVEMlXEzLY3uMIw7UAhbX99CaCEH9JjV5UA9+o3dT+9aU ph3PiNg9F1LvXTNmOLk0o2h8w1FlT5qept7AtZeI9SGfYVzPlNqAUAJp7/GVIgg0MB TcyVM7BN9fNolB9e7C6nZ9XwywuDyfhjzVIrzTUI= From: Kevin Hilman <khilman@kernel.org> To: linux-amlogic@lists.infradead.org, Neil Armstrong <narmstrong@baylibre.com> Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Subject: [PATCH v2 0/2] soc: amlogic: ee-pwrc: cleanup init state Date: Wed, 25 Sep 2019 14:35:26 -0700 Message-Id: <20190925213528.21515-1-khilman@kernel.org> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org |
Series |
soc: amlogic: ee-pwrc: cleanup init state
|
expand
|
From: Kevin Hilman <khilman@baylibre.com> Cleanup the PM domain init state and ensure that the driver state matches the HW state for all domains. Tested on meson-g12a-sei510 and meson-sm1-sei610 and verified that fb console still working (VPU power domain.) Changes since v1: - always call 'on' Kevin Hilman (2): soc: amlogic: ee-pwrc: rename get_power soc: amlogic: ee-pwrc: ensure driver state maches HW state drivers/soc/amlogic/meson-ee-pwrc.c | 57 +++++++++++------------------ 1 file changed, 22 insertions(+), 35 deletions(-) -- 2.22.0