Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4901609imm; Tue, 26 Jun 2018 02:29:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcBaL8X1tbT5T2qpQBUfn+M/yuUn5I1CFH6UOepyN+g9wcn9qpOZaDQL2zMlWQAkmrMT5D0 X-Received: by 2002:a62:b24f:: with SMTP id x76-v6mr746088pfe.147.1530005386031; Tue, 26 Jun 2018 02:29:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005385; cv=none; d=google.com; s=arc-20160816; b=vwGdGKdz9upeyBMcKKXigJyzX3+49BHAkI+UsgL6CxY5EKnBUylpIMaykvnnoUeR6C SjQMa8phuZVSJbpzUqX8ob1qu3j+q81kJSquaRzuS7FCa0+4/JvOmpNMbVEDw7UONx54 FfW5rNZETOfz37TYb2DuznvsWVD3eCsboJUweZap1QFkbe8mmq9sQjCpJ3qdzZi6Tm33 7UVbTSAQkaXp9qNyIQ21qLyPmmQZVApGU6jXrk+qOcP+x00xQ1KfevoGLQZKvhcTLVbL DJ+7OsB3jO8BQ64e7eIEZN3juUK5+jA5tC1gvLSUA26gVSlItUOuWJ937xtoTOmJ6Uda SYbg== 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=ICGfu+S5DH2vWFoyobSXWbX3OXNviUAT30/ySGDLNIM=; b=X7qkEXLP8y0ySJJZ+I546FaCqSzQD78jPYmwCkGim8EepWBU3Yasf7z613oWWHktdB NNM0YkTz1j7gud6XteN0IlnQLXvp5R3vUYH67zBFa0sv55HubCHqt8ZBrVLnW3CSYzGh 5uRx17aM1CyZIUyHZafv08aYhJFogiujgfAv66gJavMm1P2k9suboLZBuZ1DYT+7CiMm ussrIrzwxYqMpV0AZ7ubnYXXlt2Iq7KgctGGB1wgEVMvIkIshzKSLEGXZcsnliV2/SD3 KDDMHjAJQ98iwCVdTiDTyZVt7TbMz9C/YupSmF+M/RUj1dDV9dgVIz9ADYQVVGy8UhWD BddQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=caJAdTuY; 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 z3-v6si1016236pgp.527.2018.06.26.02.29.31; Tue, 26 Jun 2018 02:29: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=caJAdTuY; 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 S934303AbeFZJ2T (ORCPT + 99 others); Tue, 26 Jun 2018 05:28:19 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:37130 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932965AbeFZJZq (ORCPT ); Tue, 26 Jun 2018 05:25:46 -0400 Received: by mail-wm0-f43.google.com with SMTP id n17-v6so478881wmh.2 for ; Tue, 26 Jun 2018 02:25:45 -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=ICGfu+S5DH2vWFoyobSXWbX3OXNviUAT30/ySGDLNIM=; b=caJAdTuYPTY8nOFNWQbrRMHfXimec3xG973moA72/mEdddE+PkzfzTLtlAvpkXzCmx pUwJgqNzPFB2Zr6Ek6hTY0MGr5hk2Ii6eRN1tklHl5VDDlriohpLU5vz2H1Kc6OeoGYg pqD7jyA+u88F9l4jWfA8nPYg9GmezAFQV35Ex4+jDtIer1cNgx3DjVDoSupvYFVGNo/D bLxyZVe0AVEumYWIXGm259MsdtD4Gwj0jTuh4DBYQBR2BWWdDzKtnHpWtl/N0NwXspFr Kl08jgWOIo1pXuREEbSctkYIbmXt9Gz9RTNAXR55SfRpCz760fY9uTbiLR/5KcrfFGSW XoKA== 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=ICGfu+S5DH2vWFoyobSXWbX3OXNviUAT30/ySGDLNIM=; b=lTeqkUHkKMADGJgPCgYD85MvB/F8+89ExlG567VB2gl6J2/SH49y3M6XlaZt2hikd6 nad6WoB+xfrPXDpFYRxat6lgol3Liow4D2BYowU52ikMLGxA9vAqjbc1gMgmokioWPLL auYh/SDIhoj0wXXX/0LgQRXGOezuwduzgu1YORqyBcL8qGoUurC0Qe0rG9ECnjoTGfTf ljOE29D2hShCm1FCmjZtJrAp9ytXNzC5R8DX9oGifJqHS9DmYUqP4FroQ/q4UFpu/YVI bkUbtIUWln9mew57wjIfigLUzMZff1flQsKaIUnBNs5Ikjz6PDTlBIvnbEZRu4UJB2Ov rLHA== X-Gm-Message-State: APt69E2INAi6UIKRqoUKm7JaUJkqrkPHmtYYhN72/MKWz8S4hdcR7zaF 2Zd2UTs27AW/UxXbx4JNBtg29Q== X-Received: by 2002:a1c:bc3:: with SMTP id 186-v6mr1011161wml.39.1530005145320; Tue, 26 Jun 2018 02:25:45 -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.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 02:25:44 -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 03/13] clk: davinci: psc-dm644x: use two lookup entries for the aemif clock Date: Tue, 26 Jun 2018 11:25:27 +0200 Message-Id: <20180626092537.6737-4-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-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-dm644x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/davinci/psc-dm644x.c b/drivers/clk/davinci/psc-dm644x.c index fc0230e3a3d6..0cea6e0bd5f0 100644 --- a/drivers/clk/davinci/psc-dm644x.c +++ b/drivers/clk/davinci/psc-dm644x.c @@ -21,7 +21,8 @@ LPSC_CLKDEV2(emac_clkdev, NULL, "davinci_emac.1", "fck", "davinci_mdio.0"); LPSC_CLKDEV1(usb_clkdev, "usb", NULL); LPSC_CLKDEV1(ide_clkdev, NULL, "palm_bk3710"); -LPSC_CLKDEV1(aemif_clkdev, "aemif", NULL); +LPSC_CLKDEV2(aemif_clkdev, "aemif", NULL, + NULL, "ti-aemif"); LPSC_CLKDEV1(mmcsd_clkdev, NULL, "dm6441-mmc.0"); LPSC_CLKDEV1(asp0_clkdev, NULL, "davinci-mcbsp"); LPSC_CLKDEV1(i2c_clkdev, NULL, "i2c_davinci.1"); -- 2.17.1