Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753310AbdHUMVS (ORCPT ); Mon, 21 Aug 2017 08:21:18 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:21279 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752482AbdHUMVQ (ORCPT ); Mon, 21 Aug 2017 08:21:16 -0400 Subject: Re: [PATCH v3] serial: 8250_of: Add basic PM runtime support To: Franklin S Cooper Jr , , , , , , , , , , References: <20170816205536.19634-1-fcooper@ti.com> From: Sekhar Nori CC: Murali Karicheri Message-ID: <1e3ad33d-882e-d4a0-6295-ac06397b11d2@ti.com> Date: Mon, 21 Aug 2017 17:50:58 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170816205536.19634-1-fcooper@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1075 Lines: 24 On Thursday 17 August 2017 02:25 AM, Franklin S Cooper Jr wrote: > 66AK2G UART instances are not apart of the ALWAYS_ON power domain. > Therefore, pm_runtime calls must be made to properly insure the appropriate > power domains needed by UART are on. Keep legacy clk api calls since other > users of this driver may not support PM runtime. Do we really have users like that? And even if there are, cant they use PM clock handling support available in drivers/base/power/clock_ops.c ? The clock enable support itself was added pretty "recently" - about 5 years back with 0bbeb3c3e84b ("of serial port driver - add clk_get_rate() support"). So I doubt any really legacy platforms relied on clock support being there. It was added by Murali, I assume for Keystone devices. Keystone devices can work with runtime PM using the PM clock support pointed to above. Perhaps linux-arm-kernel list should be copied on this submission too, since most users of this driver are likely to be there on that list. > > Signed-off-by: Franklin S Cooper Jr Thanks, Sekhar