Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4050584imm; Mon, 25 Jun 2018 08:56:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL168TVByU3bpVMtU5sWrYTH6UMgM/BaSKn/1NQtSHpApLibMHkcWqU09TEc9s5Q/6RpBUO X-Received: by 2002:a63:b543:: with SMTP id u3-v6mr11281714pgo.365.1529942163295; Mon, 25 Jun 2018 08:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529942163; cv=none; d=google.com; s=arc-20160816; b=FfS8PksAHUZ8FlRX3sbydJHGX0RRJ6L0yJI3xlk+JLWeR1JpptJPV2237taMc/bmXY u1M44BDmWjBaaEHvf2C5WCL0zxz3rKxodbjrO3dunQfqtjqF3CmQCrI3t4yKAMuML7It chYm5q5KKG7wQ+ymM+SzfxHjYHJhiE+GiP4NeSOukzTKFtmvu+Xg8r4Vm0k+LaGLGOYO 6TOGUQM4OoBjZGNvnVb0IGqNTjomeLCwqvlIDnHgot/F53QEPue62k5xTupbnrZobKYN vBbQR60PIS5AAVXFwYx5K+1KrXolXfGH/roD5plpk6bv9MC22XEI/Gw4opf7wLynkK8q t5Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=c7OzWhinLwcYbAMenKQaluwX+koTU6Tg2kUp5fA/5Ww=; b=r0HJIcNdbYjqIbwRl0r7MWU8pS1oh8/o+s+mftD3O5QiXkN5LA9oAHl/LbJp8CxsbO ONeU5lzmbFg999ewGsUbobB4bJBLU15gDZVXxFO3OP8tQg0VBosHbKGOLzBJbtiraeLN d7G6SNOgAcI+YvGZepzbVow3nZAmZDt4LTFo9bEQFnbNUsPch9DlAuqtOcK9ZcH3EYOx O11Tn3+3PPCTNi4oRo3PY1344m0Oci9gL2dXkugX0ds5Fa/snT+CgtjI/0otYMQ4ORPy kJMlkGuTZAfEasjKOnTqZL7j1mZoj8MqP8cxOV0g3ANHleHiiQFKf3UpQVMJoQdoELwE KpAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=dE6xRpaw; 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 y10-v6si3456280pgc.489.2018.06.25.08.55.48; Mon, 25 Jun 2018 08:56:03 -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=fail header.i=@lechnology.com header.s=default header.b=dE6xRpaw; 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 S1755674AbeFYPxw (ORCPT + 99 others); Mon, 25 Jun 2018 11:53:52 -0400 Received: from vern.gendns.com ([206.190.152.46]:47435 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754915AbeFYPxt (ORCPT ); Mon, 25 Jun 2018 11:53:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=c7OzWhinLwcYbAMenKQaluwX+koTU6Tg2kUp5fA/5Ww=; b=dE6xRpawx6xZZ0ntLo/cDMILQb 0e/VfKzlU8AP3W5YknAyEB2i0i1irEElhl3zLsNIsaaAPBm1LDGQxLRdsHzdxaP32ebpfJW8oXY9T DOsTPFpSbz6VqXfCKeMvx4q1ercyQD2zkLPaC7qdJz6alMjgqd6SZ4a2FdieUkrhzbYFlR5+YeQWt N+t2NM6HUABHNKa5OVlHN7k6T0+QjYG4BeYLJFs0u9by6J8rseskaUlczwLg0Fol2+p98drTMrNNf lkrrqVRPElqsBKHcrHvneTikEFsAz8SaQ6txsSi4VnZl13rjtgjou8/1E17c/pWhS/RiLQXHG3AJu HfaB60/A==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:53978 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fXToI-0018vq-3m; Mon, 25 Jun 2018 11:53:46 -0400 Subject: Re: [PATCH 1/9] clk: davinci: psc-dm365: use two lookup entries for the aemif clock To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Russell King , Michael Turquette , Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Bartosz Golaszewski References: <20180625152920.11549-1-brgl@bgdev.pl> <20180625152920.11549-2-brgl@bgdev.pl> From: David Lechner Message-ID: <241fed6e-b414-feac-8e6c-39713c5e665e@lechnology.com> Date: Mon, 25 Jun 2018 10:53:44 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180625152920.11549-2-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/25/2018 10:29 AM, Bartosz Golaszewski wrote: > 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. What about the other SoCs? Don't they need this change as well? > > 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"); >