Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4900501imm; Tue, 26 Jun 2018 02:28:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKMSK4tTpKeNz47gy9sv7mR5RD7AgynueQh35rhYWcjMrv0ZR7MucFY969vACNcE5Usbl3P X-Received: by 2002:a17:902:e209:: with SMTP id ce9-v6mr761270plb.233.1530005296858; 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=SaCm9Zxzt9cDbMK+260ziOlWiu1JAGFxa63jaJgXA4vwABiKgB1IOgCdN8Kv4H8Mx/ zSA8WlC/dkPC6CU3LM5Z+Bvg8OXbxDl3LN3ySRCkD/sn1N42gvkvOWolPlegVw5L+x92 UbjXWGRKMIDps7nQCLE9PEnZKxFuf/FNvqvR+yYtw1LKkcXhAJJL2IQmdMapLkes6EZo wRc+l+9t3EepDoTrgCDEvSB7yxF8/JGWdyJ2M5Zqbw3wNeVa9J8D7uz8hDj0olGNkuh0 GjFqXPOycAT63dqjm2oKqP2Fi16DjHKOwncGQig5XC7gSybK0FMLMCS0Xi3GX278d45Z Lb6A== 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=pofyQ6FgMsDD6pm9jY/9qPsZRPAHxS5ZCh6KlS8j4r0=; b=gHEBXLMznpiu0jYVpGgSh1gC5fxjGqaFW1pJeTgO5ClJsA/HjfJzRZserZ4bqX4+g7 JEkkkshV51KibQnHfbF5pq38/lqG9eH7DG8FSTFOght/VbRw2gsDjx8P05UR2YX95lKX 7P/+u/Px280m6jstSxjUzOISnnNKb/+AandDD7aA3KH8+/0zbiHWKGyL25op6zkd6RKh B70sxXTnem3JINqX5VLmrec+U3NGmngYWuvJnxRyCnGMJkfP5/cklf80m9QKrK+P5ejC JICQWJI+JJzQOEmM2Al3KHmoSsQQDp6xuiLbcYz/PryZRHxuAg4NBnJEyb6PeU7IuTwA zjOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="GFs2c/xA"; 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 z4-v6si1086094pgb.79.2018.06.26.02.28.02; 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="GFs2c/xA"; 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 S934411AbeFZJZ6 (ORCPT + 99 others); Tue, 26 Jun 2018 05:25:58 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:52548 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933876AbeFZJZs (ORCPT ); Tue, 26 Jun 2018 05:25:48 -0400 Received: by mail-wm0-f68.google.com with SMTP id p126-v6so1052847wmb.2 for ; Tue, 26 Jun 2018 02:25:47 -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=pofyQ6FgMsDD6pm9jY/9qPsZRPAHxS5ZCh6KlS8j4r0=; b=GFs2c/xAysy1Tp1JCMI+A2ITv9zFBFOAhoONz5pE8v/xz4JjZtWhthe3drKDktp5KZ K29ZInK+gwjhDB2qFuny/afQdi4Tuds+tU1URL22xGe27zL2HGcruggjARbmc9UKwduo DC0+Kwz0IaPi79uxbXQVLFmoFq9znp+RVC67r7kUFwJ1rKf7k5zZf5Jsm/126qsLJNb2 qfaiqRmDNwPbp4Yy6h9J2L/JU03ZOVoh16mB6hyXFaHiVaexVw3qFtLLb8NcQ/uPkcka SOvelFtJAHuegwCj08FEbu9wW2Y6freftCasvYchPQVgKvpVTNWP5giVAf+3baK3qJyJ Zo/g== 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=pofyQ6FgMsDD6pm9jY/9qPsZRPAHxS5ZCh6KlS8j4r0=; b=DA/wzSTsaEhPs7eIIxOGQ78rG8OGB0i1fh2NZucAqdG6N2UBCnEMJf0z2dQG4TL24F LBN5vXIpfMVdyjNPBf2z7I0bwbDuuU50fersuguEHanzhV+o51lA8y6AN7AQ4jG8aFxz emFmQdSN0pgShxC11mYrKAgx0GBELKjj7yF7zeFrRHV1Ix1patgAZrAjl24B2nnAt/fo lOLh41u4yG7T53vPT4SYcpWBvY7JR3O8c3o3SbYIIALacgHl0X1tKGBt6J/VSMtBRTEG 2FECkHLmO/lwxpK/Q8u24hh7jlFORtr2aU//LaD4K8TzCkGHckgqEmCba5DJovYk8y2H Yt3g== X-Gm-Message-State: APt69E0U/Imm5w0Dudyjub0buG5UQzThwBXaXav66IywbN80hT9LqkC7 lq+hCrHAQe3tv7uA3h7784IH5Q== X-Received: by 2002:a1c:d7c3:: with SMTP id o186-v6mr914858wmg.67.1530005147382; Tue, 26 Jun 2018 02:25:47 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 02:25:46 -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 05/13] clk: davinci: psc-da830: add a lookup entry for aemif clock Date: Tue, 26 Jun 2018 11:25:29 +0200 Message-Id: <20180626092537.6737-6-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 use the ti-aemif platform driver for da830-evm. To make it work we need a lookup entry for the aemif clock. Signed-off-by: Bartosz Golaszewski --- drivers/clk/davinci/psc-da830.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/davinci/psc-da830.c b/drivers/clk/davinci/psc-da830.c index 081b039fcb02..6481337382a6 100644 --- a/drivers/clk/davinci/psc-da830.c +++ b/drivers/clk/davinci/psc-da830.c @@ -14,6 +14,7 @@ #include "psc.h" +LPSC_CLKDEV1(aemif_clkdev, NULL, "ti-aemif"); LPSC_CLKDEV1(spi0_clkdev, NULL, "spi_davinci.0"); LPSC_CLKDEV1(mmcsd_clkdev, NULL, "da830-mmc.0"); LPSC_CLKDEV1(uart0_clkdev, NULL, "serial8250.0"); @@ -22,7 +23,7 @@ static const struct davinci_lpsc_clk_info da830_psc0_info[] = { LPSC(0, 0, tpcc, pll0_sysclk2, NULL, LPSC_ALWAYS_ENABLED), LPSC(1, 0, tptc0, pll0_sysclk2, NULL, LPSC_ALWAYS_ENABLED), LPSC(2, 0, tptc1, pll0_sysclk2, NULL, LPSC_ALWAYS_ENABLED), - LPSC(3, 0, aemif, pll0_sysclk3, NULL, LPSC_ALWAYS_ENABLED), + LPSC(3, 0, aemif, pll0_sysclk3, aemif_clkdev, LPSC_ALWAYS_ENABLED), LPSC(4, 0, spi0, pll0_sysclk2, spi0_clkdev, 0), LPSC(5, 0, mmcsd, pll0_sysclk2, mmcsd_clkdev, 0), LPSC(6, 0, aintc, pll0_sysclk4, NULL, LPSC_ALWAYS_ENABLED), -- 2.17.1