Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1605396imm; Thu, 14 Jun 2018 00:26:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIUhs11BQhC5xHDthp12y4xq9fQ3zzX3dz9fBPu47ZFhzKuzIkzlzffCyzNeKg+YTAax0T0 X-Received: by 2002:a17:902:8306:: with SMTP id bd6-v6mr1753788plb.120.1528961162370; Thu, 14 Jun 2018 00:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528961162; cv=none; d=google.com; s=arc-20160816; b=wCdLNczNAKYjkjnGPKlPgerQU1lgG2SrcnladSdr/GV72q4BLo/ycg5duASUBga0Ir p+djBSZbquDxkciO4pPi4NtoiA580pdEKVXaWISCsBiYilUS5hbUEdkwFCQDXO/h3iP0 gcPlkE+qsSwXqDSS1V5E08Z3hBs07Fyvv0A6FSkvE8MfM6zVixDIsSa719cpRpiqCJOd +ELPPi4dWbFnh6ncDYRQbVLVemco5YOyXkDfuSOmRxRWh642NhORwvDeB6zpF878mzCO DFMQSjrWemYqjAVLE/kWL1RxAO+gJpNnQE1Q328eEcxh8A1F2Mi/01vcl+8/LxFXKhNX o92A== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=TenxHi9aV8OoonA1MKbFf24anbWTEsEpcmyZq/o1xnc=; b=imt/GhkCh/RVtOHXdkefhZRzx3CTTzhgcj4L9MQSVc0+ZsNoJ0twPOudfaB42x4Sgz Xou/UcRJjrU1QK451LH1jsaJfdXrX8ryniLU1eO2YvPVxjqF1TSpMnq2d6+jh0SkqMNd BqmWBbVAr+C2sw3U/pXNcBoeiJFCA1dwDuEwow3z2pw5eLi25WXHUSmAkbIYkWo10eRo OI8alT9M4hByxmaoPRaDkKEYpc/5bpBZ0Md/i1t4JrdW5+rxUQET4Z8h2Wdz4edtoBeL UQ4AxWp4/jtAZF1dCFA4etPpkEM1ZL8DgnpQzavg3+rtZez3sh9KhttxEP+eG/Wynun5 hW6Q== ARC-Authentication-Results: i=1; mx.google.com; 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 w3-v6si3843235pgc.645.2018.06.14.00.25.47; Thu, 14 Jun 2018 00:26:02 -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; 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 S1752892AbeFNHZX (ORCPT + 99 others); Thu, 14 Jun 2018 03:25:23 -0400 Received: from lilium.sigma-star.at ([109.75.188.150]:54602 "EHLO lilium.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752760AbeFNHZW (ORCPT ); Thu, 14 Jun 2018 03:25:22 -0400 Received: from localhost (localhost [127.0.0.1]) by lilium.sigma-star.at (Postfix) with ESMTP id 2759418186341; Thu, 14 Jun 2018 09:25:21 +0200 (CEST) From: Richard Weinberger To: Masahiro Yamada Cc: linux-mtd@lists.infradead.org, Boris Brezillon , Philipp Rosenberger , Rob Herring , devicetree@vger.kernel.org, Miquel Raynal , linux-kernel@vger.kernel.org, Marek Vasut , Brian Norris , David Woodhouse , Rob Herring , Mark Rutland Subject: Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface Date: Thu, 14 Jun 2018 09:25:19 +0200 Message-ID: <6557713.S7AzxIg9TS@blindfold> In-Reply-To: <1528953067-24324-1-git-send-email-yamada.masahiro@socionext.com> References: <1528953067-24324-1-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Masahiro, Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro Yamada: > > The ->setup_data_interface() hook needs to know the clock frequency. > In fact, this IP needs three clocks, bus "which clock?" is really > confusing. (It is not described in the DT-binding at all.) > > This series adds more clocks. In the new binding, three clocks > are required: core clock, bus interface clock, ECC engine clock. > > This series also takes care of the backward compatibility by > providing hardcoded values in case the new clocks are missing. > So, existing DT should work. > > > Changes in v2: > - Split patches into sensible chunks > > Masahiro Yamada (3): > mtd: rawnand: denali_dt: use dev as a shorthand of &pdev->dev > mtd: rawnand: denali_dt: add more clocks based on IP datasheet > mtd: rawnand: denali: optimize timing parameters for data interface This still means that we need to feed at least 2/3 and 3/3 into -stable to unbreak the driver. I'd really prefer a single self-hosting fix that can go into -stable and then patches on top of the fix can prettify the driver. Thanks, //richard -- sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria ATU66964118 - FN 374287y