Received: by 10.223.176.46 with SMTP id f43csp4521548wra; Tue, 23 Jan 2018 10:27:24 -0800 (PST) X-Google-Smtp-Source: AH8x226WfFO+wTmThu2CmUsCP8aAZIO+dxecAmaj3c7wiXzgz9YrCYK9jetG6D+zGVp5iJeO0FHK X-Received: by 10.36.217.82 with SMTP id p79mr4536946itg.29.1516732043914; Tue, 23 Jan 2018 10:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516732043; cv=none; d=google.com; s=arc-20160816; b=IUIbI3HNBnF9JCbC1SCxVdustLAcEJlc0eah2VxTiUYphRwI8VcqNzGYuOuTx6YfBD VBEz+s820eH+vzUax2tFr6nFM3X+7GWyb3Zm+brBkkgQpFEB8AAE5+C7XuWJS5sYzXKF 3CIEBMkSiEDpfPN4i4eP8E5/xtm0IG7N0PuvRPVmw3aFlCdf7gktEotcX8+oN0LCEinU j+7hSKY8/PMhTDM0kSJt/gKbJBeZe1IMaoKH722S6CdRIt747ejsWjuOvjGovseuELan aUPAiHMocaC2he0DNvtdoVLNhv6zC19SljTjGkMx3hLPoMwZ40cvOcU2fFB9qrkr75yk Ki3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=U4u5J25GC0yNUK5fQkwTMWBj002PbSYTH1/U8hnX8A8=; b=CAa4xT242yG/4NyjEktJMgWeutjAd3++MV7MuJ1JJPkhITEd8KuJyVDIs4sOeQFEZ/ wSmDOXPLD2qBTvNdnHVol6t4vSokkBDSPbOzQ/X+2ofrWQZ0NrY+LSdE2XBu6zt7M7qE MwH84k4NvUJrXoOJkUMBfvoLQc7xUltiWPHB90yb4yBwwv0NsMxZaf0VJmCJXr54j1JA WDCX8d8Wp/ISF7U/YwlRt9jrd4SB0QgBSbQFmRXyn80i3PLtNwIsAq+FgjusTSfyEcGk BdJyh1JJBi4ugu9qascy1uCxEX0Db38wh9cZQVNw1BhKtfVgNudIg/LEUEgLuvo7yx0n bQ6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=sKc+h1E8; 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 d193si16082774iog.44.2018.01.23.10.27.10; Tue, 23 Jan 2018 10:27:23 -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=@lechnology.com header.s=default header.b=sKc+h1E8; 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 S1752153AbeAWS0p (ORCPT + 99 others); Tue, 23 Jan 2018 13:26:45 -0500 Received: from vern.gendns.com ([206.190.152.46]:60915 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751796AbeAWS0n (ORCPT ); Tue, 23 Jan 2018 13:26:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=U4u5J25GC0yNUK5fQkwTMWBj002PbSYTH1/U8hnX8A8=; b=sKc+h1E82HRfoTFbsIO0EdyGKv MEjGt3LUx8hBZFfZH855M9HS+PZR2nmlzemz72see550TY9mst94f3vQzRYlEnpBjMVwLaiFYcDpj vF8VtuWkUfoN4+zNy7+YC8KrkjAWrPrOFaI/1s6YRCqVcpHSkG3wkal53vOpV30ModObo/+IWPnmH HCozSH3xe/R4pZT9N1dH/x8Tv4FvDCXDawJ1JhPKFfwEAphzfL3vev8O3BD1Ryw2OcXd3IJaRdUP8 VojwMTen+8Anq7amW8rp5NOXxNRfCh9oj7Yzm57ZTTOeeXbTS1ex6hLtwm+vPNcqv01UvKblCk4RP ZjmD1SiA==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:57352 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1ee3Gj-003l9W-0F; Tue, 23 Jan 2018 13:26:01 -0500 Subject: =?UTF-8?Q?Re:_[PATCH_v6_00/41]_ARM:_davinci:_convert_to_common_cloc?= =?UTF-8?Q?k_framework=e2=80=8b?= To: Bartosz Golaszewski , Adam Ford Cc: linux-clk@vger.kernel.org, devicetree , linux-arm-kernel@lists.infradead.org, Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Bartosz Golaszewski , Linux Kernel Mailing List References: <1516468460-4908-1-git-send-email-david@lechnology.com> <615bc302-e129-1501-63be-fa701f5ecaad@lechnology.com> From: David Lechner Message-ID: <5f836454-5de7-c51d-d262-2c2dbc26e438@lechnology.com> Date: Tue, 23 Jan 2018 12:26:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/23/2018 12:10 PM, Bartosz Golaszewski wrote: > 2018-01-23 18:03 GMT+01:00 Adam Ford : >> On Tue, Jan 23, 2018 at 10:06 AM, David Lechner wrote: >>> On 01/23/2018 10:03 AM, David Lechner wrote: >>>> >>>> You can see if the clock is enabled by running: >>>> >>>> cat /sys/kernel/debug/clk/clk_summary >>>> >>> >>> I just realized if you can't boot, you can't do this. :-/ >> >> I can boot with the latest set in your git repo, but the Ethernet >> doesn't apparently fully operate. I don't get errors, but I cannot >> get a dhcp address. >> >> I'll try to do a more exhaustive test later today to get an idea of >> what works and what doesn't. When I ran my basic tests, I just did a >> feel-good boot test (and reboot test) >> >> adam > > FYI: manually calling clk_prepare_enable() in the davinci_mdio driver > seems to at least fix the ethernet. In master branch it's done by > pm_runtime_get_sync() (in davinci_mdio_reset()). However I'm still > getting several oopses and WARNs so there's some more work to do. > Hmm... I'm wondering if we need to also add #power-domain-cells to the PSC clocks and power-domains properties to the consumers. For this specific case though, it seems strange to me that the drivers to clk_get() and clk_get_rate() but never enable the clocks. Also, are the oopses and WARNs the same as before?