Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4027689imm; Mon, 25 Jun 2018 08:32:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJpejEMxE29WF+NrNqram3RVtx4YZjv2jb8cAvnVLF3xMocnLwlKQs5ms8My9/2gbxbkIK8 X-Received: by 2002:a17:902:d711:: with SMTP id w17-v6mr12750814ply.200.1529940765923; Mon, 25 Jun 2018 08:32:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529940765; cv=none; d=google.com; s=arc-20160816; b=skGOjG6qxMxKN6ImYIBtzY5lFVpFOd6Heuo2oy7LqevPD5Y7LNsnDwHIpa6hmmEurc SaCsue/EPDPv7sKtfB8/qkOVKEb/5CxQotNtCFPGqkxVpqkjM6j2D1bgVMLlsuwO9dWN Dra+3QTIdfk3GPtB7+D/cM2IkdoPdDXYHr3BYXe1jQ/LyYAZR0ahhcDHMd9pDeEQ0EeD AZrrY4zK7N8KcioNOzqbbzj39bxY9uS5ZrIrp3UgZYZc0k0Zd8I3i2iKkW2f9YLDbenZ xvBQQ8ONdhILmc9vKtD0Afmy8wWgKVPLL0n2m1ty8b1ZXDts1Q/mI/eAbGZxcL0Tiojq Upog== 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=nSXHzvqybEtdzHkD2l9M3rTvO3mzizZqvz9MLG8cxdI=; b=lJ6G2cel8y0t3QKsFQ+5J0bLGrNxfNeAjHj6k2gmcQSenBpuxrV6f0c9nLwBsmgKkV oP39QI30RuXvz0QQL6kzcqWP4WV3pYJhYk8BkZPxaQsOlA4u2BORVCCTehyIgoNWZVcE RUDioQCH1acMYl14nSiL7AvLfJOIMco4PdAE28GWF2lMaINQDSRuBiEne/VwOYgCHvnS xkS+28PI90LLn8elVMOMIeXDOyWqYqpz7XP04uvmaERC4yC0L69TGS2iLnl/SLii6zOX I2LADet1NSVfkEcVcv1iWKXebJG20kGQtOyE3lHbAn6ySJlDYk9kUPsb2JhmntJoOAw+ 5lmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=mVo809IE; 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 r7-v6si12365517pgn.326.2018.06.25.08.32.31; Mon, 25 Jun 2018 08:32:45 -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=mVo809IE; 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 S1752261AbeFYP34 (ORCPT + 99 others); Mon, 25 Jun 2018 11:29:56 -0400 Received: from mail-wr0-f179.google.com ([209.85.128.179]:38862 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752031AbeFYP3w (ORCPT ); Mon, 25 Jun 2018 11:29:52 -0400 Received: by mail-wr0-f179.google.com with SMTP id e18-v6so14132223wrs.5 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=uLJb7/UkhM6NU9iDr2YsOchIikOSBwofAui9Y0OxtvfdIU5zLwWwWATnauFDYMoq/S EgsmM2dHir9IECHhuNxw+1RxxWMSf3zc1oYxDQZUl93PNefmJFyZk7YzhgX9jV5t51+6 lWvYYO01a5oZ8j6u1Bt6svCak2XqJHk0wLe0M+/dJw6suKbkkgFn/oKmK2OWiBGBEYw4 w36+EmjZBU50dHE/9kYk4L7/k2toJqfc1fXeaRj3I7EN2TJYpoHNROYI2CvWg541mN1C 02+FXz65rSzzjf3AtibJtFV9HP589rkISxUYmmHs0m/bSxCOswX8q9zz4YyxUQTMVSZZ gGiw== X-Gm-Message-State: APt69E08h7+qDSQfQH8KAk/Epp8KrtY9VvyX75KqU/TtxGTbmma72OHL Tj+mQRcC3wGj8TwEYiKMXjjM7Q== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"); -- 2.17.1