Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1329322imw; Tue, 5 Jul 2022 07:39:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tw+rACmojdHNxa/ZkPvhMFjRqhuviWicZA2wX+5/6BeIFH542XBQ5HHg4bXRDkCx6UAPqY X-Received: by 2002:a17:90a:9f46:b0:1ef:789a:315f with SMTP id q6-20020a17090a9f4600b001ef789a315fmr20888093pjv.68.1657031950667; Tue, 05 Jul 2022 07:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657031950; cv=none; d=google.com; s=arc-20160816; b=sF65F7qkbftW+7039mSnadpzojZOdjAOa8hokqHgveaYaKlKrAt/GfHfMoCp+aBEhc g2zk3ljVa8TYAfJd6yRGlGyfEBxH318V3vFn3l2cvxDOp9i0F8FhvZFXTG5YCPL5LCQf NVim/E98id+qjnSCHxeGYZCxYDf0IdtW32/KSXgcf7nrSxeZP1j2Hi3yh0ikKZEOYPxP PI+ho67bcVyKIWvm1KqJB7xdid/hNgU2tGnL/57Tli1wKiG4Yxh9Nj5sRw5CD35ckZ9E LKUCnST66NXlreug0AqxeR1iJ1Q4pdY0IPfCNnkumTzDIF1hp/uTULSDh04Iwukm9ZLJ 7L5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=GB9HU/M2Mnn421s3orIG2Ic3eQJpqeuHzFfYbqGQ4Sw=; b=cvEZEVE0CVDXSeC1UAyzTlUptEGZl3pvhtFjLo8PjDsaRvRBToM3l++FOdCWltVm6K Hw8TXNP4uBygPP1LUCwobnhr+PB/zyioYt5/Y2lJlQgpgS19HTYj+9zOdm/wZSoUAbPE tHYC7WWrJmNOTt7jxs0AO3KCd4RGycLAuRVNhsIyVtXlJfE4b4K+AtR5Ca5h4rx3WKcu 7ZCZm7J7MzkCkP3VnDMQvgva81rSeWlY8Mta9cSVvEGxOAn0QkEyl2E88txNA7sBgBQf L59vq2RrqvgisybLd2XOyqkxbDfw1g1D6JgB+GoFJz7dSzMDk0DOUimvWzq7JA4Xtx52 Eheg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=jqWm2eua; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a656c12000000b0040ce4de349csi48926877pgu.291.2022.07.05.07.38.57; Tue, 05 Jul 2022 07:39:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=jqWm2eua; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230231AbiGEODv (ORCPT + 99 others); Tue, 5 Jul 2022 10:03:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbiGEODg (ORCPT ); Tue, 5 Jul 2022 10:03:36 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34722A940; Tue, 5 Jul 2022 06:50:07 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 13EB02223E; Tue, 5 Jul 2022 15:50:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1657029005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GB9HU/M2Mnn421s3orIG2Ic3eQJpqeuHzFfYbqGQ4Sw=; b=jqWm2euabGg75wqWBKK2DDHsz+WYLaebWUdzLXcIgT1kaJmaxy6YOX7zID2TnkI0lqcsJl p+sYlNnbYudAFO39mqugj8HREtra9oKXnrcvW+ClZgqysquP6Gygnfy4MA5swhzumzmKmN 7etNfT9Ogav64i8NrW84cX97LOqKr24= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 05 Jul 2022 15:50:03 +0200 From: Michael Walle To: haibo.chen@nxp.com Cc: ashish.kumar@nxp.com, yogeshgaur.83@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, han.xu@nxp.com, singh.kuldeep87k@gmail.com, tudor.ambarus@microchip.com, p.yadav@ti.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, festevam@gmail.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, zhengxunli@mxic.com.tw Subject: Re: [PATCH 05/11] spi: spi-nxp-fspi: Add quirk to disable DTR support In-Reply-To: <1657012303-6464-5-git-send-email-haibo.chen@nxp.com> References: <1657012303-6464-1-git-send-email-haibo.chen@nxp.com> <1657012303-6464-5-git-send-email-haibo.chen@nxp.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: michael@walle.cc X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2022-07-05 11:11, schrieb haibo.chen@nxp.com: > From: Haibo Chen > > Not all platform currently supports octal DTR mode. lx2160a do not > implement DQS, this causes flash probe failure and therefore, provide > an option of quirk FSPI_QUIRK_DISABLE_DTR for platforms not support > DTR mode. You write "DQS is not supported" but your quirk targets DTR. DTR works without DQS. DQS is needed for faster frequencies, no? So the quirk should be named accordingly. Also, this compatible is (unfortunately!) also used on for the LS1028A SoC and as far as I know DQS is supported there. I'm not sure what to do here. Maybe add a new compatible "nxp,ls1028a-fspi" and change the device tree to compatible = "nxp,ls1028a-fspi", "nxp,lx2160a"; -michael