Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3937171ybv; Mon, 10 Feb 2020 09:09:29 -0800 (PST) X-Google-Smtp-Source: APXvYqzvvaozt8Gr9m/VcKU9r8ijDaRE3x/SJpz9gFLFHBZ2Tub5Xgw/vczmNx4DGgi7DeoCnKjv X-Received: by 2002:a9d:7498:: with SMTP id t24mr1847680otk.290.1581354569053; Mon, 10 Feb 2020 09:09:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581354569; cv=none; d=google.com; s=arc-20160816; b=FnYHB8JFyKklCGwBgF3pjfa5Hm+qph6ncA3Xe5LoN35UwxLRjr4NbWfSJ0a+/x6f3m NhAN/651YtE6TGL6+1U4YWvCVvjA8TaAlX7AbTNQhrL2oQnmFkzS8P+A8goag4U7AaIy Q6G/kTteFl+M8pNohLO5gnDXqwjxSo1JLgC0SwU4KtvqtjsxMI1d4xdi/w4V0lAtI+6q my5dKbx2WPPrvPbRe0wVCxqKnp1v8USxiQLrk+CVoFYwf6Kpd/ZerYTzO7qTrgkwxvNR h/KiFONQsVRkLYXX6kCFRR603iMo6p+AD33Lj2UuHG/nDiZtyViQwviNnNY4ouAnsw0I IwXQ== 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 :in-reply-to:references:mime-version:dkim-signature; bh=J7TMYFnb5/RylQGjk6pwzyOMg8V/VoQJOxgPOgvp4TQ=; b=DAEQdheJxDB/SWNdDZHZ1TiVHK26fQu79TsglnBZSroubjsn+VVyT5E7Q1mtk0uNek 59uVeLtgRoOKbTwYWNGPAvo6QdBL8/9yoO46sc4lUBVx6Mv4EqE2siErC5C+rLGhS4e+ feC5MxUkMK6nxm2aR4weSWVVwgSalMJf2wUrwaDr2OUdDmqeVQf2F2SJrPMVot03MJfL o+8L23FO3b5CXJA6XXhLecAsmbn7F3+58CB0womfiwlOq/r+cEGaKCNE864MFL6ZWFhi e26MdqTVR5xYa5kYZGiw2sPCIAa1HbPe39J5eC5JysatVhxGr5NZ+0x0luLUbfl+ekpe ZtUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qkseAph0; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z206si444264oia.142.2020.02.10.09.09.16; Mon, 10 Feb 2020 09:09:29 -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=@gmail.com header.s=20161025 header.b=qkseAph0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727977AbgBJRJD (ORCPT + 99 others); Mon, 10 Feb 2020 12:09:03 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:35733 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727587AbgBJRJD (ORCPT ); Mon, 10 Feb 2020 12:09:03 -0500 Received: by mail-io1-f67.google.com with SMTP id h8so8419053iob.2; Mon, 10 Feb 2020 09:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J7TMYFnb5/RylQGjk6pwzyOMg8V/VoQJOxgPOgvp4TQ=; b=qkseAph0tr0+SBm6cWzFPpfeUipxzvfJYFreIZj2Jc+t+btZhb30Pnb9mpex9HMBQg s+lqIIVdZp6P2b3ej3X+DSvXo9boYOAwkuRDpXFDFmb+unXmhjjzgsHiz5svYX4DA8zg SjCbWxPPQUcXM8nbqah4fNmVOA1FdsMC0BHByvTzA51IJ0YsIIyEGfx+O//kXPUerzEf EIqa1QT6+2UztMHYkEf0K83GPRPas7oB/Uhs8YQQ0TBkd7fhYDVMJEhC8GzWTYLDhGGL QLCgft+GLsJlvjVkAelArQw8+7x4nxey6QHvnSH8+g5esCnP3XRGogXyLcpGt3tjBarC 7LFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J7TMYFnb5/RylQGjk6pwzyOMg8V/VoQJOxgPOgvp4TQ=; b=HbK6sNOsBdvCXbutCPso6ePzZKeHduhFjPs6xbfXB5WYtyUdNVqsd2H2BKAHvX2o62 FUuXFyeq9vB671F9wXympEUV0uf0MwV2wc0h9Ekv/WLMJQMhgg3fLfLZ5ZCbbYnAiu1a pqfuJ/QdO7ZMjWpWxjl+N8ra7wXLlnNUEjv9+lA2Zv8zKhyWU1/+OZ0krmF/QTK8sYcI mKlbSgIp5P1r6Fqq7BGonYzjnU/slNTqcqpusXJ5gi67EL4zDxHUoHgOAx8QDMtDfhO0 6ITs1HZ6Dbqeu/uv1bvdc+YDzzAypGria53eyypSEcsljgQRTjwZZiIihf6qemCmoNmN MTeQ== X-Gm-Message-State: APjAAAWTg9YzNVqKgopNS2hXbZnbggWJxYu29NV5Px3800xMSmqY/NOM JMvzkg8x3wCq/RLQjoyDtUTIPd97MwG/AVGsB1c= X-Received: by 2002:a6b:b48e:: with SMTP id d136mr9655577iof.243.1581354542360; Mon, 10 Feb 2020 09:09:02 -0800 (PST) MIME-Version: 1.0 References: <20200210105108.1128-1-linux.amoon@gmail.com> <20200210135612.GB2163@pi3> In-Reply-To: <20200210135612.GB2163@pi3> From: Anand Moon Date: Mon, 10 Feb 2020 22:38:52 +0530 Message-ID: Subject: Re: [PATCHv3 0/3] Add support for suspend clk for Exynos5422 SoC To: Krzysztof Kozlowski Cc: Linux USB Mailing List , devicetree , linux-arm-kernel , Greg Kroah-Hartman , Rob Herring , Mark Rutland , Felipe Balbi , Marek Szyprowski , Bartlomiej Zolnierkiewicz , linux-samsung-soc@vger.kernel.org, Linux Kernel 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 Krzysztof, On Mon, 10 Feb 2020 at 19:26, Krzysztof Kozlowski wrote: > > On Mon, Feb 10, 2020 at 10:51:05AM +0000, Anand Moon wrote: > > 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/ > > > Thanks for your review comments. > You ignored parts of my review from these previous patches. I asked for > describing WHY are you doing this and WHAT problem are you trying to > solve. I asked for this multiple times. Unfortunately I cannot find the > answers to my questions in this patchset... > > Best regards, > Krzysztof I dont know how to resolve this issue, but I want to re-post some of my changes back for review. let me try again. My future goal is to add #power-domain for FSYS and FSYS2 which I am trying to resolve some issue. Also add run-time power management for USB3 drivers. Here is the clk diagram for FSYS clk as per Exynos5422 user manual. [0] https://imgur.com/gallery/zAiBoyh As per the USB 3.0 Architecture T I. 2.13.1 PHY Power Management The SS PHY has power states P0, P1, P2, and P3, corresponding to the SS LPM states of U0, U1, U2,and U3. In the P3 state,SS PHY does not drive the default functional clock,instead, the *susp_clk* is used in its place. So enable the suspend clk help control the power management states for the DWC3 controller. -Anand