Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3070593imm; Sun, 7 Oct 2018 19:26:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV625O34nPMhUqBfz7Ht+5y0f1dQRLPBG05r5D6+9x735Ddv30mt96UZ6UC2JfHqccLZHYgEw X-Received: by 2002:a62:8490:: with SMTP id k138-v6mr23000959pfd.177.1538965571081; Sun, 07 Oct 2018 19:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538965571; cv=none; d=google.com; s=arc-20160816; b=Hbn4yFvRKCljnKq4BK88XXNOcOEASx5tz6w1+5CmZkozoqkAV9GTpsxumXzI8dyTPk BsU5BWoJtAxaW1D0P23cooMJda/twYCa9nJ7Qhx64KxaQ9kVG5yeRtzH6469LeFV8mxA Oan7xnaTDwKxHnZ+lZLkLrTBVApaV8vB99QIQ5XEO8IyfTgkhSMXOE955WalC3vjTOky h+mmK9HVS4Ww0yu90C7zNUThJEJOvRgo2V9Gc4AMqe1qgyhkiI7IoKZQUZ/yGPUvhZwH m/xB9uUJuy7NgNVzUn+voEaF4vJxxG45ns5oG20Jd1t8flEoabasGO/s+mcoGkYpjPyW Z9Bg== 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=srJ6kXqRRfrh21RtK3h+VKwB843EX55gqR0bLN/CNJg=; b=jI8wAwVAJhIN1l2FsPMjwj+O9TNbIL+n2OKHFSSlAyMRKiVh1XgvUk8XXrFRl6C6yE IytmTeZn6+9pneBbL/Ug0sHCUZNbMVpPj5Jihl8iCeUuw+Vyt/b/VQhErQd7laoyzVEr jHpfDJA02hfBgWD/H12C7FijDX2gMSq4PLbA5L+x3QM5qUNExyLzZievjMYgnKLhxEMG xAwxG5IWH+0OpY4ZKbSVOEYriu1WoQAeDYLL+3g9WzoS4dayea1VqYEFUOH1UMn5CNAt a4yG7QVSNn9IpHt4D9y4/QeV/Q6ZahOjQLsFucYZeCplnCHGypJWUOSZ/IbjyXxAdbTQ YAzA== 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 w6-v6si16065203pgb.180.2018.10.07.19.25.55; Sun, 07 Oct 2018 19:26:11 -0700 (PDT) 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 S1726402AbeJHJfD (ORCPT + 99 others); Mon, 8 Oct 2018 05:35:03 -0400 Received: from twhmllg4.macronix.com ([211.75.127.132]:19517 "EHLO TWHMLLG4.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbeJHJfD (ORCPT ); Mon, 8 Oct 2018 05:35:03 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG4.macronix.com with ESMTP id w982PY29085046; Mon, 8 Oct 2018 10:25:34 +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 v4 0/2] spi: Add Macronix controller driver Date: Mon, 8 Oct 2018 10:25:30 +0800 Message-Id: <1538965532-8908-1-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 X-MAIL: TWHMLLG4.macronix.com w982PY29085046 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mason Yang Hi Mark, I patched v4 spi-mxic.c for clk_ctrl() and spi_setup() according to your comments on v3. Hi Boris, I also patched clk frequency changed when the driver detects it needs to be changed. please help to review. thanks & best regards, Mason Mason Yang (2): spi: Add MXIC controller driver dt-bindings: 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 | 639 +++++++++++++++++++++ 4 files changed, 680 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-mxic.txt create mode 100644 drivers/spi/spi-mxic.c -- 1.9.1