Received: by 10.223.164.221 with SMTP id h29csp420939wrb; Thu, 26 Oct 2017 23:23:36 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TXp6XRNYodyXZdWomoXvdmuBIDLzBJqFe0DsbxocOnlOj76xQ5Qaww+3ccDubeAF538s15 X-Received: by 10.101.83.12 with SMTP id m12mr7114867pgq.153.1509085416879; Thu, 26 Oct 2017 23:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509085416; cv=none; d=google.com; s=arc-20160816; b=D8mW6IdN+o7Tkvlp+LCAC2VXxWdr2/r4lbnbOiSo2MhgKZO53I3Bl+ZamzuFwFg/me 9c5rH6EEzDb+Ub/2bwaXfc/decIQS49cYYOVl1e+TK1kP3bkyTd4PtfFH0WOI/DmBCG6 K34hHnMzTv4wqwlpL2gUzikeUZw4On/EwWBWiZnFCiQYZq9WzVhnn0OKDrs+BXoOh3i+ jcbIT7nBT2o1z2Rzz9ND6pHCRonENgIQzLw89644K7TM1n8E8RwDSUubTlV8IhrJle/d yqSVAtoXoew5T6L5iQSYeMGY+KF3RdKAasJp6VWycyiY5SkKNaSvxyZYtXn9lSFopZpo lwiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=1WDMTvK3Oeo7MiWorLfS9+vUWfb/b+K+zAZT43i0y4s=; b=Ie9D4NK7m4DTvIgZ8TERFKJnM8C+RwRI5ddRJkNhI8OUzRdPk+/HN5XA0FxNNa1hVg DCVAdzx8SPp8MGE1fZ6LMyAmR/swvcwwJaCaUjoYItfuO3jw2ClSJPdfLj/Ja36yWW/0 PmHli64/4ctsl7lzoMFF3HF/0TtuLdTRA6RhCXtG5i4l5JUoI4lsMqw8EbGeq3ry36NB YXiUf7RgggdZlVIeXV1VpU4Z6TqheoCr4vslGH1HGLB1eOiJUfDYhAX3pxs+Nd2e/lXk j8wamUxFc2dCbvktOKbzQnxZhINI+8Br9JjDbuSY7Pkz7mkqatM/UHZOoDUQSM4DSsTa juww== 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 g8si4446582pgq.226.2017.10.26.23.23.23; Thu, 26 Oct 2017 23:23:36 -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 S1752061AbdJ0GWa (ORCPT + 99 others); Fri, 27 Oct 2017 02:22:30 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:9443 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072AbdJ0GWF (ORCPT ); Fri, 27 Oct 2017 02:22:05 -0400 Received: from 172.30.72.59 (EHLO DGGEMS414-HUB.china.huawei.com) ([172.30.72.59]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DJW60885; Fri, 27 Oct 2017 14:15:13 +0800 (CST) Received: from vm167-7.huawei.com (10.177.167.7) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.361.1; Fri, 27 Oct 2017 14:15:05 +0800 From: Kaihua Zhong To: , , , , , CC: , , , , , , , , Subject: [PATCH v2 0/3] mailbox: Add support for Hi3660 mailbox Date: Fri, 27 Oct 2017 14:15:01 +0800 Message-ID: <1509084904-2505-1-git-send-email-zhongkaihua@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.167.7] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.59F2CEF1.005C,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 0bfd22393429cdfd82cb44192493c17b Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leo Yan Hi3660 mailbox controller is used to send message within multiple processors, MCU, HIFI, etc. This patch series is to implement an initial version for Hi3660 mailbox driver with "automatic acknowledge" mode. The patch set have been verified with Hi3660 stub clock driver, so we can send message to MCU to execute CPU frequency scaling. This is tested on 96boards Hikey960. Changes from v1: * Refactored structure definition according to Jassi's suggestion; * Refactored and simplized mailbox driver with "automatic ack" mode; * Refined commit logs to give background info for driver; * Added document for DT binding; * Added cover letter to track the changelog. Kaihua Zhong (2): mailbox: Add support for Hi3660 mailbox dts: arm64: Add mailbox binding for hi3660 Leo Yan (1): dt-bindings: mailbox: Introduce Hi3660 controller binding .../bindings/mailbox/hisilicon,hi3660-mailbox.txt | 52 ++++ arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 + drivers/mailbox/Kconfig | 8 + drivers/mailbox/Makefile | 2 + drivers/mailbox/hi3660-mailbox.c | 331 +++++++++++++++++++++ 5 files changed, 401 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/hisilicon,hi3660-mailbox.txt create mode 100644 drivers/mailbox/hi3660-mailbox.c -- 1.9.1 From 1582390514550393253@xxx Fri Oct 27 06:19:52 +0000 2017 X-GM-THRID: 1582390514550393253 X-Gmail-Labels: Inbox,Category Forums