From patchwork Fri Oct 6 04:10:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13410947 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 103EEE92FDD for ; Fri, 6 Oct 2023 04:12:53 +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=luRaSTGM/n7jI6YFqDN01vnUx38OFMTxYptKlQE00Ow=; b=ULjsNZ3bDOXwt+ xK1IzWypjp59Xpn2UhRNERqmI71UFhHXepMeltDneuTFLW/2jxUMQ8o3rkUSrE1hBJw6qpZBKmmqj HlnhACWIDJlQXEMPV7rF0SzXfFGIsu5Dh3LPi3z3soPdfAIXDvDOkMX5akrz00g94Wl6b/oyCgz8U iNrvmPXfgi2/WiGjuSx4ObOPTYRjawCdGh3tca7dPzZi8an7lPofcNf4Mn26scF5VbBfVlwyJMdc/ cDWFNZtCzVlYw5sPYSlSC6PVcd5GnxfvBMSQ9hzZvX56YXdl4fHq6UavdSoWFeqy3OJjmPhbbMpi5 LRwqghp+XCsnHEuzl0+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qocCJ-004tLk-1p; Fri, 06 Oct 2023 04:12:19 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qocCG-004tKV-1o for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 04:12:18 +0000 Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-584bfb14c59so1154614a12.0 for ; Thu, 05 Oct 2023 21:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696565531; x=1697170331; 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=6ElaHiBH2gpr//Jw4k1jpeuPEUC0EHD6jwce46X0hpw=; b=m8lJu5MmIakww0W9j9xZRayZK1Kc+Tv1zKXuiOadZ7eMN9BaAskukqywWvgK5/9HSL YbXgn+zKoS7C36YNcf8VRZry1vStlloE21JjQfPlH4cT6Equ3fyiPazT+iU8c8+avZ7g d0sL7S7qIvumMWIXdxt4iccgHuY7ea0u45pB0Py+ZPBi/VuPkOd1GiMc0O8/5yLQ1kev ZUcPSJAPvGcr3IXp1kp7UTMS0aKEOqyL3iwHv5SRwT9Wnzux3sv80miJPaRkaN0Ot4Hq 1qqcE8Gtiab22jv2kfnRUR46ACI+/b8bCNHq22+GcmWzItHokOknbpF0aqteeZB3+VHF gZyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696565531; x=1697170331; 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=6ElaHiBH2gpr//Jw4k1jpeuPEUC0EHD6jwce46X0hpw=; b=lvBHm2uVTUc1uYpKg56Rzn5+P2L/jwlQVsjcbmFTt8xi8ETvSuucRvWQMRx5B+idCh 3YxjMq2hUavycWjHLnI/eHdvHUTsZNlb21GVgUDOTI2Zajk+3ET+1NZ4I2n1r/hi8naU 8s2ITjiyKApViZAMoKM6OhM64RoopxDQsxeSq6H0u8i2T/hQ2kavKZIUybcwI5LvmcUA T1knjmX/7r8wPvUG0BlkowKNJZgcIHBjf8OvI2xp6G0lGAoUr92yQ24q9h5BYG+uoMed z04zNLf1TQZqvT8wXHFwun37AgZC/bJ3s/sZubcFNZMyawRk6NnYd2UuUN07v1Yl5vig o2Vw== X-Gm-Message-State: AOJu0YwsOsoivOmYn+pp0tS4EvReSqFNzmKFxa/lc8viAm50xAbeh5N8 m3LqRR/C3jmZwx8jBmwOOVA= X-Google-Smtp-Source: AGHT+IGCUK795EYjNWmS1WCmxu8wWlR0iFUgaTwAN667aycGcat4PIME2RRoQEut2/Wz8COmWS6MvQ== X-Received: by 2002:a05:6a20:8e29:b0:15d:684d:f514 with SMTP id y41-20020a056a208e2900b0015d684df514mr8294977pzj.6.1696565531371; Thu, 05 Oct 2023 21:12:11 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:12:10 -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 v8 1/3] dt-bindings: net: Add ti,cc1352p7 Date: Fri, 6 Oct 2023 09:40:31 +0530 Message-ID: <20231006041035.652841-2-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231006041035.652841-1-ayushdevel1325@gmail.com> References: <20231006041035.652841-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231005_211216_596115_6F569BF9 X-CRM114-Status: GOOD ( 14.51 ) 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..742763e04543 --- /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: 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 Fri Oct 6 04:10:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13410946 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 E4D11E92FCD for ; Fri, 6 Oct 2023 04:12:51 +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=qIGKBXo/E0EB75D7gxCa421gxaHBfMU85hdqlyDSyjo=; b=bCTa0//ZPHWrzR UMFD1YD5Lu3bk/9SujJER0CI1vlpu6JwkA1+Bzc/S6qpaG1uEJosR5HgINqBM4Ad1d7WKvJplXMNh r0ridpt94LVYeBUM7xbqdw59eyJi2m0O1MPizOMx2+Tj6jFMNALPfsRzI9hEeNfonLMQdymQCMhpU Mh90ptcOAB6a4e6N6WXge0FqLyhLdeQ7ROv5S30nrHd6ebqsX0fnon0KTlPPmKtZDYl0o2imTjcDF 8J1BNnHOpJygiSW9FhiubBOFPsaBRUFd1T08YaasKHSeymgo+GYKYwuhsT1nnIt9eIggcbp1pnQL/ bwp3UdJkQgkuLDN9H3Zg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qocCP-004tMk-0j; Fri, 06 Oct 2023 04:12:25 +0000 Received: from mail-oa1-x35.google.com ([2001:4860:4864:20::35]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qocCL-004tLw-36 for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 04:12:23 +0000 Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-1dcfb2a3282so1105200fac.2 for ; Thu, 05 Oct 2023 21:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696565540; x=1697170340; 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=oVKOeyfzPTqe/CUiQ9KqX2upeUQqv3i7YeBbchF99cg=; b=hf7oQbQSdJUD35v8fIjZ1AwE3aXEfRSmXVaOeqs6UxQ1g5KoYcC9/lYvBPrtNg2XyE 2U+9PSIQjRlmf0mDoNAAdeYOEfH9FlJvVDaymudfniWBqxnAprQ0Kkcad/0JmYE4Y9MX whu5goHDdo8K7tUoSHRz7rYSVrh97wI2p/ZMEFRgLIhKz1Y6VD/EMTiOUy0U80epgw6u RyLs1qsvbRjxg6Dh3pZAn1Me3qA6WqpgJyt+dtgvEi4MneEJ86DZw0/i9Uh77Dsk22fc ychXd4JSVBRM1McoKMkUZphdmJP7Yxk/QVdZh3MYON1Wo+9lVsKzC1ZrgEnTyzhGzhgo aJNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696565540; x=1697170340; 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=oVKOeyfzPTqe/CUiQ9KqX2upeUQqv3i7YeBbchF99cg=; b=VMQllRHSrTE9pV7auSPZkJ0YvYVdvkKOZd/5VqnJniAf1gpNDmBuyNlhFjBHHE8dKp GHfYciNW0+GdWowcSRixRA/zOllpROh8mBEIOVkF4YDlHsc/MMJDiW4ND1hR0OMHD/Df 9N7s/EFfWD/cbXtbqoVzt38j9BV4wVzvcmi9pbWQYT/YK6ve8i6vAHXsE5/OztMg98fe 1ZhzI3Rb9rFG0HPSjQ07XCtIqfTXuvBQciXV/vrgW3IVgrb6P2dhJmJIC+T7XaO0D+cp W2cU9N59d1ejSfRJ+63WnId+iqCvAsHlR6bLNWblSZZkRkAl8XxxYS78vJ9ruByAD0RE 9eGQ== X-Gm-Message-State: AOJu0YwuXthy/yRLwjzPbzFn/iGHb0TvC85qaEMh/k6CUBLwvc0Ftoeq E59vxIqgjDXN8OIg1g9nBlY= X-Google-Smtp-Source: AGHT+IHKShHmFoX6g4eYJMYkSYLJOFe6EddPNVGX6m8IyulpLKYMQXzc/RE5XrQ7C5u/q6l3ytJgYw== X-Received: by 2002:a05:6870:e2cf:b0:1d6:563b:c3a5 with SMTP id w15-20020a056870e2cf00b001d6563bc3a5mr8732318oad.7.1696565539958; Thu, 05 Oct 2023 21:12:19 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:12:19 -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 v8 3/3] dts: ti: k3-am625-beagleplay: Add beaglecc1352 Date: Fri, 6 Oct 2023 09:40:33 +0530 Message-ID: <20231006041035.652841-4-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231006041035.652841-1-ayushdevel1325@gmail.com> References: <20231006041035.652841-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231005_211221_997827_E3E208FC X-CRM114-Status: GOOD ( 11.18 ) 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 | 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 {