From patchwork Tue Jun 26 09:25:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10488481 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 767F8602D8 for ; Tue, 26 Jun 2018 09:28:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A14728619 for ; Tue, 26 Jun 2018 09:28:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E51B2863C; Tue, 26 Jun 2018 09:28:33 +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 5697828619 for ; Tue, 26 Jun 2018 09:28:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933814AbeFZJ2S (ORCPT ); Tue, 26 Jun 2018 05:28:18 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:34822 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933780AbeFZJZq (ORCPT ); Tue, 26 Jun 2018 05:25:46 -0400 Received: by mail-wm0-f42.google.com with SMTP id z137-v6so1027115wmc.0 for ; Tue, 26 Jun 2018 02:25:45 -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=ICGfu+S5DH2vWFoyobSXWbX3OXNviUAT30/ySGDLNIM=; b=caJAdTuYPTY8nOFNWQbrRMHfXimec3xG973moA72/mEdddE+PkzfzTLtlAvpkXzCmx pUwJgqNzPFB2Zr6Ek6hTY0MGr5hk2Ii6eRN1tklHl5VDDlriohpLU5vz2H1Kc6OeoGYg pqD7jyA+u88F9l4jWfA8nPYg9GmezAFQV35Ex4+jDtIer1cNgx3DjVDoSupvYFVGNo/D bLxyZVe0AVEumYWIXGm259MsdtD4Gwj0jTuh4DBYQBR2BWWdDzKtnHpWtl/N0NwXspFr Kl08jgWOIo1pXuREEbSctkYIbmXt9Gz9RTNAXR55SfRpCz760fY9uTbiLR/5KcrfFGSW XoKA== 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=ICGfu+S5DH2vWFoyobSXWbX3OXNviUAT30/ySGDLNIM=; b=b4mI9/6QD40MhftpRMWwynpkH6N8/nGBvjoHJBELbev6IKx9Qa/lSy70PfTBHmQydq EYBHrz3hk+L2tpjm25Tqy6LtrefnwZmB+5AOpBCO1JZD7lFUPpGH5+G7lFD9yQy6icwZ H4Gu4qk4eT4gtMWH1f4VDO4sschG01VhCIPPwPgsywGKe3mIIjXTPZ3x142Yi2/WLbIJ j6qkrinLqv/IEFD/mJRCtjd+bLvwBEa86r6JXcXpMaq2K2ESpaqvnatv7UEEH6hrzIPh LufZgQKW15CcLvtiIhSZ1xT0f03blYak+57lHrhX/JAAd5I+vZH+e8a4WM2yIc6XJxaR yB2g== X-Gm-Message-State: APt69E3RM9sohQ7YFX8Lc67kCem8XyF8sL1d27sNkLiaTzl7PgrC41iT a+tcGSQKVWb4MTeguYHNyEDD0g== X-Google-Smtp-Source: AAOMgpcf+nLI3hRXiDO64/pAD8DZvMD5QEM1IcCXdGEutSLQ1Gwg1rDWaOPODnzf1SjmWkbJT4w+/g== X-Received: by 2002:a1c:bc3:: with SMTP id 186-v6mr1011161wml.39.1530005145320; Tue, 26 Jun 2018 02:25:45 -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.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 02:25:44 -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 03/13] clk: davinci: psc-dm644x: use two lookup entries for the aemif clock Date: Tue, 26 Jun 2018 11:25:27 +0200 Message-Id: <20180626092537.6737-4-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-dm644x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/davinci/psc-dm644x.c b/drivers/clk/davinci/psc-dm644x.c index fc0230e3a3d6..0cea6e0bd5f0 100644 --- a/drivers/clk/davinci/psc-dm644x.c +++ b/drivers/clk/davinci/psc-dm644x.c @@ -21,7 +21,8 @@ LPSC_CLKDEV2(emac_clkdev, NULL, "davinci_emac.1", "fck", "davinci_mdio.0"); LPSC_CLKDEV1(usb_clkdev, "usb", NULL); LPSC_CLKDEV1(ide_clkdev, NULL, "palm_bk3710"); -LPSC_CLKDEV1(aemif_clkdev, "aemif", NULL); +LPSC_CLKDEV2(aemif_clkdev, "aemif", NULL, + NULL, "ti-aemif"); LPSC_CLKDEV1(mmcsd_clkdev, NULL, "dm6441-mmc.0"); LPSC_CLKDEV1(asp0_clkdev, NULL, "davinci-mcbsp"); LPSC_CLKDEV1(i2c_clkdev, NULL, "i2c_davinci.1");