Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4854223imm; Tue, 26 Jun 2018 01:29:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK3jB/LrHJby0T1U+RPLd8XpiFWIdms9j4WVALG6qOreMVXnEqaN1/Rni0kCF6Xj1upf4gv X-Received: by 2002:a63:6f46:: with SMTP id k67-v6mr512370pgc.65.1530001767032; Tue, 26 Jun 2018 01:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530001766; cv=none; d=google.com; s=arc-20160816; b=yqZtLaOmjghgKy4Dt7J6qradUSchxYASvGj73xW+EqGNR+XnxtywVr6F3T7uZHDdzm OgS9IJ5BDpPjylLwm9spVWDiC4tu32jnAX+sFI+nPGZ2+Nj7iOJZetkvdPa0ORUQbCZ9 ZTrZB2UJK/lX8G2uZjFRhSdf3x835WDJQirthz4790FjS0Ny5pexOBj5EgJIhkFeeXj+ ZEgVqwbq8eqcSK08KGyigq/qGgTtZbkyPUfEz8QVI6K/kiomyM/HTsceYu7yf5fSIl4F 9XuM43Ugko+qlrP4j/NlDnIwXkGpiep1S6KrWEyHgd8yvrflaUfkjUxCiK6aQjxbzEiH i6wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=BIJcebHsDqfdi2LXM6kPYp6IdvPn5oZ7MhO6RpWFR0Y=; b=U4Hg6t2Qti9mNIgyd1QYzaGiDKLJb4ao798g6j5XFAznm83DVelBxMi53gTsWG3wAt DKvQg0h/5JIxMRiFu5HO8wWewnYpZAAFCBFAIXWj2xARoIEYohLRHJSocyNFeTuNlbvI maUAuyu2gGs8/EbsqFn8T8TDk3gLNwqirUVGk0tZQMtXgthwQpDkr+1sLA1u7B1Giz+l m7JGw1XNZ17djlJtaEjQhx/SybZs0RXit0sDn5ka3cK0Q/jf2/idjnv6dSv9hsp2iskC JH4UZhZo9slgLIB87SiWEmf0HJclrWdZEqjCHZw5lwHXUVgBd7eSDfS5VWPtDASgF6no Z8Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=gYCo3J+D; 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 d1-v6si1279210pfk.166.2018.06.26.01.29.12; Tue, 26 Jun 2018 01:29:26 -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=gYCo3J+D; 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 S932629AbeFZI1Z (ORCPT + 99 others); Tue, 26 Jun 2018 04:27:25 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:41661 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752779AbeFZI1W (ORCPT ); Tue, 26 Jun 2018 04:27:22 -0400 Received: by mail-io0-f196.google.com with SMTP id k16-v6so12395137ioa.8 for ; Tue, 26 Jun 2018 01:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BIJcebHsDqfdi2LXM6kPYp6IdvPn5oZ7MhO6RpWFR0Y=; b=gYCo3J+De0Pg1FoYdhgM67v0lttusTzNmevL5cdNrplrJ58cd8Tfs3X54ktTao3CZx dgW9CeoJFvsQUx38AmiLsYtYBvwRK+DWpGuF/XpoBvfqsdCu0w6urdC9Jtxh1VcaG0zU g9+gXtHBBrKw2cVnMPnd4OrIAQPowzkC3RHbRicYLrhjH0UonFWVw7++TJbI1Q941O1y t6suwavH+sRPz89CGRAlOTkMcB/tZQEOn6VHE2LfPfXdI1yJglTcoze2UkmE5uQMi7jp fD3U+VvOoqhmdE8wDFwMpJClFRCbLnKmnwiHc2Gz4KpodD8TayJkojdq4H4qo3N7OVwh qC7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BIJcebHsDqfdi2LXM6kPYp6IdvPn5oZ7MhO6RpWFR0Y=; b=tcYgE7osni2T/hHuiYf4vVBXOs/wZmO4Kgy83YWKlV8ViIPFxQsW8lbgSarOTUMp60 gbGW3rMZtYloVDXQVULeER5tlojWvoZD/C38xOHN2lEu/yLjD48SGzOJ0bXDer/dLfKG sltuyqhJR+kgklav8JHutrY7sFMMgal0o9EexMbPbIbpQ7w2dSb69qlkm1AlvKR8JBXQ uMRBzvaIIfW0opes5pW1+8YshWQCv9IwEJtTfHIOPDxwoJJqCT6CUdEVYxAGliSBaUu8 XfdIq9/ugu6qa83Jafhn2yf0+PGhDL7w8QnQem/NtyHLbbk0A3mU9konG9F4myRERSrt BJ2w== X-Gm-Message-State: APt69E2aWI0nBEBvWmcQ7djuJ0Q07FzRAKr51SxpjGNZ0PHPk1EKE70e djWBHygSRT7nUFclqMF0AHons5hQg2SznILm/cMC+A== X-Received: by 2002:a6b:c855:: with SMTP id y82-v6mr409772iof.187.1530001641806; Tue, 26 Jun 2018 01:27:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:9c51:0:0:0:0:0 with HTTP; Tue, 26 Jun 2018 01:27:21 -0700 (PDT) In-Reply-To: References: <20180625152920.11549-1-brgl@bgdev.pl> <20180625152920.11549-2-brgl@bgdev.pl> <241fed6e-b414-feac-8e6c-39713c5e665e@lechnology.com> From: Bartosz Golaszewski Date: Tue, 26 Jun 2018 10:27:21 +0200 Message-ID: Subject: Re: [PATCH 1/9] clk: davinci: psc-dm365: use two lookup entries for the aemif clock To: David Lechner Cc: Sekhar Nori , Kevin Hilman , Russell King , Michael Turquette , Stephen Boyd , Linux ARM , Linux Kernel Mailing List , linux-clk , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-06-25 18:06 GMT+02:00 David Lechner : > 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. > This seems like a bug: in arch/arm/mach-davinci/aemif.c in current mainline we do call clk_get() for 'aemif' and it's called indirectly from board-da830-evm.c via davinci_aemif_setup(). I'll address this too in v2. Bart