From patchwork Tue Jun 26 09:25:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10488431 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 A3C03602D8 for ; Tue, 26 Jun 2018 09:25:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F9052884E for ; Tue, 26 Jun 2018 09:25:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93F1F28868; Tue, 26 Jun 2018 09:25:48 +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 40DE52884E for ; Tue, 26 Jun 2018 09:25:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934118AbeFZJZr (ORCPT ); Tue, 26 Jun 2018 05:25:47 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:39574 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933876AbeFZJZp (ORCPT ); Tue, 26 Jun 2018 05:25:45 -0400 Received: by mail-wm0-f44.google.com with SMTP id p11-v6so1003303wmc.4 for ; Tue, 26 Jun 2018 02:25:44 -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=nSXHzvqybEtdzHkD2l9M3rTvO3mzizZqvz9MLG8cxdI=; b=ZihOxNcWt8I2IrcYtLniKap7133OE90t+0o6BqveW0t89xMk6U6pkDs1JTPnDoxTe7 7V9GKfDDLdiMLV0S9x9IKpbmHfydBn6+XKJYvuWM1yFGhFQByPWb7sVi7dELNMv5s+39 y7e2Qrd94axoeZjO/Gykt9Vi8xUsJHh3RcAoVwgE9P1UJ5eqL3mfa3jY4WGSu7wXPC7p gFf1QJS9T/mirtNzIRGFvihXyPZ+Yhok7U06sGqo9aLXyE9BspthPnegPFelBK+249H0 VWNs6yQ73CGyBPJBDMxTOphKXvC0ETkws294DJiC68J32QJM2OPAfhEzc7GxAdmAoiYB sDsg== 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=nSXHzvqybEtdzHkD2l9M3rTvO3mzizZqvz9MLG8cxdI=; b=rli1HBrRqF7fCtRiCyICEd2DgJcfkQm702yITugPptIHG5qV+krLHH5uB/HYs4rX5z EQN2B5EoU/TAnsON/9fnHhMhS5c2JsFU5eC0kMhIHqlxthP45A1op01b6WoES3lMw4rY OcYK4a0oQvelhgQ4yN5/tAE1b36ke/daeWsPkJAI9SGVLp9mMgqlAl6Vv2IpI29aA1Sf LnAJm59v5W9je8U6sd0xGU1I5Efv1+9yobs73eTNpe/ydglFfPy3P4uqk+/Sx6AqU1Pp ZrzldAzEd27srUgOV9mQcy/OCU01mALfYYf32eQ+6GmDPRooQfRBJruMY0SfebnvzrIj reiQ== X-Gm-Message-State: APt69E3ReT3jPPXGcL59RCn8O9uLkIhzboPwYm7xhQKNUCBxOwBX9DM7 u+s03Z1XXQoAowS3x4H0QS7mTg== X-Google-Smtp-Source: AAOMgpdAjDemF3/g+FKRl/chg1QS0Dx3xi5o2lNR2vgQHjN5QRAO8TzmMadC8xZUAYsPeviQSppgfw== X-Received: by 2002:a1c:e846:: with SMTP id f67-v6mr938285wmh.63.1530005144137; Tue, 26 Jun 2018 02:25:44 -0700 (PDT) Received: from brgl-bgdev.lan (LFbn-NIC-1-55-10.w2-15.abo.wanadoo.fr. [2.15.147.10]) by smtp.gmail.com with ESMTPSA id a8-v6sm1528791wrn.50.2018.06.26.02.25.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 02:25:43 -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 v2 02/13] clk: davinci: psc-dm365: use two lookup entries for the aemif clock Date: Tue, 26 Jun 2018 11:25:26 +0200 Message-Id: <20180626092537.6737-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180626092537.6737-1-brgl@bgdev.pl> References: <20180626092537.6737-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");