Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp312374lqh; Thu, 28 Mar 2024 02:52:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkUgdWFNUcFXzAA+fZZr8kqK/m6/iuNDUyUgNa0vHODKHGB19UuUObJ3K0HdTkYJUn+RzCZaMPDkLnGkyPCpx+8CSNplvOi6+8FpVHsQ== X-Google-Smtp-Source: AGHT+IHrCyR8vN9dnn+4eiFFJ1XoAU4iqqtCk/N6k6Cy+r73k6uApPI5SG22/UcT4k7mzKLyfxxE X-Received: by 2002:a05:6871:5c9:b0:22a:4c1b:a482 with SMTP id v9-20020a05687105c900b0022a4c1ba482mr2150408oan.57.1711619525523; Thu, 28 Mar 2024 02:52:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711619525; cv=pass; d=google.com; s=arc-20160816; b=0fktH24pk6RKe3REahrRnGnjfTIjc6p1eNpHPlZ2U7b1xSvQBuVuyj1D4d0Xekp0iG fZAQ+T9E4aUtM4CVlA0OHP5MuOkOrwaEuCJlIMtSE4KlyIW3aGKTJTXx5AZx39eWsppF 9g4QAh9yn5kmqJcVNDZpugv1pxOl8FJxYxE9H5sJyTJRmeWqtH9Yq4PYB+2vJcC9t27n FUHkedJanTAPETNN6m5TzpmP/MgTk2MGCp53uEDEz02dOLu60EDTwwKZWbjC2p8gprHG y9blE8MgFXcyAlNW1a63waeiYsMw4iMOHpMOaSTzQGLKnbLd90B4YjTYJmdKz9nC0KwV GzVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=474CTIUKYJidvKspytIRb41aOV/RpzaCy1VVbecv9wE=; fh=ZrREBnG3tPZvgrVoNWgAt6J2R0J6jGAiFzpmYMnPEGg=; b=N4xbvhn3WGJlHI9+yV8dvm5i/95WrQmHNGXz9SEWqGwQxkktqhOXnz5JSsRrxbBwIB LM5ABrG29PdwS1CtcboAXfAQiaO1emyq3gZeNYgz2JFK4ULyyX8cVZhkomq9UHVBS0Kw 0+b2W/67F3iEnXthlPXKTZXf3GZdT1oUE028yiPg6Ue89nfaDwI/NACjhINATNFr8Mnq L2wMbj2bHahkJQh0Rkpx7y5SBUdWbQY9AE69DB0EvZ9vdTaLMCsGWc694XHROVH4409/ Icei9+JX/IeqomTNxvWOIT1xocqyDMECZOaXJ4af/kOH3pIRhSQtgKtLdNLS7CVZxzbW dVIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LxLev44s; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-122725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o3-20020a635a03000000b005d5d74411fasi1118874pgb.207.2024.03.28.02.52.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 02:52:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LxLev44s; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-122725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1B6B2299DD4 for ; Thu, 28 Mar 2024 09:52:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFEC47C6CA; Thu, 28 Mar 2024 09:51:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="LxLev44s" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E560657DF; Thu, 28 Mar 2024 09:51:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711619485; cv=none; b=ARB0SJQrWA/VA3Mk7cEYEb3k+gF5n9dP0oIvaiT2vCYhdejMMOQmQ7ADyup5NfJfBij/TcQlVLnqraHLVoHiJfUpCFG9Ll0qlXPb4m5TYswBMqaH33q8Wy4FIoz/oGeDCynP6HHD9WaOmHpwaTXmbKew05++anGAyo90nIhlNlw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711619485; c=relaxed/simple; bh=HW6UgJ0Yn1O1XybEUZA+ryIToNj1u5oAyKa2XNpiUGs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=htRUFvpEpqQPBivLBi6IqHg5WPGvIcoHWgp6zYa0MGAyZNRgnHug7BOEiz1E0FNUm3aLbM+fxABxv/ftBdMCURHYCGiidLrgK/ztC9KJqLabn1bOeK+wVTsVa8EFNTvlG2WiOz9N/8JoXlEcXmNRwkeOijwdaxnb/FaVV2Affjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=LxLev44s; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42S9oc4Q029027; Thu, 28 Mar 2024 09:51:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=474CTIUKYJidvKspytIRb41aOV/RpzaCy1VVbecv9wE=; b=Lx Lev44svIaIZt2rZMLkSEIlEDFVJ3PpsGQPemSXlTYW84c6qI5xlGQAnpZ5HXb5a/ KK+6qlhPjUghTcDGxwjuR4JQJvkmdNVck42PBVxn2yjpP/4KGGV7FckfhbnTZZFw xL+G0QgcqI+nkiYjm994crvenBeNXIVXxbhSNYjeGWt1EkOTMyiBzvIi/MByJhFs Vf3T+VoNuexKBVSBJpvuZyTtaBGFWoNGlQOHeYNV1nQ4R51ksK/R94/3o+UPh9kZ j/Kgx06A3V/ww3yYMH48ZMDmiukAi1+UVQJwHP46OtsM3KUBffVt0uKnjicBRzgt ZhiF+ReU9jGlti59St2w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x54r60cbh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 09:51:15 +0000 (GMT) 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 42S9pETZ019381 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 09:51:14 GMT Received: from hu-sibis-blr.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.1118.40; Thu, 28 Mar 2024 02:51:09 -0700 From: Sibi Sankar To: , , , , , , CC: , , , , , , , , , Subject: [PATCH 1/5] dt-bindings: mailbox: qcom: Add CPUCP mailbox controller bindings Date: Thu, 28 Mar 2024 15:20:40 +0530 Message-ID: <20240328095044.2926125-2-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240328095044.2926125-1-quic_sibis@quicinc.com> References: <20240328095044.2926125-1-quic_sibis@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: obBQLGU22vcf_wpTzamyum-UGQrwjCOk X-Proofpoint-ORIG-GUID: obBQLGU22vcf_wpTzamyum-UGQrwjCOk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-28_09,2024-03-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 malwarescore=0 bulkscore=0 suspectscore=0 impostorscore=0 spamscore=0 mlxlogscore=941 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403280066 Add devicetree binding for CPUSS Control Processor (CPUCP) mailbox controller. Signed-off-by: Sibi Sankar --- rfc: * Use x1e80100 as the fallback for future SoCs using the cpucp-mbox controller. [Krzysztoff/Konrad/Rob] .../bindings/mailbox/qcom,cpucp-mbox.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/qcom,cpucp-mbox.yaml diff --git a/Documentation/devicetree/bindings/mailbox/qcom,cpucp-mbox.yaml b/Documentation/devicetree/bindings/mailbox/qcom,cpucp-mbox.yaml new file mode 100644 index 000000000000..491b0a05e630 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/qcom,cpucp-mbox.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mailbox/qcom,cpucp-mbox.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. CPUCP Mailbox Controller + +maintainers: + - Sibi Sankar + +description: + The CPUSS Control Processor (CPUCP) mailbox controller enables communication + between AP and CPUCP by acting as a doorbell between them. + +properties: + compatible: + items: + - const: qcom,x1e80100-cpucp-mbox + + reg: + items: + - description: CPUCP rx register region + - description: CPUCP tx register region + + interrupts: + maxItems: 1 + + "#mbox-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - "#mbox-cells" + +additionalProperties: false + +examples: + - | + #include + + mailbox@17430000 { + compatible = "qcom,x1e80100-cpucp-mbox"; + reg = <0x17430000 0x10000>, <0x18830000 0x10000>; + interrupts = ; + #mbox-cells = <1>; + }; -- 2.34.1