Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp393500rdb; Thu, 5 Oct 2023 08:53:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFncbJr7pjd5EzpLYtlb+Azk+EL58cXKEe1EFofT7qPnCh9vlJ7PPK5dOVsWNvTKy3eyz/9 X-Received: by 2002:a17:903:2348:b0:1c7:47ca:f07f with SMTP id c8-20020a170903234800b001c747caf07fmr5942262plh.21.1696521229831; Thu, 05 Oct 2023 08:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696521229; cv=none; d=google.com; s=arc-20160816; b=G77WiMspoUYwCRFsOuiLzETD/mxdcxiWbwSLeAT3Hw1JRak8iakgD1OfAIO1dyVcHB tSekg5WrzYjwjgrGXxdXfNuuEd+Kh3Cpgegb5IvoWFR79j6xPNbnmrG0VUyc6pTvzVyr +l+CjZ01qrUvqNY8Eg+2LxdnbZiADV3fBrEUhc+HYO9/lDE2F3PSn+Bz91FxSCg22y1r vNOI78iZMyZYqo69DBY7MXT+xdjcshuvDu72KeBT4Flmy1DdIABDzv0NoFjis/tu+LWh E5aYkCWi3zLuCwsIz89pEVB02KWwRLPfD15kViZxWnAnxU11g1MV56HhXrC4af2pndYd Ed4g== 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=O3H9updDdRZA1n9r7jo5xac1dzx6YqsbyUPWoem2bi0=; fh=UJ4/0uxll1VrWd2wO0QEuiDXOhEHsGqyt4a0P4d5W5g=; b=udxhEDULENRaM9OEGbbzGpTu47PusVw8fq87hZ/5R3J+gbaMKHZ5qMvkRiGLgnWBJu b8h9jsKW6LCNmbSVmemMpuJIogFtZ0fFwKSSYiz/YBAQIRtFvudUwCn+OtcTOMlt5ncN nkAfP/p543Te/1JU6WNzwatMTU6BPjes7BDpakkmwj/0KxnkmXF2JagfY+vNcICNpGCS Bw0ECvi5G57p4ElX1vUKpyHyLIJyUikAVxHxMZf5wMZXfwp5gS4dfrkoBQNzY6j5x3qv O5bynFR9H2R/j2KQ6XA7zAmJOL82QkjFcI39zieQ0bxEiv3dqWVwmxEDz2Qr7oyczeEE 1zKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=F4FE1PjJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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. [23.128.96.35]) by mx.google.com with ESMTPS id b13-20020a170902d50d00b001c5fa6d75acsi1844594plg.494.2023.10.05.08.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:53:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=F4FE1PjJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 181A480BA7F9; Thu, 5 Oct 2023 08:53:20 -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 S235146AbjJEPwC (ORCPT + 99 others); Thu, 5 Oct 2023 11:52:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233917AbjJEPu5 (ORCPT ); Thu, 5 Oct 2023 11:50:57 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5903C63EFE; Thu, 5 Oct 2023 07:08:44 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 395BJ7DL114262; Thu, 5 Oct 2023 06:19:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696504747; bh=O3H9updDdRZA1n9r7jo5xac1dzx6YqsbyUPWoem2bi0=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=F4FE1PjJyNXeVo5vS5nYLlEjPCgoMzZB0fZgXYnwEzzveDo6GFhwZI972eUp8mZMa cY+PSWWN52Cyfp2F1fa36KCEjG3A2zRRfb1dolG4rzP8ZK52WspFONbokepOoD96bo FmRdi58lXtE9dGFBR5rsnUnASOZM6mE23nNjKX5c= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 395BJ7ip073088 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 06:19:07 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Oct 2023 06:19:07 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE100.ent.ti.com (10.64.6.21) 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; Thu, 5 Oct 2023 06:19:07 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 395BJ70q073832; Thu, 5 Oct 2023 06:19:07 -0500 Date: Thu, 5 Oct 2023 06:19:07 -0500 From: Nishanth Menon To: Ayush Singh CC: Krzysztof Kozlowski , , , , , , , , , , , , Subject: Re: [PATCH v7 1/3] dt-bindings: net: Add ti,cc1352p7 Message-ID: <20231005111907.ck6rhmuhicrjkifr@elderly> References: <20231004184639.462510-1-ayushdevel1325@gmail.com> <20231004184639.462510-2-ayushdevel1325@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.8 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,URIBL_BLOCKED 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]); Thu, 05 Oct 2023 08:53:20 -0700 (PDT) On 13:51-20231005, Ayush Singh wrote: > > > 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 > > This does no go here, but to clocks. I wrote how it should be done. > > Don't ignore the feedback. > It was suggested to use `clock-names` by Nishanth Menon in the previous > email, so I thought this was what it meant. I will remove clock-names if > that's better. Krzysztof was mentioning that the description should be with clocks. clock-names would allow for more descriptive dts > > > + items: > > > + - const: sclk_hf > > > + - const: sclk_lf > > > + > > > + reset-gpios: true > > > > No, really, why do you change correct code into incorrect one? Who asked > > you to drop maxItems? > I found that many bindings (`display/ilitek,ili9486.yaml`, > `iio/dac/adi,ad5758.yaml`) use this pattern instead of `maxItems` for > `reset-gpios`. So I assumed it was some sort of convention. I will change it > back to `maxItems`. maxItems restrict the number of GPIOs to the ones that are actually needed for the peripheral. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D