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: 147479 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1701478vqb; Mon, 2 Oct 2023 14:30:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwfMqOwfQqgethOJ84neNax9usMgi7l/+2XJKudAZm3DMfId3nvb40+D1XrY4a2MZWiCNY X-Received: by 2002:a9d:620a:0:b0:6be:e553:334 with SMTP id g10-20020a9d620a000000b006bee5530334mr13009428otj.7.1696282207209; Mon, 02 Oct 2023 14:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696282207; cv=none; d=google.com; s=arc-20160816; b=Vg0W+smN84KeZybqXx0q3dHiQ/5qMkCZlrOy2TmLKhC4XhTL/Dl6pck4Yqpxvm490z qayQAXtwWgsqx6aaA92FAm6Bee7C79rQ4DtA54dUhWw7SpR2kZ1c9mGWMvvUr8fnQjVw 1H6R7VYjlM6AU7UFfbliv5xMYfa4IsvIzImvVPbe9pl1YhbKXFwfQt3N1+xqV1GMkG2g /9FaOXVQHty2T1gbnbAyWFnFcADzXBOCK2S/ZaIDSTsRB13tWNudhIq+G5zVEL1Nlo62 mVHeAWlfbDepCF1hsGXNfQfsRqqxklCc0CV1T9HDybiYR5hcIlpjlR0bTaccWlLS4VUY B6QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=deMrdhI7n6d43o9ynRDnYKYyrcO/xdvIoxsUthjyE5k=; fh=s9z7nQI8bejycky2Sj3FV9x0KoR9nNTVf/pJEfm3xpg=; b=T/2WgYVJTjQIsYZAGhUiQFt40/R/GGW0lnJiG8MQ0VpThq3tEh79JaVULW/I1RDQsx fBnadlRjnrx1mxFJ0mMxY36oWhj/71xS/TxbF+gXDwIzL9EPdcNmul40UD7tm6rgi2zk kRTwHPkzpMPRhEOOijFz2105anGVSXwGsPZvoum/YoLlt20kX7dIAKmEHLfn6mWVHROx mob8BdvXps2Tf5kw5hDFuYoT7seapTN91Me3r9ietRx8l5i/T0eNlrQhS88j8OUD3HOb yJoc0414LnHsJoQa6xKVAi5ECmKxuM5imTdC/8mR2PyLSJqJs1U8bcS+k6fgSmFrXUaf abOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dfIcc9Um; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id z3-20020a633303000000b00584d16c6439si17071351pgz.622.2023.10.02.14.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 14:30:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dfIcc9Um; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8AC67808A429; Mon, 2 Oct 2023 11:27:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236879AbjJBS0j (ORCPT + 18 others); Mon, 2 Oct 2023 14:26:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236319AbjJBS0f (ORCPT ); Mon, 2 Oct 2023 14:26:35 -0400 Received: from mail-oo1-xc35.google.com (mail-oo1-xc35.google.com [IPv6:2607:f8b0:4864:20::c35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A350AB; Mon, 2 Oct 2023 11:26:32 -0700 (PDT) Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-57b706f604aso36035eaf.0; 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=vger.kernel.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=dfIcc9UmlO+rUUVyQyhyOsaSdDVtD0CVxerEh5mxALGYoUcbwm5UizUKW0R9W8wnPS seF+agmQlf/q6HUw9WsI1ZYqvv4wVLtm/jOrAWNkUg4uRuet23kbSOVzoppi9/vnwm6c rMQOiKuR5N30uOxzHSp2+An3QmiQsjcj34TPpXaGjS/43TohldALecVKjSC85JAEF2eF RV5i2muvSKxEafyfler4xnCfe4+sWc05wPgjDKHC9/P9t/V7R+VXABSAh2SFaVYbNViL WLcqIhfr5ODfmKdAk/5i2gcVmD1m8itPlC6IE9Q+X4yEAppm62jJrfTuZqu3+B7aVqnd rAuA== 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=OYOt0nYhZKpK6Zf+Eur5xKUvmUvU3CkcgB6hMsJ0IA5VDjw0vKdJwV74tmLb7osF/f QVVAGxPcthWFo3C5GCzgDPzmmKPGBViMYvy0mEi977oAI2Z10XN+5Y9/rV0OCBFSvRpa f2SrtLQ0aern3x+QZ81kFwNrE95+p06CI6Gnr/n3OjfxSnmS4leAs+zJ/zdQXe5QiIA4 kDCcMLkBL/55x7kF3IfpsX9xpppQfqV0b1ZsVQpmDuVdhnkC1ZO7iZ4PmbnNWzOIx4gI r5rwfw/wllrIiuCnGl3qHsY6xRo7J8vg8MhmFDPHLnTbKdKDfnEPx/1b6gxIHntlUJPI qBqA== X-Gm-Message-State: AOJu0YwAp6sR5MM7Zvw+XfQuuWkJMeKH3soE/lReHLVoeiPBxpgaknLY Ofsy59iOpTSv+a/BYgn4Xo4= 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-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 02 Oct 2023 11:27:03 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778680811512630356 X-GMAIL-MSGID: 1778680811512630356 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