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: 10486739 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 04AE86023A for ; Mon, 25 Jun 2018 15:30:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2202285DA for ; Mon, 25 Jun 2018 15:30:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D648D285E3; Mon, 25 Jun 2018 15:30:26 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6C0EB285DA for ; Mon, 25 Jun 2018 15:30:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=9oYydHTmalCdVIoSxAEHhEp7yCjfw+qNFX2XLs0tD8Y=; b=tzBWMQ3Esr96XxtYqqpfS6T4J6 VbLOU2j5++cc/b+C6Fe6r5UgphbSw1HIPL7hi3nY4ykR5ROdqAgj28GDRbzHXKWLMZK0ieKMbHH/+ eCN7t77istZMee7WhJqJ5HUyECbLFsLWM7QQsH2x6OkYJzecfOdJl38wt1WTEb9b5nJ7wfPnlJsGU Qqb75m+pRodVCL8i0gU5IidCr04RBsb4fWuCNfOqv37C6zYlF9xmnBCyP94rUrSMaHrwftAXIuO7u 64qzKkun+pbqmcSXfARrXRFMEnpLYz3h8avRSCtDqOfMUTC02PjxAS/7zl5RmiKSF88nGNBrSuAc/ tRDzRlqg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fXTRR-000075-Vr; Mon, 25 Jun 2018 15:30:10 +0000 Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fXTRK-0008ER-SP for linux-arm-kernel@lists.infradead.org; Mon, 25 Jun 2018 15:30:04 +0000 Received: by mail-wr0-x235.google.com with SMTP id k16-v6so14148177wro.0 for ; Mon, 25 Jun 2018 08:29:52 -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=ta8XIOIqlw9w+K3PzVX8GbfLz7J8HNKlaj3rn2NesPD7nIEAcf3x/5fYLDtde2dihn We3oCnFGVH3rshu9DYcj5aFsRE/pC5upsFSqXK+UGHlWMW4k7zcKcwuyNbk9LkCPX8EM 3xCE05bSmbEHbJwjsLEV0aQRBnAdZfJZttsmODfs6+6TTlTF4Lpx9S9e4BSBLEHrwv88 q2kScz7iWrlEAovMvtXU5Wicu3H+PSae+W7iwV44wZs1HT4XWRfZJpm6L4m34tNu3PLw LYPVumFw7EGHcVBE4R2GuM64S8rIUCYVqt+6nLu4AMTpRSQfUMPJ0FkV1Gxuz7+532ex vQjQ== X-Gm-Message-State: APt69E2nysIU9hKTlRjxAfNyshn85jRxnd1bLhYwez5wPbf7fkFnA649 a2Qe2BQceP2QTadIyri/+XxKsQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180625_083002_949498_945FC7CD X-CRM114-Status: GOOD ( 14.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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");