From patchwork Mon Oct 2 18:24:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13406518 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 23F92E74902 for ; Mon, 2 Oct 2023 18:27: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=qiRVny2WT61A75kgydtsX6golVFgoKV9FI5CQiWJY0c=; b=ZlEU2PWRzhK9P4 eOg09InphTsiyPUCjnaPYcRW8icBjSxS53HGwjlXuKRM7iN6zwW9H+bd6J/JDizKm7zXjzGIejnz5 mX+DCtv8OIQnXS/8jCB21ZZX7fkrN8QMA+TYpv4ynAdCYbfRQY3Y9qXEBQy8IthuAtKSwf44gp9RZ J3WAfSf/JrtsXGaWbIrjACtoRF++Y8f6kdyCNJYVjXhH32CBESkCcs8pSEjw2/BPTJ8uOKRyCyM2n dpp3KMXtQwpP2jg8v19mhWmoGGHKcHfUqSY/0Gr7RjtBvlzt51tpcmMRJFltadd6QgYtbq8ePnrLC 3YhAOut1afNEJd70Ah8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qnNcq-00DDEX-0z; Mon, 02 Oct 2023 18:26:36 +0000 Received: from mail-oo1-xc29.google.com ([2607:f8b0:4864:20::c29]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qnNcn-00DDDd-0z for linux-arm-kernel@lists.infradead.org; Mon, 02 Oct 2023 18:26:34 +0000 Received: by mail-oo1-xc29.google.com with SMTP id 006d021491bc7-57bd4e4ada6so21500eaf.3 for ; Mon, 02 Oct 2023 11:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696271191; x=1696875991; 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=deMrdhI7n6d43o9ynRDnYKYyrcO/xdvIoxsUthjyE5k=; b=LrxzIMFGwadlJ8gTbn2bSjId4mO89tcSkp59r2nuhMwKwJUuAKNyH3od6aVNZ2joMQ 4pOmplztiZKwwStKVDfmarimjghY4/XHEfrhKA3smWC1iVk122TVWhKPSm2Lx9gCZVGJ ctvSMQkQyBQXruSHnVeOFoUT7DZdAPNIVWfP+4WxW5zaXX+SEyyU9Ik6fKWJBbV/iwOe 4RNk7ssBB1VWO5QRf3RIUgaTAgsOHkGnqzF9H2oAs7WZzVApdUEkk9Taltx70dmhnGUl kisLdV5fMllB/xgAQGi6fKbb5ix4J5lj46MNx5cVgdtwLpRRxdchBlJM6iMW9wtFTkDC t69w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696271191; x=1696875991; 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=deMrdhI7n6d43o9ynRDnYKYyrcO/xdvIoxsUthjyE5k=; b=fEgCp5I9btOCGsCujdbDTd7ev9htZhVC9DKlpgDVAVWcvctcaxOp4j9tBW+xly1lsg 1r1ND1KWumSTFq9wqBwOBN+GLTMaxey33VMMh0aPlsc8Zt1/woO/uwKxQSIHKJl6dsUC Q9wEabVRfWiIkzkijPSa0StGs9UyEU0LW8Yz8N4LKORFh+AS1YbE06NAyyY27DNA7pCt Zkoq4t3V1iUUgnNqHSYJyBjuV3NexvQ2nBgh1y240p7Vl730yulUZmCH9LEbrHCBNoU/ njdB70Qo7Oxy/LXcWQNmCEBsKHZ5y8EvPJXgmq13OZia/dK2XeLlHKdKFP5+U2CesZ1N Phjg== X-Gm-Message-State: AOJu0Yw6u2pGYGWpo5p1fu62SPgkEp987fQdp7keN1LJ8Qsj7LJDplcC Bcnolyg4R7efCcdxgVOcn1E= X-Google-Smtp-Source: AGHT+IFOOEkZ1k10QlUz+9HgXzSS9Pvfa+Dg0k015541iUOgbMH4VTd4c1S1ehXHCVvJkRE1UfckhA== X-Received: by 2002:a05:6358:339f:b0:142:d1cb:48ab with SMTP id i31-20020a056358339f00b00142d1cb48abmr14693012rwd.15.1696271191244; Mon, 02 Oct 2023 11:26:31 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.93]) by smtp.gmail.com with ESMTPSA id a8-20020a637f08000000b0057d86bb613esm17249584pgd.45.2023.10.02.11.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 11:26:30 -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 v6 1/3] dt-bindings: Add beaglecc1352 Date: Mon, 2 Oct 2023 23:54:50 +0530 Message-ID: <20231002182454.211165-2-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231002182454.211165-1-ayushdevel1325@gmail.com> References: <20231002182454.211165-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231002_112633_344781_CCF3F082 X-CRM114-Status: GOOD ( 15.95 ) 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 BeaglePlay CC1352 co-processor. The BeaglePlay 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 commit adds net/ti,cc1352p7. It is used by gb-beagleplay greybus driver. Signed-off-by: Ayush Singh --- .../devicetree/bindings/net/ti,cc1352p7.yaml | 48 +++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 54 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..57bc2c43e5b1 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml @@ -0,0 +1,48 @@ +# 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: + maxItems: 2 + + reset-gpios: + maxItems: 1 + + power-gpios: + maxItems: 3 + description: + The device has three power rails that are exposed on external pins VDDS, + VDDR and DCOUPL. + + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + serial { + mcu { + compatible = "ti,cc1352p7"; + clocks = <&sclk_hf 0>, <&sclk_lf 25>; + reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>; + power-gpios = <&pio 1 GPIO_ACTIVE_HIGH>, <&pio 2 GPIO_ACTIVE_HIGH>, <&pio 3 GPIO_ACTIVE_HIGH>; + }; + }; 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 Mon Oct 2 18:24:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13406519 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 A32A8E74906 for ; Mon, 2 Oct 2023 18:27: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=stVRs0YeL1aI99z8sHXMVNkfoCzABrJfjGYWGGGOGT0=; b=xWBDZzulpjupMd Pq7Rs0245Q8QjP6j+RSVq2LnTjJ28M5mKAiqsRLQsT/mIwEv+/MXBq0cqpApHVNniAqElPRGmNQRl a3W8tnaPaw0WEinXZVqKvU+ODLjz5s+xRR2hUyCxY1m6QmM7MFeJaSA/Jfa78JkYsOZEQg2Q3fb59 WiFJstrbtQSc/DNMYsBaqCbvKaPQmAGKW0U+EdrJi5wCMn1gqq+9taiIOHm8Q+/vrumeQG8Dl8at8 yCX7+iSE/EnTLXKp5MZUZNToE7Kfk4VCy6KMHYTnbKAMWuKniiQFfwv7EFL6UqzqEVbIq9z7Q59dT CYvRf01HLvSGSJAxiYag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qnNcx-00DDG3-03; Mon, 02 Oct 2023 18:26:43 +0000 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qnNcv-00DDFL-0O for linux-arm-kernel@lists.infradead.org; Mon, 02 Oct 2023 18:26:42 +0000 Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6c61d955161so7989a34.1 for ; Mon, 02 Oct 2023 11:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696271200; x=1696876000; 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=yMeCSX/w7tJc0iityHO3Qn4uN/ryo/E1f99r0zVNUKE=; b=GnHMTmWj4X4Qf/1jdX/iU2POLZfPKf9uGvazxjyIsGhyvr4EdxdgY1Trc3zhEEzkC5 QO0oiivtDd+a3rS6CEfKEmOJpvBsBApsamhdhzEGle7RT/HApWeLM04mGMWOPrpaZbI9 tcEoJFBeYnuBVRFVhhlUXs5KY+aVUr6b3r0n4XPyDKEgRfePy7FrrcFpRv98KQRMIeNJ RfJw7QvmPyq3ela3IEwqN0ETXo1dfAsKylX0zxfMzk8cn+BDqbpUs9XgIzU+gjOlhU0b 1VmZsJlMLHBxaqy4myg3yq08ZUCoMikIQXSkSqcZSnZolJtXv81mqzsvj8qGAeHjC7eb lMxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696271200; x=1696876000; 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=yMeCSX/w7tJc0iityHO3Qn4uN/ryo/E1f99r0zVNUKE=; b=RYj0NhC+k4G0FwTyyv41CauVVMaSKAyv/kQ5rUUpAmCMEn0uk3gU42OXq0lc4RM/4t OdmlOAv060Z/1sig8bd/Qmm1ZEEYh6TYOp+CxKyuNSdSudd3UNv0RN0Q3y60j3a/YJfS QI1DMM76kDfKdOiU4x2dWLpccSv11CS21eui3cMpa+HutHjmdDekYLDJZ9CAvgZIkVVg TQ6mqscEX+RMDSEI41Q8YpZWIQh1anvz7Dm0zS6OkP+/NIrCl2ELdoGSHL6JQL2LjLUr 9oD8BQ83pxSopOsA/u9Irfcykn5Dm7C0h2jQTDZhEAcq56skK2Kj55gq9vzSp75Lb3ug l7bA== X-Gm-Message-State: AOJu0YyhhTehzW9IDoIbRVeJvK7/vj5fxpsj8Wli6EIRv7Yvl3NY2clV ysVMO37oCGxNbo5+LfBW6PA= X-Google-Smtp-Source: AGHT+IEdcVWTW30EtEbPJcaFvAfF5wCjAmSmcLoYePah69Qv2s/V5Bu5Md/rFw+gtbhDKIzReGdYQg== X-Received: by 2002:a05:6871:80e:b0:1d6:cb43:71cb with SMTP id q14-20020a056871080e00b001d6cb4371cbmr13457621oap.54.1696271200054; Mon, 02 Oct 2023 11:26:40 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.93]) by smtp.gmail.com with ESMTPSA id a8-20020a637f08000000b0057d86bb613esm17249584pgd.45.2023.10.02.11.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 11:26:39 -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 v6 3/3] dts: ti: k3-am625-beagleplay: Add beaglecc1352 Date: Mon, 2 Oct 2023 23:54:52 +0530 Message-ID: <20231002182454.211165-4-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231002182454.211165-1-ayushdevel1325@gmail.com> References: <20231002182454.211165-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231002_112641_153561_D03213CF X-CRM114-Status: GOOD ( 11.49 ) 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..5160923b4dc2 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 = "ti,cc1352p7"; + }; }; &dss {