Received: by 10.223.176.46 with SMTP id f43csp4589612wra; Tue, 23 Jan 2018 11:26:29 -0800 (PST) X-Google-Smtp-Source: AH8x224csHBh4he6lDmHLAiH72hkncYLeaB+hsv8M65tDRj6W5nqeo2j7MMHn7rlT6kEGqjuIStz X-Received: by 10.36.175.88 with SMTP id l24mr5236933iti.139.1516735588828; Tue, 23 Jan 2018 11:26:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516735588; cv=none; d=google.com; s=arc-20160816; b=aokTVQ+kHk5m4WQVDygjYE2hNhq4/2XdJNibVFWdjfgGN/4vw1Idc8Luo67ilfrcRX rqdMdoJX4PSqPnZmxuZjZeMvdAnMOgv1Bp7zUl22mBh8phXTJPPjrNTVXtiFJ/+ZVkPD jRzUPMHudl4pkWK8vDVVEuNaerJxzRzNQ592HZUkDp0i4zNeUOoV8NWDeToqknBfjkoq wS44idzx+X1HUUuX86UOpUGnMYdgOCP0f9+jOnFt4llb/pZGqee9u8anc7SCktbqFQ52 XbVZ9+lKVAZi8Kiul7J1Hx2AvXJwQe7uf+pFy+2I9oyL+4OlV5SNpR7eLGsGSyeA+XpO A9Pw== 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=NjmXAqQMndnqhmS2qp27gTiHrJfxjHAPiirpcWh9gRw=; b=UzoKc6N1TCvoB2nCeQ+2WZL60eCZWs8cm78AFHuY4Hh5s1unVUarNUWkALc5L/xe0O w/X5OBmf64L4/wJLNz2hvyIeVNXqVeCJIkModXIT1VUJTJAWR+zk8+HjF23B3cnIOBtO eXksw0W3Yl4hsBeuj1UB7CeY/1W9Z1mnt2Uo9JK2wKDWSCmBZnnMOOg7YuMcu3r5u42B w/GTiJmU2PW1I8uhxiVceu5nTPifEdLWLmUgaqklBifeyj8cNFY5PLR+Nus9p5+rxN09 fmsEI9DBgjnAR7X3rX8potJBld3t/HH4m51bPtsUsYR7uAYAXhIKoOCYuv0ENP3ZuFiK XV7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=XFouF1yR; 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 e5si8478072itf.84.2018.01.23.11.26.15; Tue, 23 Jan 2018 11:26:28 -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=XFouF1yR; 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 S1752271AbeAWTYx (ORCPT + 99 others); Tue, 23 Jan 2018 14:24:53 -0500 Received: from vern.gendns.com ([206.190.152.46]:34550 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751941AbeAWTYv (ORCPT ); Tue, 23 Jan 2018 14:24:51 -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=NjmXAqQMndnqhmS2qp27gTiHrJfxjHAPiirpcWh9gRw=; b=XFouF1yRgWZZCTgAhKQbhFmnFY 8SCG4XqDSTlzsY2Of02LSeEsi7FEZCduOhvUaLo7IsgKUDneiUVisp3ryooQfbw4gZRY2uQAfGGow ubFiUqJpiMeHdsKSavDB8fcTsjdwGGg8UuPlXG8ySDKTAE7INpofUlhpBWm7SXqgZWNaYvLqHRcLu R4Ht8FeMQoL9vu2PWH7gMiP4pKVJ/AcUnVg8T+nwVvgMXjuK7qBYdF1wlPa2gj+fa6lIKkK/ENRcW 2Vk5FtQD0+IHvBnW7isjClvkWKY9i9Y9KreUMaQwS1dpK5Wgh4WjhZPBxtfczbrAq9VDknjK0BN77 BGKn8Gqg==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:58744 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 1ee4Ay-003uHr-PQ; Tue, 23 Jan 2018 14:24:08 -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 Cc: Adam Ford , 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> <5f836454-5de7-c51d-d262-2c2dbc26e438@lechnology.com> From: David Lechner Message-ID: Date: Tue, 23 Jan 2018 13:24:41 -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:34 PM, Bartosz Golaszewski wrote: > 2018-01-23 19:26 GMT+01:00 David Lechner : >> 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? > > No, the ones before were all related to the ethernet failing, now I > get several stack traces from drm. Posted them on pastebin[1]. > It looks like the LCDC driver is the same way. It does clk_get() but not clk_prepare_enable().