Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp566080rwe; Fri, 14 Apr 2023 07:02:17 -0700 (PDT) X-Google-Smtp-Source: AKy350ZtDPmRqF5wPG9T4i6dXcthpRPXrXpr6Kl1KciPvK1FCdJMDjA/i2YL/DaAzwWT2VHpMqhi X-Received: by 2002:aca:1709:0:b0:38c:456:8c2d with SMTP id j9-20020aca1709000000b0038c04568c2dmr1943786oii.48.1681480937667; Fri, 14 Apr 2023 07:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681480937; cv=none; d=google.com; s=arc-20160816; b=V6+RzsLyNKk950n4QTOGKm4VAkL9EE1V+7V1Xkhg5OSpZwt3pm+YvADel0Bn8R+dwH H8QHnFbuw6OMmai9iRAvQg4HRxy2nYJi9Du5Q9VqsauXV2JPbZb5dy232b0INvmoGhbz PdpUv5f9+eLarGHoMem+g+YR2EGJDuFM3UIQ/23HQKSjRilk7Ru/NRyMV0g9h42JIb5U +vydqh3anPl+Yo/bfE4hJ5wtkb82T6PMrFMiJAh0FuqF4Ki/ta1TkyvVXbNKS2q+1F9Q 8o6oLrseJsPRnJ2Nyub/Zhh0Pd3FUq/vzXfHAHTd278FEVzdcXk0C61UNmPYmb2k8k/s n67w== 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=Tooml1hhLwti7ZYgYj0Dz0aeb5Hl0ADPmtkWfv01SEM=; b=L56DvwbgC/oq0oo0d/QQzMlVVOlZtpBiFSCb3UODrxUmoPbAi0meIr+YFofQIZ4u99 WS0TyarcwjHzHYSp/f09DFKnCcZZV/+WbTLw31sRZHXWvoU8Oom9PxZ/FHMm4f45oX/k xCHHxFv5OsZ3JgYLoklLKIcgAiYqzUcJ9wKG/X8jg3W2lg3c2XBsHyDSnGR+gmpmQ3uw niXENqjg+IJ53wvtVqorTPZOIJhNqP3R4oo3vlqRxDBVwjNUhBfTmmjfo42+sZa2RIvF YCNHvbctL9MqSc39f99e2/sUtAWyPh0CGa+nr0SCX02apzPDAZa6eD9yJOwwVkWItrxm /xwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OgWYCfxO; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fb23-20020a0568083a9700b003875a54ac6esi3976266oib.298.2023.04.14.07.01.36; Fri, 14 Apr 2023 07:02:17 -0700 (PDT) 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=OgWYCfxO; 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 S230011AbjDNOAM (ORCPT + 99 others); Fri, 14 Apr 2023 10:00:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230034AbjDNOAK (ORCPT ); Fri, 14 Apr 2023 10:00:10 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90860AF35; Fri, 14 Apr 2023 07:00:05 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33EBncAD009442; Fri, 14 Apr 2023 13:59: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=Tooml1hhLwti7ZYgYj0Dz0aeb5Hl0ADPmtkWfv01SEM=; b=OgWYCfxO+qrcF6YEoyqoLRPiJw2tC8FhZQzGWbkHAnvAeEay0APqGZyFGoV1GKSFMTgH hDTrfhfaQcZmHuw3+ZWZU5X7DsyW+0zVEQf7fXxgPwcptN1DvT0NFy2wAW7AVOc9nigA 0diBeLkRjhs12rVhnaVs7+YtQQlpYWCpW8c70feCsOFwProENoS+Ts1iqL9DJNmaN3sC Jbsyu32f9qIy6MxrUuJwlNpBfspr3197Mvivcx080Q7u/vO5s1oguROrNJUCIGLrTfT8 wRjXA1GELBciuqqkoZpMXe0PQpAxw1N+vGbx/M9yxGiOobraP1OkEmWqnLu6//TqMH2A Yw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pxe66k7cw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Apr 2023 13:59:50 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33EDxnCe017102 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Apr 2023 13:59:49 GMT Received: from blr-ubuntu-525.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.42; Fri, 14 Apr 2023 06:59:44 -0700 From: Souradeep Chowdhury To: Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring , Alex Elder , Arnd Bergmann , Greg Kroah-Hartman CC: , , , , Sibi Sankar , Rajendra Nayak , Souradeep Chowdhury Subject: [PATCH V1 0/3] Add Data Capture and Compare(DCC) driver to new location Date: Fri, 14 Apr 2023 19:29:10 +0530 Message-ID: X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain 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: fi3kkEBL1f0Ym8N3tGJiXn5uQn6AH8tC X-Proofpoint-ORIG-GUID: fi3kkEBL1f0Ym8N3tGJiXn5uQn6AH8tC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-14_07,2023-04-14_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=625 phishscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 adultscore=0 clxscore=1011 mlxscore=0 suspectscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304140126 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 DCC(Data Capture and Compare) is a DMA engine designed for debugging purposes. In case of a system crash or manual software triggers by the user the DCC hardware stores the value at the register addresses which can be used for debugging purposes. The DCC driver provides the user with debugfs interface to configure the register addresses. The options that the DCC hardware provides include reading from registers, writing to registers, first reading and then writing to registers and looping through the values of the same register. This patch series is a continuation of the previous series https://lore.kernel.org/linux-arm-kernel/20221228172825.r32vpphbdulaldvv@builder.lan/T/ The dcc driver is moved to a new location drivers/misc along with the binding as per discussions. Souradeep Chowdhury (3): dt-bindings: misc: qcom,dcc: Add the dtschema drivers: misc: dcc: Add driver support for Data Capture and Compare unit(DCC) MAINTAINERS: Add the entry for DCC(Data Capture and Compare) driver support .../devicetree/bindings/misc/qcom,dcc.yaml | 44 + MAINTAINERS | 8 + drivers/misc/Kconfig | 8 + drivers/misc/Makefile | 1 + drivers/misc/dcc.c | 1305 ++++++++++++++++++++ 5 files changed, 1366 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/qcom,dcc.yaml create mode 100644 drivers/misc/dcc.c -- 2.7.4