From patchwork Thu Oct 29 19:59:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 11867479 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.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_TVD_MIME_NO_HEADERS,URIBL_BLOCKED,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 2390DC2D0A3 for ; Thu, 29 Oct 2020 20:00:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 9403B20782 for ; Thu, 29 Oct 2020 20:00:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="i9Z4SntZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="guCrR8O7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9403B20782 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.20170209; h=Sender:Content-Type:MIME-Version: Cc:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Message-Id:Date:Subject:To:From:Reply-To:Content-Transfer-Encoding:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=m57eNRL+U1m4H0bZkvHrJe6SYm1SND3EQ9owuvsxCUs=; b=i9Z4SntZOp5/Dr0BjjSSLmPMWw myZOUm6RAZfgPGB21uosKJu/CG/hH0++YVyt5WhsKybSsMsonOpaCpJqR51tVb5veFoCnckJmfeMr zSP6Mn55ZtfqlEQJd6F+QBGNxdtDyn9xKNVXHtuHTPy/w7rpH3sAfS/OzidgoF/ZJyvSRx4rkaOXD 0rZlY7SY5I6UcbQyQk4pomj+ONLnIF7FXVHj5BynbDKytX0TAEvClElvyhIGo4XlfpPCLBlZxGWSS WsqCHcsD6peWhb39KVgHCP3H++w7XtraFKcISK2WZLhWRm2Eo0kTeAuCUpyNRw1aa10heFYMHGGEl MedprMtQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYE54-0002DE-1y; Thu, 29 Oct 2020 19:59:30 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYE51-0002Bq-6z for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 19:59:28 +0000 Received: by mail-pf1-x430.google.com with SMTP id o129so3271515pfb.1 for ; Thu, 29 Oct 2020 12:59:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=uP6hTaBOXjH575rbNj1daH1xrP828aTe4Xi9zel+cqA=; b=guCrR8O77Nf5sqrzzmfnITJO7WzKY+YHLkwCb9ZI8iFHzDz+S6VGbJdAqNIwpiF6Z2 QSXuDnahBSXbgzGHu1Yr2BTdZ0jmm0lvhGA6SmFe06YNIQZiuKfqJ6uNeplURMpJ8fVQ itE9yQg1f9imyT3+uWdVm1n6BrMzy4uxme2l8= 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; bh=uP6hTaBOXjH575rbNj1daH1xrP828aTe4Xi9zel+cqA=; b=c2vevSZb+VFNxxcGxUA2EvIfsjgP6O34CAeC14gpRHd0AXCcu90/q+SeDgrsSRR2SD I+D59DyEroF3niE1OhrYl+ALmFeduSB0bfAE1JF7hkr81BhEm9P2YY81Q3QT7Gf3g48x 5Tw7KC8dfiAW4/VTLUBeKjFu89q8IVpbTxm8pI9I9mBeBUxLkKutFlliqyAS5VmcLGTt U9Y7p39IICoVCEwriRLyF3OQIpYmXhdORcC0XbMYBajHsbckakYoJgS0q/paM4hrViLf ZZm35733wL4ZDsWJreFwLGR/vVtWdeqJtsG0X61wxQhk4hIfjplp7Ia8wG9zyQ084OeT TDWw== X-Gm-Message-State: AOAM5302z3dQ+44OHifnwIiTQAF88Opls0gsoiEtr4mltzMxJWOnpOBF TcSXebHBWC/32ju3BMLVMD+fzQ== X-Google-Smtp-Source: ABdhPJxz2N0u0/tltHLgA1X64eG9KuDR0ZyM23oM1HLPpFPG1XwaXwPsA8QXoEfpETWwVl2lNCWirw== X-Received: by 2002:a62:7a8d:0:b029:160:9e0:5ff6 with SMTP id v135-20020a627a8d0000b029016009e05ff6mr6118429pfc.52.1604001563991; Thu, 29 Oct 2020 12:59:23 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id z27sm3682662pfr.206.2020.10.29.12.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 12:59:23 -0700 (PDT) From: Jim Quinlan To: sudeep.holla@arm.com, bcm-kernel-feedback-list@broadcom.com, james.quinlan@broadcom.com Subject: [PATCH v4 0/2] mailbox: Add Broadcom STB mailbox driver for SCMI Date: Thu, 29 Oct 2020 15:59:05 -0400 Message-Id: <20201029195913.5927-1-james.quinlan@broadcom.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_155927_486035_D9552F95 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Patchset Summary: Adds a simple mailbox driver for the use of the ARM SCMI drivers. v4: Commit "mailbox: Add Broadcom STB mailbox driver" -- Fixed indentation on Kconfig file (again, RandyD). -- Removed superfluous #ifdefs for ARM/ARM64 (RandyD). -- Fixed Copyright year on source file (RandyD). v3: Commit "mailbox: Add Broadcom STB mailbox driver" -- Fixed indentation on Kconfig file (RandyD). v2: Commit "mailbox: Add Broadcom STB mailbox driver" -- Remove the Kconfig dependency on SMP (Florian) Commit "mailbox: Add Broadcom STB mailbox driver" -- Drop label,unit address; changed title,description (RobH) v1: -- Original submission. Jim Quinlan (2): dt-bindings: Add bindings for BrcmSTB SCMI mailbox driver mailbox: Add Broadcom STB mailbox driver .../bindings/mailbox/brcm,brcmstb-mbox.yaml | 39 ++++ drivers/mailbox/Kconfig | 12 ++ drivers/mailbox/Makefile | 2 + drivers/mailbox/brcmstb-mailbox.c | 167 ++++++++++++++++++ 4 files changed, 220 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,brcmstb-mbox.yaml create mode 100644 drivers/mailbox/brcmstb-mailbox.c