From patchwork Sun Sep 24 11:36:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13396934 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 539F1CE7A8A for ; Sun, 24 Sep 2023 11:39:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sxMuoZbd4cQmw4j1XQTLNYc7qyQAx3A+XBV70vZHYLA=; b=hCzwAv9tM77sx7 GHLrpsjmtFpGai6YGdIoaowGwHzwgY3+yxeUQeEFL95IJ0HLbgSfN5X41NoYrerarKHRZ6D8yUc/T muRCUCCz1zEj/EoTVZS6G3e6liBUKVOpH+97Vs52hRo48NmZ2zfVWzD5OezWZNh6VweFeccHSUhH7 nYdaX7CrgK6sSIXnOgaq2viBeYTSErSjFZm21vy/KULgvvtfcbZ2ZOyC9HoRgWHutJlV5UwPLSWE3 AAZ5t+MyyaePtBtYObCvT2zYYcW3HEYpLKQRo7KhaF4Lq5wSOOEL3aOgRWWNd4wMDtzAvasCob/fd VX5ktoVW+qP6E7nk8sDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkNRa-00CDm4-0k; Sun, 24 Sep 2023 11:38:34 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkNRW-00CDko-3C for linux-arm-kernel@lists.infradead.org; Sun, 24 Sep 2023 11:38:32 +0000 Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-53fa455cd94so2881275a12.2 for ; Sun, 24 Sep 2023 04:38:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695555508; x=1696160308; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ygmequM6X8SVeyJvfoY8+sWP6RwI5iKR0zSHbF+Gqd0=; b=YY2WsQWGihwrFPyhCdOsdU2HvwsOxsYPSbiIwRi0ulXL1h8kabuQUebPKmLivLYy5p NT6XZu1yIBRRoP+/uYyAIaljV9SH0xMAuM1c98W8IaxhzKtdc9bw/DoxbrvgqLB9go1F ro8AZwSABT5FcnLZaZswkIlJZGgXaZqMS12nD6uzcCITqMVw8bvaaJZjvWKprhtRY4/+ 4NumphbGceQTbRYKGp6q3rPbUHEI5uq6xuBMnybxP3Hzazunw1p0OoAT/YaUGMkxLNxw sR3W1oPTpspseDJzBwMyHOO31dJZEzx2unLYoW/XegSdyppjaDrOINxMIJGlIhTlVh+r dDOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695555508; x=1696160308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ygmequM6X8SVeyJvfoY8+sWP6RwI5iKR0zSHbF+Gqd0=; b=j1nF3nq9nEz5XEzGsrESMu2f7Zu2JFuGpi5n+0i0Fa+FfbhBWdzfFY7mSW5wATW+Qq v2BZLfqvIWuVgsDk6lBhIhQj9K5CyX1IKgwKsxzuVf+OF94Nj2qvkvbmFyEsUki3L1sj i/LWiPoyn6qnhZhFvtl9q2+jzu0vqUGee9bK0G6YFg8eUj/D6wpbROCm/S5JKaCebT4r aICh4MfgbOMBgygu6MbrwTJlEGfau5oUQl8nNS49Qy39OxS757WfMvJ4Es0fYQ07oWFl APw35adD1XdTTQnrb5+Y8BF6ktjKbJsojiM3AaMXnyz5jPKLuOdDyyNj49s/RDHkelfZ buvg== X-Gm-Message-State: AOJu0Yw5LvT0VtHowsQTr5YvTZ/t70JN37rRejDyeFU03BKFPmuzk3yl +GylRMCY54IX35g1jfoLIb0= X-Google-Smtp-Source: AGHT+IEI7URBA4Skcmsfr5ChZP0QUxE8WRwEVkgD/HieECpdU+fz8NVZK1v0TuVCOT/kIFwJODK5hA== X-Received: by 2002:a17:90a:f182:b0:274:c2b2:7bb7 with SMTP id bv2-20020a17090af18200b00274c2b27bb7mr2246863pjb.27.1695555508165; Sun, 24 Sep 2023 04:38:28 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.93]) by smtp.gmail.com with ESMTPSA id s2-20020a17090a6e4200b002775281b9easm422376pjm.50.2023.09.24.04.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 04:38:27 -0700 (PDT) From: Ayush Singh To: greybus-dev@lists.linaro.org Cc: Ayush Singh , 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, vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 1/3] dt-bindings: Add beagleplaycc1352 Date: Sun, 24 Sep 2023 17:06:57 +0530 Message-ID: <20230924113725.164948-2-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924113725.164948-1-ayushdevel1325@gmail.com> References: <20230924113725.164948-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230924_043831_049486_D8A5290E X-CRM114-Status: GOOD ( 14.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Adds DT bindings for BeaglePlay CC1352 co-processor. BeaglePlay has a CC1352 co-processor connected to the main AM62 (running Linux) over UART. In the BeagleConnect Technology, CC1352 is responsible for handling 6LoWPAN communication with beagleconnect freedom nodes as well as their discovery. It is used by gb-beagleplay greybus driver. Signed-off-by: Ayush Singh --- .../bindings/net/beagle,play-cc1352.yaml | 25 +++++++++++++++++++ MAINTAINERS | 6 +++++ 2 files changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/beagle,play-cc1352.yaml diff --git a/Documentation/devicetree/bindings/net/beagle,play-cc1352.yaml b/Documentation/devicetree/bindings/net/beagle,play-cc1352.yaml new file mode 100644 index 000000000000..f8536d1a6765 --- /dev/null +++ b/Documentation/devicetree/bindings/net/beagle,play-cc1352.yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/beagle,play-cc1352.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BeaglePlay CC1352 co-processor + +maintainers: + - Ayush Singh + +properties: + compatible: + const: beagle,play-cc1352 + +required: + - compatible + +additionalProperties: false + +examples: + - | + mcu { + compatible = "beagle,play-cc1352"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 37b9626ee654..9d1b49a6dfad 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8969,6 +8969,12 @@ F: drivers/staging/greybus/sdio.c F: drivers/staging/greybus/spi.c F: drivers/staging/greybus/spilib.c +GREYBUS BEAGLEPLAY DRIVERS +M: Ayush Singh +L: greybus-dev@lists.linaro.org (moderated for non-subscribers) +S: Maintained +F: Documentation/devicetree/bindings/serial/beaglecc1352.yaml + GREYBUS SUBSYSTEM M: Johan Hovold M: Alex Elder From patchwork Sun Sep 24 11:36:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13396935 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 683B6CE7A88 for ; Sun, 24 Sep 2023 11:39:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iJdX2vM8m42lHl00W/fqV//pa/IINMkEH2plfY7bNNY=; b=dhf4+7Qw0nkMgB 0QGDX0/B1ibOyk/lHpYMaCDdyNDrXWW+l3+2HxWRAYnw/SW4zomhW2hVmWouEoj1WrgWPjlDIf1FC jKu1HwjbvMYXuaCWSyvdrVX/T8lu64oJYFWXN6L2NHwPbahz9inrvAq2yV6aKWoYXQ4ePUBVVlUy2 M6FLJQKVouzdkoPc/+fnAT7p/FIljwKEHFefkEr87w8z6re+IqwC/+zY7AqQzUa6y78lyU7ndS3xy A9lMW7Q3icYI/fCPWmR9BkXaOmEON14dxpARsGn+poCUd3d/4c7tTGm8x3B95pZVfET5y5Rvwl2g0 L6j9xvASIq+Wx3qwyiyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkNRg-00CDnF-33; Sun, 24 Sep 2023 11:38:40 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkNRe-00CDmp-2I for linux-arm-kernel@lists.infradead.org; Sun, 24 Sep 2023 11:38:39 +0000 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-692b43bd804so1854697b3a.1 for ; Sun, 24 Sep 2023 04:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695555517; x=1696160317; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ul33TqpD3VQ4mK3/9LxJs7GhSg/Yt+Ru6Sjot+t3GL0=; b=FJ0ZsECz0TBZ3YIhVQpp1HSasj73Rtlf0NBCy9vAes6BfX3Ccbo1zfoMkmdiVmBfSN n4NpOu3a5lsnMe72Sd7wH/WArrYwF7c66mou4mPmaP1tT7BHb77H1TF6AC4vCkvT9Dto 4PNG/Xbbv9w9O0XsCKTOCVxDzE8//ej5iZ4iW+fd8SvdxMO/vsSRnk7KkjDphb7TjKFM JQbiWjvGbTERVRyfJAmEmH/IubdZhFFF/hAFiPnDS73ySrVwb3rmOe5wc8AkL1Bvdw3c Kd8W6pnc6qESZAVUJpNZHyXD3GeNOo94uQrhJ1C23NfftBIYR3FpCdpCx9lgsySvFLY+ B2Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695555517; x=1696160317; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ul33TqpD3VQ4mK3/9LxJs7GhSg/Yt+Ru6Sjot+t3GL0=; b=joWoLU6xHc/X4unM4FT/Sgips66nW7cqyXqLHbnHpAgHZRYHfav6yDX9WzXxJSDoAT gzWHB1tpnW2OAltd98PPd65OLX+HpKOFMZntAGoZEj2lPeJo41OZHgJJbsR3aPrWSe3X hM6VkCDCB7jl7uTe4jokOQdpUjrZs/K89jaUSKBHKUQPFNVy5eJQyKrRXKD3pbeRrlIl qx7RaBJogF88J7Chx00ArJPmNPbIBbYXEVTt4wOwqTzlXm8lN4ucNVar78HBBW0wXfqD UsS7UEHX4si/9HBlWwjEE/4SPn+mDD2TV3IusIar2A+bASm6LgJAqf+9cQ8riK1TfTjo i/9g== X-Gm-Message-State: AOJu0Yx4cE252axV75IeM7iAxNlDwCTw5CeUbe+yrun0rjBeR7mmrdIe Rz9UfrYZK/8ijtD3792/KKw= X-Google-Smtp-Source: AGHT+IESOUWBAFs+Ltaz90JcqBTiNhA05cnMgzrSgkq9/0A6aoTHEl2HZln4Na+j8B2rwkcoGAO+lw== X-Received: by 2002:a05:6a20:8e08:b0:13d:5b8e:db83 with SMTP id y8-20020a056a208e0800b0013d5b8edb83mr3211081pzj.9.1695555517561; Sun, 24 Sep 2023 04:38:37 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.93]) by smtp.gmail.com with ESMTPSA id s2-20020a17090a6e4200b002775281b9easm422376pjm.50.2023.09.24.04.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 04:38:37 -0700 (PDT) From: Ayush Singh To: greybus-dev@lists.linaro.org Cc: Ayush Singh , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, vaishnav@beagleboard.org, jkridner@beagleboard.org, nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 3/3] dts: ti: k3-am625-beagleplay: Add beaglecc1352 Date: Sun, 24 Sep 2023 17:06:59 +0530 Message-ID: <20230924113725.164948-4-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924113725.164948-1-ayushdevel1325@gmail.com> References: <20230924113725.164948-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230924_043838_749197_7F3BA287 X-CRM114-Status: GOOD ( 11.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The BeaglePlay board by BeagleBoard.org has a CC1352 co-processor. This co-processor is connected to the main AM62 (running Linux) over UART. In the BeagleConnect Technology, CC1352 is responsible for handling 6LoWPAN communication with beagleconnect freedom nodes as well as their discovery. This mcu is used by gb-beagleplay, a Greybus driver for BeaglePlay. Signed-off-by: Ayush Singh --- arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts index 7cfdf562b53b..5d46f907468f 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts @@ -870,6 +870,10 @@ &main_uart6 { pinctrl-names = "default"; pinctrl-0 = <&wifi_debug_uart_pins_default>; status = "okay"; + + mcu { + compatible = "beagle,play-cc1352"; + }; }; &dss {