From patchwork Thu Jun 28 09:57:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10493469 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 B42D860230 for ; Thu, 28 Jun 2018 10:01:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F37F2994A for ; Thu, 28 Jun 2018 10:01:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9300E298EF; Thu, 28 Jun 2018 10:01:17 +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 3578E298EF for ; Thu, 28 Jun 2018 10:01:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932316AbeF1KAf (ORCPT ); Thu, 28 Jun 2018 06:00:35 -0400 Received: from mail-wr0-f172.google.com ([209.85.128.172]:40987 "EHLO mail-wr0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934236AbeF1J6A (ORCPT ); Thu, 28 Jun 2018 05:58:00 -0400 Received: by mail-wr0-f172.google.com with SMTP id h10-v6so4850278wrq.8 for ; Thu, 28 Jun 2018 02:57:59 -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=ijqHp8iXB+Gl1XJvevzR732NTL+CZ+HTvorUSfSqTvU=; b=TdeBg8V5VLferpIzg1sJp4DTMve03x5rs15LiDXCzg+wK2wuOT4KuQ5k0VSPJGN4TX f2pTPWnFMlYBlUj8GlQTGEcPeqtyPttzeMA1AekyKprnNtD8Jl+imSs0T0IhilETijOY M8715wUUK0p1QoYzFBCdBoDngd9l+Uwui9KEpvaAmzCQdwl/pDSxgJt9ueAYlnthqMP9 NCzZl42HbYEl3fPz8nKE5zONfc0W6UqlkyHd+5uUlKgv/5EzznTMMV4icNhXeLdY3XTs C2DZo8N8dbFTtJ2PeMAtgswqbFLVHxgwLNaMDh5Ae/cml9DHpnTDPRJNF6VbTpjHuFAG bafQ== 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=ijqHp8iXB+Gl1XJvevzR732NTL+CZ+HTvorUSfSqTvU=; b=cNmaaCYGyp9ZdsZWP5oKchQVdjvshNtQE5SoWbF07f6TJKvCJK66VwebyoSp3Ro1ZR sWPTocP17LGVn5AVFS4al7j9aedO6QpOq1nSx6RSmyP79/vM99iREh8/2WXSKKQEzLFM Cf02312a0V8mc4vflVAsmwMB0HGdkBWAlvaQu/JJKNAr8PViKvzrUcyvuUc7Koj7lpLq tPjCkT6B0b6dnolah9llU/6OJvH3tq93f1LiC8en8dtgnlH4PnSb/5xMW1UtsdBg9iEH PGys7hI8KZNGBY+7Jy6lY3MAR5Iv4zwAeaHni+FWXIizoyiVxp/DJXvcnZuS6vJzB1vM 9WTQ== X-Gm-Message-State: APt69E1WL0cT7vPGfK/UjYA2Venq7w6sbPSPHlhgjFhfNhZQgwJAIMjB ZymxkixviSmFQ2eJ4Z/jFqffqw== X-Google-Smtp-Source: AAOMgpdgTKcSIwv2zj7/hDiycJasNnz5qdw2yEdq2cTED/r2CuAoYDmutqZbkEQ1cEKRqrA2Q75VEQ== X-Received: by 2002:adf:bbc9:: with SMTP id z9-v6mr7779395wrg.183.1530179879254; Thu, 28 Jun 2018 02:57:59 -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.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 02:57:58 -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 03/13] clk: davinci: psc-dm644x: use two lookup entries for the aemif clock Date: Thu, 28 Jun 2018 11:57:38 +0200 Message-Id: <20180628095748.4462-4-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-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");