Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4064902imm; Mon, 25 Jun 2018 09:07:47 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIB0aAfa8+MQUw2SI/nrO05JGG0/O84c8hOajvBaBYjsQmWrUklaEwkiSmJtvj6UEQ7VeZ4 X-Received: by 2002:a63:3dcc:: with SMTP id k195-v6mr11334531pga.254.1529942867658; Mon, 25 Jun 2018 09:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529942867; cv=none; d=google.com; s=arc-20160816; b=AC2hAtuHl3tLtnBBkLMmu0q0qkcbOfyE+pCcAWYKEtrKGmWp6QrpjGsixpWbkBsLUI pz3Yj+yJdg9w/iBokOj1oNuTPFgt2BwUU2123AUstOsaOhid7c6RbTq3BsbUFerTwOPH IhGuMTA1JTxdC6U1eKHWfm2UyY90G4aJ++WBKq7DRoPP3I80rB/WCDjfPUTc4sh0nmPw hw/qbZi37XAOukgBFXCZcq8nmo+/tCLBND4yg1pBRtJOIXzOLaAxTCHg6Y/Wpq/WzARv hQrjnjIrddFxoS6KlJYkxFfIbyjU2LonosH9IWhzg/6f/0gXgLYpeif+L8NKvGHtG/wC D03g== 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=W+pJgjASrX8B7PMWdBZ9pssXlzXJmLopArYz2cK2v1c=; b=D6++0yeasqEhzPWJWPkxzO5M3nMBszAwfW+dGPJwsTBvNbPA+OK2MhBOv5p+9bVKyY JvJCyBNg3/acLqiSbueK1Hin8TXMkjjFJIMoZ28DwIBjDxQP88v2Sor2bPD2p5DHsELH bLEvDBgtPb216J3aSqHXjL4S6LiGtJQCuvNZveyhSk0ESvqyHrB49NO4dGz/57RIxzzh 2HoAZQ8lVSgeAa9c5UuPjiPcwCWZ3Z19eSpr28BnpZhpMCD/I1bKiTu7rsCTCS9TDy89 2YQi22/ntdr5hRkhU/KKAdIHpUPYcerckb6VHYwTkYcLAjknMLvNpuM0E3wEavrlu/0N W2SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=za6QnfDb; 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 t4-v6si6926622plo.235.2018.06.25.09.07.32; Mon, 25 Jun 2018 09:07:47 -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=za6QnfDb; 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 S1754847AbeFYQGv (ORCPT + 99 others); Mon, 25 Jun 2018 12:06:51 -0400 Received: from vern.gendns.com ([206.190.152.46]:48062 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752203AbeFYQGt (ORCPT ); Mon, 25 Jun 2018 12:06: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=W+pJgjASrX8B7PMWdBZ9pssXlzXJmLopArYz2cK2v1c=; b=za6QnfDbLXfdduV7Uhh8jR4TkL Ui2qrGicEECymD1qkFI5umlImxBZTBkqB1kgDgDN31zFqlQooIx+SMxtaoBRguNoeEgFJnpjDypIZ Vyc19TzCIRP5k3bK77Yq9ex3lWqsQ0nPURl9AKZMlQRX8zDCCZuf634rtUcJCPbJ3NOLBenM3yHBR HYnTz60NA2aj4x/V1ML+IgiEmpxfa9tADEEdtwnHKrpwLRsek3PXtegmhg5f+0h3zLMwZxrw+d9rW j19Js4C4Ft+dNj7O2OcE0rBrYXRZrVltS6Qp8LSxmPOBD30kgdFLvxk7jTTnuSXVg7x+G+xb+tnJ+ 6gMb/LjQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:54150 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 1fXU0u-001Bl4-6R; Mon, 25 Jun 2018 12:06:48 -0400 Subject: Re: [PATCH 1/9] clk: davinci: psc-dm365: use two lookup entries for the aemif clock To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , Russell King , Michael Turquette , Stephen Boyd , Linux ARM , Linux Kernel Mailing List , linux-clk , Bartosz Golaszewski References: <20180625152920.11549-1-brgl@bgdev.pl> <20180625152920.11549-2-brgl@bgdev.pl> <241fed6e-b414-feac-8e6c-39713c5e665e@lechnology.com> From: David Lechner Message-ID: Date: Mon, 25 Jun 2018 11:06:46 -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: 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 11:01 AM, Bartosz Golaszewski wrote: > 2018-06-25 17:53 GMT+02:00 David Lechner : >> 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? >> > > So I double checked and turns out I missed one other board that's > affected by this series and calls clk_get() from machine code: > dm644x-evm. > > I'll fix it in v2. The ti-aemif platform driver also does clk_get(). Don't you need lookups to make that work as well? For example, DA830 doesn't have a clock lookup for aemif at all.