Message ID | 20221121014800.13989-1-hayashi.kunihiko@socionext.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1344707wrr; Sun, 20 Nov 2022 17:51:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf7kPBI7PXVHjSr0rFsxn9TZnV7fndbOmsyM7D3srLOZrX5e8Kcc/s4jJJUoEBLFb+YuB0cc X-Received: by 2002:a17:906:1d14:b0:7ad:79c0:46f4 with SMTP id n20-20020a1709061d1400b007ad79c046f4mr13552567ejh.363.1668995519326; Sun, 20 Nov 2022 17:51:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668995519; cv=none; d=google.com; s=arc-20160816; b=QNZSaLKuoBhJhfGlj4ObU7nZKJUQfrnc4wYlbKIAcuAIRiYAO8k4dxiNA10ZLOfytV OZirOVqigB/ZOlq/3wPhEk1v9nxmdeWWUFDaoqwhWsvmly/pqjcUxWEDNWdY+s0cUL1v YfL7o+P60TgLZHmMDRnFpG4Ivk1p3Fozv2u4zaWiuJ40Oubmd9TtBM0XRFoWOhbXjJdM bkRfONiNYIu1dZl2nZPB1SgeHo1Gtc+CQARTkFIrTgxqr/S+mRiEClcEyIJiY+W3qScX VsE1A1lgXAtzk5NkiDaHvoT4YOlTP0JSvX+0eawdcgbEjbhPdJeohSNpH06wsqFTI1xh ca/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ndBHkl7AkZcZLbODGM1tQ2sz19Ih614D4C+lGv3/7b4=; b=gz0E0iEH/lDcYpsE1SIw2QszycvC8w0Ga48AwxrqfBMMJ/gjDwxK4SvlFUigDV01Nz 8FzB1VQpL8ijo1bfRo+108fH7dwOAu1zHqKwedbrjg8pYBLp8RXLhjwHxKfVnXESMQZT CmSyJ852KpAjOAdWmhaGRDSJqf2Xc97Iv8ERvJtzZ8hlEBF10NleUpY744XRDLDGHgb+ GGo53uWVg13wRamIZ4SKKSGZXf78G8kilVYXP+d888k4rElEN6C+I83271qrvcKcPe/K oQtV1HOW07cbNHNjHSa3cSYs8uUXGc+6ZgBXMH3SrUcCyqJhyAE9ATynYW6FjszMjF6G ISlg== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xh9-20020a170906da8900b0073d9f16e5b3si8289293ejb.258.2022.11.20.17.51.35; Sun, 20 Nov 2022 17:51:59 -0800 (PST) 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; 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 S229813AbiKUBsY (ORCPT <rfc822;leviz.kernel.dev@gmail.com> + 99 others); Sun, 20 Nov 2022 20:48:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbiKUBsV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 20 Nov 2022 20:48:21 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 796A91DDF6; Sun, 20 Nov 2022 17:48:20 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 21 Nov 2022 10:48:18 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 006EA20584CE; Mon, 21 Nov 2022 10:48:17 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Mon, 21 Nov 2022 10:48:18 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 96CD4B62AE; Mon, 21 Nov 2022 10:48:17 +0900 (JST) From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> To: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Subject: [PATCH v2 0/2] Introduce Socionext F_OSPI SPI flash controller Date: Mon, 21 Nov 2022 10:47:58 +0900 Message-Id: <20221121014800.13989-1-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750068645593907856?= X-GMAIL-MSGID: =?utf-8?q?1750068645593907856?= |
Series |
Introduce Socionext F_OSPI SPI flash controller
|
|
Message
Kunihiko Hayashi
Nov. 21, 2022, 1:47 a.m. UTC
This series adds dt-bindings and a driver for Socionext F_OSPI controller for connecting an SPI Flash memory over up to 8-bit wide bus. The controller supports up to 4 chip selects. Changes since v1: - Drop vendor-specific properties for devices from host dt-bindings - Drop a function to parse vendor-specific properties - Fix wrong maximum addr.bytes (5 to 4) Kunihiko Hayashi (2): dt-bindings: spi: Add Socionext F_OSPI controller bindings spi: Add Socionext F_OSPI SPI flash controller driver .../bindings/spi/socionext,f-ospi.yaml | 57 ++ drivers/spi/Kconfig | 9 + drivers/spi/Makefile | 1 + drivers/spi/spi-sn-f-ospi.c | 703 ++++++++++++++++++ 4 files changed, 770 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/socionext,f-ospi.yaml create mode 100644 drivers/spi/spi-sn-f-ospi.c