Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4059634imm; Mon, 25 Jun 2018 09:03:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJZOY1vrDYUJpWv4FuxZAzaxIw8jhJwf3U1bM+f2sby6picACATnAZbDoEIPYgsQO7wJ2S3 X-Received: by 2002:a17:902:4203:: with SMTP id g3-v6mr12890238pld.315.1529942619130; Mon, 25 Jun 2018 09:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529942619; cv=none; d=google.com; s=arc-20160816; b=g3/UmuJ1BGLkFjhLYNjTXQzTrjkx1INm92LG9esXZ6Rp3cQb9uUJlfeclksbClYc/q 4MFfJnL7WcVIJy43eB++m5zjE1FQxOq9jV9xDSuDnMotuARpUYm9LM8H98OpPLAcTORe OFeS3ANBmaoFub0yr9h1moyzDmKtepiSvFJBdLMAoGYKH3ZLKrAbg6WKsyuj7feM34FJ saElJPnz0NWASYlphPmVHpHQXwe2rcQCatm1/YQOZj7pVNhzK0N7GVIyMLYMuAb31EPG RCw1L7RvTV/7VPNPkfCh7zwqaCund3VjESoBXOMf/TAUSOnFqcOFRNs4HqCOh463KJO4 Zyng== 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=kKPCYvp3TiL2O6U9CfWcXgZL01uR0XLZBRGpu9EJ3HU=; b=08EtPsdi2jzolym6zId6o4/zOdpxV+mHYnTK89BeJdEWEoPwVU5N4tI4P4k/DeugGS t5sUQjAwDK7+ADHeuLoHlZE5Xr6ij1n+W6aBnwmlugyZQBowKUZKcCksF1lPKy9gCZaR 1UI5VZOp6B0gV9WGVdy/OAksv+qb0y8/GHO5t5Rz3ixKHmSBtXwhJiv7PbFmO5DTzklF +9y4r/uw5+HXkOJKbtCCkpeO2ZBUoWaX7nLG+9XIGuStQIc+T3rUXqftTi5HUpr7GKr0 c9mLQT1eBFbJl139cYt2bHB7Fdfin0JMpO/hP3bJlScEqO0xa6IpPubabr+bbjI5KE77 Yapg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=mi0vlx+C; 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 o3-v6si2882113pll.449.2018.06.25.09.03.23; Mon, 25 Jun 2018 09:03:39 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=mi0vlx+C; 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 S1755368AbeFYQBT (ORCPT + 99 others); Mon, 25 Jun 2018 12:01:19 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:54685 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754173AbeFYQBQ (ORCPT ); Mon, 25 Jun 2018 12:01:16 -0400 Received: by mail-it0-f65.google.com with SMTP id 76-v6so13146191itx.4 for ; Mon, 25 Jun 2018 09:01:15 -0700 (PDT) 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=kKPCYvp3TiL2O6U9CfWcXgZL01uR0XLZBRGpu9EJ3HU=; b=mi0vlx+Cq8G4/e5uR9fBDXRbN8XWZV8wnj5SZFNmhOSv3gLwgUSL60oRbW1gTAXund 5MPR0VTWJgZse/DzxaR/CQO1/u2ooVUEX4IE1wp+NxU/rkOFWpKXF8BTHpZm2T///hrs zj7Yc6Oipo3jPFNpBnOxF1kjc/2hBMrd1nb0GR3PAui/OC9EwSbogodz1ivbRX5rkELT 6SQEm3dECGN2oJeV70rXWozxC0vBuDKTCZekhKjMP8QQKavpU7aLxB8depNvOIobyjro hGnhXwq/XpkDNmdNAorXGqHdORwQWIEJDaqiobW7d8vJrC1oTiI7grapJxrnn/hMcTRE w/oQ== 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=kKPCYvp3TiL2O6U9CfWcXgZL01uR0XLZBRGpu9EJ3HU=; b=JyJgwWfPu51K9oyfR9+neWZrGYWfnJCd6GxzNT2Xn/d3+Ubs+xE/x62pOdXv9oFbJw 7G4aQIoFkrnZfZdUlOBKlc7mA7M1hdY0TcgeraW2aqBWleKBls6XsMWQlSbk0XPLFicA F6oVVnxImNNTI+REaPtJC9XD8mqjcZvvmuhKbUV/5jpOYQTFLvVz3LWAD0vsnFb/jRvi AA2nxViTTZPmP9MS3OP99Gc5BfG/NayE1c7bAK/g9d3MCTjIblTrXNTAwTPCVJWUHD8T 3qC/PznMnJSIaEuqDyef9PJ/gOj47+sBmbcgI8vRlekdeRgeBNynMAle9vEcBWC7YWZy SNvg== X-Gm-Message-State: APt69E1hb+375Gou63V8G3+o65V5yrCOv3KhcM5Bzzg8hyQKVR0dLdGx dfQOgg6HMv71A2mnH4pU/Eh0oLFXYxTuxu66MiVpug== X-Received: by 2002:a24:d80a:: with SMTP id b10-v6mr1382328itg.141.1529942475463; Mon, 25 Jun 2018 09:01:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:9c51:0:0:0:0:0 with HTTP; Mon, 25 Jun 2018 09:01:14 -0700 (PDT) In-Reply-To: <241fed6e-b414-feac-8e6c-39713c5e665e@lechnology.com> References: <20180625152920.11549-1-brgl@bgdev.pl> <20180625152920.11549-2-brgl@bgdev.pl> <241fed6e-b414-feac-8e6c-39713c5e665e@lechnology.com> From: Bartosz Golaszewski Date: Mon, 25 Jun 2018 18:01:14 +0200 Message-ID: Subject: Re: [PATCH 1/9] clk: davinci: psc-dm365: use two lookup entries for the aemif clock To: David Lechner Cc: Sekhar Nori , Kevin Hilman , Russell King , Michael Turquette , Stephen Boyd , Linux ARM , Linux Kernel Mailing List , linux-clk , Bartosz Golaszewski 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-06-25 17:53 GMT+02:00 David Lechner : > On 06/25/2018 10:29 AM, Bartosz Golaszewski wrote: >> >> From: Bartosz Golaszewski >> >> We want to be able to get the clock both from the board file by its >> con_id and from the aemif driver by dev_id. > > > What about the other SoCs? Don't they need this change as well? > So I double checked and turns out I missed one other board that's affected by this series and calls clk_get() from machine code: dm644x-evm. I'll fix it in v2. Thanks, Bart > >> >> Signed-off-by: Bartosz Golaszewski >> --- >> drivers/clk/davinci/psc-dm365.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/clk/davinci/psc-dm365.c >> b/drivers/clk/davinci/psc-dm365.c >> index 8c73086cc676..c75424f4ea3b 100644 >> --- a/drivers/clk/davinci/psc-dm365.c >> +++ b/drivers/clk/davinci/psc-dm365.c >> @@ -21,7 +21,8 @@ LPSC_CLKDEV1(mmcsd1_clkdev, NULL, >> "da830-mmc.1"); >> LPSC_CLKDEV1(asp0_clkdev, NULL, "davinci-mcbsp"); >> LPSC_CLKDEV1(usb_clkdev, "usb", NULL); >> LPSC_CLKDEV1(spi2_clkdev, NULL, "spi_davinci.2"); >> -LPSC_CLKDEV1(aemif_clkdev, "aemif", NULL); >> +LPSC_CLKDEV2(aemif_clkdev, "aemif", NULL, >> + NULL, "ti-aemif"); >> LPSC_CLKDEV1(mmcsd0_clkdev, NULL, "da830-mmc.0"); >> LPSC_CLKDEV1(i2c_clkdev, NULL, "i2c_davinci.1"); >> LPSC_CLKDEV1(uart0_clkdev, NULL, "serial8250.0"); >> >