From patchwork Tue Oct 17 10:11:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13424947 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 6DEEECDB474 for ; Tue, 17 Oct 2023 10:12:00 +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=TzybAx/MLJukXCf9nHUz4Dxt/mzdHx44ytF9di12Aug=; b=LwayWrCMWKjYvq WIjIwV4vrQpre1GoLc1HNAKq4mgrX5z5wN+brm+LyxcabbvC4u3wegY3wbUEZcjZl9v7HvTyPLdyv 0t5SjI9bVGZ0IEVy1UFFbcuNgWa9uVHMwzQo9coaPSoYu/gsZe3LqEtXXGde910gwU1Yu++a/nKRa MF06baNBt6Vja+TfIL6X4enE0ynuXJR8BkJJjbaUJP0qY3lEpuDD+vZ+xQIK8OszIvrv7z+bdVJxT M/iaS+9RmpZgFrskp3OMXqto5o0KGTYS7XfXJdAmsDE2eJQoAxAYW8u2Hb3bhHPPyPLlabbJsMHmK UsH+HjykTSOnpxYkyvEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsh30-00Bvuq-2n; Tue, 17 Oct 2023 10:11:34 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsh2x-00BvqQ-1s for linux-arm-kernel@lists.infradead.org; Tue, 17 Oct 2023 10:11:33 +0000 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1bdf4752c3cso32546455ad.2 for ; Tue, 17 Oct 2023 03:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697537487; x=1698142287; 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=L/xhityidHANRldjqCZLdwURqWfb6ZxMT/TSWeuUQRw=; b=KCa91lvVo3Bk4GBGHdoHkerUlZ75r6vqM6L62P58S6g0hPGjSG7/TenGGB4ilD0JYx 0zc82kh38cZGkyb4B9dvc+uFUi/YRhe7yCiFDZgNDu2A+NIX1+/xfOAXpAFh4Mhe8Uqa N3oSvxI1j+Ve+yASSxi+96r8gtYHf59bQvQ9dVJHiaBuGuw9mFwX42DieR8SFP2Hywbz L32989u/xPqzZbTn27WETvpwvstx7UQa0yhfn+XjoyJi42o8sDb18bgeKs0IzpMyns6S YEli89dmjWtvqgilftUj7uIxkEbhKk/rA6HQa+f1au3/tVZWJsNNaczakQtCOXvdbi0k 1J4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697537487; x=1698142287; 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=L/xhityidHANRldjqCZLdwURqWfb6ZxMT/TSWeuUQRw=; b=dPy262MT7FN5IjhReyyvbiW9qpAkuva+RD1EXH297TY2HF1yB62CVsKeuS/Rfw+4Un 99gkD0FjPiPtK+fV5nSk3k7itNXeEx/JNMTiVI7auhte6lqK2tXJph3xr+Teh6uCzbYI XK80fpx+dqdDyQywktZPA5lbp21bWTGcAcRqa+STxXkYKG6KAltV+8zBPMu96MxAi9aM 1aCvyIlgnIk7rbniowsn24jqyUnQ5Smy0bdKtYpov98/cYxGYrgB0PaJgunGTxWZxSJx j1AKn3oyyGnQv2L6Al/6B7Qj6EPikVXLg3KHiWqx3tx9OOD5eyiN48MwQPzmkIVQ9ury CHcg== X-Gm-Message-State: AOJu0YyI04RVYHMkEFNXUWkj6/zfZuKAhpcmslzMB6BrqQqJxFZnXt7p B0mUU3pL11SNQgDC4P1m93o= X-Google-Smtp-Source: AGHT+IERzA5Z7Z0TYiNwEpJH1G57kh34XWYQ19Y6Czdr8THGHCovdeCYtJWE1UDEHzJ5penp9zhgfQ== X-Received: by 2002:a17:902:ce8b:b0:1ca:3d53:2867 with SMTP id f11-20020a170902ce8b00b001ca3d532867mr2062576plg.15.1697537487400; Tue, 17 Oct 2023 03:11:27 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.94]) by smtp.gmail.com with ESMTPSA id q9-20020a170902dac900b001bbb8d5166bsm1127634plx.123.2023.10.17.03.11.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 03:11:26 -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, Krzysztof Kozlowski Subject: [PATCH v9 1/3] dt-bindings: net: Add ti,cc1352p7 Date: Tue, 17 Oct 2023 15:41:12 +0530 Message-ID: <20231017101116.178041-2-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231017101116.178041-1-ayushdevel1325@gmail.com> References: <20231017101116.178041-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231017_031131_625705_D406D7E4 X-CRM114-Status: GOOD ( 14.23 ) 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 Add DT bindings for Texas Instruments Simplelink CC1352P7 wireless MCU BeaglePlay has CC1352P7 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. Signed-off-by: Ayush Singh Reviewed-by: Krzysztof Kozlowski Reviewed-by: Nishanth Menon --- .../devicetree/bindings/net/ti,cc1352p7.yaml | 51 +++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ti,cc1352p7.yaml diff --git a/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml new file mode 100644 index 000000000000..3dde10de4630 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/ti,cc1352p7.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments Simplelink CC1352P7 wireless MCU + +description: + The CC1352P7 MCU can be connected via SPI or UART. + +maintainers: + - Ayush Singh + +properties: + compatible: + const: ti,cc1352p7 + + clocks: + items: + - description: high-frequency main system (MCU and peripherals) clock + - description: low-frequency system clock + + clock-names: + items: + - const: sclk_hf + - const: sclk_lf + + reset-gpios: + maxItems: 1 + + vdds-supply: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + serial { + mcu { + compatible = "ti,cc1352p7"; + clocks = <&sclk_hf 0>, <&sclk_lf 25>; + clock-names = "sclk_hf", "sclk_lf"; + reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>; + vdds-supply = <&vdds>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 37b9626ee654..5467669d7963 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/net/ti,cc1352p7.yaml + GREYBUS SUBSYSTEM M: Johan Hovold M: Alex Elder From patchwork Tue Oct 17 10:11:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13424948 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 A38DBCDB474 for ; Tue, 17 Oct 2023 10:12:07 +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=QjzOQ3aaQC7r1F4ecn8b4A3vdrSPIDqF1e9873w8BE8=; b=TZGgjXqrbLNpAe F3pKaLFuOeF/+XfD4rK4KRawcUmgeKvTdgH3SRnvwwYL03PBQG6IeYx7D0pF10kDe0tJdIPG0qA6R OYX4Ihta4jwahZ2W6yDqCeecf9rsOREeJ0wqFVCQ8QvZAZiMCxDL3SOYrcOFEqjN7E5EWXt0wAL5r iIkSQlNwFmiK9PL++x17QS4taOZnLn9IX/Gx/L0Ka5ILyZL3euLU/LI0FKYUt8q+yw7waeKG0HuJu 3T+PXHThENn5nsy7DKNyNKCV3l4WaiOSqZ/fCBl2KG6Bqx/u+J/k/nNDySAaKmV3460IyeubJAWY6 EpbbtMh5w5XCUGKCDjzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsh37-00Bw0N-22; Tue, 17 Oct 2023 10:11:41 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsh35-00Bvw3-0V for linux-arm-kernel@lists.infradead.org; Tue, 17 Oct 2023 10:11:40 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1c9d922c039so43973435ad.3 for ; Tue, 17 Oct 2023 03:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697537495; x=1698142295; 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=TdZHxOOzFLZn0VZMmX6FQaeZ+Bg8TaP/zYXcfd62xjk=; b=DdK5Rk6Nyd6jBE52SCOmWIHZJwM+I/qrYsYaaFpDVK/EN9An7SGvijxVpxxVHXesm/ /PVhVLj8onpawIQV+e9zLNgE5hfyFkCTE30Pvm6qcXOJ1wG5gU1gePm9nrMcfi20gCBz 5QoBpju7aLRwzK1+GyTWFz3avmyQY5u8Je0lGMeMg0yfsIf1GEvCwRdEzbCBPXSJX8Gu PYMI6QtpT6tn+jxYDQhm/c0OTNVIUfLjeXIOJSBqFTJoL3zQOlCAERN9IHbkGdkDDz30 sPHzudD5IHBYKh0fDl8ylD87hKjLjL3KQ6Js0JGfoyecNFLkJV0dP4wJJqwuRuEXVK46 ZvTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697537495; x=1698142295; 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=TdZHxOOzFLZn0VZMmX6FQaeZ+Bg8TaP/zYXcfd62xjk=; b=lGs3Q+1BcXCjaTyb1DkNk8lx8vHHGjBITYFlTEtJWjopDw+MjaqHH6u1gJggbqR3v9 vGiMPgW+W1hIQ4xUlcBPXce84wZqrPHBit7dqMDUO1jzqjulPWUZ+OO1i7sewqAVWnEk iHICqZw5AgEKLGAEIYxXQgMv7bABbQqGF6CqPAAI6E0k9QEOyVLDK1czk+q9bvRZFg0Q yaQmHHpBBbUY9c5WbSiOIKegu6rriRtv78eFV+j+eNf947S9zkX8KbritAnPW4YSJBje ehoVg/g0OHxiSn8HVjd4F+qwt/ka3fb/tXcvZOjv+pRSOVJ5tJ1cekuLvWt6wOG6zs11 colg== X-Gm-Message-State: AOJu0Yz/NpR3hAbZ9s+1PPz0wVbtwc0gY3GsWI3VRCAI6QbJU9801/XO DRM0qeqlzoIC8Gj8xK3jIgg= X-Google-Smtp-Source: AGHT+IHQXTP0m+NaoCHVUd8uWZQaMgS9sF8ezdPJ0f/jGcALWbjn+T04o1aN+MFG8Kf+5mQ+l+ionA== X-Received: by 2002:a17:903:5cc:b0:1c7:23c9:a7db with SMTP id kf12-20020a17090305cc00b001c723c9a7dbmr1742966plb.26.1697537495397; Tue, 17 Oct 2023 03:11:35 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.94]) by smtp.gmail.com with ESMTPSA id q9-20020a170902dac900b001bbb8d5166bsm1127634plx.123.2023.10.17.03.11.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 03:11:35 -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 v9 3/3] dts: ti: k3-am625-beagleplay: Add beaglecc1352 Date: Tue, 17 Oct 2023 15:41:14 +0530 Message-ID: <20231017101116.178041-4-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231017101116.178041-1-ayushdevel1325@gmail.com> References: <20231017101116.178041-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231017_031139_196688_E4106AE3 X-CRM114-Status: GOOD ( 10.47 ) 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 CC1352P7 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. 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 | 6 ++++++ 1 file changed, 6 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..d2e0b11242b6 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts @@ -870,6 +870,12 @@ &main_uart6 { pinctrl-names = "default"; pinctrl-0 = <&wifi_debug_uart_pins_default>; status = "okay"; + + mcu { + compatible = "ti,cc1352p7"; + reset-gpios = <&main_gpio0 72 GPIO_ACTIVE_LOW>; + vdds-supply = <&vdd_3v3>; + }; }; &dss {