Received: by 10.213.65.68 with SMTP id h4csp151195imn; Mon, 26 Mar 2018 17:45:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELs4f2quLapHUua+Hwp4vH17XMr0JfKBGDzzfvtlER1hf/Wv6GyPIy/NMCD46916shIcGhyj X-Received: by 2002:a17:902:5716:: with SMTP id k22-v6mr42509272pli.229.1522111508364; Mon, 26 Mar 2018 17:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522111508; cv=none; d=google.com; s=arc-20160816; b=LfJpRWO8+emvwwVsDnw9b7fQKfqa3yC619uJ6AuTf3PQu8RS19Xod/jldEvzNXzouW l7eUhii7gy8F29p/vV+PFJpBT+4rDtz1/ty6A/ElV8WxE7WH2fZSVjNVIq9bSNQV9jOQ SB2A+LcybgBJ6dgLYNpJCHXpm9cHHsr/on3RvZS+DDuQ2vRlh8PET0Gxi4nLRTilGsSz vAGzVidS3juW23Q+zkF4RbeXUrx7MjWaC3NIgJVWqm7U4CqV2uM9wdj8f2xKNCc732cY xU5aDiQGQHfH+jq/riVJOG469WggRL9Tdjrh62rGCSjkIEWsbKbE2AuvW7AjNUetqk+t OIuA== 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:references:cc:to:from:subject:dkim-signature :arc-authentication-results; bh=EKTs7BosLuoJEAZD8HRdlISxffmsC6Q3Jx+rTfxK9zk=; b=hqaHdoFmLTF/OAyVHgJkMXUqvV/dLQXNW2q8WHl2WbiJ1HvtONy99SIVupWD/3v/Xo xKm1ou7f3QAZXMwuyuO7tMBtqXBR99pKw9x2tlThqddp6aDaqppGw7ES/Nhw3Eijdur/ EZvK//zQL8rPl4XbSh+X1Fz6sBSqHQGugPw4xrWCs+9Q83aksPzaeW1e155MJt+UvKVk 3F4PW65N3AImUYH68bAUUW6l1MQJ5x+Bp45HOyX+vb4Kh1uUWr7hBhFddNFxtEpEgDqq D42tvkZZlILd3C2A9ssscwqCNR2/Un6TOVbMCfUsSZHtt91z4lj+AVg5/X2flEnUYNEq 1fUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NxsBF7c5; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si4256984pfl.407.2018.03.26.17.44.52; Mon, 26 Mar 2018 17:45:08 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=NxsBF7c5; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752060AbeC0Anz (ORCPT + 99 others); Mon, 26 Mar 2018 20:43:55 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:47010 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751776AbeC0Anw (ORCPT ); Mon, 26 Mar 2018 20:43:52 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2R0gYZq011391; Mon, 26 Mar 2018 19:42:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1522111354; bh=1Z6p0Kx6foruHnkDRG9+qMTFBwtnQu5FqHoOePoRHvs=; h=Subject:From:To:CC:References:Date:In-Reply-To; b=NxsBF7c5p3izP/zDqp09pJ+OOhps+7HBu22tnuTB8nysOGbRj9b19SiqlprTI7msA kpO4ohxz/kH6xl+Qw2/0nA202mlvnDuQGAvA5jaWqLeajoldceIX3EGjlpImc08dxr IBATwYYS172QDQTQjs0X//isWwq1aplntceJuHd0= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2R0gYdu026499; Mon, 26 Mar 2018 19:42:34 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 26 Mar 2018 19:42:34 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Mon, 26 Mar 2018 19:42:34 -0500 Received: from [128.247.58.153] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2R0gY9n022191; Mon, 26 Mar 2018 19:42:34 -0500 Subject: Re: [PATCH v4 0/8] ARM: davinci: complete the conversion to using the reset framework From: Suman Anna To: Bartosz Golaszewski , Stephen Boyd , Bjorn Andersson , Ohad Ben-Cohen CC: David Lechner , Kevin Hilman , Mark Rutland , Michael Turquette , Philipp Zabel , Rob Herring , Russell King , Sekhar Nori , devicetree , , Linux Kernel Mailing List , Bartosz Golaszewski , , Linux ARM References: <20180323130455.11470-1-brgl@bgdev.pl> <152182378792.178046.3747112581117251857@swboyd.mtv.corp.google.com> <152182490783.178046.1191965992600877708@swboyd.mtv.corp.google.com> Message-ID: <0683b11c-fefa-5fc7-793e-1a662a5f0480@ti.com> Date: Mon, 26 Mar 2018 19:42:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bart, On 03/23/2018 07:30 PM, Suman Anna wrote: > Hi Bart, > > On 03/23/2018 12:16 PM, Bartosz Golaszewski wrote: >> 2018-03-23 18:08 GMT+01:00 Stephen Boyd : >>> Quoting Bartosz Golaszewski (2018-03-23 09:55:47) >>>> 2018-03-23 17:49 GMT+01:00 Stephen Boyd : >>>>> Quoting Bartosz Golaszewski (2018-03-23 06:04:47) >>>>>> From: Bartosz Golaszewski >>>>>> >>>>>> This series converts the only user of the handcoded, mach-specific reset >>>>>> routines in the davinci platform to using the reset framework. >>>>>> >>>>>> Patch 1 modifies the way lookup entries are registered with the reset >>>>>> framework. >>>>>> >>>>>> Patches 2-4 add necessary lookups/DT-properties. >>>>>> >>>>>> Patches 5-7 convert the davinci-rproc driver to the reset framework. >>>>>> >>>>>> Patch 8 removes now dead code. >>>>>> >>>>>> Philipp: it turned out that it's indeed better to use the reset >>>>>> controller's device name for the entry lookup. >>>>>> >>>>>> Tested both in DT and legacy modes by booting the examples from >>>>>> ti-ipc-rtos recipe in meta-ti. >>>>>> >>>>>> This series applies on top of David Lechner's common-clk-v9 branch[1] >>>>>> with Philipp Zabel's reset/next branch[2] pulled in. >>>>>> >>>>>> It can be found in my github tree as well[3]. >>>>>> >>>>> >>>>> What's the merge strategy for the rest of the patches? I should apply >>>>> the clk ones after the next -rc1? >>>> >>>> Or maybe Philipp can provide us with an immutable branch with the reset patches? >>>> >>>> The you could apply the driver patches and let Sekhar take all the >>>> platform code? >>>> >>> >>> Ok that could work too. >> >> Ohad, Bjorn can you ack the remoteproc patches? Are you OK with >> Stephen taking them through the clock tree? Otherwise it would get >> complicated since they depend on the first clk patch and the last clk >> patch depends on them. > > I will take a closer look and test on Mon. A quick glance of the > remoteproc changes seem to be fine. I will let Bjorn comment on the > patch flow. > > The only reason I had to use the clock in the driver was for the reset > before, and hopefully this will allow me to actually switch to using > pm_runtime API like I do with the rest of the TI remoteproc drivers > (Keystone remoteproc driver also uses PSC for clock and reset but then > it goes through different set of drivers). > > So, I see a mix of driver and dts patches in the series, are all the dts > patches coming through Sekhar? I tried booting your tree [3] on the OMAPL138-LCDK board. I am using NFS, and I am unable to get to the console. I don't have any issues booting latest -next branch (next-20180326) which only has the reset and clock driver related changes. Here's the log towards the end of the boot.. --- pinctrl-single 1c14120.pinmux: 160 pins, size 80 Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled console [ttyS2] disabled 1d0d000.serial: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a TI DA8xx/66AK2x console [ttyS2] enabled brd: module loaded libphy: Fixed MDIO Bus: probed davinci_mdio 1e24000.mdio: davinci mdio revision 1.5, bus freq 2200000 davinci_mdio 1e24000.mdio: no live phy, scanning all davinci_mdio: probe of 1e24000.mdio failed with error -5 i2c /dev entries driver regards Suman > > regards > Suman > >> >> Thanks, >> Bart >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > -- > To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >