Message ID | 20231006041035.652841-1-ayushdevel1325@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp77332vqo; Thu, 5 Oct 2023 21:12:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3ijo3y26Gy5wFkyAHSxZPfBTJvgungv2i+U8fuINhYZU9ode2pcPAa6UZsFC4cJ1cb9fO X-Received: by 2002:a05:6a20:7f8f:b0:158:143d:e215 with SMTP id d15-20020a056a207f8f00b00158143de215mr5805078pzj.1.1696565558494; Thu, 05 Oct 2023 21:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696565558; cv=none; d=google.com; s=arc-20160816; b=Z3u10GIYECK9r8JXJKiyxZDqimX3TiNsRsYDFuBi1jUTz+w5whCDy/NaOEISMLREz5 YAXg/EAOoOcBJzhZK/vNsF8mNepd/uA1rO7E4AL6OV/45zyNH31M4VkuOOATZsXcuAJk yyqZq8hIwiKFXD9EDYUEuPk6+X7Z61FWWR/mcUAANzNvIKX0G4HG7sxJW9N7Y2yP7Q/g xc/qLM+xvsiViSFtJhgjraGGGKTKU0qOfrbvcQwPzkMA0b0Rw4VpAQHWvNTjmnq5xM6K 0T+P7J3PIIxcw2bpeHvTiiFNscyItUQHxW2GqIa3QfyhIWsuqrxFGmVuCeZC4B6FIHHp zAGA== 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=4Eu6aaTza3btLqwJeXCa4CkRwr35Is1denoYOzgGUDs=; fh=tgCgMEVj+BCdy8q2d6uk/I0NyM+zj4IrVG3n4skd9B8=; b=NNTKhyFn0CAjZBnTTE/G9zHMPzJN1eysMhQSgAsHRJUrpOqmk5YlKwgp4x2gYfHdkI S5Sb1dzXM3YYORirVWIZUh0nNXK1+tDKRqG6mslv6dSU9srCQbdBn2oD2Aw84Jk6ALfo IOJXUujD6bCxdthpiDwsUG6vwFxTw8jQ5VF5QeZAW3Wr75IMVKheqpgBcNjY50MpXuaQ BWeRJeuwCBb8ESLb8kdP2O3rV9PcOkFdfdfYB4dGf1LiJ2oprKe6+IIvZOq1ei+6Ezpr enAem7n1Dgz35DFw/L7NREDZzSL7WbgtjH9cAdgUirXz4JXVpUfKGwLO6C/X61ZJGG3E 9wTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BubVBVnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id m18-20020a637112000000b005897813623fsi1972466pgc.470.2023.10.05.21.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:12:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BubVBVnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id AEBE282D2B68; Thu, 5 Oct 2023 21:12:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbjJFEMK (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Fri, 6 Oct 2023 00:12:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbjJFEMI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 6 Oct 2023 00:12:08 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACCF0DE; Thu, 5 Oct 2023 21:12:07 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-690b7cb71aeso1366963b3a.0; Thu, 05 Oct 2023 21:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696565527; x=1697170327; 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=4Eu6aaTza3btLqwJeXCa4CkRwr35Is1denoYOzgGUDs=; b=BubVBVnKyLGkD1JRXfI8KcqPkRkp6I0TmvxOR4jgVUPFZzUnkQR5dmN/A8xkjwUy8Q tso9zUAcxD4xN7QFZP9DG6CXzo3Be/NJRLsjyyKu88sqmkEjl5c/hUyEdMwNByBwZ1Zx xlvbwaftQ6aGT03+kU8cur7CvkISKAImlCmLss1w37zJZk8zD3eIcIzWQIAn7OvO3y+L EAXwjjO5xNvYWKbuPpzkX35RdNHoQlMgR22KSrUeDcr2LHa8OpzP85aZv6evjMsPxLJk t4uSRuwSDkHAO3Im0vRJ8VRXTbAF9CUqI6VjIigOFT+An3ZEghzUl+ZuafNFSje53gxk KIxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696565527; x=1697170327; 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=4Eu6aaTza3btLqwJeXCa4CkRwr35Is1denoYOzgGUDs=; b=hBvt1LbpT7pSQEK+FuB2shG6idoV+xfrhJch5aTNUkbXYgodZAGY4nLWvxXeGSUFR0 FfZ4J91Kf8DeqS5NUOSxDQdkJBrnX7VWWN31uu61FVp4JHsYfxsxc7ZBwVhyvO4i16fe zUiYiijWPwxI+ohnve0FGrg4fdH6oUiGxpixgMJFUSMwjrydIKe1zGWvpiKBJX2f8P83 GdHrvf2h5wXepyo6fUr8JXQXMRaR0+5X6ije876MknW/g8Zmd3jiQn/CyLZKNCXWsBwB 4N9IWxrmKay5y3PYp6jOznwrG4yRQnbpchd+R1vGaD21bDdMLCxiqJTyJnEPqiZYuZXH LifQ== X-Gm-Message-State: AOJu0Yw/JPJlkI6ZBBmAf4Jg/XPFQ6THYMK4glrQPC+f8uGHu27tgDKY coJPgLv4BoflDyUkTMmzjZM= X-Received: by 2002:a05:6a00:99c:b0:690:fd48:1aa4 with SMTP id u28-20020a056a00099c00b00690fd481aa4mr5494112pfg.0.1696565526810; Thu, 05 Oct 2023 21:12:06 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.92]) by smtp.gmail.com with ESMTPSA id t17-20020aa79391000000b00694fee1011asm401131pfe.208.2023.10.05.21.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:12:06 -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 v8 0/3] greybus: Add BeaglePlay Greybus Driver Date: Fri, 6 Oct 2023 09:40:30 +0530 Message-ID: <20231006041035.652841-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=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:12:34 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778977927225099685 X-GMAIL-MSGID: 1778977927225099685 |
Series |
greybus: Add BeaglePlay Greybus Driver
|
|
Message
Ayush Singh
Oct. 6, 2023, 4:10 a.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/CBMC25GFHFOPHHKYRHG7UTJAOTONJKGV/ Patch v7 Changes in Patch v8 v7 -> v8: - fix clocks - fix reset-gpios - depend on serdev 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