From patchwork Thu Jun 28 09:57:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10493465 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2E51E601BE for ; Thu, 28 Jun 2018 10:00:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 186A1298FB for ; Thu, 28 Jun 2018 10:00:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A4AD2990A; Thu, 28 Jun 2018 10:00:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1128298FB for ; Thu, 28 Jun 2018 10:00:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965318AbeF1KAh (ORCPT ); Thu, 28 Jun 2018 06:00:37 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:47011 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932131AbeF1J57 (ORCPT ); Thu, 28 Jun 2018 05:57:59 -0400 Received: by mail-wr0-f177.google.com with SMTP id t6-v6so4838276wrq.13 for ; Thu, 28 Jun 2018 02:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/wnqUWa/fmVurTaOdeLuPDbfe93Sg0riCJfNwUvWb+Q=; b=SEjpgwYJVOespCxTL5ELp6zLhMLOkQzt5b6iYQPVYz64yElFO/rhNmGGOGzi2uMtkr JyA5oOZiaX8G2S8CinJi5ugZRMhuU019hfkPy+g6GMcZ2qDMY9rSDBOTDmcOjBgCaHd5 zqp/P/YD3RQqAMyURb6u+QPwAkAwF317MeVZNfjHkTwLBaBCQk/3hAo9dHwCYTpNsFYz Fx/cgLO2Oky3QP2gz3f4el/EkYns+IdOvUlPTUjjUX47mifF2NUkToF73sZUEKDxhX0t kNXaSW6JcfBWQzO8e3S3c19vK5nyAvIjE2AphQoArWj7J2hGm/vtNK8tKtzT1qQMdp8i o0Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/wnqUWa/fmVurTaOdeLuPDbfe93Sg0riCJfNwUvWb+Q=; b=OSKRZ7QR4cQXiBU54K3GkLSbNxOQiJYbjapa1eDYGY4K/RRoMiwqaabVoNqj9qtLk9 ivj8OtHhAJ3IKASVIFp1Hy1Tj/wJZ3DdQLes5O8CwwmGaSEcGKTuadP/dktqEj6W+jwV Z+sT7FiX9LNT8vglCokntGYVIElC4b0MjVN+1ES2a6bKgcegYhG+u/bcrlPpL457mJJ+ 2nWYMeexuk9cwHkbgM+Nt19KL6ue3qu2S372/0B4whsR5ZjPpPehA2yHG5zLKnHP9ylT cQXuaQtHEZopuV4ostG41Mivv9JmKa40khgT+4ZSJDSJRrDij8JKqtwNzGkt/jE1qZkJ oPpw== X-Gm-Message-State: APt69E0vXqKFyQrAgo3vfdhtwYbIkFD8DN58o+HMbvic8zp6ZUvHG+PI 767PL/0ZqV5DGVGosRIsrgUM1Q== X-Google-Smtp-Source: AAOMgpdeLXE5B38bC6KVN7y6sZn0Q7q+fHO87EFvGWaGPaSlhZoD7nQtnXbT8FPpwn1XzuAdIqVYJg== X-Received: by 2002:adf:dd07:: with SMTP id a7-v6mr8460411wrm.2.1530179878254; Thu, 28 Jun 2018 02:57:58 -0700 (PDT) Received: from brgl-bgdev.baylibre.local (AStLambert-681-1-87-41.w90-86.abo.wanadoo.fr. [90.86.29.41]) by smtp.gmail.com with ESMTPSA id s8-v6sm1550352wrm.84.2018.06.28.02.57.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 02:57:57 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Russell King , David Lechner , Michael Turquette , Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 02/13] clk: davinci: psc-dm365: use two lookup entries for the aemif clock Date: Thu, 28 Jun 2018 11:57:37 +0200 Message-Id: <20180628095748.4462-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180628095748.4462-1-brgl@bgdev.pl> References: <20180628095748.4462-1-brgl@bgdev.pl> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- 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");