Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1889965rdb; Tue, 3 Oct 2023 04:30:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwwQHaCbrBuzj6/EyL4gyA0IER6upr9qZpQsHXReeD7QUsJgzsjOfZaAY0Mrz2AugR9mPV X-Received: by 2002:a17:902:ea8d:b0:1bf:c59:c944 with SMTP id x13-20020a170902ea8d00b001bf0c59c944mr13047269plb.22.1696332653949; Tue, 03 Oct 2023 04:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696332653; cv=none; d=google.com; s=arc-20160816; b=yLQ0LRZ40cKaZRbnlRDHMg0++gNkPSvd9qhkUUiyQgxy78JUE5qn0QJv2hWDgqTZ+w Ky5ATcZ6HS5Z0fuZIdfuc4C/K11IYAh+JIYOrujGR0G/06xAqgpxlwGd/Vv0+k/hg6x6 6RgEn69DKh+zMENtUk3POs9d68aE/aeIJy8q8YM9TYhyguGAH0VT2sVjjq6dTqp/KCyB sFdxH2cyUevpATxIXiv1gwSfJN+su0MafJykhDz+cGNV0Iw57Y+zu+jvha/1C7Lf5wrb fI25OygMFa6KwqabThKD7iYB6I212tjqnily42tkE/30LYBTila7m7rXo2OwI1L2l9ZT E82w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N5ZztSjzf9OfIIVeBtDwEBQrwZRy6ntL0AONwTZqnXw=; fh=sGDG8Pm0huWtNyxpo+Irlr8wNKUS3O9yzowafu0sgoM=; b=GBLZ4Tdce+Sa1iZlQwq+slL014G+BcgAaSxiwXybqqZjSeCdkfK8Q8U6qVtV5AVK7B eh1qhK00+QlmtcxAzG1oLvzZYpNGDjAsp/kpVpXSy5Wo7ErzA1rHDWkQcMEKKgLhytuN X9n+xuHEP4nZlmsW+oN4JGoJej263hpx8yC6vgZ0p3JJcq/2fPDoxxEuomnvwPxuoiH2 vr0G3a9JPpi+VRnKrNxQM0NveV1CCyI92jjEazHRLMk+hjuuvTM3VI366nMTAPUBEQcG hIMUqPOksRrUuLm7YZ56Lmg8NkO8bDjRiN1jPdfERDOiP6URV5LivDxvr8u6DuQxLvp3 4bCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mIM4nmep; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p12-20020a170902c70c00b001c732b6869csi1166750plp.63.2023.10.03.04.30.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 04:30:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mIM4nmep; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 62D72801B8BB; Tue, 3 Oct 2023 04:30:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239968AbjJCLae (ORCPT + 99 others); Tue, 3 Oct 2023 07:30:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232397AbjJCLac (ORCPT ); Tue, 3 Oct 2023 07:30:32 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C80E6A1; Tue, 3 Oct 2023 04:30:28 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 393BUHjf096934; Tue, 3 Oct 2023 06:30:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696332617; bh=N5ZztSjzf9OfIIVeBtDwEBQrwZRy6ntL0AONwTZqnXw=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=mIM4nmepfnBsiBPoQGZMKtED0Id5K9QGTYM5QBcs19bqIrdApWtG8xJ9TF66WyjlU KWKdEghFAJU71LY0ZTk1QiDESv7KVi9PDdDx8Fnzo2vYigwzZrqHQ0uUoNvixrV5rY IRSzIAv3YY1oJC/7XjsuxaJ6544GwKzq57tGAWLo= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 393BUHf9015649 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 3 Oct 2023 06:30:17 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 3 Oct 2023 06:30:17 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 3 Oct 2023 06:30:17 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 393BUHiB023243; Tue, 3 Oct 2023 06:30:17 -0500 Date: Tue, 3 Oct 2023 06:30:17 -0500 From: Nishanth Menon To: Ayush Singh CC: , , , , , , , , , , , Subject: Re: [PATCH v6 1/3] dt-bindings: Add beaglecc1352 Message-ID: <20231003113017.z3yyjscvvinwnyy7@putdown> References: <20231002182454.211165-1-ayushdevel1325@gmail.com> <20231002182454.211165-2-ayushdevel1325@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231002182454.211165-2-ayushdevel1325@gmail.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 groat.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 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 04:30:48 -0700 (PDT) On 23:54-20231002, Ayush Singh wrote: > 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 I would suggest clock-names and description for it. > + > + 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. Shouldn't these be regulators? The power rails are input to the MCU, correct? The properties should be something like: vdds-supply vddr-supply dcoupl-supply ? (not sure what dcoupl is, but description should provide that info). the gpio controls for those can be modelled by regulator-gpio ? > + > + > +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 > -- > 2.41.0 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D