Received: by 10.223.164.202 with SMTP id h10csp783752wrb; Fri, 17 Nov 2017 08:33:29 -0800 (PST) X-Google-Smtp-Source: AGs4zMbbTwyu4rMnGj1n+NB/8dWiaovhhMw31ta3rFrJgRgrlSAw3NrjLaAVLRLSB/QnRnawSL/S X-Received: by 10.98.82.3 with SMTP id g3mr2651177pfb.189.1510936409027; Fri, 17 Nov 2017 08:33:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510936408; cv=none; d=google.com; s=arc-20160816; b=yEh6hhSTSpv6/H5CfuYrt6cooeMhc/Gyc+4TO2NcvpEc9Z0CCtofIrg01PfWakNbw1 O0sTtJOnODafdpzgw4gL8mPSI4a6E8P9STHi7qcm16SzAEPtGHBdTvfdK+y5nztTpGSM bZkpCAX90u1JaXwniW7QLVg9o0Fc6vsiee15w5rV3YIIHBZt/9lw6bms2Rw5MRWh6Cer 9u2L5TgCvZL5VOIDgyS2XhcqfHsnaqZ6VGl1Vn3WSFuUhwGVFFtnJ1q5E4xtf95MqmXX Hl6IHk7EoGhVn/n8Jxtc9K7V+WxMjmTW4knONQ5nQaCTqNMA7OiV7iuoXMzmVlSVTKqT GR0A== 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=Jjl2OajU2VUuSzjnSKI9SPCA0ybsebg/bCYgCnLv0VI=; b=BYl6okfBypyoahUnYfloXbAjm34c+iFsy/rZKO6cMiBBfIfAv3yNRw1K3sqNnRAoIV YEfQ1nOMvujtzPyrpJ/46DRyDKp1bTooaDHAsbvHO69PFGRTk5hIGj128RBO/KzCdPFS ryD56JqxnBSvYfXbMVnb3D8iX1ijinXOJDpUEVK+feORHxRmBRFvypOV55ryo8XTTppJ JoneuukhZUCYktlLPSgtvq8CwnErvit9H33Uif6WzM7BKkYvvO2Eyccp5cE22bIJ6TUP 3ZAXjmGef3oiity4IpY4wigCmohz/MJwml3lBu8IVsT7UaEc6AYywRtGljNJ4HdcNjYn OqBg== 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 d9si2929666pgp.487.2017.11.17.08.33.15; Fri, 17 Nov 2017 08:33:28 -0800 (PST) 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 S965793AbdKQJap (ORCPT + 91 others); Fri, 17 Nov 2017 04:30:45 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:10948 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965933AbdKQJ3O (ORCPT ); Fri, 17 Nov 2017 04:29:14 -0500 Received: from 172.30.72.58 (EHLO DGGEMS402-HUB.china.huawei.com) ([172.30.72.58]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DLA22891; Fri, 17 Nov 2017 17:25:21 +0800 (CST) Received: from vm167-7.huawei.com (10.177.167.7) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.361.1; Fri, 17 Nov 2017 17:24:33 +0800 From: Xu YiPing To: , , , , , CC: , , , , , , , , Subject: [PATCH v3 0/3] Add support for Hi3660 mailbox driver Date: Fri, 17 Nov 2017 17:24:29 +0800 Message-ID: <1510910672-1409-1-git-send-email-xuyiping@hisilicon.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.0A020205.5A0EAB02.0004,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: 68936c79092f84f3c584013f3c6ddf9c 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 v2: * According to Mark Rutland suggestions, removed sev()/wfe() from driver, the system has no two masters sharing the same channel for data transferring so we don't need these instructions; * Refined DT binding and doc according to Rob suggestions; * Refined driver according to Julien suggestions; Changes from v1: * Added cover letter to track the changelog; * Added document for DT binding; * Refactored and simplized mailbox driver with "automatic ack" mode; * Refined commit logs for patches; 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 | 51 ++++ arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 + drivers/mailbox/Kconfig | 8 + drivers/mailbox/Makefile | 2 + drivers/mailbox/hi3660-mailbox.c | 322 +++++++++++++++++++++ 5 files changed, 391 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/hisilicon,hi3660-mailbox.txt create mode 100644 drivers/mailbox/hi3660-mailbox.c -- 1.9.1 From 1584248837118293481@xxx Thu Nov 16 18:37:06 +0000 2017 X-GM-THRID: 1584243655331587972 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread