From patchwork Mon Jun 25 15:29:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10486761 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 383BA6023A for ; Mon, 25 Jun 2018 15:31:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26EDA28585 for ; Mon, 25 Jun 2018 15:31:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B9E9285CB; Mon, 25 Jun 2018 15:31:35 +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 B16BD28592 for ; Mon, 25 Jun 2018 15:31:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751331AbeFYP3y (ORCPT ); Mon, 25 Jun 2018 11:29:54 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:40079 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbeFYP3w (ORCPT ); Mon, 25 Jun 2018 11:29:52 -0400 Received: by mail-wr0-f177.google.com with SMTP id g18-v6so14121818wro.7 for ; Mon, 25 Jun 2018 08:29:51 -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=mVo809IEsWDN1tWWxhyMZx5gKTQx0NsQ7jvkJ1G5srpSbntIWP5b+ynW9Lfa87FLXH q+IDHYi2YaDe+X/AjV/iwfZqRmv7rFQm4p/rVIUoWrjyJchfa7ia/tXf65iMjw8zgh7z tVvYe03aBpSI6X/sbKVB8Woqi+CW+PNZprF6LW/YEr8jT2Jklfk6BrLGt2ZydlLIdjXW qiKlnRBHVwLqiSvjdWskbym5uzr6GhFsCY+G2EP0m6buwmv7gPMTUV9uaa1cKDls7Err TQ19xP77DOJlp9O93NFlCgHMZOBhHNslAHnr2rzM58O7iObWlbS3XuLRk3uI0Czech8R 0OKQ== 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=ooviaNBchm1PrJbjgQRcnnFq/vdDOHUGHG+SuR8CEJ2kFi40sE3KBIeDPFJz0vkX6W fYbJS3VeALuS7lGLCMs0ev8MP+GYywi7nXpYQ6CT1T6TkqLac/SjzdIacBPv07QE/naj mjU/AwZtNkCe2ZTDOPbON7nRXFxqiB7tVKiONW2CCsjZrk4PuOd43OWAnu1DwRpPv0+Y DRepe8nIq3gTxzFKt5R1609ssaUu0TPURphZGBCfToKuNddJtQIkChUNESLoHB7SdF7h J5HIXIxYqAWOl6ElCrhtHOAWNJhUDliiwXl2eI9UDgJrmcjquwKPcTZ4JahIGDTzHBha 0kHA== X-Gm-Message-State: APt69E04nEaI7JME1m97LneKMT/rtQ8dJEhrisrmUs8wZDRAAIwfyX4J 4laNd6R94YvdkPQfajdbjMdWbQ== X-Google-Smtp-Source: AAOMgpcY3myXzIYQHnqlT/Gt0wG/jbQ/H3Opkc2/pSBY5fPrAPoWn7cWZXjnQi7p8KZOkn4ZnLOzcA== X-Received: by 2002:adf:ef85:: with SMTP id d5-v6mr1354226wro.195.1529940591054; Mon, 25 Jun 2018 08:29:51 -0700 (PDT) Received: from brgl-bgdev.home ([2a01:cb1d:af:5b00:e837:b8d5:48c1:571b]) by smtp.gmail.com with ESMTPSA id l15-v6sm18829174wrs.95.2018.06.25.08.29.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 08:29:50 -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 1/9] clk: davinci: psc-dm365: use two lookup entries for the aemif clock Date: Mon, 25 Jun 2018 17:29:12 +0200 Message-Id: <20180625152920.11549-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180625152920.11549-1-brgl@bgdev.pl> References: <20180625152920.11549-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 --- 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");