From patchwork Wed Sep 25 19:12:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 11161285 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C70C4912 for ; Wed, 25 Sep 2019 19:12:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ADBF221D81 for ; Wed, 25 Sep 2019 19:12:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726522AbfIYTMe (ORCPT ); Wed, 25 Sep 2019 15:12:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:42848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726379AbfIYTMe (ORCPT ); Wed, 25 Sep 2019 15:12:34 -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 A317221D79; Wed, 25 Sep 2019 19:12:33 +0000 (UTC) From: Kevin Hilman To: linux-amlogic@lists.infradead.org, Neil Armstrong Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Subject: [PATCH 0/2] soc: amlogic: ee-pwrc: cleanup init state Date: Wed, 25 Sep 2019 12:12:31 -0700 Message-Id: <20190925191233.22253-1-khilman@baylibre.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Cleanup the PM domain init state and ensure that the driver state matches the HW state for all domains. Tested on meson-sm1-sei610. 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 | 58 ++++++++++++----------------- 1 file changed, 23 insertions(+), 35 deletions(-)