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=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no 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 3E5E5C63777 for ; Tue, 17 Nov 2020 10:02:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D33F2222EC for ; Tue, 17 Nov 2020 10:02:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="d+TRbT7D" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727827AbgKQKCO (ORCPT ); Tue, 17 Nov 2020 05:02:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726035AbgKQKCN (ORCPT ); Tue, 17 Nov 2020 05:02:13 -0500 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFA0EC0617A6 for ; Tue, 17 Nov 2020 02:02:11 -0800 (PST) Received: by mail-pg1-x544.google.com with SMTP id m9so6196321pgb.4 for ; Tue, 17 Nov 2020 02:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=26jUaXgkOpdN+N/zxNBvWC7RCK+cgJsa+0NL5In8szs=; b=d+TRbT7DnLWPzB0SCStAavu+nQwfwhdt25ut79ivY+kq7c5ate3R9C3W/U+m6aZKz4 +wy3LW7qslQ0i2/GQwanm/a3aWVFgtE19GhE+AvrlUdXe280m/581oH9pyJkPlf00Z5l qw1n5IF2kZp5AXPHVGew/GXKqfFaHfaEh9wbBCh8+NVf/49G+dnWMOOUXg+dLKw2hYWc jR0dfhQVjNPGg4hQYvxaYY7D60FKKo4hmcFnAlHDjowad14qF87enx1A1N2tc0tiD3uX AWVsXkz1h3CsYHcB8iPNmA2QSLyMfH4GRewHQvZiiL5qM0O2DQjrdgWtHqcwkEVVc9zN U2yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=26jUaXgkOpdN+N/zxNBvWC7RCK+cgJsa+0NL5In8szs=; b=hHIEBB9I1LALmEz+LcrEFuu/yu6ZgfWwwk4Zg+L/5IBuCvCl737CiPzmCFsT2dxiGi ppR6JzjsMTCi1Iza+MSoYt84Y+27taf7CjRVutFjAs/7vYBdUfqaLwMJGBaqY0+9Nwux U4gioMMbd0dLQbWfpWHh2D3Nl/ILnz26RF0EaOGGr5M4y/sqFNtn+LuxJARUIlwkq2r5 PHse1azsYEThuBs9hxwoE3A6+Q0C9G5HApX48P1M7WK3hjTdbz6AUf+cHPMOilQAoUuP i5ENcxeKKe9XToAEVLfaBD1AHtYvVeAIPOAchyBaMvG6rGCXNmXD0sAkv6kQvAuBgycg plzQ== X-Gm-Message-State: AOAM531wwHW95ME3wOk+0lkEc7EPumWHRhpVOT6WBO0KqV6lwvG+3KV5 ukeS5RyiKJdZJ13tTw2fsnoKog== X-Google-Smtp-Source: ABdhPJw72mee3Ie/hh9YLmqwohDfqLW9HAujs+K05Oy97webs0QsO+cpBnSCMvCThhs3BNs2tO09gw== X-Received: by 2002:a63:c90b:: with SMTP id o11mr2985326pgg.453.1605607331298; Tue, 17 Nov 2020 02:02:11 -0800 (PST) Received: from localhost ([122.172.12.172]) by smtp.gmail.com with ESMTPSA id x66sm5770248pfc.43.2020.11.17.02.02.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2020 02:02:10 -0800 (PST) From: Viresh Kumar To: Jassi Brar , Rob Herring , Tushar Khandelwal , Viresh Kumar Cc: Vincent Guittot , linux-arm-kernel@lists.infradead.org, Sudeep.Holla@arm.com, morten_bp@live.dk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tushar Khandelwal , Usama Arif Subject: [PATCH V5 0/2] mailbox: Add mhuv2 mailbox controller's support Date: Tue, 17 Nov 2020 15:32:04 +0530 Message-Id: X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Jassi, Here is the updated version based on your suggestions. I feel bad that I haven't implemented the single-word protocol as a special case of multi-word one in the earlier attempt. Perhaps I was too consumed by the terminology used by the ARM folks in the previous version of the driver and the reference manual of the controller :) V1/V4->V5 - The binding patch already had 4 versions, while the driver had only 1. To send everything together, I had to bump the entire thing to V5. - Removed single-word and multi-word protocols and introduced data-transfer protocol which works with 1 or more windows. - Moved register names to small case. Rob, I have kept your Reviewed-by tag as is, please let me know if you would like to revoke it. -- Viresh Viresh Kumar (2): dt-bindings: mailbox : arm,mhuv2: Add bindings mailbox: arm_mhuv2: Add driver .../bindings/mailbox/arm,mhuv2.yaml | 209 +++ MAINTAINERS | 9 + drivers/mailbox/Kconfig | 7 + drivers/mailbox/Makefile | 2 + drivers/mailbox/arm_mhuv2.c | 1136 +++++++++++++++++ include/linux/mailbox/arm_mhuv2_message.h | 20 + 6 files changed, 1383 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/arm,mhuv2.yaml create mode 100644 drivers/mailbox/arm_mhuv2.c create mode 100644 include/linux/mailbox/arm_mhuv2_message.h -- 2.25.0.rc1.19.g042ed3e048af