From patchwork Sat Nov 17 13:37:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 10687471 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8C08714BD for ; Sat, 17 Nov 2018 13:38:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C9A828517 for ; Sat, 17 Nov 2018 13:38:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A541285F2; Sat, 17 Nov 2018 13:38:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E09D92B293 for ; Sat, 17 Nov 2018 13:38:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726096AbeKQXyy (ORCPT ); Sat, 17 Nov 2018 18:54:54 -0500 Received: from muru.com ([72.249.23.125]:54268 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbeKQXyy (ORCPT ); Sat, 17 Nov 2018 18:54:54 -0500 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 7A71D809F; Sat, 17 Nov 2018 13:38:12 +0000 (UTC) From: Tony Lindgren To: Kishon Vijay Abraham I Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, Pavel Machek , Sebastian Reichel Subject: [PATCH 0/2] Improve phy-mapphone pm Date: Sat, 17 Nov 2018 05:37:53 -0800 Message-Id: <20181117133755.9129-1-tony@atomide.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, Here are two non-urgent patches to get phy-mapphone runtime PM working better. Currently it only works when toggled from the userspace via the sysfs entry for for "auto" and "on". Regards, Tony Tony Lindgren (2): phy: core: Add phy_pm_runtime_enabled phy: mapphone-mdm6600: Improve phy related runtime PM calls drivers/phy/motorola/phy-mapphone-mdm6600.c | 71 +++++++++++++++------ drivers/phy/phy-core.c | 9 +++ include/linux/phy/phy.h | 6 ++ 3 files changed, 66 insertions(+), 20 deletions(-)