From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,MIME_HEADER_CTYPE_ONLY,SPF_HELO_NONE,SPF_PASS, T_TVD_MIME_NO_HEADERS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33DBDC388F9 for ; Mon, 23 Nov 2020 12:04:01 +0000 (UTC) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EB0432076E for ; Mon, 23 Nov 2020 12:03:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="LeTlOggg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EB0432076E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5816+4520388+8129055@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id h0fvYY4521723xj5i7JAH1Jq; Mon, 23 Nov 2020 04:03:59 -0800 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com [210.160.252.171]) by mx.groups.io with SMTP id smtpd.web11.34278.1606133038022264908 for ; Mon, 23 Nov 2020 04:03:58 -0800 X-IronPort-AV: E=Sophos;i="5.78,363,1599490800"; d="scan'208";a="63589384" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 23 Nov 2020 21:03:56 +0900 X-Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 9FF8D4007F28; Mon, 23 Nov 2020 21:03:55 +0900 (JST) From: "Lad Prabhakar" To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Biju Das Subject: [cip-dev] [PATCH 4.19.y-cip 0/7] Add RPC-IF driver for RZ/G2x SoC's Date: Mon, 23 Nov 2020 12:03:47 +0000 Message-Id: <20201123120354.26413-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: oIJxdK8UcnKPuTbTNEZHUTJ8x4520388AA= Content-Type: multipart/mixed; boundary="Jsuq9IpghNgYN6y7GL7K" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1606133039; bh=uhAySvM2IL3T7PaMP+ais85VWVUBBZQN5E3QHxGmIDc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=LeTlOggghc7K8UWKwD2wxl0VzB9lJ7ldCiOM6zCP50oLPJAN6R90rrvRCPVvGuaAScR H+R/HBg8ZRI687unjGftjmbc/U789G2v2u1q3YD3d8C4FO8dyEUWYOp/FW/wSJsL5ZUXT vluccmJWEUDW2W+LLAtd6RJrp6Ruohsa7qY= --Jsuq9IpghNgYN6y7GL7K Hi Nobuhiro, Pavel, This patch series adds SPI driver for the Renesas RPC-IF. Alongside relevant changes for spi-mem have been also backported. This enables accessing SPI flash chip connected to RPC-IF on RZ/G2x boards. We currently only aim to backport just the driver hence there are no changes to dts/i files. The driver has been tested on RZ/G2{EM} (I shall reply to this e-mail with the results) with all the required dts/i changes [1]. Currently we are upstreaming clock [2] and pinctrl [3] changes required for RPC-IF interface on RZ/G2x SoC's once that hits v5.11 we shall backport it. All the patches have been cherry picked from Linux 5.9-rc5. [1] https://github.com/prabhakarlad/cip/commits/master [2] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=365697 [3] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=387535 Cheers, Prabhakar Boris Brezillon (3): spi: spi-mem: Add SPI_MEM_NO_DATA to the spi_mem_data_dir enum spi: spi-mem: Split spi_mem_exec_op() code spi: spi-mem: Add a new API to support direct mapping Naga Sureshkumar Relli (1): spi: spi-mem: export spi_mem_default_supports_op() Sergei Shtylyov (3): dt-bindings: memory: document Renesas RPC-IF bindings memory: add Renesas RPC-IF driver spi: add Renesas RPC-IF driver .../memory-controllers/renesas,rpc-if.yaml | 88 +++ drivers/memory/Kconfig | 9 + drivers/memory/Makefile | 1 + drivers/memory/renesas-rpc-if.c | 603 ++++++++++++++++++ drivers/spi/Kconfig | 6 + drivers/spi/Makefile | 1 + drivers/spi/spi-mem.c | 273 +++++++- drivers/spi/spi-rpc-if.c | 216 +++++++ include/linux/spi/spi-mem.h | 93 +++ include/memory/renesas-rpc-if.h | 87 +++ 10 files changed, 1353 insertions(+), 24 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml create mode 100644 drivers/memory/renesas-rpc-if.c create mode 100644 drivers/spi/spi-rpc-if.c create mode 100644 include/memory/renesas-rpc-if.h -- 2.17.1 --Jsuq9IpghNgYN6y7GL7K Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Links: You receive all messages sent to this group. View/Reply Online (#5816): https://lists.cip-project.org/g/cip-dev/message= /5816 Mute This Topic: https://lists.cip-project.org/mt/78451537/4520388 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/7279483= 98/xyzzy [cip-dev@archiver.kernel.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --Jsuq9IpghNgYN6y7GL7K--