From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3724DC35247 for ; Thu, 6 Feb 2020 20:15:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0CFD622464 for ; Thu, 6 Feb 2020 20:15:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="BsDRVHxz" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727791AbgBFUP2 (ORCPT ); Thu, 6 Feb 2020 15:15:28 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:55406 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727474AbgBFUP2 (ORCPT ); Thu, 6 Feb 2020 15:15:28 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581020127; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=8c1Fe3Wq1VVH1FVj9Gyo+QDlSWgXlRH5gjOqy4mUivE=; b=BsDRVHxznyJJR7waFYsfj7ZgUDT68abW4fsK3lGuauwPuRlksWgTlvr3Xk2cT5d3IDLxaK2l UCKsjr8Sw8GDjWVzCPMjPdWenqe96bDFEGyNZeb7Z1FOFd1neMqZtrtKiQSR9ga/tGjIFc8c imeK10T6iKEjtEPOxereD5l181I= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e3c73d7.7f86e76445a8-smtp-out-n02; Thu, 06 Feb 2020 20:15:19 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D0CDAC43383; Thu, 6 Feb 2020 20:15:19 +0000 (UTC) Received: from [10.226.58.28] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo) by smtp.codeaurora.org (Postfix) with ESMTPSA id A90B1C433CB; Thu, 6 Feb 2020 20:15:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A90B1C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org Subject: Re: [PATCH v2 07/16] bus: mhi: core: Add support for basic PM operations To: Manivannan Sadhasivam , gregkh@linuxfoundation.org, arnd@arndb.de Cc: smohanad@codeaurora.org, kvalo@codeaurora.org, bjorn.andersson@linaro.org, hemantk@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200131135009.31477-1-manivannan.sadhasivam@linaro.org> <20200131135009.31477-8-manivannan.sadhasivam@linaro.org> From: Jeffrey Hugo Message-ID: <5647ea27-2bb0-8904-6d4b-fb0d62294f4b@codeaurora.org> Date: Thu, 6 Feb 2020 13:15:17 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20200131135009.31477-8-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 1/31/2020 6:50 AM, Manivannan Sadhasivam wrote: > This commit adds support for basic MHI PM operations such as > mhi_async_power_up, mhi_sync_power_up, and mhi_power_down. These > routines places the MHI bus into respective power domain states > and calls the state_transition APIs when necessary. The MHI > controller driver is expected to call these PM routines for > MHI powerup and powerdown. > > This is based on the patch submitted by Sujeev Dias: > https://lkml.org/lkml/2018/7/9/989 > > Signed-off-by: Sujeev Dias > Signed-off-by: Siddartha Mohanadoss > [mani: splitted the pm patch and cleaned up for upstream] > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Jeffrey Hugo Tested-by: Jeffrey Hugo -- Jeffrey Hugo Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.