From patchwork Thu Jun 22 13:59:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Praveen Talari X-Patchwork-Id: 695816 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE1C4EB64DA for ; Thu, 22 Jun 2023 14:01:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231347AbjFVOBp (ORCPT ); Thu, 22 Jun 2023 10:01:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbjFVOB3 (ORCPT ); Thu, 22 Jun 2023 10:01:29 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEFD9E2; Thu, 22 Jun 2023 07:01:20 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35MDK97K031378; Thu, 22 Jun 2023 14:01:17 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-type; s=qcppdkim1; bh=f2E/nAa0voUk30qMYP5vVRjP9nO0SUZEWeHDea+2liM=; b=fTxZmotL+Rj++PkzDmp58JPedymNqpZOr9GoOwYOqRPOGttobCVvGeSq2JkdWHP6xZwD 99/ADTeSX6HtppiCH8lQxGfETB6zxl23D6qG4t6ZfZOIJMv9IjSmVFwA0nRVU7E7ZGCM wDfNrNnxtuG5kR93CBmc+bYfX+PaebTNvoqsQCDTf7TMy3nEfYeTPggWVPo5wIrdHIkf ila9yISf8NaoO2jtUtmlrbp4BuSU1ZucjQahnYFUQXDOmu7GSBav6dIO0EeKjIjWQ59A zrcMbgtmG1eQg0ACDjfvvL00uWpP86M1/ftIsUfzBOxRc+LFrxj7PAelCS2iq8TW6ZhV AQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rc6b2a3nk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jun 2023 14:01:16 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35ME13Cg026274 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jun 2023 14:01:05 GMT Received: from hu-ptalari-hyd.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Thu, 22 Jun 2023 07:00:40 -0700 From: Praveen Talari To: , , , , , , , , , , CC: , , , , Praveen Talari Subject: [PATCH v3 2/3] spi: dt-bindings: qcom,spi-geni-qcom: Add SPI device mode support for GENI based QuPv3 Date: Thu, 22 Jun 2023 19:29:54 +0530 Message-ID: <20230622135955.941-3-quic_ptalari@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230622135955.941-1-quic_ptalari@quicinc.com> References: <20230622135955.941-1-quic_ptalari@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: ExYPrLRMkjhPXYmB5dEO2F_EHADnyBUQ X-Proofpoint-GUID: ExYPrLRMkjhPXYmB5dEO2F_EHADnyBUQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-22_10,2023-06-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 malwarescore=0 spamscore=0 phishscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 impostorscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306220118 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a property to configure QUPv3 SE as SPI Device mode. Signed-off-by: Praveen Talari --- v2 -> v3: - modified commit message to use device mode instead of slave mode --- Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml index 2e20ca313ec1..5c7d0293bbf7 100644 --- a/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml +++ b/Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml @@ -66,6 +66,10 @@ properties: reg: maxItems: 1 + qcom,slv-ctrl: + description: configure QUPv3 SE as Device mode + type: boolean + required: - compatible - clocks