Received: by 10.223.185.116 with SMTP id b49csp6112881wrg; Wed, 28 Feb 2018 04:19:05 -0800 (PST) X-Google-Smtp-Source: AH8x226btPm2oTYUGTV+yGJTnyIsqZI8/jYZ7caE5ItG9UfZCyVySldVQGrbi+ATg4k7kBF/wbsK X-Received: by 10.98.224.208 with SMTP id d77mr17658426pfm.194.1519820345689; Wed, 28 Feb 2018 04:19:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519820345; cv=none; d=google.com; s=arc-20160816; b=oVG9iVbyJQwLuyI45TtWJy7sIDPmHinFB/ttjFGbZCWK/pL+xzjQHZZJAZW0R76Nzs Va7WqVUQEns9n2BYlfi9Q1pcVUoH1dl9PH8qPWAs6RaLw8R0wOYoli5jbcWHwx9om8pt T3klBg4rLw3htg7BxiLBwY1eMX6Rlr6nNGSTMVJmZfuN/B6RY8wiNQ27J9W+t5AQ4tmn M85NdmKkxZBN4iT5S+Rirh5Oc2aA6c5f2FPpaJJAwvZVMQhl3BDPcyMU/SxKevxh7fg4 Gd8JJZdvDv3NrxK8t8QOXfmg2W5CfYgU/UVp1OSlhDC9j4uhTe9Bbhk+DkHpRUtGbs/H czQg== 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=XdV2G/jGGbvWhjh7oLTbdckPlpfWytXbUzR4pFXkKDg=; b=bFWGC2E9J1MK7wduvOjxYkw2fyVvWeU6xxXeTBr4P50lCZ8IMqCUKB6vj3RdbaG8FH dunqHeRSmI5iCbJKcRn+9Eik7ZgLeosvNyH+81CQX9AiN7sVaChntFRLNH8g9OAqdtb7 4oQP0fAolqDkQ0AQA1xMUpbFvcXhjunD4zqtnDazf6DaeDbOgdZMMlhG3pTlmok7dLVd hvN558xt+ij161YrEBIZIowMoyGhMYUDyAwcd8iI4APCCTFol8jaez6DmgIUYBei4/li RFsUE9ulTVc8IfjW5P6YgTegAQb+EGKrnb17EUJD2331pOtPPt4SSipNfRzFjQEBEZMH wXAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=NlfHK8np; 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 n63si949921pga.432.2018.02.28.04.18.49; Wed, 28 Feb 2018 04:19:05 -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=NlfHK8np; 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 S1752511AbeB1MRn (ORCPT + 99 others); Wed, 28 Feb 2018 07:17:43 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:33378 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752469AbeB1MRl (ORCPT ); Wed, 28 Feb 2018 07:17:41 -0500 Received: by mail-qk0-f194.google.com with SMTP id f25so2660132qkm.0 for ; Wed, 28 Feb 2018 04:17:41 -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=XdV2G/jGGbvWhjh7oLTbdckPlpfWytXbUzR4pFXkKDg=; b=NlfHK8npHQ8t2Mqt9lhMguzI69m5e+4Qo3PF3MZPmLaKvgpkzEnHgJDn3JSNNamKHI VS/L3WEM9Ubo/V4T5BgVVFxxQCzVGtAXU5sS0LYxJyhBk2fudj69NrIsqn/77xdn9yS4 siSu0/RJTFmj3h9LdaU2KVC9OH9zShAFHMhpa2N7k8V5zfYKtIRqGIoVA7fP4APpUbyl 0CF2Kd6Sarhi+MwNaXXHZg8kEAGzF1gl588T5kmEabd2bjUyN1RvQLExpbLTZQzwK60C KeQNIS9TfTBr2gVQm2IsBNzqORo83NRqFxwhEsb/0WPSZy5SW8HQfEkqcke0cDlvtb+c +Zzw== 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=XdV2G/jGGbvWhjh7oLTbdckPlpfWytXbUzR4pFXkKDg=; b=drJczxewOPtnlOA5xuYaYlbOGTTd5/jkfZn5FXpkUcyzDRRYI2+xk9t/n3R/a4DSyX WfHUMlvX6/QoHftmbhgOcgl1yNvPMIp6ba7CJ24074svw9SS3ySGzJ6uyrMWl4Xpgen/ MGaex9EHTFqr2qlVxgSQYiSq2AiQL9IaUmu08oCx8cyT6EY9wDlv4/2VO+BUTlFhGrM8 qLB9+UUInRqkS9IoHKzFWEg50lh6KxFm0XdMv7rsAGcGV1TAF40QUSMIwbnpEh1Xwgob GfM62dVnHecshjMQGrj0AlLuwb/InYBu0JU1d3uCpzXogfKlA0awKp/dT46PEE+jOhTj Xz+A== X-Gm-Message-State: APf1xPACl99yswSjE7v0omcNo2FHfXy9s2svgWaViLjYMzINO1SDt9Dh Wj8nKenpwMgIOQwOCQZb+J9bboHV32AsedOyGEo= X-Received: by 10.55.212.150 with SMTP id s22mr28745870qks.267.1519820260528; Wed, 28 Feb 2018 04:17:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.47.219 with HTTP; Wed, 28 Feb 2018 04:17:39 -0800 (PST) In-Reply-To: <20180228111113.13639-1-jeffy.chen@rock-chips.com> References: <20180228111113.13639-1-jeffy.chen@rock-chips.com> From: Geert Uytterhoeven Date: Wed, 28 Feb 2018 13:17:39 +0100 X-Google-Sender-Auth: ivcajJC_MA4sQgih1khVKCA-3sg Message-ID: Subject: Re: [PATCH] soc: rockchip: power-domain: remove PM clocks To: Jeffy Chen Cc: Linux Kernel Mailing List , Tomasz Figa , 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 Jeffy, On Wed, Feb 28, 2018 at 12:11 PM, Jeffy Chen wrote: > Currently we are adding all of the attached devices' clocks as pm clocks > and enable them when powering on the power domain. > > This seems unnecessary, because those clocks are already controlled in > the devices' drivers with better error handling. > > Tested on my chromebook minnie(rk3288) and chromebook kevin(rk3399). > > Signed-off-by: Jeffy Chen Thanks for your patch! Just wondering: so you prefer to handle the clocks explicitly in all drivers, instead of delegating this task to Runtime PM? 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