From mboxrd@z Thu Jan 1 00:00:00 1970 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 shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 31B5CC71144 for ; Fri, 18 Aug 2023 13:07:22 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.96) (envelope-from ) id 1qWzAD-00088L-13; Fri, 18 Aug 2023 09:05:17 -0400 Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1qWzAB-000887-0f for kernelnewbies@kernelnewbies.org; Fri, 18 Aug 2023 09:05:15 -0400 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-589bcdaa8a4so9090477b3.3 for ; Fri, 18 Aug 2023 06:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692363903; x=1692968703; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=GH1PEAbqf3+FRmsK/AlLEOXsCtxuSo3jbvky+XK7HDk=; b=F4tRIMICm8QZHSx2TgJmyUr0wcO4fDgdMLOlPT+u5y90+zdGhTBaEHm2XZM2svkFHy UnXOhDWgRfsGT7R2ldHcEhzFAtMs9lrQClTLIiMWVPzr0liY87BPV1zoxuPh2EaVRwr2 OdjiRvEWA9JRbvw6hU/28KDKjKcfmID3fEI8dp/sIKmG73yIXFDSWiuQfrAZsBhwc1Fj 60zL2bKsF1zg2gLvI4TWIvEADZcBs5xaO8/Wvb29HuNsRI4cv5eKXYn3ReeAp2ajKu/d ihDvGQ/PCe6gJb6Cas+z0Nk5UJmno7GHkH+LHHCLIWdj6EITAUpZ1J9E10aNUQCIQOoY i/FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692363903; x=1692968703; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GH1PEAbqf3+FRmsK/AlLEOXsCtxuSo3jbvky+XK7HDk=; b=k3bOiTD1nuH9Br++xjp+i0RsKMN9h7LYatwk4QspUMv+kBJJ3YKau506hRX0rummOr vJJ8D/v2Ib/7LQBI2mZjLjZjwTojwMksQzdXdhs3iNYeREp2Kt4V2GfpvfrYDn9iSdbO hxKkEtNOI+8DsJaeVXbA0DQ++u4MYOSpuVq7h5+k4f34vt//5ISFzQT6jnZ2xTRRoIsp Erd/iEhdA5Y6jK8yrG6LasmyYCOEtW60UcntHsiKSGLh/TF1MOiYwWdlYm87FMtZLY2m IVo+Xr9OpCUzHN3uM4bHWz8Br4jRRc7MAPBYNRp/bvRRtEhSSmbIhC7y/5bBV1BHUVuF d5yA== X-Gm-Message-State: AOJu0YzcsWZzR09vSHUzYlmIr37Mql+gp4tVcq1tK90ComytUTDzg1E5 bOrGcfa6GKV+KePdrimtaMqOESL4xKsbpVCmWUPYpPLP X-Google-Smtp-Source: AGHT+IFKjp9JG4WBQHXOXWvOx5IZzahWbIG3owPBNDlVmXWqszWyFJCYvI5Mt4suYh1cWQ8I9xqF9u+XGWtrrd8RxCA= X-Received: by 2002:a25:d04e:0:b0:d16:7ccc:b407 with SMTP id h75-20020a25d04e000000b00d167cccb407mr2633511ybg.39.1692363903327; Fri, 18 Aug 2023 06:05:03 -0700 (PDT) MIME-Version: 1.0 From: Muni Sekhar Date: Fri, 18 Aug 2023 18:34:51 +0530 Message-ID: Subject: Seeking Guidance for New SPI Driver in Mainline Linux Kernel To: kernelnewbies , linux-spi@vger.kernel.org Cc: LKML X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1285801912056534891==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============1285801912056534891== Content-Type: multipart/alternative; boundary="00000000000049e28e0603322da8" --00000000000049e28e0603322da8 Content-Type: text/plain; charset="UTF-8" Dear Linux Kernel Community, I hope this email finds you well. I am writing to seek your guidance and assistance regarding the development of a new SPI device driver for our hardware system. Our hardware, implemented on an FPGA, features an SPI interface that acts as a Master, offering two distinct modes for data transmission and reception. This hardware is connected to the Linux system via the PCIe bus. This hardware offers two modes for communication: using registers for debugging purposes and utilizing DMA channels for high-bandwidth applications. Both modes leverage the PCIe interface for data exchange. The hardware boasts several noteworthy features, including support for multiple speed settings, SPI port switching, configurable sample edge programming, and adjustable SPI transfer sizes. As we embark on the task of developing a device driver for this SPI interface, we intend to follow best practices and leverage existing resources within the Mainline Linux kernel tree. To achieve this, we plan to refer to and adapt existing SPI drivers. We kindly request your recommendations on which existing SPI driver within the Mainline Linux kernel tree would serve as the most suitable reference for our endeavor. Your invaluable expertise would greatly aid us in ensuring the success of this driver development process. Thank you for your time and consideration. We eagerly anticipate your guidance and insights. Warm regards, Sekhar --00000000000049e28e0603322da8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Linux Kernel Community,

I hope this email finds you well.
I am writing to seek your guidance and assistance regarding the development= of a new SPI device driver for our hardware system.
Our hardware, implemented on an FPGA, features an SPI interface that acts a= s a Master, offering two distinct modes for data transmission and reception= .
This hardware is connected to the Linux system via the PCIe bus.
This hardware offers two modes for communication: using registers for debug= ging purposes and utilizing DMA channels for high-bandwidth applications. B= oth modes leverage the PCIe interface for data exchange.
The hardware boasts several noteworthy features, including support for mult= iple speed settings, SPI port switching, configurable sample edge programmi= ng, and adjustable SPI transfer sizes.

As we embark on the task of developing a device driver for this SPI interfa= ce, we intend to follow best practices and leverage existing resources with= in the Mainline Linux kernel tree. To achieve this, we plan to refer to and= adapt existing SPI drivers.
We kindly request your recommendations on which existing SPI driver within = the Mainline Linux kernel tree would serve as the most suitable reference f= or our endeavor. Your invaluable expertise would greatly aid us in ensuring= the success of this driver development process.
Thank you for your time and consideration. We eagerly anticipate your guida= nce and insights.

Warm regards,
Sekhar
--00000000000049e28e0603322da8-- --===============1285801912056534891== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============1285801912056534891==--