Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7717401imm; Thu, 28 Jun 2018 08:16:06 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ9NOFm3YoYt8xvmCBgjRh09CLmlBzSN/57NeXz9aCg8pLhASF2pyQhV4TMm22vEmdI78PK X-Received: by 2002:a17:902:b418:: with SMTP id x24-v6mr10902255plr.2.1530198966354; Thu, 28 Jun 2018 08:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530198966; cv=none; d=google.com; s=arc-20160816; b=T7pLn6LJRN3sgoiVN16WQdHLUUyYJveLRvi+5xzlfaUVWZ0NPQLOcdsfkmeHiL5j+a 1doQCDXISHl32VjingI3J7s+g8NyapP0SJTw6GRVDXpe8GpQLLhGOTRkX5QCAEmHwC1U leuAl3VirFxdHUsLg+vddbjwoyuMpHXRcA3ELQdHtAXllo0j2Y2t/gELkB6GQie4wBJG +h1/0pygVFJF0EZajGLkEP07xHMwwO5Y3Cp1j2xQkSSAyrqUKhte9cVHC5AwLIMcUHb9 Y/pg7orsDvLbpshknaX4/LohB/WaOGvsVS94EjBkMin2G5aCTnEtBsGxyoI51OKvWc+B D7yA== 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=ORUO3Jx0NIj7th+JdFndVgsL+HT7OGuaxBq0lYbXpQ0=; b=fn9YH3bAWcEggjD0YKsMQX9SX1l6mtl2KJQATHqsrOSx8PalEqvP7y0XWmqSNWuqdG Eg9PDmVVaDD58LKZTdORw/eN9Vo7nc+A+NRrxVG2j0N4I/7KpMd4ghEHQaUIZDnpNH7c qSi5rKsCpkp7H8XbcDoE5EPbyueZ/WSf/MBMyMVdSonhsKm/kg9kYHtCEplvgjeTZh+f D8ITr6rec8ns22csPGuXnTKsQZi+rKkk5zV2hk3bzXoQbDZ8F5hik5QuHgY+1dOWfshi zKqbyHTT5rG9v/rwBbk/PnltflRSxt8uvS4mozQN8EOpNTo7LknTBZQSCBRWI3cfDymG BO7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=AzgYwwiU; 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 r138-v6si1277792pfc.202.2018.06.28.08.15.51; Thu, 28 Jun 2018 08:16:06 -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=AzgYwwiU; 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 S935247AbeF1J6F (ORCPT + 99 others); Thu, 28 Jun 2018 05:58:05 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:36972 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935134AbeF1J6B (ORCPT ); Thu, 28 Jun 2018 05:58:01 -0400 Received: by mail-wr0-f178.google.com with SMTP id k6-v6so4859882wrp.4 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=ORUO3Jx0NIj7th+JdFndVgsL+HT7OGuaxBq0lYbXpQ0=; b=AzgYwwiUBsaJJG5jhWimHMd+dA717lf+Q5QdvNeV9BpI518nTdZ6LR9+lyBQuu6pw6 fOTclI4mbreClt0vjk2f/HFTpKWzizjYWsPM4Zcp2bKbRcYRgqHDW5Sfp2/b6nbS43Rr xeA1tkaqdvQnc+XWz8WAlQzCWluWEvXNaPLBZmJ3zDCoo27PVnLXz/dMdXgA/TQbR9Gf S/uIN7TvydNXnU9wR4h61WWw+iXQv72nWBV9lf5BI3xuYMPR3ZbIkxL3yikLwgSjWBox 3YDNyTlmK0E/mXZPEi+gzbze4Nv0dijpfgQO2RUXIsByk7hH7osvm4ecA5xEFB8xDICU QNwQ== 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=ORUO3Jx0NIj7th+JdFndVgsL+HT7OGuaxBq0lYbXpQ0=; b=bZaEBjtTP9amK5A0WSoCbR1hlTWhnDBs1eyzWA6gb0DebWy2CzEjvZXkZE/H7/k/dN GEInhsPF3BJ2fpfa0uz8xn/NGmPj3j2y4UKjCp9Sr+C6Rrgw/QtYArAXoDVd0oljWXOY 9CAryyJe+tXIoh3xDLwKbRh9ESb6siS5IXjWP9LjgCkGVk2NnCjlX/gK+IBycMkpqMNr pKnGfADoLjx7gkAxpD1Xzjhn9r4UdohgzIf0KDn4Lk1K4NyMLG7A/RigI3SVX5lU06L8 m7oz9Xf5pWcJv0eiYAIMeO+pQzP/WN9Mqx4IdL2N5T+QcalIVk1ozirxaZI/6JtRVCD8 OlWg== X-Gm-Message-State: APt69E2/KW64YnVlDTzCKdEGapivwFCVsA7yXoX3A44JpGBuYfyxckK9 7/sdXXCMpYgXObCfk9emIQU0GQ== X-Received: by 2002:adf:a706:: with SMTP id c6-v6mr8374033wrd.61.1530179880353; Thu, 28 Jun 2018 02:58:00 -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.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 02:57:59 -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 04/13] clk: davinci: psc-dm646x: use two lookup entries for the aemif clock Date: Thu, 28 Jun 2018 11:57:39 +0200 Message-Id: <20180628095748.4462-5-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-dm646x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/davinci/psc-dm646x.c b/drivers/clk/davinci/psc-dm646x.c index c3f82ed70a80..20012dc7471a 100644 --- a/drivers/clk/davinci/psc-dm646x.c +++ b/drivers/clk/davinci/psc-dm646x.c @@ -18,7 +18,8 @@ LPSC_CLKDEV1(ide_clkdev, NULL, "palm_bk3710"); LPSC_CLKDEV2(emac_clkdev, NULL, "davinci_emac.1", "fck", "davinci_mdio.0"); -LPSC_CLKDEV1(aemif_clkdev, "aemif", NULL); +LPSC_CLKDEV2(aemif_clkdev, "aemif", NULL, + NULL, "ti-aemif"); LPSC_CLKDEV1(mcasp0_clkdev, NULL, "davinci-mcasp.0"); LPSC_CLKDEV1(mcasp1_clkdev, NULL, "davinci-mcasp.1"); LPSC_CLKDEV1(uart0_clkdev, NULL, "serial8250.0"); -- 2.17.1