From patchwork Tue Jun 26 09:25:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10488443 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 8A0AB602D8 for ; Tue, 26 Jun 2018 09:26:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8795628857 for ; Tue, 26 Jun 2018 09:26:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C3C62886E; Tue, 26 Jun 2018 09:26:25 +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 26FB528857 for ; Tue, 26 Jun 2018 09:26:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934154AbeFZJZ5 (ORCPT ); Tue, 26 Jun 2018 05:25:57 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:56230 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934299AbeFZJZs (ORCPT ); Tue, 26 Jun 2018 05:25:48 -0400 Received: by mail-wm0-f66.google.com with SMTP id v16-v6so1044666wmv.5 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=OnKfOwEuT7GRzHrDYZzkaebOeJRnUsFC5shGkiGsD5Y4krWZVjYqITk9/USLy9G+IV V9gOh5J7jTnxRTHphgpm/f+cKPF0KPkvOZXSO49n2BXWK26SSjQPBzPsZFvq/qpDbIMt 7+l+cbcDct4edxPjD6F6I4TYdCMSj8GQ5yYmlQKuGTVgBOvEJ94KgOJJPDgU7UdRtOtF zbCCj4cGBbHsM9DTF/zrhOIETyL4jWXoGHjH6dFOsj3r7cp08BJi/c393tgoiB3Fv+fS awJgpqkk7EgU0XNNtpvUdXsD32wr1u7NAIuxyh6oUSXKsHNaucfBshPn1zeNYwoKk19O BikA== X-Gm-Message-State: APt69E1CnR01LZf8jy7KE6K5jcX7fMBx91+1MhDOYhme/KQBQ2fkf8Sr ptH8hQOJlILxlYbErmPv94YWlw== X-Google-Smtp-Source: AAOMgpfjTyQGjhNYeyZ15Kq4OOfGXEbGc0Bwo1AZJ1vqqrnD1D8gf89R6Wjos0rJbkBmYwSXRFBXSg== 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-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 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 Reviewed-by: David Lechner --- 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),