Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp331142rdb; Thu, 19 Oct 2023 06:02:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrXA60t+v6SgfFDihrJV/3AdyW4i1NarSTo6WWXPmszcb/IPE9r8EFgkom+v5TbZBDMz0+ X-Received: by 2002:a17:902:d4cf:b0:1bf:6ad7:2286 with SMTP id o15-20020a170902d4cf00b001bf6ad72286mr2084428plg.43.1697720527795; Thu, 19 Oct 2023 06:02:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697720527; cv=none; d=google.com; s=arc-20160816; b=pIzqW/rELvj59p8etnyxrJ1ZGo/mDH1dXR4LR0mjmSEAJpD8t0gdyDOpgdjitG741L rju4DYLr1vqjSrXUgEuVpJgvHoRe7Ms9sPLuJbHNRxSlW/Fl02zi45OR0qGroCEjVWyM 9y4YrywAJ4ni0g2/W1pQ/3GEGRoWMuwFW6zdJ/Hpis9PCdkc+EID+PSBpllmPfytKwza qPnFNpGa2AHwqu6b1V+AJORBC0kELOJ7PkaRQ5jnM7ABS23eygfRngSLrLDEs7HMnPsL eS/Z31kE9tpM9qecUdS9Yd0F40kHwdnLo/TdgimVVH2i36LM99bdWmmp+EnU6CnfHDPT OkhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=juEEbpgoErndyDTZu1Bjft+vK/q4esUZj+7zsZUfn/U=; fh=6DzAg63MyhRd8nY8qKBR/dcXtND5/Gu0pduO8SnWVCE=; b=fF2+I636X6cUDA9HaiRWRZLxIuCxWRwec2+X5yIf4llPhUCWRxO+OtfTy9+88FIfTM 8xRg1ts/WBpSgvp1JPKmLnBTYVR23kz+0pW4YgTQiT1k5rVSndemisraihgDNnWSAR+o 6NxYWh2qyCFsX0CHXpGc+kLvF7mOFLKOoCxzjhsVwj1FeDwKj48vgZTB9Ky2+q0c9HOu 7d1WU7vq+Fmeip38khQPUWzvkaesaxOn/Lh8lhHFloFCn/BqCHf5Y0lx9RSg7UVpM2PA i/i2KsiOj85nvv01GgMbFoZbB/gMKvHcJ2kykuA932o5sNXDIG6UsONVXSvqyzYG/uGW ZmXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u10-20020a170903124a00b001c9c9251e05si2174211plh.476.2023.10.19.06.01.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:02:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4FD5A806B735; Thu, 19 Oct 2023 06:01:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235435AbjJSNBL convert rfc822-to-8bit (ORCPT + 99 others); Thu, 19 Oct 2023 09:01:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345871AbjJSNAv (ORCPT ); Thu, 19 Oct 2023 09:00:51 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E2FCD61; Thu, 19 Oct 2023 06:00:18 -0700 (PDT) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 39JAt1kL029094; Thu, 19 Oct 2023 08:58:19 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3ts56a6xn2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 08:58:18 -0400 (EDT) Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 39JCwHqf035654 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 19 Oct 2023 08:58:17 -0400 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Thu, 19 Oct 2023 08:58:16 -0400 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Thu, 19 Oct 2023 08:58:16 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Thu, 19 Oct 2023 08:58:16 -0400 Received: from ubuntu20.04.ad.analog.com ([10.32.226.241]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 39JCw2nS004952; Thu, 19 Oct 2023 08:58:05 -0400 From: Eliza Balas To: , CC: Eliza Balas , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH v3 0/2] Add support for ADI TDD Engine Date: Thu, 19 Oct 2023 15:56:44 +0300 Message-ID: <20231019125646.14236-1-eliza.balas@analog.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: kVsjbM3ritvDNdrfYiitzuSz8kMQVgj6 X-Proofpoint-ORIG-GUID: kVsjbM3ritvDNdrfYiitzuSz8kMQVgj6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-19_11,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 spamscore=0 phishscore=0 bulkscore=0 clxscore=1011 mlxscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2309180000 definitions=main-2310190111 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 06:01:34 -0700 (PDT) Add support for Analog Devices TDD Engine. This driver is created for a specific FPGA Core named TDD Controller (Time-Division Duplex). We choose the sysfs interface so that the users can access the device registers directly, in an easy way, without using a complex interface. If there will be other future revisions of the TDD FPGA Core, the register space will remain compatible, so we don't break the current functionality of the driver. Even though the device attributes might resamble a bit with the ones from the iio subsystem, the device also contains a lot of attributes which are not part of the iio subsystem. We do not want to confuse this device with an IIO device, so we concluded that the driver should reside in the misc subsystem. V2 -> V3: - change from dual-license to single license driver - remove version number from the compatible string - the driver should reside in the misc subsystem Eliza Balas (2): dt-bindings: misc: adi,axi-tdd: Add device-tree binding for TDD engine drivers: misc: adi-axi-tdd: Add TDD engine .../sysfs-bus-platform-drivers-adi-axi-tdd | 156 ++++ .../devicetree/bindings/misc/adi,axi-tdd.yaml | 65 ++ MAINTAINERS | 9 + drivers/misc/Kconfig | 10 + drivers/misc/Makefile | 1 + drivers/misc/adi-axi-tdd.c | 780 ++++++++++++++++++ 6 files changed, 1021 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-platform-drivers-adi-axi-tdd create mode 100644 Documentation/devicetree/bindings/misc/adi,axi-tdd.yaml create mode 100644 drivers/misc/adi-axi-tdd.c -- 2.25.1