Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3168040rwo; Thu, 3 Aug 2023 23:52:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjBPKfsEitZ2Kr3fS/JD+ht9BvjvjWHEmOGSds4Q4Q05M2nfmLYAstnAqAtxhir/6jAUu5 X-Received: by 2002:a05:6358:591d:b0:135:acfd:8786 with SMTP id g29-20020a056358591d00b00135acfd8786mr1193212rwf.3.1691131972127; Thu, 03 Aug 2023 23:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691131972; cv=none; d=google.com; s=arc-20160816; b=d4k+C5pfKq+3pYE+c5YFN8644c3srQDXFy0RI5eY3ta7gjmP2H0fEZ8cSs1RkUHz0s l4ZkL0dFEbGgNhGjWGyEf5ppuV4/IZkTBOSQVfkNB/v+8o4S9TnfMz14pdqZqAl4ghU7 sd5ERrHoWa/wsfE/GSh8tBn4rrdt+mH5b6Dk4p7Y5nmjIFPIEow9LHsmNFL4VbH2fpcG UBCm4ULV1W3FExIPrttpUcO1N2ClvolimJ8v4F1KnoUKYqLU1sMXS1NbB/6sEobNMiUo NWC/vyD+MeMazbzPK/L7eobpYcA+9ycZqqUQzLxPpRqst/ehoUXMyZHt7vOPpmW5lrw+ tdhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=FOBxZe1iIrsfnpRnsy5tLGnb3OV7R2WOTStpJEJck/g=; fh=uiUH96qovzfqwwzQUVL6dPNXCSw8Pk813x36YMHDE44=; b=FRGokiqk5ncxyipiibo2Fvs0zvvhPmOhwdWtbNHxJm+n1lLCCOMqHMBRqozseZ6WCH Bha233SdoQk/0zgTiXWyek2V11BeVw3dKlHnOmjFG09jpnOnUwtNEswbZuqrF04g3jSo b8Xomt28gtIhIGm/8nt+78DU2mbqeDeaPZ/yOZphHqufcpOlirRtZwe/xcXxBDqzDY+G dyj9Mn/Z0sq54T8UbKKuCYBJEk0/C/ho50C4EMj558RavCxKXBqS2K00MfU6tuXj3NY2 PiLdl++Pu+2hnwOFXGiboOS67fu93B4XnWWh1G793dmJ5NJcpLQdThC702jyGzUtLy05 mTvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=k6Orwcv8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t26-20020a63955a000000b005649f501e33si1338491pgn.789.2023.08.03.23.52.39; Thu, 03 Aug 2023 23:52:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=k6Orwcv8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231933AbjHDG1P (ORCPT + 99 others); Fri, 4 Aug 2023 02:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232122AbjHDG06 (ORCPT ); Fri, 4 Aug 2023 02:26:58 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D9E5468A; Thu, 3 Aug 2023 23:26: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 3746QR3W014030; Fri, 4 Aug 2023 01:26:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691130387; bh=FOBxZe1iIrsfnpRnsy5tLGnb3OV7R2WOTStpJEJck/g=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=k6Orwcv8QSwZHqMVXga5AwOHzGzX9R48UFKRexVV5GZbg0mczd7ofd5+rt7htOiUH tYzaBJ3jmRnuHi1fjeasgMfajx+kVqWlf7v3nCWOzttwyfDWdrr7Vr67F0jYPFudVq 7HoFwPspSVafojoudG1aIPK59YM9bX3lZXs6zvRQ= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3746QQbO096969 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 4 Aug 2023 01:26:26 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 4 Aug 2023 01:26:26 -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; Fri, 4 Aug 2023 01:26:26 -0500 Received: from [172.24.227.217] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3746QKrw119574; Fri, 4 Aug 2023 01:26:20 -0500 Message-ID: Date: Fri, 4 Aug 2023 11:56:19 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/4] dt-bindings: net: Add ICSS IEP Content-Language: en-US To: Conor Dooley , MD Danish Anwar CC: Randy Dunlap , Roger Quadros , Simon Horman , Vignesh Raghavendra , Andrew Lunn , Richard Cochran , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , , , , , , , References: <20230803110153.3309577-1-danishanwar@ti.com> <20230803110153.3309577-2-danishanwar@ti.com> <20230803-guacamole-buddy-d8179f11615e@spud> From: Md Danish Anwar Organization: Texas Instruments In-Reply-To: <20230803-guacamole-buddy-d8179f11615e@spud> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Conor, On 03/08/23 8:57 pm, Conor Dooley wrote: > On Thu, Aug 03, 2023 at 04:31:50PM +0530, MD Danish Anwar wrote: >> From: Md Danish Anwar >> >> Add DT binding documentation for ICSS IEP module. >> >> Signed-off-by: Md Danish Anwar >> --- >> .../devicetree/bindings/net/ti,icss-iep.yaml | 37 +++++++++++++++++++ >> 1 file changed, 37 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/net/ti,icss-iep.yaml >> >> diff --git a/Documentation/devicetree/bindings/net/ti,icss-iep.yaml b/Documentation/devicetree/bindings/net/ti,icss-iep.yaml >> new file mode 100644 >> index 000000000000..79cd72b330a6 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/net/ti,icss-iep.yaml >> @@ -0,0 +1,37 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/net/ti,icss-iep.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Texas Instruments ICSS Industrial Ethernet Peripheral (IEP) module >> + >> +maintainers: >> + - Md Danish Anwar >> + >> +properties: >> + compatible: >> + enum: >> + - ti,am654-icss-iep # for K3 AM65x, J721E and AM64x SoCs > > No. ti,am654-icss-iep is for am654. You should really have compatibles > specific to the SoC - is there a reason why this has not been done? > Yes, ti,am654-icss-iep is for am654. You are right, the compatibles should be specific to SoC. Currently the upstream support is being added for only AM65x. I will remove J721E and AM64x SoCs from the comment above and these compatibles when their support is enabled in future. Below is the updated compatible property. properties: compatible: enum: - ti,am654-icss-iep # for K3 AM65x SoCs > >> + >> + reg: >> + maxItems: 1 >> + >> + clocks: >> + maxItems: 1 >> + description: phandle to the IEP source clock >> + >> +required: >> + - compatible >> + - reg >> + - clocks >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + icssg0_iep0: iep@2e000 { >> + compatible = "ti,am654-icss-iep"; >> + reg = <0x2e000 0x1000>; >> + clocks = <&icssg0_iepclk_mux>; >> + }; >> -- >> 2.34.1 >> -- Thanks and Regards, Danish.