From patchwork Tue Mar 28 10:15:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13190866 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C720AC761A6 for ; Tue, 28 Mar 2023 10:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=CUHWzVUilnvzO1iy2OZLKQIgD6Jb6lP7Wr3bEjSPb5I=; b=bDs4N1pDvIO47R QkE0ktFYEM7J5SPVlOe0TrZyoobrf7ayiBifKVLFCTLEQA+CCPObXF7QqOxP0Jm2OpUn6Uac5x+lE kHP6d5jUNAmV2w4fyX14eIrOSiHghWx1bu+F42/15BJnOQ56Iok6XUkPCyCH0gcf9Vtm6uIkJZ4+O f8Iz2MiLuH2OQGmJBIwRKIISkXVjvDWsUqkndpQDDtbkmTeDXIgvZa9HzxI/sBA/4x97mnuIb05HO fZgRPSMfw7LjiXBCwC3I2NCWn5vOT6FtMbW6Ql6Q2o3YbB5XlBlFzHPUlHJOewiAbcQW1W8yVhIRp 98cM7LR2YgE5M2LjINpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ph6MQ-00DtZ0-1q; Tue, 28 Mar 2023 10:15:26 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ph6MM-00DtXb-24 for linux-arm-kernel@lists.infradead.org; Tue, 28 Mar 2023 10:15:24 +0000 Received: by mail-lf1-x132.google.com with SMTP id q16so15072864lfe.10 for ; Tue, 28 Mar 2023 03:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679998520; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=234Hi7RPwwGJcBwZrz6n+zvvJYe2QAil9tHn/ZofszU=; b=eActs3ao0gU+Y4i4jKrSlbPjUHxvkxacebVr41wTlJCloZvD8fTW80If1lmwD/a+IH baJIiDgIzH5G7eB1uBgaFZyN5Kw05e1hGGrMuFcXkLRhYdHej5FTZwPvriqwFcPbDxnj zg2PXRfusffhq1QGralqwzuXYjtR/KP4yZK5p7HL4wo+v7bgf4MGRdSoYySYMCt3Y/qo Bm8OtW6Pv3YG5P93oYBPBEPON1EC9sZbLMvXrCNADWXdVA3UXGME/UTzfqd2hNdLiWxB aS6P+2skdmaDM6hGOuhHMktD49ki4Y50fMu5J/4/o5wCJhMG/cKkZ9p5+2bQXQzx9wZN 9yjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679998520; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=234Hi7RPwwGJcBwZrz6n+zvvJYe2QAil9tHn/ZofszU=; b=LN5CnPnC23Ue5B9bLuvNY5qkGy/EN7W0n01EhA3NBbMbT1tuZnQxNGUQpTpmoPfndS 16JAV07toVkGd5/uyORyNt9IFDKF7bq5OaXauTVh+PcWxusPWeldumDtSpuhpsTqkJzF uUvwIR6oHSRi6+S14EXFxaQ2R9Z3AxERz6CTPpmqTFu0xH0ricCmLwzbUHbKkIknUEyM Wu4SSN2rCOymCJpIOPBl47io6kpCwMcF+K6nv+solRJuO9neGT6MqpLSi3C13TzF9UxM LzRfgIiEHtF4DTte6m+fJkut6QWrK9SuqAKt/h088JldI7KafDQFMurzDryd35h+P4PH /ymQ== X-Gm-Message-State: AAQBX9dzVP6WtcvDXrn+lbePBEHwjiEU6ryWb1iUj+Xjyr40ueRhRy2+ y4pHXv+If+EaMp8TeU9nUK52FQ== X-Google-Smtp-Source: AKy350bBqxAHsxe1eFJxcFf6vv3BAg51K7HxcgRPi38gAEhuTO0PZ2NpGz/Y+Lu5tPxWOyOpxIET8A== X-Received: by 2002:a19:7512:0:b0:4eb:c85:60eb with SMTP id y18-20020a197512000000b004eb0c8560ebmr2513274lfe.36.1679998520295; Tue, 28 Mar 2023 03:15:20 -0700 (PDT) Received: from ta1.c.googlers.com.com (61.215.228.35.bc.googleusercontent.com. [35.228.215.61]) by smtp.gmail.com with ESMTPSA id o25-20020ac24959000000b004e84d64ab51sm5061405lfi.58.2023.03.28.03.15.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 03:15:19 -0700 (PDT) From: Tudor Ambarus To: nicolas.ferre@microchip.com, claudiu.beznea@microchip.com Cc: alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tudor.ambarus@linaro.org Subject: [PATCH v3 0/4] ARM: dts: at91: Set sst26vf064b SPI NOR flash at its maxumum frequency Date: Tue, 28 Mar 2023 10:15:13 +0000 Message-Id: <20230328101517.1595738-1-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230328_031522_683861_A8303B3A X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Changes in v3: Update S-o-b tag to match author's email. Changes in v2: update value of spi-cs-setup-ns as it was changed to u32 since the first proposal. v1 at: https://lore.kernel.org/linux-mtd/20221117105249.115649-1-tudor.ambarus@microchip.com/ Acked-by: Nicolas Ferre --- SPI NOR flashes have specific cs-setup time requirements without which they can't work at frequencies close to their maximum supported frequency, as they miss the first bits of the instruction command. Unrecognized commands are ignored, thus the flash will be unresponsive. Introduce the spi-cs-setup-ns property to allow spi devices to specify their cs setup time. Tudor Ambarus (4): ARM: dts: at91-sama5d27_wlsom1: Set sst26vf064b SPI NOR flash at its maximum frequency ARM: dts: at91-sama5d27_som1: Set sst26vf064b SPI NOR flash at its maximum frequency ARM: dts: at91: sama5d2_icp: Set sst26vf064b SPI NOR flash at its maximum frequency ARM: dts: at91: sam9x60ek: Set sst26vf064b SPI NOR flash at its maximum frequency arch/arm/boot/dts/at91-sam9x60ek.dts | 3 ++- arch/arm/boot/dts/at91-sama5d27_som1.dtsi | 3 ++- arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi | 3 ++- arch/arm/boot/dts/at91-sama5d2_icp.dts | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-)