Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2426224imm; Tue, 4 Sep 2018 04:23:24 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda7aU4HY2kazi94FCI+44D15ZShGe6C75MbgBnr3J7BqVg29PuE9WJEq8/tX3nR5gkUVdoA X-Received: by 2002:a17:902:b70f:: with SMTP id d15-v6mr33947341pls.53.1536060204945; Tue, 04 Sep 2018 04:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536060204; cv=none; d=google.com; s=arc-20160816; b=FFaYhHZtBiE8pe6WFzYRF2sUVK+AOGYfUKpsLGT5VsVhXJv1+K8pf2eIt0meytFsv8 z6XMgKjDi/NU+Lf9CfKJeGEfu+59iyDxsdk9l4sxUes6SEKPQhosb1b2PrE7gXE7XHUM 5QM45CaVceq3f9EtYJV3CM9u472XpzlZwrn/HsGr8TO2ds2r22a4f8+YM/YAqK73b/zN hQhRY8cx38Gwj9jkPj7YRtSAcC3Eiv+qsCtWOAQ4pLDLTBMIBJ5LoD0YLDcLmsfQCmSg g4SqIoRIdCcdMl0raYOni7zaRqhS0xabSimdUhvGDpuepJO+Y9RIyj7NVw8c+tnf5D0S 6eUg== 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 :dkim-signature:dkim-filter:arc-authentication-results; bh=9FCsquMdxX8YK7bFnxznHVYWUMqgKyASnYzXgWDN9lo=; b=x8Y0EgIlT6UJmOectk6VEuAySx7gXkVNZNUbWBT+BL2y0pgmK3Vi4epIVmepbZMcSq 5zL6geLlvcWSK4FK/3f4LiNnq5Dyv4w42OcDmZY1luN1VFFHDk6xnqrZ/of3yTr5jjp0 wgeOEYdOb8lodKA4DMm8wtxSMbiJecbWAGYyG5Nwl6qkDm/7GYtIqe/gTrNjmITamLiF o1ThkRTF8r10JII+HQ1S8GfeHrTNeR4gwmHvf7/LQOxnXFg/PQl9bFA6j9di2Z9AleuL fsiz7TZC4ZIzSgPbJLu76V+lamCyPnY9v6ErOA9RsjlrTPQ1NxhIjjiBQ2DHrcRmZrtc +vkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@upb.ro header.s=96342B8A-77E4-11E5-BA93-D93D0963A2DF header.b=fhbiiNQ4; 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 p1-v6si20430612plb.197.2018.09.04.04.23.09; Tue, 04 Sep 2018 04:23:24 -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; dkim=pass header.i=@upb.ro header.s=96342B8A-77E4-11E5-BA93-D93D0963A2DF header.b=fhbiiNQ4; 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 S1727338AbeIDPo7 (ORCPT + 99 others); Tue, 4 Sep 2018 11:44:59 -0400 Received: from mail.upb.ro ([141.85.13.5]:56688 "EHLO mx.upb.ro" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727149AbeIDPo7 (ORCPT ); Tue, 4 Sep 2018 11:44:59 -0400 Received: from mx.upb.ro (localhost [127.0.0.1]) by mx.upb.ro (Postfix) with ESMTPS id AA1C9B560061; Tue, 4 Sep 2018 14:13:20 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mx.upb.ro (Postfix) with ESMTP id 8A662B560059; Tue, 4 Sep 2018 14:13:20 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro 8A662B560059 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro; s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1536059600; bh=9FCsquMdxX8YK7bFnxznHVYWUMqgKyASnYzXgWDN9lo=; h=From:To:Date:Message-Id; b=fhbiiNQ4dkD5/XLRhfgy45QntWsFYGXK5KEJ8uGtBi1T4ruL8h3eA39c6+j0nnCcO IA+as6FPidoZlQ5o26koyGqMmLHGx0bqh5t1V6x5ZHpSnt9FtRHrNr7FK19eAxNgsH ATnVqVo5Znr/l0dpkjsBVWGgWr96wte1Fgvc6TdU= Received: from mx.upb.ro ([127.0.0.1]) by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id rP3JoLr5BizG; Tue, 4 Sep 2018 14:13:20 +0300 (EEST) Received: from asus-rog.localdomain (arh.pub.ro [141.85.160.17]) by mx.upb.ro (Postfix) with ESMTPSA id 5EBEEB56004E; Tue, 4 Sep 2018 14:13:20 +0300 (EEST) From: Radu Pirea To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, gregkh@linuxfoundation.org, broonie@kernel.org, jslaby@suse.com, richard.genoud@gmail.com, davem@davemloft.net, mchehab+samsung@kernel.org, akpm@linux-foundation.org, arnd@arndb.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, Radu Pirea Subject: [PATCH v12 0/6] Driver for at91 usart in spi mode Date: Tue, 4 Sep 2018 14:13:04 +0300 Message-Id: <20180904111310.4049-1-radu_nicolae.pirea@upb.ro> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Well, this is the 12th version of this patch series. In this version I fixed a warning from kbuild-robot and I have no idea how I forgot to add static in declaration of that functions. Also I fixed the example for the SPI driver in bindings. Currently I am not working for Microchip, but I will continue to maintain and improve this driver. So yes, this is the reason that I changed my email address from MAINTAINERS file. Changes in v12: - fixed interrupts property in example from bindings of SPI driver - changed email address in MAINTAINERS - added static to declaration of few functions in SPI driver(kbuild-robot warning) Changes in v11: - removed "depends on HAS_DMA" from drivers/spi/Kconfig because the driver has no dma support - changed "selects MFD_AT91_USART" to "depends on MFD_AT91_USART" in drivers/spi/Kconfig - changed comment style in spi-at91-usart.c Changes in v10: -fixed kbuild test robot warning Changes in v9: - minor changes - rebased on top of broonie/for-4.19 Changes in v8: - fixed passing an empty mfd cell if "atmel,usart-mode" value is invalid Changes in v7: - synced up SPDIX license with module license - numbering of usart modes starts from 0 insteand of 1 Changes in v6: - removed unused compatible strings from serial and spi drivers Changes in v5: - fixed usage of stdout-path property with atmel_serial driver Changes in v4: - modified the spi driver to use cs gpio support form spi subsystem - fixed dma transfers for serial driver - squashed binding for spi and serial and moved them to mfd/atmel-usart.txt Changes in v3: - fixed spi slaves probing Changes in v2: - added at91-usart mfd driver - modified spi-at91-usart driver to work as mfd driver child - modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver for usart MAINTAINERS: add at91 usart spi driver spi: at91-usart: add driver for at91-usart as spi tty/serial: atmel: change the driver to work under at91-usart mfd .../bindings/{serial => mfd}/atmel-usart.txt | 25 +- MAINTAINERS | 16 + drivers/mfd/Kconfig | 9 + drivers/mfd/Makefile | 1 + drivers/mfd/at91-usart.c | 71 +++ drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/spi-at91-usart.c | 432 ++++++++++++++++++ drivers/tty/serial/Kconfig | 1 + drivers/tty/serial/atmel_serial.c | 42 +- include/dt-bindings/mfd/at91-usart.h | 17 + 11 files changed, 606 insertions(+), 17 deletions(-) rename Documentation/devicetree/bindings/{serial => mfd}/atmel-usart.txt (76%) create mode 100644 drivers/mfd/at91-usart.c create mode 100644 drivers/spi/spi-at91-usart.c create mode 100644 include/dt-bindings/mfd/at91-usart.h -- 2.18.0