Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7788385imm; Thu, 28 Jun 2018 09:17:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKiw4Qxa5Tw4Nmtde2vkpE1gUCrjJdmiIWDIHh8s/51HVFw7sE+z1gg7D6pgnLZt7OzKKMR X-Received: by 2002:a63:b256:: with SMTP id t22-v6mr9694442pgo.101.1530202635473; Thu, 28 Jun 2018 09:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530202635; cv=none; d=google.com; s=arc-20160816; b=V8VLayDhqkBjoVoKqsz/1UsIWeCuaDxQBMIuW32C0PVkZdhrZXOG90pELbQrDnj+GV Yd38+lHq0ER6hz6/nP622a4fW3KtIk+eSaBd9AN0waM1m9JtjD7FH2vtyXdQLEb9Xh9n Mb5OsW+IbpfqhxnTSgcriCmW0sNdt+tjk/Yf0FaBvAUol3CXSEuwHk7X3PITPCr0rJPs 3203kHphOMfVrRAsXSiBYgVK7iR1I5oPd15aBodjVP94S2xP5c2ZayCXRS50Uh159Evl WSMeWDQHQaaok5CUJyxvAj3CTujwLer4sgffvacAcTn4kW9dVk9XNNKawKirHW2naFLw 2OLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ijqHp8iXB+Gl1XJvevzR732NTL+CZ+HTvorUSfSqTvU=; b=McOb1Xrw2AKbeCQIS+BbVAyTTTeGNL6KoUz3F2HtB0VfuG2R8FB37dkeA5XXY11OLG JQggHDpgSbMtupvwpirV3ymnDwnAtngHBjainRYzFdvEalYElYrERSboUAGvgoWwDzUj l6vkRU00C85vEsBMb9td1Xk0SHrE36iKDq2OyhoDJq2GclTuTSZihtkDY12MVW8fCFaz /4qJWBDbZev4wbYY5RzG9FBzogO3PJF7MlsNiZQa1a3YrN1q5RHZYOJgwkv2BPMl+l+H ZQL4cAySca7+RTNlVFs9R1GBaZ2Q8o0ZQ7LsJlewyQsOiCTphZaPrNUyBdV2oxKNT/h4 KJZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=TdeBg8V5; 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 f5-v6si2725125pfg.165.2018.06.28.09.17.00; Thu, 28 Jun 2018 09:17:15 -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=TdeBg8V5; 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 S965312AbeF1KAg (ORCPT + 99 others); Thu, 28 Jun 2018 06:00:36 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:47013 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935097AbeF1J6A (ORCPT ); Thu, 28 Jun 2018 05:58:00 -0400 Received: by mail-wr0-f177.google.com with SMTP id t6-v6so4838355wrq.13 for ; Thu, 28 Jun 2018 02:58:00 -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=ufMvo3U+vV8JgklDl1sGbv/33Yq7hNZ6tuf5LCe5HdcwOYnBPfpG4u43gRgpflpPio yRkjZCqJfBpTln/1Go1yAUWyh1AKihxoOiK39cjH4UwBpCPgMAvzQ71DwLXuMULAGmFh PFmrjEfd94jp3Kh/xBGaevhA91NLJLObZxY1/CGi0Coobq/GbPb+GfxaOyE8gkxhMvDX b/2OaXDZws+fn6hOGCREFXM4OaJFpUHnpHQg6/rwQzuVuzcUxZ+ONeoak/Sp69VyqZfk MfZ38sowkF6+l+xXGGutLk+zIqbSJu8fPzeOV/YYWDUJBxyrh/flE+SgLQjd0/s9MuIK 6EJA== X-Gm-Message-State: APt69E1ojbLs++GpO9m2EFCrMjiuY+PqghjXzOb2AENnvmLE0GMODQL8 S4czY6cs0oc4AaBbarxjp8IAtA== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"); -- 2.17.1