From patchwork Tue Dec 13 14:04:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 2916 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp141398wrn; Tue, 13 Dec 2022 06:10:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf7xjZZla0+/WMonSDj2szAWQAo4nfEr4qImcvY8oJTAGiZz0NpKJ0MN1Oh/lfXR4JYTp1dT X-Received: by 2002:a05:6a20:c887:b0:a7:9c6a:4a64 with SMTP id hb7-20020a056a20c88700b000a79c6a4a64mr22810919pzb.8.1670940646260; Tue, 13 Dec 2022 06:10:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670940646; cv=none; d=google.com; s=arc-20160816; b=1GhudFdEewk6yHFnyLdPsOZJSIh7YCsLVkDsgJ5WeXNghm/RdhMe+HZ1oZ9nDWyd3H /Cy+V3ixAcjPu/mKJSbopaJB5SlGMe7lOzFruhATVvR3cEX1hpP49R4bCJgzLjV9wYsk z7Q735CedBjoe8hG1OOenKhimWlfYJncU0KL82zCK/tvV4QQ+USE6a1FXEP2F1k8GOq2 eUiOhHo7e8HZ5QG4NohBRHuDe5JK9yTtKgr61zOroNLE/AmZC+2yEPp4fiTsxand7Vph DH3XnmunJ1VGXoTqbBI7CpRWH2MmP1FpPpSxGG8QAt0geV1Ae0tZWEmfWPqhVgHehrOd mp8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=s3Cn0XuaHR45db4sSCFl4kAjyRjvDPc/VA0vF5EIuss=; b=p8/ek8zytKbLxE3c0OP0I6qL9y/6PGy333ovLrZWiGjGsI5d6aH/SK/3hU75vTmgZi c3N+fqV3kP/gubk2M1TGvs9HBKk6WfHpcKMFIQESM+A2jnbU1x2u2LipImSCWFVI4sCD G602BxZHmMzk/DG5DMQwSrDoCReq1F4EOWSklzwRW+V/+6LceNTMNgz0wkgMowFzK57B /jlDorA2wxpGBvSJqVE52THe03bIToScaT/qJwjP7LFOwpRV6OAwWDePTt7SI7oVLfGT vkFPevrj32FVhxl0KzpZaH8q3TEFMMcwHZcPevzFS1WbC7IxNTOu/t3kxmKWIrihCorF 488w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oavohSae; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 31-20020a63135f000000b00478aec5f39esi11722675pgt.834.2022.12.13.06.10.31; Tue, 13 Dec 2022 06:10:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oavohSae; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235792AbiLMOFU (ORCPT + 99 others); Tue, 13 Dec 2022 09:05:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235785AbiLMOFJ (ORCPT ); Tue, 13 Dec 2022 09:05:09 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41F4E63DF; Tue, 13 Dec 2022 06:05:08 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BDCJQb5008062; Tue, 13 Dec 2022 14:04:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=s3Cn0XuaHR45db4sSCFl4kAjyRjvDPc/VA0vF5EIuss=; b=oavohSaeTqeDOuw7J78oURrhJVF0KFc6JLoayqWg1toBTrqVAnJK/JPNxfjGWh5qGvEl itm/i1nPxNsaf/zIpLDeKK+CDjgC/pXBJQPn9ZVAo5KwIhJpSUZnOq+Wpkwb7lo+SMIP UvaKOMH/IbBLyMJhJMqn53rR8NTmRg6aFJrVv7WKdOYgBfsm5eeS9rPlkeKhaRdPVB0n 9TfmwIj8sqsMYZfhUyhPglJSdltBEPBOkyi3q5ZapwgLsv0laP0shvDOUJqvBU3/VTK+ wD4cqtEmNKe6GFbG3W0bTuymEHJZdEj/4nB9vt3n+MdO+QJOZ8lNZvtWPh2kIE2hz+sT tQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mehje1h8m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Dec 2022 14:04:50 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2BDE4mNp011365 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Dec 2022 14:04:48 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 13 Dec 2022 06:04:44 -0800 From: Sibi Sankar To: , , CC: , , , , , , , , , , , , Sibi Sankar Subject: [PATCH 0/2] Add support for CPUCP mailbox controller Date: Tue, 13 Dec 2022 19:34:07 +0530 Message-ID: <20221213140409.772-1-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: TmpijNi31auZCrO2a5gyQhBam3v1INu9 X-Proofpoint-ORIG-GUID: TmpijNi31auZCrO2a5gyQhBam3v1INu9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-13_03,2022-12-13_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 mlxscore=0 mlxlogscore=810 bulkscore=0 clxscore=1011 malwarescore=0 priorityscore=1501 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212130125 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752108258781067869?= X-GMAIL-MSGID: =?utf-8?q?1752108258781067869?= Add support for CPUSS Control Processor (CPUCP) mailbox controller which enables communication between AP and CPUCP by acting as a doorbell between them. Sibi Sankar (2): dt-bindings: mailbox: Add dt binding for QTI CPUCP mailbox controller mailbox: Add support for QTI CPUCP mailbox controller .../bindings/mailbox/qcom,cpucp-mbox.yaml | 51 ++++++ drivers/mailbox/Kconfig | 9 ++ drivers/mailbox/Makefile | 2 + drivers/mailbox/qcom-cpucp-mbox.c | 176 +++++++++++++++++++++ 4 files changed, 238 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/qcom,cpucp-mbox.yaml create mode 100644 drivers/mailbox/qcom-cpucp-mbox.c