Received: by 10.223.185.116 with SMTP id b49csp6229876wrg; Wed, 28 Feb 2018 06:09:27 -0800 (PST) X-Google-Smtp-Source: AH8x224CGfSlF9qaU1dcWNfzoXqcAP8BwlcStUxvGfWQ0QI7G4V9NWZrSE1dLXpLg+pWzmX5krNk X-Received: by 2002:a17:902:a60d:: with SMTP id u13-v6mr17938028plq.165.1519826967044; Wed, 28 Feb 2018 06:09:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519826967; cv=none; d=google.com; s=arc-20160816; b=PhXeaOx6Kwvh1nM+rcWXRmBTYNDblIQ2LEK3MpP6Ko8e5MsOBjbZq5vlpcB9I70Cpl 7OpVCHzANAyzj1dONKJL/fQNiMNZPNek3xWbxsPdDX8bDMa+h1OyFFaCNFAAQyZj1kqF AJxm8Ow5a7wfb95Nv35D4MoKIQPbHXLIWRvf4Y8wdR/lq6Wv3OljTVOs5lp8WLKIpKgV kcO/Y673nst7wYyZIJlX73jrgqM3fBnkVuGTqEcUvGxJWsEudtCHbA3ZFFbcJG3gFZaY THIyC8jdH92GMpz/NZa0Q59l59/kZ1ZVlAWnPlr6m5aGfsNewoaLY6R2MlZTHlswm/id JclQ== 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=LlWUnMFQX4QHPPY1jVAZKB5qBc2jD3fdaQoZWPewD4o=; b=ML2SYQuy/aUsVS6LW96NVhu5dioYR6EDTR0QFoo0uA+0BWjD2mzgak5P/uFq1Pu6Xg mRB84HxJPfxx2bEDq3S1x2qNg19CDDmTT5ZuJ6FgpN5ONW0ggGKezgOmEUDvfzCbN8C9 u39rgKhv28KFKpjN4wnSlH6awBFGX7R6g6AZYbsMqxWHRWq3Pp2ju7eb1v4eehTmJ8iw xuuIaSzjFI5ZtSgBtQOlDTgfwqDxbKyY4YVP+Y/eOFp3wI8ReR9LsBJZ53Iq7Ipdyz1m FyuUulrKRdNMW03EB/KerulquIErbtMrZv/cDutHKrQ3DHqLPaQgKdaDV75s3FJt5B9P 72OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bEU8H/7A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si1318957plv.604.2018.02.28.06.09.09; Wed, 28 Feb 2018 06:09:26 -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=pass header.i=@chromium.org header.s=google header.b=bEU8H/7A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752608AbeB1OIJ (ORCPT + 99 others); Wed, 28 Feb 2018 09:08:09 -0500 Received: from mail-vk0-f43.google.com ([209.85.213.43]:41425 "EHLO mail-vk0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752241AbeB1OII (ORCPT ); Wed, 28 Feb 2018 09:08:08 -0500 Received: by mail-vk0-f43.google.com with SMTP id t201so1508486vke.8 for ; Wed, 28 Feb 2018 06:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LlWUnMFQX4QHPPY1jVAZKB5qBc2jD3fdaQoZWPewD4o=; b=bEU8H/7A09NFpUFoX0mmCoKiEWHjAEthrBfMEiTezNM6hfgh5iy57mQJE68c3ZRFWy XTcyhIk6REwj43mx7Z1aH6wnduNoKU4EOzgiRA4TXg5JgFLOqJwzYQbVf+pzQvlhJ59F bIdRjk3KP1yd61ISFURGvTbN7PMYUqhiPye/w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LlWUnMFQX4QHPPY1jVAZKB5qBc2jD3fdaQoZWPewD4o=; b=XW9FhP5QMcOMrMk3po0qLc+XVyet/jPv4aAnKm1znrFOJ0axFJwhMngdRZ8WczPDuQ UHILEnelh6YPu6LwbqICiwnM8bnZRmBxdRb0DP1hV8FkjAhshqFX5tNqBC/ce7EsCkM2 Rh2uiWNPyY2toa/a+ZIHoy5vsuG4u6XIb5lljkEfUOunEP76iKv7KdSVNNBWYKRA9iNE awYvZSOYbaUuV/MB42l6VDB2/Bwm7ZwZ/Qy5RtuoFqHfB0hJK4QiGJvtqiy9ZtxBRYok sK/oqjfD8WfgnaJV8BSa9J1FgHjoUoT3gENY4mpo7tXkYMMYR+FqXNG1OmFyor1QXln7 cZhg== X-Gm-Message-State: APf1xPC1rFVpseFPaIHB2HIxsTChkarZsFnVDp+4fUTIy1AmHzq+TY6e 0Z/WIlEwtwNvsjo3n+Pd3+31+blrb+Y= X-Received: by 10.31.252.2 with SMTP id a2mr13027499vki.22.1519826887336; Wed, 28 Feb 2018 06:08:07 -0800 (PST) Received: from mail-vk0-f47.google.com (mail-vk0-f47.google.com. [209.85.213.47]) by smtp.gmail.com with ESMTPSA id o8sm388662vke.0.2018.02.28.06.08.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 06:08:05 -0800 (PST) Received: by mail-vk0-f47.google.com with SMTP id u200so1516870vke.4 for ; Wed, 28 Feb 2018 06:08:05 -0800 (PST) X-Received: by 10.31.189.12 with SMTP id n12mr13030508vkf.3.1519826885112; Wed, 28 Feb 2018 06:08:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.0.99 with HTTP; Wed, 28 Feb 2018 06:07:44 -0800 (PST) In-Reply-To: References: <20180228111113.13639-1-jeffy.chen@rock-chips.com> From: Tomasz Figa Date: Wed, 28 Feb 2018 23:07:44 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] soc: rockchip: power-domain: remove PM clocks To: Geert Uytterhoeven 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 On Wed, Feb 28, 2018 at 10:11 PM, Geert Uytterhoeven wrote: > 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 Thanks! Sounds like we might be able to simplify a lot of things with doing the same for Rockchip. Best regards, Tomasz