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