Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1413924lqg; Sun, 3 Mar 2024 08:54:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWoPNmhbNF88to8fLI+Brz3JVh0oVWH9q3RP2lrW5OnUofw1dS7zKfasdFF26yrLppZ1qraAUoMPTaZnZ7KPIiFac5Xm3jqgtVJQfnH9g== X-Google-Smtp-Source: AGHT+IHoGjBP2tc6khn5fNMJO/rUVw6+AVP3wpKVjTUhBctAPPT+Eo66Cta9Dg0xtYRiizPQO77R X-Received: by 2002:a05:6a20:3f8b:b0:1a0:e187:87c4 with SMTP id ay11-20020a056a203f8b00b001a0e18787c4mr7231621pzb.38.1709484872972; Sun, 03 Mar 2024 08:54:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709484872; cv=pass; d=google.com; s=arc-20160816; b=0j127SSEK2TP7HdF/NtN7+w1pPCJOTQD0gIWS64NEk1xC87nKaTciGlE73jCL/hUHA k3EZCOzE5I2ZdEMwzAUlYrjeIQY8uB9IH+OteWSf1cOJf9XfcrbSj0bMRwYhRgCU7vNx eIQQE0iuY1JQgbERr5XMU3leWstbg0a+yRol65sEiK6/75zVLKZiBQBW7RGaWPczOpBw kEUSdenr4UYZEMi+8tdBnvCle/k1qOLGptZAkAyGl8Mazfp+S/nfahXejkJtogP3RKSd zSsWDZMaIQ7qGhjK76WU6Yb1GGoku7ArRVKNIzQIYI9qFX1JISehRrnFr0z/Xw0eLB1D kW5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=rccwHKYFw9S2p6opaRP+v7Xv/6svp09OmqdR1WCeQ/w=; fh=rj8o9X8HjmMMFn5W9iZnV30/C8n7XK63xp85xWz2qVU=; b=dtUREjS8vxGK1t0fK0V3NMSbBLrgYn3X0mnNF7BRjYs4N1xwbgCrjl8D19JlMzIRCN Kj+4Jd5jZDbiedYzpa4EiJuFiO7nHKVZJ+6zC53Y0JzHAKi0T5hPAq6pVZqsFMoPKPP4 vVG0GD6CVsEPJ2WozRi9OQdFZYNHYjzZOLrEbsVoaptowzDqo+mLa/p4/c4OeFs5m3Vy zM2pK57lMmOAymC5XWYRxgMbXCiVwL89mhzrvmk4/xt/k6LllDWhgy/InaXA+lk8MvkA fR4brtDbr/q6Wq2DQD1IrAG+VtFkWjQ7yoNLWDK9v2D1kXoMdznazidnPRxrqkbmJBE/ 9Egg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Pn0c+Q8C; 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-89834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89834-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 c8-20020aa78c08000000b006e622e48ef5si353771pfd.263.2024.03.03.08.54.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 08:54:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89834-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=Pn0c+Q8C; 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-89834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89834-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 A686E286657 for ; Sun, 3 Mar 2024 16:54:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C71F6E5F6; Sun, 3 Mar 2024 16:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Pn0c+Q8C" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 26F2B6CDD0; Sun, 3 Mar 2024 16:54:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709484842; cv=none; b=JQjZk9pR3ghvlCvPv9tXvCMwWFQurzmXjBzKpyhcSYzefPAAWj0lXMpyZ5BkXk5AEFdysmTzEmBeJRkQKexVBi74kPWdMZsBNtj0D1pfBpajkaW12WgMOaoEIAucX6cj+oyS8GIG83i5qoKvxA2x9ohXetovCRvddWVpXN0j390= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709484842; c=relaxed/simple; bh=8/N3Gj/spOfs2EbuZOmnJeG8C8ghAtLIJC4ToDT4m/E=; h=From:Subject:Date:Message-ID:MIME-Version:Content-Type:To:CC; b=dZO6PjXR/sIa/djk1ubmt01GJM/JRrQv5QWev0lgO2M8eLk5QdAJKbhYRSX3YWzbA+jOo1jUFhcz1W32FQ2thFvrp1Zg+F/4lWUAcStu0R2MKKIVHcPGB3rxbSfxd1GAskZb9ijdCFfH6FybVACvKewZVFf+iMC/b9b7GfRdEV0= 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=Pn0c+Q8C; arc=none smtp.client-ip=205.220.168.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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 423Gj1Tj017497; Sun, 3 Mar 2024 16:53:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:subject:date:message-id:mime-version:content-type :content-transfer-encoding:to:cc; s=qcppdkim1; bh=rccwHKYFw9S2p6 opaRP+v7Xv/6svp09OmqdR1WCeQ/w=; b=Pn0c+Q8Cmpl2FoXXybBK9e5iURJ6AW BEIcNv3TTLPcLibSo8O2SyRcccsWWn66aSCJ4BOeFvM2woLH8V20AFReEPBjTWcm Tde57r7aj4gSeNm1NCum2SS2bCjfPoD3qoff5gwziIhTCjJv12KwLbUIiDhzMrIy IxQMR+Frh1xfZ7cSj+0ZgiXOTUhuhzZbecSASWoH1KPiIihvZNj9j/tBd8H4jpHH n0x8evhKR+MvDEsTMNIvj0v/DgOuDlaCnx8z4u4UALKHp6I5CzvbU/yjtzCEGDUA Qhtmf7ztiypGveB4Lk2R1hYCfCT7yQ4MhmbABirvtVwfM/c9U6v6C0UA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wmsqnr6k5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 03 Mar 2024 16:53:40 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 423GrdDA013819 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 3 Mar 2024 16:53:39 GMT Received: from robotics-lnxbld034.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sun, 3 Mar 2024 08:53:35 -0800 From: Canfeng Zhuang Subject: [PATCH 0/2] QCOM QRC device driver Date: Mon, 4 Mar 2024 00:53:15 +0800 Message-ID: <20240304-qcom_qrc-v1-0-2a709f95fd61@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAP2q5GUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDYwMT3cLk/Nz4wqJkXXNzi2SLtMQUCwsTMyWg8oKi1LTMCrBR0bG1tQC LBqRWWgAAAA== To: Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Bjorn Andersson , "Konrad Dybcio" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla CC: , , , Canfeng Zhuang X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709484815; l=1352; i=quic_czhuang@quicinc.com; s=20240304; h=from:subject:message-id; bh=8/N3Gj/spOfs2EbuZOmnJeG8C8ghAtLIJC4ToDT4m/E=; b=VJeE976QrWPSx4VkYIK+WjoQKC8ponp4kTRDEr0jKd8Pv5B/vsQQXFsbRv6awXI7frGpSAPmY CkK4Xp+C+H/AW+qXC0/hQWh5iXnlSbcxuQNjLHAfY1qNp11USYpS4sy X-Developer-Key: i=quic_czhuang@quicinc.com; a=ed25519; pk=uQG1beHWTQyrSp8QCUkEKgprUZM/nlhxKMyUwzilvXQ= X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: RLqjTnXT-Omxjwj4uXcF-z2ab9_5jVwD X-Proofpoint-GUID: RLqjTnXT-Omxjwj4uXcF-z2ab9_5jVwD 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-03_07,2024-03-01_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 spamscore=0 impostorscore=0 clxscore=1011 mlxlogscore=868 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403030142 QCOM QRC device driver is used for Robotic SDK MCU [commit]misc: qualcomm: QRC driver for Robotic SDK MCU This commit is used to enable robotic controller device driver. QRC Driver support functions: - Read data from serial device port. - Write data to serial device port. - Pin control reset robotic controller. [commit]dt-bindings: misc: merge qcom,qrc This commit is used to support qcom qrc devicetree binding. Signed-off-by: Canfeng Zhuang --- Canfeng Zhuang (2): misc: qualcomm: QRC driver for Robotic SDK MCU dt-bindings: misc: merge qcom,qrc .../devicetree/bindings/misc/qcom,qrc.yaml | 32 ++ drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/qrc/Kconfig | 16 + drivers/misc/qrc/Makefile | 6 + drivers/misc/qrc/qrc_core.c | 336 ++++++++++++++++++++ drivers/misc/qrc/qrc_core.h | 143 +++++++++ drivers/misc/qrc/qrc_uart.c | 345 +++++++++++++++++++++ 8 files changed, 880 insertions(+) --- base-commit: 805d849d7c3cc1f38efefd48b2480d62b7b5dcb7 change-id: 20240304-qcom_qrc-778c8fad8846 Best regards, -- Canfeng Zhuang