Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3748426ybl; Tue, 20 Aug 2019 01:30:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBNRdbcztIC2u66a0NSHN3RxicU1FUfq/yjjjR3yNVnV73xU3sYMkfTYt5SjwdAlNZPb6h X-Received: by 2002:a63:1310:: with SMTP id i16mr23332371pgl.187.1566289819170; Tue, 20 Aug 2019 01:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566289819; cv=none; d=google.com; s=arc-20160816; b=cV5SOHQ/MCi9HO2XFdecFHao2MJot1U70GIWgMqUbJBxkx0HNJvfvmBUrVXjsppcpx KBMHVzbHEHA9p1TBQHUI0F51q8ygvrNljCn9nD07V37VKH6+UHVYNQh5HYhoAdLGSg2e DijBTHfswotQXZXeCKkusuBJKT1e4q3WVItSqTWHVRTwrA/fwCy/4og308XqdEmxXi2V irJxUhlHzJF7jq5DEaqjf5RngVjF05uiL2E0A3bAVAUAglIotJJA0yzfw8GdGwpYjNOE tiZHGSmYW6r35/VSWV/ewkOGKatKjp9Ae/6vkqbu3CsDUL5c8KdvfbWpa5MkVQUpvbtw RLow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=C9WI0URMW4nrz18IafSZKsJVByVBS+Wm1aBt8O6Otbs=; b=atOaMy+Sh//qBAslSlwqF5sgd06QbKOcjCYJACpcOR1o8WbSiQGqaGE4AAkF9x94pU yIsqBunfsU1W4dNwVYrrQOYilQwGWHAKXFHbclhSCHehiKjENkJha+lOJuM4Rl+W2ZZ1 FOtWG74cYp36knr8u/Ivo/ala2hpwqlp8QPP5gFiFCB9lWXOqfap5n+FWBNYP65Yh6xb t2y6+GlkUiVMEWOCqi7+qtEVEkK9ZltBoRrx5yhUG1yKOzqaYe0Wv9w+3oVYvv4/Ojqy OnaBRqrA7q92cYSwRwKKQIgfan943xNtcZ6OByNf4iEZFEE/qiyCHkc6wTTp4PmFCr/r L58g== 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 x22si11605643plr.115.2019.08.20.01.30.04; Tue, 20 Aug 2019 01:30:19 -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 S1729427AbfHTI1z (ORCPT + 99 others); Tue, 20 Aug 2019 04:27:55 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:44141 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726049AbfHTI1z (ORCPT ); Tue, 20 Aug 2019 04:27:55 -0400 X-Originating-IP: 86.250.200.211 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: maxime.ripard@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 19956240009; Tue, 20 Aug 2019 08:27:51 +0000 (UTC) Date: Tue, 20 Aug 2019 10:27:51 +0200 From: Maxime Ripard To: Samuel Holland Cc: Chen-Yu Tsai , Jassi Brar , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Corentin Labbe , Vasily Khoruzhick , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v4 04/10] mailbox: sunxi-msgbox: Add a new mailbox driver Message-ID: <20190820082751.nfn76nlgl3ivphff@flea> References: <20190820032311.6506-1-samuel@sholland.org> <20190820032311.6506-5-samuel@sholland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gkmhex6scyynmxz2" Content-Disposition: inline In-Reply-To: <20190820032311.6506-5-samuel@sholland.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --gkmhex6scyynmxz2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Mon, Aug 19, 2019 at 10:23:05PM -0500, Samuel Holland wrote: > Allwinner sun8i, sun9i, and sun50i SoCs contain a hardware message box > used for communication between the ARM CPUs and the ARISC management > coprocessor. The hardware contains 8 unidirectional 4-message FIFOs. > > Add a driver for it, so it can be used for SCPI or other communication > protocols. > > Signed-off-by: Samuel Holland > --- > drivers/mailbox/Kconfig | 10 + > drivers/mailbox/Makefile | 2 + > drivers/mailbox/sunxi-msgbox.c | 323 +++++++++++++++++++++++++++++++++ > 3 files changed, 335 insertions(+) > create mode 100644 drivers/mailbox/sunxi-msgbox.c It's pretty much the same remark than for the name of the binding file, but sunxi in itself is pretty confusing, it covers a range of SoCs going from armv5 to armv8, some with a single CPU and some with more, and some with an OpenRISC core and some without. It would be less confusing (albeit not perfect) to use sun6i there, the family that IP was first introduced in. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --gkmhex6scyynmxz2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXVuvBwAKCRDj7w1vZxhR xV7WAQCXdOhK3aygWsBU1Ob0okTJbPWhSiAl4T7XZhHH/36ZiQEA6pZ/KLw9KS1c 2kVKRLeNf7nMSDrNt/PPkrb11elNcgA= =KJoz -----END PGP SIGNATURE----- --gkmhex6scyynmxz2--