From patchwork Tue Jun 26 09:25:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10488485 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 B3356602D8 for ; Tue, 26 Jun 2018 09:28:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A794128619 for ; Tue, 26 Jun 2018 09:28:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C41A28649; Tue, 26 Jun 2018 09:28:45 +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 50D5228619 for ; Tue, 26 Jun 2018 09:28:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933805AbeFZJ2R (ORCPT ); Tue, 26 Jun 2018 05:28:17 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:38095 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934074AbeFZJZr (ORCPT ); Tue, 26 Jun 2018 05:25:47 -0400 Received: by mail-wm0-f44.google.com with SMTP id 69-v6so1005623wmf.3 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=ghUy5TlXuvvU+RkeY4Dj9uZWBV9etfW6ILIQGD+aumE=; b=cTFc/E1a4WmlsChlhIbmCbEElH8qPz4sAlUt0DEPlaY/FJEsU1wAlIP6HjCdIuorUv iHQm4XBSoVPw39ZcNY/o6ksbCS1n3JfsXMa4ZqbP0wbMy1svnc+ix98ShLv05soaKLxu d7rBXMUjmP7dlgkdl2Bk3VrIFF3DSQUq3JLff9+/L3nCURvIL2aS6HI5pZ6yE6tQnR9F wIr7OH24FUlFcO9SgnqEMKJbPXQqBhaFdwzRIX46D1vCe4kG5CL4n3dTrSmRE/QmVvZl 4xGfiakz9dWJNxFPJxIMwpouoqTCaCcq67YHlfa/U8d4GXmCvG4chWCljZq+XQKzI5G3 D2rQ== 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=ghUy5TlXuvvU+RkeY4Dj9uZWBV9etfW6ILIQGD+aumE=; b=XIh5VoxmZI9d3nbgHtVrVtjDKK1rI0LnaQHpWU6HzXyZWAnn5Yl22Uz9X8VJa4W/eO 3krjvSYHwUE5pFFUysDwjP1A+gRhzh12s586Z+7UnccqcFMjO30yLNRTwr7zagcrXJgQ Jz0u08ZaCQMkCrY2ejk9NwdQLpptJ0Z6DZxHbizk9kEAhKbs+QWyKc/otc0lRU792F6J BOGueUxj6YVjWJcqZe571Mh1xjPEijIouCoE54HcmeQ7LPO652tUw5Hgdtw6C1rHFm/m gtJUVkEPmnFx4x2GF+qOAEU+5qscuhUCWu437qm0rqrnTSXEeoo5AWgEWA55McrtRh2G dMFw== X-Gm-Message-State: APt69E2GaJ4RBp8qglduTuQjgi71NQJEoLe097jzKtnEpksuqxRSdAKf 73fFT5F2C/6qX56IMTQ386PU1w== X-Google-Smtp-Source: AAOMgpdTFn4U5axrrUFQAswH5LfTCY5UYUCZwQA2wvG47rVUUAb7GLRPaj6SaVPvPgOhymLPo57z9g== X-Received: by 2002:a1c:96c8:: with SMTP id y191-v6mr909015wmd.37.1530005146371; Tue, 26 Jun 2018 02:25:46 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 02:25:45 -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 04/13] clk: davinci: psc-dm646x: use two lookup entries for the aemif clock Date: Tue, 26 Jun 2018 11:25:28 +0200 Message-Id: <20180626092537.6737-5-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 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");