Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5491272rwb; Mon, 8 Aug 2022 21:20:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR52xto0Rp/7BQKsCxOFHKJfElRnVC7Ek1Ye3opLWb0OW8LG6+qFQYfv1Wic2aS49LecoXBP X-Received: by 2002:a05:6402:3583:b0:43d:6943:44a with SMTP id y3-20020a056402358300b0043d6943044amr19836446edc.409.1660018827614; Mon, 08 Aug 2022 21:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660018827; cv=none; d=google.com; s=arc-20160816; b=tr3oo2HJwh4Hu/kQF7QN80Jsn7w88F3KT8HrQ5S1k6H8T07osPJIK3oFjvxGypNRX+ c93GC26eIjSevE/qoaBX8vynkG+Ls6ureAXhlqVXMfreD7WzgxZUUxvzXLonBgGEDBhG PokiK0zXl2QElIHrorJQcWm2cersSYOkkOtpH3pxmXuWyLyHJ+n/YfNYTAT5nCzyqFm+ XNU5A8/NH1j2T/OiUpi+tIk01/RKBWYVZ5RvArrdboBVTO0YCW0mrHU4S0Q/QVsto1Wr /TEoP+Bd0uKefy5xzeOV8BcGDcD2oNQ6L5srBi7JC22s3MihNtdGRxbU80krNqtp23f9 ykMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ktjbOwbUIz6JZWGLIYlF9Qv19zLsmQ14nlnBHaQqtKY=; b=VIkD5GbP50iFjC1d0l+l5aGZTyNVRl3dSRhQ2U5+AIYkvwVOIaenVkjKmCTQG3LCim YRwdSCKDengTXkXLrMzgysGK9LphCWUaoV/NbZZC33owOxSn47eNqQsJnuHrHdcOVSov xwv0G1QU6RqBiIeQR57SdDUq1aRf2lW6VEBX3a0G0NPf751O3x/HCyfV99TEqFFHVFz6 R2F71OqMolQ5g9ca7jSm+qLdvigFMJvjk4hT44oX8wpux3Jk5+TBVb/fYI/W7DCX+rni PPAuABDbDR82jfXzq2e8nUNEp6y7xn3wW7QJMpH7lLCiSC9sSE0AC9LXIOC7lMgxVzQE iy1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fQbtoJUe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020aa7c60b000000b0043e47007ba4si7066735edq.254.2022.08.08.21.20.00; Mon, 08 Aug 2022 21:20:27 -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=@linaro.org header.s=google header.b=fQbtoJUe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233704AbiHIESm (ORCPT + 99 others); Tue, 9 Aug 2022 00:18:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233685AbiHIESi (ORCPT ); Tue, 9 Aug 2022 00:18:38 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B68A619C00 for ; Mon, 8 Aug 2022 21:18:37 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id x25so11818759ljm.5 for ; Mon, 08 Aug 2022 21:18:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=ktjbOwbUIz6JZWGLIYlF9Qv19zLsmQ14nlnBHaQqtKY=; b=fQbtoJUe4jFNbbbhRZa3Tv3NjHw8InWX5xP/yg0r7db2IBJyPK2LkV+4jCyhbDQxTw rS0bRSG/hcpK0Ii5M7QHqSc7nbfDNrH8nq39KCCP42jnpx40OMM+sayFO5PvyZL97k8k dJPX3sQtCrl/8Qx3b30gxzLIBFrnvQmGjPPpXLRAzFUHKw+plgD8zpAbIcjExJ3qS74q 5pNKgzTmMakgmVu14v4B5GKshfCaFDntqrRboBU4fdj8b4KF09hpLWQ15iTdEnNKwlNN HQB0Ff1f5ldnZOq1TZ4UtvFSTmp5mgvhGd8oCI99ROxC6dFDMXGfpQQszUFs0uSzBXNK nDdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=ktjbOwbUIz6JZWGLIYlF9Qv19zLsmQ14nlnBHaQqtKY=; b=h0W8cdc/gNJ02MjcGlrTMzyIeUPjvJas9/dvnsMjTKAfs9YGNm1gVbvqo7vF+gnZC2 +V//LwWwDnycGaPMoY82dPU8R8dQ4IovFz+h8lNSLqL0MJS7SLl0A8vKqt1wYmu4wbGf bOyLgM6aIQMz0E4ohxN8QidchuACMWYtyLx/2v7ddre+1JwUV1IyTooZBvtet6bxpUQD QyxCfhdKoUCV7VsWYdhFgeOQ3lbvawQveBtVTd6gjq1k8irn3jii4Lwvymc8LvFmRyQV gREyhL1xu6Hd0Js0IlA2kp8SuHAgdP49Y7GDNq5sgG47aRgQDjUGPUVso+4z3j1miDr0 aYxg== X-Gm-Message-State: ACgBeo1pWhoSk0uGJ199OGUdVCgVJIQ9ABqj41ptMQmyV5N0lQ282kOb oCceCAdLa088GW5eWQsA8oyPMg== X-Received: by 2002:a2e:bea8:0:b0:25f:e9ab:5a1b with SMTP id a40-20020a2ebea8000000b0025fe9ab5a1bmr1592141ljr.448.1660018716032; Mon, 08 Aug 2022 21:18:36 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id t15-20020a2e9d0f000000b0025e2e70b41fsm1529430lji.71.2022.08.08.21.18.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Aug 2022 21:18:35 -0700 (PDT) Message-ID: <38c3977a-0196-1832-ff94-317064cbc439@linaro.org> Date: Tue, 9 Aug 2022 07:18:34 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 1/3] dt-bindings: spi: stm32: Add st,dual-flash property in st,stm32-qspi.yaml Content-Language: en-US To: Patrice CHOTARD , Mark Brown , Alexandre Torgue , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-spi@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, christophe.kerello@foss.st.com, devicetree@vger.kernel.org References: <20220808074051.44736-1-patrice.chotard@foss.st.com> <20220808074051.44736-2-patrice.chotard@foss.st.com> <9ad4b4a8-988e-f185-f80c-6f15f341ce8c@linaro.org> <79fd7e19-ceef-14fb-5a83-603740735f8f@foss.st.com> From: Krzysztof Kozlowski In-Reply-To: <79fd7e19-ceef-14fb-5a83-603740735f8f@foss.st.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 On 08/08/2022 19:08, Patrice CHOTARD wrote: > Hi Krzystof > > On 8/8/22 11:01, Krzysztof Kozlowski wrote: >> On 08/08/2022 10:40, patrice.chotard@foss.st.com wrote: >>> From: Patrice Chotard >>> >>> Add new property st,dual-flash which allows to use the QSPI interface as a >>> communication channel using up to 8 qspi line. >>> This mode can only be used if cs-gpios property is defined. >>> >>> Signed-off-by: Patrice Chotard >>> --- >>> Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml >>> index 6ec6f556182f..5e4f9109799e 100644 >>> --- a/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml >>> +++ b/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml >>> @@ -46,6 +46,14 @@ properties: >>> - const: tx >>> - const: rx >>> >>> + st,dual-flash: >>> + type: boolean >>> + description: >>> + Allows to use 8 data lines in case cs-gpios property is defined. >> >> It's named dual-flash, but what if you want to use QSPI to connect for >> example to FPGA? >> >> Also how is this related to parallel-memories property? > > I called it "dual-flash" simply because it enable the dual flash feature of the QSPI block (bit CR_DFM : Dual Flash Mode) > which allows to use the 8 lines simultaneously of our dual QSPI block. And how is it related to existing parallel-memories property? Best regards, Krzysztof