From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED, USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40881C43381 for ; Fri, 1 Mar 2019 05:53:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0B8C8218AE for ; Fri, 1 Mar 2019 05:53:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Esiw2qkY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MXVKicEh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0B8C8218AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SC/dQMHyQG+VSImwg7kPpYojSqS6dx9vp0M0si65xSI=; b=Esiw2qkYCPGPYQ vsLvcxXtL51CqeoU269h73jRfh62yymXal+iCcWO6d6haMhtYc+osMGgZmNKhD26UKkawHNSzlqZM kQdMm6B4lf5AqUGAPcUTHGQNlFDEakMFWXg0bjRB48xgxFeH9Vl2ZGwogLWJixKArN1a0cMscqrW0 iAjbyCv5erzzN3r33rdqIPRlyurBbeLm2ASk8e30lKHU41HX7xyF2RgO92OND4e1B0BnaXk5OLeSe VaUXzd73c/vj0fLe67Un9y45b3d5eXLcbu8rBQCqxh8WAxHeEFQUzeVcw3x+mxwXg4BmX8NpGrMIy Zr/bUQUo424XF5ZlSnYw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzb6y-0001Sf-N5; Fri, 01 Mar 2019 05:53:32 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzb6v-0001SF-Hh for linux-arm-kernel@lists.infradead.org; Fri, 01 Mar 2019 05:53:31 +0000 Received: by mail-wr1-x442.google.com with SMTP id o17so24500259wrw.3 for ; Thu, 28 Feb 2019 21:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rSujFGYUgAqpWL9Qk6QnlIlKB8Ke3h3ycAhVJdiunqg=; b=MXVKicEhphkOR5kLrYsVtL1t5Uq62IYLkWMsQxp9ZKexywU2j7bNMTGnftideEwOLN Y60pb1QHPRq9X77uktnt5qJEn/37V9gWmD7yh2eUHlPKQtZgoDBWNWpQyHlxCq0OO96p cqeByW3NJFIAyjH8GqCSUBqgJfxjSSkpE6AQ0x7YBrvshy4CONMYMPh0JOl3kSHefQDd zu5HRA6I4WakmIQG4LN9A6RNIHHMYCSulWtRlPE1Gn00IlSUk5QILF+MWah8YbyyOQ8X jRDPF7ghVITDsN9jC8VCiaYZgtF0n5D1s8Nem2zMsTM+z2YQ1FsmaEph8He3xYK67NXX +Fyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rSujFGYUgAqpWL9Qk6QnlIlKB8Ke3h3ycAhVJdiunqg=; b=laI4cIFZO30lN53AtLMf5uTEO7hO87XAUcnHwc/3VskLNfh0V9aEEfyBaJSk0Qi79w u6M6DAdD2ZzNrxm0aFj/dEomYPKW8zFXBNXif7zeGZD6X9qM7uJavuKur7+Yi6Jy7feU Gnvv4nUGD7NSWAT+lC7XFdRa6oBDJ5bBvYX196m5VkXb4BngfH59RQrx5Kyz5JrxjsdR g8gvV/Xv64FPWm8qgF4Wic6jfTqc5F844hEW0MsaFcjPlp2Bz9BImgmL/UBg5mPpc8PD vyq6T66ZtS9T4CR8Bpf2qPz1VkxQJzU4hb+qTzi4bs9+zoi4aQaY/6Alk05A//J2Z31e inYQ== X-Gm-Message-State: APjAAAWjJMqibp2+50x1QmyxKylpm8zKqEQRHh55pYgNs5cBoZ2MLLDo qVI05BsL7mXXPzwGBl1+llU= X-Google-Smtp-Source: APXvYqywoKuM9I3djiVZegD6ZsA7OPgLDSV10ZW4NRwG9LdftFbIO8OqRULUlVDCsJK+f+nnsFRdPg== X-Received: by 2002:a5d:4710:: with SMTP id y16mr1951147wrq.305.1551419607324; Thu, 28 Feb 2019 21:53:27 -0800 (PST) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id f126sm6725859wmf.6.2019.02.28.21.53.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 21:53:26 -0800 (PST) Date: Fri, 1 Mar 2019 06:53:24 +0100 From: Corentin Labbe To: Samuel Holland Subject: Re: [linux-sunxi] [PATCH v2 00/10] Allwinner sunxi message box support Message-ID: <20190301055324.GA563@Red> References: <20190301052947.32032-1-samuel@sholland.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190301052947.32032-1-samuel@sholland.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190228_215329_584927_172F542D X-CRM114-Status: GOOD ( 18.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, Maxime Ripard , Michael Turquette , Jassi Brar , linux-kernel@vger.kernel.org, Stephen Boyd , Chen-Yu Tsai , Rob Herring , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Feb 28, 2019 at 11:29:37PM -0600, Samuel Holland wrote: > This series adds support for the "hardware message box" in sun8i, sun9i, > and sun50i SoCs, used for communication with the ARISC management > processor (the platform's equivalent of the ARM SCP). The end goal is to > use the arm_scpi driver as a client, communicating with firmware running > on the ARISC CPU, or to use the mailbox to forward NMIs that the > firmware picks up from R_INTC. > > Changes from v1: > - Marked message box clocks as critical instead of hacks in the driver > - 8 unidirectional channels instead of 4 bidirectional pairs > - Use per-SoC compatible strings and an A31 fallback compatible > - Dropped the mailbox framework patch > - Include DT patches for SoCs that document the message box > > Samuel Holland (10): > clk: sunxi-ng: sun8i: Mark the msgbox clock as critical > clk: sunxi-ng: sun9i: Mark the msgbox clock as critical > clk: sunxi-ng: sun50i: Mark the msgbox clock as critical > dt-bindings: mailbox: Add a sunxi message box binding > mailbox: sunxi-msgbox: Add a new mailbox driver > ARM: dts: sunxi: a80: Add msgbox node > ARM: dts: sunxi: a83t: Add msgbox node > ARM: dts: sunxi: h3/h5: Add msgbox node > arm64: dts: allwinner: a64: Add msgbox node > arm64: dts: allwinner: h6: Add msgbox node > > .../bindings/mailbox/sunxi-msgbox.txt | 44 +++ > arch/arm/boot/dts/sun8i-a83t.dtsi | 10 + > arch/arm/boot/dts/sun9i-a80.dtsi | 10 + > arch/arm/boot/dts/sunxi-h3-h5.dtsi | 10 + > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 10 + > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 10 + > drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 2 +- > drivers/clk/sunxi-ng/ccu-sun50i-h6.c | 2 +- > drivers/clk/sunxi-ng/ccu-sun8i-a23.c | 2 +- > drivers/clk/sunxi-ng/ccu-sun8i-a33.c | 2 +- > drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 2 +- > drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 2 +- > drivers/clk/sunxi-ng/ccu-sun9i-a80.c | 2 +- > drivers/mailbox/Kconfig | 11 + > drivers/mailbox/Makefile | 2 + > drivers/mailbox/sunxi-msgbox.c | 315 ++++++++++++++++++ > 16 files changed, 429 insertions(+), 7 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mailbox/sunxi-msgbox.txt > create mode 100644 drivers/mailbox/sunxi-msgbox.c Hello Appart from applying/compiling/booting, does it exists some way to test it ? check it works ? Regards _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel