Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8160943rwb; Wed, 23 Nov 2022 16:42:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf56B8V7AKOQyJ9gYOS9modcm4zzxYit3FqcdxBIraOmySNSjzcWdby8KCR2eQOLwQF5o+D0 X-Received: by 2002:a17:902:e0ca:b0:187:1a3f:d552 with SMTP id e10-20020a170902e0ca00b001871a3fd552mr13401649pla.5.1669250565644; Wed, 23 Nov 2022 16:42:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669250565; cv=none; d=google.com; s=arc-20160816; b=k2a/DS8OQgtB3FXhfvAozdyeCKRt4fxZ5Lzdv15t8ySZjuOpsEFWEkKH6ZxpSF0vo7 +VfDambn03EORJ+aKwNWGGq+XFCu0iHFxH3XOKSh9sFLe6LkRM2pq3dJdRoUbLCAX2S2 E2NNPv73ALA9GBIo3QCYUXuCgu49P52Av5JVvmdqRO8DJmEnzHOJqYlAtgrIY8lYGhaB OrgHTXTaws8tlH1FwdEcYuoPoqLJMhCPKq2eNgkH64dAEkoymDCikRgOIjph2yv2ZQIh WolHNZEV9DtfqNHE6vkXHtjpwQ8Qjb1N7Vp8AJ+g1pYkDzIQBN8/sujO1xAFgt/T6D0Z 2opA== 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=wCfvxsl+Img1wNs+jEkQ3Tu3gwL/0exkV2L5hLeefU4=; b=EwLIyluVt39S/NM+NGL879mY3y+47x5+twYKq+dJbT1cThBo4004hN4SvXzuwDOzIt XpvFMk4dt+fpl4GOWVh6N+A2OipD/iMP0qWU9xGrVuvB+IMsg/SejHtt23I7F4r74QWl zIbW+9pXK8o93l/1Kt2Cr5/jblMTQbeeCcuvvfu+pqj1V79AULhYeLuxORXy0dzVzusG 5NObn//RwM18XvH1BLCHpcm9HBnJFqN8mji5NpyCAW9DOF7BxqNUKoFJ4b8Co9cCZ4Gb 542E5OAMCW4h9pACnZqB5CpALELK+u0/3Fz/hjCE7s0buPdGaM0bM6EnsDBcwudWccOt rd/w== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qe14-20020a17090b4f8e00b0020593d282desi3176936pjb.12.2022.11.23.16.42.33; Wed, 23 Nov 2022 16:42:45 -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 S229723AbiKXAeG (ORCPT + 88 others); Wed, 23 Nov 2022 19:34:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbiKXAeA (ORCPT ); Wed, 23 Nov 2022 19:34:00 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5B847E14D9; Wed, 23 Nov 2022 16:33:55 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 24 Nov 2022 09:33:54 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 935F9205D901; Thu, 24 Nov 2022 09:33:54 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 24 Nov 2022 09:33:54 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 564E1A8557; Thu, 24 Nov 2022 09:33:54 +0900 (JST) From: Kunihiko Hayashi To: Mark Brown , Rob Herring , Krzysztof Kozlowski Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH v3 0/2] Introduce Socionext F_OSPI SPI flash controller Date: Thu, 24 Nov 2022 09:33:49 +0900 Message-Id: <20221124003351.7792-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: X-Mailing-List: linux-kernel@vger.kernel.org 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 v2: - Drop a redundant word in the subject line - Drop quotes of referenceing URL in dt-bindings - Add Reviewed-by line to dt-bindings patch 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 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 -- 2.25.1