Received: by 10.223.176.46 with SMTP id f43csp4502305wra; Tue, 23 Jan 2018 10:12:53 -0800 (PST) X-Google-Smtp-Source: AH8x226dMS3ZRS3hxFhSnnL1/JbRdqv3D9oVVYkkT3xy7sTah7WGjLvGdpN9WJPybWAWwG0ndwLf X-Received: by 10.36.117.205 with SMTP id y196mr4800472itc.51.1516731173696; Tue, 23 Jan 2018 10:12:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516731173; cv=none; d=google.com; s=arc-20160816; b=Kca3dGiTerB/4K7603BWIppgo0HscL0C/UwtDtkdd2NLos2cmI+481bD39H/CFbKOf 5UtcSMbN+crv4lkq8I3JomhvngDBJfrr4sYjfUc3B3wWNDQLLNrF1jTBkkjZIF4nV9rH QmS+3MHLiyOxL6qoTo6LfzcXNpKdubmqSg57qytIsi6q9VeaSvzXMUgIkiou58+0IsBX 62j4pf8xYHC/7m6A6BM+Tkmaj13oFN2zbp+difQJbT/JuvSNerMSh4MmKo3CRNZMP46J WfyF3pCGt+yAq3m81h2+eEqFVuqExY5dAsxWc+IOkyKs5+hbm9woyfpp4oULGzUVY2lq 3zcQ== 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=r8575AI8p72BKeYipsI21IZJv1Sgy6SqbsQWMR/RvHs=; b=LGofnj0nXYwcSGxULVrX0BTr0Pty4dxriQnDF3sAd4ntvKvbdgDD1yobBntSlpAfAP vqypiOekOd2y3N9aT9CcVrlx7FD/ruApIxv9ZjQjTXhid1p40TqANRvyRoaAoSkdxgLo xuFKx1icJl9zMdY0O1DcZisXigGh1gPFyU1dESIBrVGhju5Yj8UC03oFAdnI2xGLWiZU FoyLJ93Tf2ZTriFU1z228s7BNlLHp8nQK7+Andw/7lpnKGyHwUbGd21TLD+FV5KemKBZ esTNnWRa5oEzWa32JeKtvCNio+BiX2NM7eUtv2nKq84oWrp2MAOEniU1G9LBNYctrdwh qB4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=b7xBEmy8; 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 j9si8359823ioo.247.2018.01.23.10.12.40; Tue, 23 Jan 2018 10:12:53 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=b7xBEmy8; 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 S1752183AbeAWSKr (ORCPT + 99 others); Tue, 23 Jan 2018 13:10:47 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:40321 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752020AbeAWSKo (ORCPT ); Tue, 23 Jan 2018 13:10:44 -0500 Received: by mail-oi0-f66.google.com with SMTP id a184so979302oif.7 for ; Tue, 23 Jan 2018 10:10:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=r8575AI8p72BKeYipsI21IZJv1Sgy6SqbsQWMR/RvHs=; b=b7xBEmy8BbLC6JH3oZ7+hJi5oa94O1USbE+ZIIVxR0XlGcbupnjngV7aj21m1BZ/sU aW8LoAtcsREMY0gt+3QNcU9irkGWxYTNwMS3swa+Mm3vorjyVG/KkbAKx/TG0Wc8J6wP 0/gnM+2x2CbgSjpTiXsseLPtnBIxxR6WVhEA0dlYslVw1+Wzv9m0e/9hmtzoLludQgev AF3XfjL8R62MYTdngLkELWpbYAukukQL0wOFYhSbM4u9dy2AQFTN+v9MyVVhKdKhI7FG odJ2SkZa/YJWd4iwHxARsmv8btbnIQMeT2vyKyfJGPPQaG0ETRDgrSimHc01hM3NVuaW oe8g== 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=r8575AI8p72BKeYipsI21IZJv1Sgy6SqbsQWMR/RvHs=; b=CBvvVi7bKuFVn5MTVS8IE0ca1O2JFZC4gK+Iz8KQKMX+q0UMYU5KX1mMdhHHAxQ5+P k09j+dg0qo7PpJnaj04BzjSOtn1cNDLrafIpgcSxOVW+3TYlFEByGftphtiznRb89diq +EO/wYzZ5PE0qXw58UGuzxpOYNVwJ8kkNaU/WMcMhPHvLfYAHobTr5WD4OWL8niMVfs1 1Q5P4hlCcsKUolpVhxk+sQ5USjZQjVGFu7PX3spiG/GnQG6++85UjCZyeZv2vPso/EJu GIB9ykn6WjsoucPtH6UHUDEsxcneLeO00GABtpTLS94xW4GczW9XbFzuyfcwM+VG7I3u oZsQ== X-Gm-Message-State: AKwxytdF1EA3ryLL4dMhWpS7bET4Rfld3+cv64jc4m5qFiwN+lGcjS4g YNI6T7LLOCv+bSCtWM0rsi/zwl8TXPON//lmS4qBow== X-Received: by 10.202.4.198 with SMTP id 189mr7044279oie.262.1516731043956; Tue, 23 Jan 2018 10:10:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.24.23 with HTTP; Tue, 23 Jan 2018 10:10:43 -0800 (PST) In-Reply-To: References: <1516468460-4908-1-git-send-email-david@lechnology.com> <615bc302-e129-1501-63be-fa701f5ecaad@lechnology.com> From: Bartosz Golaszewski Date: Tue, 23 Jan 2018 19:10:43 +0100 Message-ID: Subject: =?UTF-8?Q?Re=3A_=5BPATCH_v6_00=2F41=5D_ARM=3A_davinci=3A_convert_to_common?= =?UTF-8?Q?_clock_framework=E2=80=8B?= To: Adam Ford Cc: David Lechner , 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 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 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. Thanks, Bartosz