From patchwork Mon Sep 17 07:16:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mason Yang X-Patchwork-Id: 10602151 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A77F14DA for ; Mon, 17 Sep 2018 07:40:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A2B429651 for ; Mon, 17 Sep 2018 07:40:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E5082962D; Mon, 17 Sep 2018 07:40:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA87029631 for ; Mon, 17 Sep 2018 07:40:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727010AbeIQNHF (ORCPT ); Mon, 17 Sep 2018 09:07:05 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:42610 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727241AbeIQNHE (ORCPT ); Mon, 17 Sep 2018 09:07:04 -0400 X-Greylist: delayed 1430 seconds by postgrey-1.27 at vger.kernel.org; Mon, 17 Sep 2018 09:07:04 EDT Received: from TWHMLLG3.macronix.com (localhost [127.0.0.2] (may be forged)) by TWHMLLG3.macronix.com with ESMTP id w8H7H8uS078905 for ; Mon, 17 Sep 2018 15:17:08 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG3.macronix.com with ESMTP id w8H7GmMZ078541; Mon, 17 Sep 2018 15:16:48 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: masonccyang@mxic.com.tw To: broonie@kernel.org, tpiepho@impinj.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Cc: boris.brezillon@bootlin.com, juliensu@mxic.com.tw, zhengxunli@mxic.com.tw, masonccyang@mxic.com.tw Subject: [PATCH 0/2] spi: Add Macronix controller driver Date: Mon, 17 Sep 2018 15:16:17 +0800 Message-Id: <1537168579-31593-1-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 X-MAIL: TWHMLLG3.macronix.com w8H7GmMZ078541 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mason Yang Hi Mark and Trent, I patched spi-mxic.c and add the run time PM function. thanks & best regards, Mason Mason Yang (2): spi: Add MXIC controller driver dt-binding: spi: Document Macronix controller bindings Documentation/devicetree/bindings/spi/spi-mxic.txt | 34 ++ drivers/spi/Kconfig | 6 + drivers/spi/Makefile | 1 + drivers/spi/spi-mxic.c | 674 +++++++++++++++++++++ 4 files changed, 715 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-mxic.txt create mode 100644 drivers/spi/spi-mxic.c