Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4174016rwb; Tue, 6 Sep 2022 03:51:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR6PCi7K53UMOrR/wCzvNAZbc23yKy8DLp7O/oiPOfDejkxGXu8DVlfIGlCM/PV/7n00ISt1 X-Received: by 2002:a17:902:e549:b0:174:d234:6116 with SMTP id n9-20020a170902e54900b00174d2346116mr40989302plf.131.1662461501053; Tue, 06 Sep 2022 03:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662461501; cv=none; d=google.com; s=arc-20160816; b=0H83366ol5AZOk0dreXE0GGwbXf/jZdpCpq7gj7IHCXYAawOYhIF23QQHbyB4g7U7K 4l6bEIFAjIyIVHEDc7jVgZndBrSTDiy9cc9ie6ngc5CJnHCPheSo7dq6Ul+6iZyGRp2j Ky2PwAPyIRH+ZNuXaMF/gtdTFm0A70/pJ3uS7LdeZhlJh5NdpWnK+IG+F/gM39sFp/Z/ qVWKpa0IZ2nCT8/cs1UEZbZObgy4HCoubN2TMqHrsXWeKgwhAUdjMUvx936emC0+vOHW F7w1lppjJwploHIvYNZMoZQBfe81sq8KdEFvDa/0qjqo25Ko6ZKRsTaCzxparPbgti+j zRPQ== 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:from :references:to:content-language:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=NcoemCXH05TY9ODveI/RTyU7+TLIkOHYkpTRhi9iocQ=; b=Z/k+9xwy2cR7EbSc5ZTLorFssqsDwsxuzLjo0l4lA8L4WPCMTnAwJH9t3CQ9daJh87 ak/R+dxYMcFcu1HhlJozqjuY9Vphd3ArpiV6qbWrI2YDK4NolasgET4StHM+GBVzYCwR 4a06lzcAKzP6xYkpVwJsNuIGMbZjhzxnnmMI9SIAKmhS777H2HQlGwrANvb5qdmhFzTo 6rElwBXY7eGZmZYdDjPSQ/dwnI+LGJmYEknGl1B7R2Ef6ppQdMthxDtM8U9Z1PRt/O7Z 9BeiplfPnYRbBIn5JNKE1Lyoav06eQL/e5AG3K8WqywPo8rcBDSeDw2RNqznRm9h48Yq eB8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=earOJCEJ; 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 n16-20020a170902d2d000b00176a41f76f4si7592858plc.395.2022.09.06.03.51.29; Tue, 06 Sep 2022 03:51:41 -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=earOJCEJ; 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 S233238AbiIFKaT (ORCPT + 99 others); Tue, 6 Sep 2022 06:30:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233089AbiIFKaR (ORCPT ); Tue, 6 Sep 2022 06:30:17 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D9B428E30; Tue, 6 Sep 2022 03:30:15 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 286AU28L084731; Tue, 6 Sep 2022 05:30:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1662460202; bh=NcoemCXH05TY9ODveI/RTyU7+TLIkOHYkpTRhi9iocQ=; h=Date:CC:Subject:To:References:From:In-Reply-To; b=earOJCEJxSh7heXTUJ1w73TdC+nrjoFIkLqLle32pQAZlBqzgyX8o0AFKeIGjgce9 WRGwQ2ccQNkf0OnW4X8s/azozWBi3CzIRvECKslZzNis4x/6HOIpDyAg5QVHFmEkhI Pkq2qcmRyvrE12I6f2oFcF7oKzQH48DHqPdrZxxM= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 286AU1YJ010551 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 6 Sep 2022 05:30:02 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 6 Sep 2022 05:30:00 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 6 Sep 2022 05:30:00 -0500 Received: from [10.24.69.241] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 286ATuM5105135; Tue, 6 Sep 2022 05:29:57 -0500 Message-ID: <4c34dcba-0a30-164f-49bb-1cf22781a4b2@ti.com> Date: Tue, 6 Sep 2022 15:59:55 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 CC: , , , , , , , , , , , Subject: Re: [PATCH v4 1/2] dt-bindings: phy: ti: phy-gmii-sel: Add bindings for J7200 Content-Language: en-US To: Krzysztof Kozlowski , References: <20220901085506.138633-1-s-vadapalli@ti.com> <20220901085506.138633-2-s-vadapalli@ti.com> <4b681c03-7f5a-0234-2276-316e0bad1de5@linaro.org> <44339382-c4e2-26db-de5d-263ae5a585b8@ti.com> <4e61b63b-74ac-1682-968f-17e5d8db7ce6@linaro.org> <93600263-0211-9286-9043-fae5b017d15b@linaro.org> From: Siddharth Vadapalli In-Reply-To: <93600263-0211-9286-9043-fae5b017d15b@linaro.org> 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=-6.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_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hello Krzysztof, On 06/09/22 12:33, Krzysztof Kozlowski wrote: > On 06/09/2022 07:02, Siddharth Vadapalli wrote: >>>> >>>> Please let me know if the above description is fine. >>> >>> Hm, but that's a phy node, not address of register... Isn't this a phy >>> node representing the phy of the CPSW MAC ports? >> >> Despite it being a phy node, the phy-gmii-sel driver actually uses this >> node to obtain the address of the CTRLMMR_ENETx_CTRL registers which >> correspond to the CPSW MAC configuration and are therefore unrelated to >> the PHY. Please let me know if my suggested description would be fine. > > Either I miss some more pieces or this is wrong design. The phy node > should not be used to pass some addresses somewhere. It is used to > define a device which will be instantiated (as parent is simple-mfd). If > you use it only to obtain some address, not to describe child device, > then this is wrong property type. Sorry for describing it incompletely, and at some places incorrectly. Yes, you were right when you initially mentioned that the phy node corresponds to the phy of the ethernet MAC ports. I had incorrectly understood the term "phy" there as the external Layer-1 ethernet phy.The phy node corresponds to the phy used by the ethernet MAC, based on the phy-mode configured. The am65-cpsw-nuss driver which is responsible for ethernet MAC, requires the ethernet MAC's phy to be configured by the phy-gmii-sel driver. Thus, the phy node corresponds to an actual phy (ethernet MAC's PHY). I plan on updating the description for the phy pattern property to the following: "The phy node corresponding to the ethernet MAC." Regards, Siddharth.