Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4262467ybf; Wed, 4 Mar 2020 00:12:14 -0800 (PST) X-Google-Smtp-Source: ADFU+vv8p5vWTg0/6KBdWo5+vfUQhJy4OIMmb9dy3/CzUMKxUFmN1d9m1bByxWmT0bKo3QznFvFE X-Received: by 2002:a9d:21b4:: with SMTP id s49mr1361340otb.294.1583309534146; Wed, 04 Mar 2020 00:12:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583309534; cv=none; d=google.com; s=arc-20160816; b=xMVIo3e0cl74ZbPQM/7lbqVMgSQP9KdFy2qvKvGV3ovK39tlMjODUUEKRmmERxVVqK XkzN7eqUm6APFYWgZFEwFCJKJ5HzytA9Uq8V59adFvzf5RJztXuZbkxJDcmoMCIs+b5N DsobMfDqAla5LPelQdo6Wd6JS/CTMme3cdgA/Xha6bstPtbnLxj3Sw8rWnpV9ZJCCsLR 3c63SKISVpP4u/6RLsKI5YGU4d+cZhD2CsM+iG7Mf5hLZyrBEC/yNXPxr7Cga9N6+S0g e86TvC0zpNJlTB5jKpmCyMd+TBwD4PCABE4uEBJq8S+KfBTjZH8D6rF4uDP8gXYhLb1b f3qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=bc4qmKJt/lAzS0lpfRM9DbEOWoXovtwmwwXu2IbTRzo=; b=g9RQ485dujZXZo9psfr6wmVikWN3EPDLu++FvXG2XwBqDGRF8FZORXvDuH2NKDZcMr er8xdiwGyrtgJHSbUnBhG0tuHEqZ8y2lFeC27Il8tiKIIe29Pd8NrMzZWU75YCqOYaKL MJZCmUEqs9KJyVPBXOBGloKOWztLHO+nSRgY9Xa/r6nbI1l7XfrvwdrJsYFViZsOhU6C dMBeTG3zijvolda3x0GqszhsvP20QSuAH9DBQhNVpGYgbtFnVSvHl9oUfbKy29oUcQRD anPk7eNXD4+vX5infFhECu/sIGOHQQQGY7G7183V+llLrMHszSGvIpA3Zl/N9pZCqZ9b AcPg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88si871912otv.12.2020.03.04.00.12.02; Wed, 04 Mar 2020 00:12:14 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387454AbgCDIL4 (ORCPT + 99 others); Wed, 4 Mar 2020 03:11:56 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:35999 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725271AbgCDIL4 (ORCPT ); Wed, 4 Mar 2020 03:11:56 -0500 Received: by mail-ed1-f68.google.com with SMTP id a13so1232502edh.3; Wed, 04 Mar 2020 00:11:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bc4qmKJt/lAzS0lpfRM9DbEOWoXovtwmwwXu2IbTRzo=; b=EBDKff7ewYDJhiOVL0TmnEeb4mXPS2AysuCb0B1N48Cxf7gLjRGXSA1F4/2UCeIs5E Br69ShUoqQOA+5wnC886trhrO7f1sD6TkWli3WvWPjH0dw5iHH2IdzUlNS6IubDluIbO ylBEa2APcbmlqMnrJ5fW+hLE6OzNNifUEufsEF6huVMXg6+iumdVzjGGHtmH+CdITOr3 7lMpr9xuzAgCiBgisD7EipXmAB/C210qQ9Nt4sAWPG+ldKEICaXWZHmCxaFLRd51/7fb 4Yuz0NrGrLtRFf0UaI2hjuwL1Inwxue9Zxc72SGBwMhSMc+W9FdQJ85tnPlZdIhmsdQU siJA== X-Gm-Message-State: ANhLgQ3mYWhwRcvTak0FSM2IdnuWYGl0DjrbsgPxT3gEmTNjxkslhX+H FAMqwvRDHepezOZWEjpH6wI= X-Received: by 2002:a17:906:8254:: with SMTP id f20mr1508858ejx.43.1583309514196; Wed, 04 Mar 2020 00:11:54 -0800 (PST) Received: from pi3 ([194.230.155.125]) by smtp.googlemail.com with ESMTPSA id a10sm1467746edt.50.2020.03.04.00.11.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 00:11:53 -0800 (PST) Date: Wed, 4 Mar 2020 09:11:51 +0100 From: Krzysztof Kozlowski To: Anand Moon Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , Rob Herring , Mark Rutland , Felipe Balbi , Marek Szyprowski , Bartlomiej Zolnierkiewicz , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2 0/3] Add support for suspend clk for Exynos5422 SoC Message-ID: <20200304081151.GA17560@pi3> References: <20200301212019.2248-1-linux.amoon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200301212019.2248-1-linux.amoon@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 01, 2020 at 09:20:15PM +0000, Anand Moon wrote: > Seried build and tested on linux next-20200228. > > This patch series tries to enable suspend clk using > exynos dwc3 driver, for this I have added new > compatible string "samsung,exynos5420-dwusb3" > so that we could add new suspend clk in addition > to the core clk. exynos dwc3 driver will help > enable/disable these clk. That's not entirely correct. You enable there SCLK which is a "special clock", not a "suspend clock". You use word "suspend: in multiple places in commits making an impression that it is about some suspend clock... no, there is no suspend clock. There is however a clock which driver calls suspend_clk (but it is just some name) and it is being enabled for entire lifetime of device (so also during suspend). AFAIU, this is not needed for Exynos5422 but I am not sure. So please convince me... However I have still the same questions: 1. What problem are you trying to solve here? 2. Why this is needed? 3. What is fixed with this patch? Best regards, Krzysztof > > This series PatchV2. > --Added the clk names for exynos5420 compatible. > --Added missing support for Exyno5410 SoC suspend clock. > --Update the commit message to support suspend clk usages. > > --- > Long time ago I tried to add suspend clk for dwc3 phy > which was wrong appoch, see below. > > [0] https://lore.kernel.org/patchwork/patch/837635/ > [1] https://lore.kernel.org/patchwork/patch/837636/ > > Previous changes V3 (It was send with wrong Patch version) > [2] https://patchwork.kernel.org/cover/11373043/ > > -Anand > > Anand Moon (3): > devicetree: bindings: exynos: Add new compatible for Exynos5420 dwc3 > clocks support > ARM: dts: exynos: Add missing usbdrd3 suspend clk > usb: dwc3: exynos: Add support for Exynos5422 suspend clk > > Documentation/devicetree/bindings/usb/exynos-usb.txt | 5 ++++- > arch/arm/boot/dts/exynos5410.dtsi | 8 ++++---- > arch/arm/boot/dts/exynos5420.dtsi | 8 ++++---- > arch/arm/boot/dts/exynos54xx.dtsi | 4 ++-- > drivers/usb/dwc3/dwc3-exynos.c | 9 +++++++++ > 5 files changed, 23 insertions(+), 11 deletions(-) > > -- > 2.25.1 >