From patchwork Wed Oct 4 18:46:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13409160 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 C4D7BE7C4EC for ; Wed, 4 Oct 2023 18:47:49 +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=j8N7Ggs2rG+iYdKTrqFD7Irf+bOH5IU8XOE76xgHG1s=; b=oq1vS1C0wehQCN ZrBrggBPmM//WeXEAND1gt/9fQC6wweUrcY7CHgtoq0PDk5m1HgIw7VS0fIJotNyO3KUkz7r64zaD mSPFX+qBoq4Oh6lyb4PC4jUiHsYYUgLBGmNzYuychyqmeffACfnArjbEFSC3FJ65pmdHXBdIZJHrO mGXzi1uo+Fi5yMa5TeAQfNkpW8b+Rq0btgdbu1ZIzARM/n9/u9nFMZk/KPlBAcvRYyRpaPYzVR55W Odptj7MqjIb/758tr+m8nWpc/9nmDxUw22RIiL2mUYbPK/qxBseSamM4LMPmkNmKxMOyHGktHHOBn NUDg/JSj8pygq2p5f7/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qo6u5-000j34-25; Wed, 04 Oct 2023 18:47:25 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qo6u0-000iwP-0m for linux-arm-kernel@lists.infradead.org; Wed, 04 Oct 2023 18:47:21 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1c3d8fb23d9so712465ad.0 for ; Wed, 04 Oct 2023 11:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696445212; x=1697050012; 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=rGkn6FWnzPVYcS/g+kK6fmU6Eb+O3BODHAwBfu1+xyI=; b=i7GB4uvXY+bjenLmW4KmvoLHVznfNLGE1E5nQpVbUsW1SyMC3mBgrhrInUJQhNxgFS VbrcO7VDOmEnkc6zBA+vG4G/66HEO50oRXfIt4zM99XKx87sFUHat3bk4HwcYA6zpoCB 5eTO518rQ67mmeaUmOID1upDGRP+nbNEGbWV4kkod2fd00VQV51Ze7C9P+bRAkjEK9IK LSxuuj+VJCk1fSSVFE1Fxat5TPwqZCvOszR2Kxh1GIEX3HTQZ5qDAD5GFWHgRjGNX3is dVJ6pW7ns03iWaN3yl+NEzHLZsdfi6e4nkecHgL8M5HHNakdniGvn3I8L4Qwz7UGowBs KV8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696445212; x=1697050012; 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=rGkn6FWnzPVYcS/g+kK6fmU6Eb+O3BODHAwBfu1+xyI=; b=QnD+sAVmbl+nqLTzhpi5Sfr8w0K6rOhS8Rt+IwvpN1o5tmC95uRc76yzyH0r684CBe yYUpmJPRyoDxqzIU4NIsBRuXIO/NDRfNoVWDmwGOLfFiRaqr1UmJ6nTPHXFJ7b6T1cB3 dOF77+IAEICY1XKmjQCRcBRhumIyWFXvWYUUotZpUYIaTgq9GraBsnjwPmwawgjf17dk QIpznPImeRHao2Kfjz0XrV/Ii1cE47LUVNaaLojoQ4Oij+Clbh95y0OSEzy8IHif5qWI Lep3XlS4BWIq/KHl7Ym+C3G1cITxomE5+v7kk14tbazpoLh2bwaCS1c+lC3bMkIJzV71 /brA== X-Gm-Message-State: AOJu0YziWYNokr0sE+gv9ZoyM/DJb50TYQYQHB1mevPCZCwUtbeWxCNT lHYz3qP66f0n0Iz726vOD2M= X-Google-Smtp-Source: AGHT+IFYXF4ZywWRqeV1R0fq27lUfsrP0h0L4NrBtdG7W3yLqL6MqhzBhYpU1sPxwi5C26jmMvlNcw== X-Received: by 2002:a17:902:ec8d:b0:1c3:4210:623f with SMTP id x13-20020a170902ec8d00b001c34210623fmr3812679plg.13.1696445212361; Wed, 04 Oct 2023 11:46:52 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.93]) by smtp.gmail.com with ESMTPSA id j13-20020a170902c3cd00b001b9d95945afsm4063903plj.155.2023.10.04.11.46.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:46:51 -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 v7 1/3] dt-bindings: net: Add ti,cc1352p7 Date: Thu, 5 Oct 2023 00:16:36 +0530 Message-ID: <20231004184639.462510-2-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231004184639.462510-1-ayushdevel1325@gmail.com> References: <20231004184639.462510-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231004_114720_278651_1CAB7947 X-CRM114-Status: GOOD ( 15.57 ) 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. It is used by gb-beagleplay greybus driver. Signed-off-by: Ayush Singh --- .../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..291ba34c389b --- /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: + maxItems: 2 + + clock-names: + description: + sclk_hf is the main system (mcu and peripherals) clock + sclk_lf is low-frequency system clock + items: + - const: sclk_hf + - const: sclk_lf + + reset-gpios: true + + 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