Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp414923imu; Fri, 7 Dec 2018 03:14:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/VI+uKpU/4V9S7P4ftPW8SaJ67CLIrZb7tHFdB1MJAvc+2Q4UnSxmE0zTWUs5tGhqvi85Dp X-Received: by 2002:a63:40c6:: with SMTP id n189mr1505654pga.355.1544181293292; Fri, 07 Dec 2018 03:14:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544181293; cv=none; d=google.com; s=arc-20160816; b=rrnI5DHCGsftOUvsvUz0HQvabWfXxCEPFu4/Oi1X1C+hjlA4YfqQ9ag/HOXiYwBpCH O6eH2U6hS5VSWbcrmNeeMf4R6jLODi9eGpLQPFFNOd1L6bh1CrkWhsVS4/VcXdIpl7SR 8XWhs/StDQkFVG58YK3r9OcznAeB34WUZiQcF2N0xyy7r6h+Z1pHQiDjmWqgQWl6xcRo BsICsJRQa3LJGQMZR2/MP37IUQb1fGAvkt3vReu4BnCYiysby0bd8y2VQtZLXhNr2EzL 65hCemj1LxPk9apzWpCSe7y3kPxJTCDWewF3XGPm5/ude86cjpxY43A2DVPg1wclX6sp Y3eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=qCLLFsSyHSR8YhiVaJFPuXSP/ie5DsJkyZxgsVPQxzs=; b=phBgxuw58eKn2HGvXNa5srEInpCOyisY2xKPSlNVz4skduPvNFA6D0rJMdwk4Q2KGe 5h9B8cwrsD0Cqs/CHAPlMpKhNr0NgVSt6CDUSHN5VRCe88HV3LJ3TLravY9QGEAeyVRl dyCq+1/MgaatPqdd2i028l/Z2o9fKqC6i/+LqwEaeQzP8+ytHF1a97GniNLgQb/UlAuP uwat2cQgC3CTSCTgM9eKc8PlZyWCwlUJXSRTLKYb6ZkSVvwe3sZVkTiqDsiz25k8Z+Nh nie41+pGopqmUbWMRsCnwxZFpJuc/NV0z72q8/nwvmEtiU7/o8hbaKQDdM9QSFE2CIHc d5cA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 59si2745696plf.18.2018.12.07.03.14.37; Fri, 07 Dec 2018 03:14:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726071AbeLGLNx (ORCPT + 99 others); Fri, 7 Dec 2018 06:13:53 -0500 Received: from twhmllg4.macronix.com ([211.75.127.132]:27252 "EHLO TWHMLLG4.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbeLGLNx (ORCPT ); Fri, 7 Dec 2018 06:13:53 -0500 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG4.macronix.com with ESMTP id wB7BDKkj078297; Fri, 7 Dec 2018 19:13:20 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: broonie@kernel.org, marek.vasut@gmail.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, boris.brezillon@bootlin.com, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven Cc: juliensu@mxic.com.tw, Simon Horman , zhengxunli@mxic.com.tw, Mason Yang Subject: [PATCH v3 0/2] spi: Add Renesas R-Car Gen3 RPC SPI driver Date: Fri, 7 Dec 2018 19:13:17 +0800 Message-Id: <1544181199-3373-1-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 X-MAIL: TWHMLLG4.macronix.com wB7BDKkj078297 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, This Renesas R-Car Gen3 RPC SPI driver is based on Boris's new spi-mem direct mapping read/write mode [1][2]. v3 patch is according to Marek and Geert's comments including: 1) soc_device_mach() to set up RPC_PHYCNT_STRTIM. 2) get_unaligned() 3) rpc-mode for rpi-spi-flash or rpc-hyperflash. 4) coding style and so on. v2 patch including: 1) remove RPC clock enable/dis-able control, 2) patch run time PM, 3) add RPC module software reset, 4) add regmap, 5) other coding style and so on. thanks for your review. best regards, Mason [1] https://patchwork.kernel.org/patch/10670753 [2] https://patchwork.kernel.org/patch/10670747 Mason Yang (2): spi: Add Renesas R-Car Gen3 RPC SPI controller driver dt-binding: spi: Document Renesas R-Car Gen3 RPC controller bindings .../devicetree/bindings/spi/spi-renesas-rpc.txt | 38 + drivers/spi/Kconfig | 6 + drivers/spi/Makefile | 1 + drivers/spi/spi-renesas-rpc.c | 776 +++++++++++++++++++++ 4 files changed, 821 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt create mode 100644 drivers/spi/spi-renesas-rpc.c -- 1.9.1