Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4900493imm; Tue, 26 Jun 2018 02:28:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJgk6zXFQ3x4xJCQ/BxAdFaqeXDXIs5ZY9AWQP8N62+xvPGF9JKSe5TvWtJxvmq1HY0uwVj X-Received: by 2002:a17:902:8a8c:: with SMTP id p12-v6mr814112plo.212.1530005296159; Tue, 26 Jun 2018 02:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005296; cv=none; d=google.com; s=arc-20160816; b=DG8XJ1JmD9DjtgJi4TYLBNyKnfzYpYKnLSQiRgKVBuOPMEuumeGHXcOZ+xHQah7UnP jiA7rOPh27ofcM+FJcNG82X5EWudOzkZdVswwaWCpQuytBqsSEnqzFJaKgLVnyVozmzR 3GciMNEOYObZnGHSGlHTBitmWs64kxJxiFhupEkzT/rB1AI+Dx+9D6cwIoI//QbPXYOH 6VCzROgYdfBXarziiEXD25YxKEE2an8tXZJDT2QwbX0z+A5BvV9ekNJkS3GNkeRyd2SW +nylLE02vej1aYopE1drox0tzK3L8v76jtq91FSfUrAx+erTdsbVmx0NjMJYm2IYmd3i 8xRw== 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=nSXHzvqybEtdzHkD2l9M3rTvO3mzizZqvz9MLG8cxdI=; b=I17mbGbpbiSnbPmSGH7PIEPSwJu0FK8nIqvYMwbfk4e+olcpgsmAGIOg7hZKAoqJ0T JxRqkwhZapDeP+orNxEF7ibzYbfik8ASBbm4DYS0gMfk2sgIHsmBeyHtq1/L5SX2qWFy okPPjg/BX1g/DHurnTVEinf0NSum5z7cTtXaD8uPSugbYCaMRdo0pg7ddOqj4iC3YgRs o0davR4LIL5bjeKVaQKpzuMTyz92MrG8ttbSg80mich4BQ2L5fQm1fq4Bj6Qmkac71iq FHZcO8SssQDBvJTmfZWMQ8/Q5It1gQb4XBzZShrH6kT8NxbYkxGaMKaHqIAggDHcyx87 9hHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=ZihOxNcW; 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 x3-v6si1220286plb.478.2018.06.26.02.28.01; Tue, 26 Jun 2018 02:28:16 -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=ZihOxNcW; 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 S934377AbeFZJZs (ORCPT + 99 others); Tue, 26 Jun 2018 05:25:48 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:34823 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933822AbeFZJZp (ORCPT ); Tue, 26 Jun 2018 05:25:45 -0400 Received: by mail-wm0-f46.google.com with SMTP id z137-v6so1027056wmc.0 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=s5HBo3/uUKfAjjrv5qm6hTnicCwSNpY4ei/7wxZjWrpRv0PcClxcjakrP7ClyrZm3c POuPIz9rSPnNOBO5XazY1nw5RQZAEHJi/whK3mUzA7v5CqNa6rbl42gEQCvXpnYoD14n I6VKNRkBVH82wH/rVZ614IbqLPIDaKO8eEQNCKJMcZQYixWVOp9aL+rOYMdtcM7CZnRw H8+X6xaQMhLQA5N6Or87WT4n44pHPN2wAR5u9aZSd8oG1WvWRcGoBiuK1Edr+BdYLXVR cs7TaYMUAixCn+/mHTgNTiSW7LfbizGZTt1NEUNz3gY6wf/NMpBc5hnjZc9qKpq7PZsy kR9w== X-Gm-Message-State: APt69E1Q6RHatMzs2EJe8JDdwO7XYt6BSwjnClxLui96/z8LNSNU4Ndp lHTuXFhHsVdKPhgzHf0R/u3RKA== 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-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 --- 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"); -- 2.17.1