Received: by 10.223.185.116 with SMTP id b49csp6220322wrg; Wed, 28 Feb 2018 06:02:02 -0800 (PST) X-Google-Smtp-Source: AH8x225JRn4TJKRSTvGT8P/tM+UfXKeDmm9TlSqjRxIUIbguAy2mbR8cdroJqRbelaYMhrIljYlH X-Received: by 10.98.214.10 with SMTP id r10mr17864909pfg.8.1519826522370; Wed, 28 Feb 2018 06:02:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519826522; cv=none; d=google.com; s=arc-20160816; b=qsMgM4bVoih3jobIupNQInVd56GDNx2vq08sWVAWZd1rxDMWaEvK/GcW5uvXmfwShX lvyfB5fXBRtrbr3Nm2X/0a43ewZeisupZ9osQZb1kyL7HJUsUEurU3Rf6ULsQaWGC+to gl63wqAIzWruoTfjYq1AgfkCIHN4xMQy8pfcIRvNZ/bxmI4E+37DgDZy8jiYSbyIgxnP cPPpfkZt4jTXXApc3i/wMJLwOAESKL1ydb4CScD0iOTEniu2GYNe6KqefokWEvHfOFdO 8Cq5yKIuMQfPUeN8dmweeTf6ar168tb8gsu3RJUtLBkbyjGvbBITSiwYQyH7GhTn493r fkLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=MJJ1FV7VwEjbRztFvDn3S01S6Onrznt2rD8YezDWkOE=; b=xhsiTM596uEFxrxgGYR9JUBEZ2eYugWAjelvjzbtS+34iZZ/uLCVdKzYkSHIJw4/KB Wvw9YqfWfB5OtDyl8pWzyQnPF0PszU1jjzdkHt9ukeAFM8V46NJuCY693l66DgqvxXII Yx9RVmEPCgqHeENIL17/tspC11dqOcOkOTWK39a1otwm7F1pnb6pfdG1WYtZl2NinDOM fzWr48aANA0NY2S1bqbuYrxshr5unpDHC5kci/lNY0br2tQ+HIK3vGzd4/hNveOwLMbI v3BdTBpXnQF4ULq+xiaepA71n/HDL0TEgDsE9jBLO1tSOWgyZ8hpcGXcBliNi1xRnyj3 Zwww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=B0CDMalu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2-v6si1363462plr.50.2018.02.28.06.01.42; Wed, 28 Feb 2018 06:02:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=B0CDMalu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752670AbeB1NLQ (ORCPT + 99 others); Wed, 28 Feb 2018 08:11:16 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:39405 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752229AbeB1NLO (ORCPT ); Wed, 28 Feb 2018 08:11:14 -0500 Received: by mail-qk0-f193.google.com with SMTP id z197so2838549qkb.6 for ; Wed, 28 Feb 2018 05:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=MJJ1FV7VwEjbRztFvDn3S01S6Onrznt2rD8YezDWkOE=; b=B0CDMaluqs/RoeY1tlFLl43iLcgujVaYEt7donql/rPtifEEwiaq9rBLLGTNXMq6BN +gMEnTthLL8S+P+GXdnuXZ4p/BpSwWcpt2KAJlbqp9uJvZsKXy3NNRXB5Kh8OONCv0k+ FmRIIpv0I4DJmo+IJrtOyVA/LWlH31Nx+fTWKvSwvbxGNZn4UIN5KsP0qHebxCdH8o7J Ewu46/xLjgV8FPuGPVItMmNikjFvt5sX2mkM4unlm7uJG/IduVmKmxw/EImg84/fAby0 pZu85wBwlZiX5fBomOgtoQQqcfoMq8Glf0aHa+uEDL4vykz5s0Vre4vG1afP62FjgC10 8Rhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=MJJ1FV7VwEjbRztFvDn3S01S6Onrznt2rD8YezDWkOE=; b=HBlbFNmqQ4HN7e+oYLUrdsO06fWlBF7TJTUGcKmMXT0SpPLiTz4xDNcywxKEWvwoPG TZY2HH/ZDrkq9f6edFXQHfpMLZzX3J8E5nmnPNYiK1hgF6RrBsZkFIdFt9bh2+gp4MEZ tZpfrYtcaCx58yIkBG9Fo9imodKMRoBRfs5LxNA4w4oyyKtP5wTUkVNXcCYqv2zJafnU kSHZogaYI+9JcSjKrZ/QfknpzNsViLqHf5o6r0Rxj+7bAkauTKXQcwrbjjcvmWt4rfrx 9d6JiCEC0eYTwdEzbpEcUl7FDy+x9Y2PQT5zhw1dHwkeYuLa+yBVl8e+ecB+3SvONo70 hQkw== X-Gm-Message-State: APf1xPD3Khk3LlhPK3Y21MzpbL47I011U4anSA+c2g2wy3hKgOeIPPzj f1fhCyKwhrxNoS4uXxnwtk15S2rtxTzKUWyl1bw= X-Received: by 10.55.60.2 with SMTP id j2mr28768757qka.89.1519823474078; Wed, 28 Feb 2018 05:11:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.47.219 with HTTP; Wed, 28 Feb 2018 05:11:13 -0800 (PST) In-Reply-To: References: <20180228111113.13639-1-jeffy.chen@rock-chips.com> From: Geert Uytterhoeven Date: Wed, 28 Feb 2018 14:11:13 +0100 X-Google-Sender-Auth: dWLebLQHwGvnTWSgr6PVeunEj2M Message-ID: Subject: Re: [PATCH] soc: rockchip: power-domain: remove PM clocks To: Tomasz Figa Cc: Jeffy Chen , Linux Kernel Mailing List , Dmitry Torokhov , Robin Murphy , Heiko Stuebner , Caesar Wang , Elaine Zhang , "open list:ARM/Rockchip SoC..." , Geert Uytterhoeven , Linux ARM , Ulf Hansson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tomasz, On Wed, Feb 28, 2018 at 1:49 PM, Tomasz Figa wrote: > On Wed, Feb 28, 2018 at 9:32 PM, Geert Uytterhoeven > wrote: >> On Wed, Feb 28, 2018 at 1:29 PM, Tomasz Figa wrote: >>> Also, how about systems where runtime PM is disabled? I think that's >>> one of the reasons we control the clocks explicitly in the drivers >>> anyway. >> >> On many platforms, Runtime PM is always enabled. > > Can we make such assumption? If so, could we just make an explicit > "select PM_RUNTIME" in Kconfig of the SoC? Note that the PM_RUNTIME symbol was removed in commit 464ed18ebdb6236f ("PM: Eliminate CONFIG_PM_RUNTIME"), in favor of plain PM. The following already select PM unconditionally: - ARCH_OMAP2PLUS_TYPICAL - ARCH_RENESAS (except EMEV2) - ARCH_TEGRA - ARCH_VEXPRESS Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds