Message ID | 20231004184639.462510-1-ayushdevel1325@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:254a:b0:403:3b70:6f57 with SMTP id hf10csp335878vqb; Wed, 4 Oct 2023 11:47:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHu7wAWfatVDfRoTvxcrmyxLjbWv4zDS/DGttQscKm8GU727lZ0FKq7CpvVxcnr0JBCt0N3 X-Received: by 2002:a05:6808:abc:b0:3a7:9e15:fbfb with SMTP id r28-20020a0568080abc00b003a79e15fbfbmr3195755oij.9.1696445220782; Wed, 04 Oct 2023 11:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696445220; cv=none; d=google.com; s=arc-20160816; b=Ob5Vz5fwVfW/Z5ka4ynn7g7zajsEqeZDcORQA+83Spl/bXdRDerrZgyi5HEeKYDikQ /APdDO/hD9l2IIuVrCFiBtAuGCXrM4C9lZHb3K6f64vWtCoFDgbbd0mDbH5cLtVmlpiD nc2gmVqHWTCUbe5DVN91Q1qi1hnUmnOoCku6DSplTxeNnyA9Uqq4jvflVeNbonXz4TaG h4gypcAV/gE+O6x0EYoXF18MZUcx6tY7IRxT/fBOIIhxROraJWRDyaqEShjfOc+odDNH PGqIZCI55nlaz6lZGyQRrUvFaKC9QC3VJgDk8bJUW7uqP8ZDpYX/OkZhspFiCIJK1vQo jthQ== 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:dkim-signature; bh=PXD3JwB7k7KInA/zPG1O5KwkNXcpwCRiREJJeHB9B40=; fh=tgCgMEVj+BCdy8q2d6uk/I0NyM+zj4IrVG3n4skd9B8=; b=mR4+mIcCjMtCSogQr4X4HfB7tsJgrmNX0JgpauMrxoTP3bjMUkdxc10X5B5nwmT79p Tc9ogXEjmmUtuGmakMcQzVgvdkIdQVG8ijI2wavEbsCIHJKMwcxO9OXIyB+XC0VKlu23 q54ZFWrzc9iWT8HeKnDdtiF6rZmycsHOkcT6wL8uySktYQ37o0WzQ7M8I93NaJYVLubh V07IFkrxUFLCxvkgAczVAHJtthc7/AqCs3nAg7XwR9CM/T3WXGhUFPnz7jUpx3RgfJph r9Sziw3qABgT2TknQzk3aR39YQKHHPjbMWhHdThVeemSspKvDXj9nmUV+PGi1OIZT/ik gYNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aRB7CKIc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id h2-20020a654682000000b005774635c69dsi4310918pgr.66.2023.10.04.11.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:47:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aRB7CKIc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 03EA880A44F0; Wed, 4 Oct 2023 11:47:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244593AbjJDSqx (ORCPT <rfc822;ezelljr.billy@gmail.com> + 19 others); Wed, 4 Oct 2023 14:46:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244577AbjJDSqw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Oct 2023 14:46:52 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B318C9; Wed, 4 Oct 2023 11:46:48 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1c5ff5f858dso600295ad.2; Wed, 04 Oct 2023 11:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696445208; x=1697050008; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PXD3JwB7k7KInA/zPG1O5KwkNXcpwCRiREJJeHB9B40=; b=aRB7CKIc7N5Q7HE9xr1TdpNijJNGtEW3lYi62HSuPvTwqw6gox6jBc9YCG/JV9pCvh PzTqNMHZGMhPfnVlJLLiOCsHf0zRBA/rRCg+rqu8KBR0Vtg72XWjVF4q6lf/IEtHg3yS lsgIowYVjROnDZ62TFMkrVJ3lT10XL7LiDkKxKLVrva1c2UV7PQRhzvjtalPqx3HzLqF 4dHmIoleDCL+qjjhdSLffCNTvUNFPmSQ7E8XvRb+GYovBSPwNJjrqmspauiWBGkYPrQH Tla+0hPk1sc696r9uqu1wUznVLyD4KeWN54vZ8GYnLQMAEpBH9CiqSw5mhX0uGCAmYzh f5ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696445208; x=1697050008; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PXD3JwB7k7KInA/zPG1O5KwkNXcpwCRiREJJeHB9B40=; b=m/VwWFbkKWkPp4p0FQVpoVpT9xfMe8zQWje7oy0rlx+JlTEb2PybMOirLlO50Re1y1 RNN1/mhLjmpXDp+rIXERQv6gL4mikbEww6kNPZR9yhx60xR0/1Z2t4geCHbcaHMTzI71 Pa/BopBGN0FWDs1PxlTH+4bAVBhu7EYoEk4OOUKfme/xqnMP/aY3pHAQtU7DOv1+h3XL +UVZoK9oI0BeuPfPsbCdkLxOntnZdx4etE5VX02eHDi5/8nQErss8XfKTCN6bFVBAtvE R+NNvYerd2uBXm9/FAlUJB/Ii4CWyMn8kFyZZJaTGrT5FZFhCM+unlU/yZ2YL1wRV861 o1YQ== X-Gm-Message-State: AOJu0YxvRLVTWBl6IhaR1JNLQCLN3Pwtfaoe0xc4TYck2xiZqgnUnF4M aKP1QE2gtc22uUA9GUYmbbM9b2nDYfQ= X-Received: by 2002:a17:903:110d:b0:1c1:fe97:bf34 with SMTP id n13-20020a170903110d00b001c1fe97bf34mr3774660plh.24.1696445207671; Wed, 04 Oct 2023 11:46:47 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.93]) by smtp.gmail.com with ESMTPSA id j13-20020a170902c3cd00b001b9d95945afsm4063903plj.155.2023.10.04.11.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:46:46 -0700 (PDT) From: Ayush Singh <ayushdevel1325@gmail.com> To: greybus-dev@lists.linaro.org Cc: Ayush Singh <ayushdevel1325@gmail.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, vaishnav@beagleboard.org, jkridner@beagleboard.org, nm@ti.com, krzysztof.kozlowski+dt@linaro.org Subject: [PATCH v7 0/3] greybus: Add BeaglePlay Greybus Driver Date: Thu, 5 Oct 2023 00:16:35 +0530 Message-ID: <20231004184639.462510-1-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 11:47:00 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778851743501782583 X-GMAIL-MSGID: 1778851743501782583 |
Series |
greybus: Add BeaglePlay Greybus Driver
|
|
Message
Ayush Singh
Oct. 4, 2023, 6:46 p.m. UTC
BeagleConnect is both a technology concept and a line of board designs that implement the technology. Born from Greybus, a mechanism for dynamically extending a Linux system with embedded peripherals, BeagleConnect adds two key elements: a 6LoWPAN transport and mikroBUS manifests. The 6LoWPAN transport provides for arbitrary connections, including the IEEE802.15.4g long-range wireless transport supported between BeaglePlay and BeagleConnect Freedom (the first BeagleConnect board design). The mikroBUS manifests provide for rapid prototyping and low-node-count production with sensor boards following the mikroBUS freely-licensable embedded bus standard such that existing Linux drivers can be loaded upon Greybus discovery of the nodes. This patch set provides the Linux-side hooks required for the 6LoWPAN transport for BeagleConnect on BeaglePlay. Also adds required devicetree additions. Tested over `next-20230825`. Link: https://programmershideaway.xyz/tags/gsoc23/ GSoC23 Blog Link: https://git.beagleboard.org/gsoc/greybus/cc1352-firmware Zephyr App Link: https://github.com/Ayush1325/linux/tree/gb-beagleplay GitHub Branch Link: https://docs.beagleboard.org/latest/boards/beagleconnect/index.html BeagleConnect Link: https://docs.beagleboard.org/latest/boards/beagleplay/index.html BeaglePlay Link: https://github.com/Ayush1325/linux/tree/gb-beagleplay Github Repo Link: https://lists.linaro.org/archives/list/greybus-dev@lists.linaro.org/thread/NYA3N2JYG3WIRCDXHYINNXYOCSVYRTSF/ Patch v6 Changes in Patch v7 v6 -> v7: - Drop speed variable - Fix commit message - add clock-names and descriptions - fix power lines v5 -> v6: - Rename compatible to `ti,cc1352p7` - Fix formatting - Use kerneldoc - Add clocks, power-gpios, reset-gpios to dt bindings v4 -> v5: - Move DT Bindings to net - Rename compatible to `beagle,play-cc1352` - Expose CC1352 as MCU - Remove redundant tracing messages - Fix memory leaks v3 -> v4: - Add DT Bindings - Reorder commits - Improve commit messages v2 -> v3: - Move gb-beagleplay out of staging v1 -> v2: - Combine the driver into a single file - Remove redundant code - Fix Checkpatch complaints - Other suggested changes Ayush Singh (3): dt-bindings: net: Add ti,cc1352p7 greybus: Add BeaglePlay Linux Driver dts: ti: k3-am625-beagleplay: Add beaglecc1352 .../devicetree/bindings/net/ti,cc1352p7.yaml | 51 ++ MAINTAINERS | 7 + .../arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 + drivers/greybus/Kconfig | 10 + drivers/greybus/Makefile | 2 + drivers/greybus/gb-beagleplay.c | 501 ++++++++++++++++++ 6 files changed, 575 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ti,cc1352p7.yaml create mode 100644 drivers/greybus/gb-beagleplay.c base-commit: 6269320850097903b30be8f07a5c61d9f7592393