Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3990239rwb; Tue, 6 Sep 2022 00:14:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ymtFgPpB5Gg0NF+dlwtWqFbQ1Urn5Gd0vPVREVJ3A7/OLFRzglRPPTTIewnahjDdZwEjB X-Received: by 2002:a17:907:6ea7:b0:731:7ef9:dbfa with SMTP id sh39-20020a1709076ea700b007317ef9dbfamr39883816ejc.146.1662448448579; Tue, 06 Sep 2022 00:14:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662448448; cv=none; d=google.com; s=arc-20160816; b=SvJYKrupf7uug8Waw4EMetGtrL8fsuNwlP8o677K1JHQLjl72wXpePLrND0Pq8YbZe 5ld8jyvc44kdWCW0GrITJEUg+S29DDFTxX6ImGXLcsQfxjiYS7mbyVL7+qbeFrgceGWj mUznUY0SrpaMwi8oqpgmYlV/Nn7zdIQydMm7r/dqD0jjJYpyIvPtFQAD+ltVhaGWjqPZ iYcZo0oJAQtTiEo8dIVRGqqA3ZTQE+zGyCI6ZQEXZo63jVn27JZjxHjfze7Kzqmi0mVC MIXIe4Bc3vEVWZbDX21SfsLNjfvsCRwuijes041GSKbzh+2g92YCoro38PLbahs+q3S3 O2LA== 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:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Vh5dKJp8XgybaVsAxsDRTMhVft4uU9zUN/Q42DYvyOQ=; b=M310J6T42YtlYK/VgAc868ZOfbdwHrWG6nx8d6Y7Jab4awwXef2ecM7G2LD+dSc7Sf EA8uAgJgVnx30IWtpdjC8XjJQgDcRL4X8tPF13eB2YgLeZWCuFQaceGnWsSZ0EyTSXjF Pc2jUJN6I0bUO6JvkEk3zLeCBqY96yh6jTy2/xmM/01mBVTC3CBdEBrAkwixb7WiIxa5 37DmkiNfb5/gbRT4EDV4/cNms3KntYGMpUi+7fPC0bRKPL7Ige0NhM84wi7vXzHZ/UFV YMjbL1ZVLwxvbmEBp9HW6Fi7Agd5TxL0bv8fkIpeCh2JP3vBt0CrvIo0www8c/9h3lkr GtZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K0mgYUOS; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw18-20020a056402229200b0044ed1785c11si810064edb.311.2022.09.06.00.13.42; Tue, 06 Sep 2022 00:14:08 -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=@linaro.org header.s=google header.b=K0mgYUOS; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238751AbiIFHDS (ORCPT + 99 others); Tue, 6 Sep 2022 03:03:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238752AbiIFHDO (ORCPT ); Tue, 6 Sep 2022 03:03:14 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 901566F557 for ; Tue, 6 Sep 2022 00:03:11 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id bt10so15989059lfb.1 for ; Tue, 06 Sep 2022 00:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=Vh5dKJp8XgybaVsAxsDRTMhVft4uU9zUN/Q42DYvyOQ=; b=K0mgYUOSou8QTlHcWhgwVshbgWLtJ1Eab3Sx8oxOBkZ35lLxyfk1myRr+wT9OIrm1f SvN4RyuEgytQQ0ubS/YvvQIU1TqX6GeWdCuiwYLZ4LanwnEOqBaL77rIgB27zfnCRjDQ 8SA8G3pploFaxzyEC+vZEb02+7lIrGH6Cpx6Wt2kdNtIxceT4pFXZ6pwL1MBYFVOCxeY 9VpZqwwbyDjHLawD5I74XsZSkBrtABF5/TdSBkiYhpl3Bo8ER7bi6kZt7tiURx3NQR9a +hfPVuGG9n25leSTr+lhBXP7Q20h/5chBiiuXWsIoyZr3YKP4nL60Zc/nczXceCMgAh5 xjcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=Vh5dKJp8XgybaVsAxsDRTMhVft4uU9zUN/Q42DYvyOQ=; b=WNA83ATuPtINlDZsAV5p9QmRJ/v5Ihdk6bYJ5tPTm4/m1Voq1qPas+jSBI5DfkSMBI P7fHgIyU/VrPWjEOt1eFM66Nax9F3l0b98gVVZZBS/T7agRPs6vOC35ypJXb37OZx/RA YxgD0VPusQ/g4jxyQ6ezvAcPGVQywjeRp/K3MIq9uYq97gh71kxOQZbMA2Tx5lh3jqCT qbmGwO6ufoc0SOb4cYh4ykoUpyfsk48o3QV8UCHWcUJTcm6dwCtaBwjY2paDC9151L0M YsoE7fcsV99lGGCoENWKtGDinXNsh3wIDvKTHja6yFZnZ/zbx1tdtqlhoXgnqBh4voRD IzIg== X-Gm-Message-State: ACgBeo2RqwFnThRTMnccnSe5Q2AQIwpK3Rsc19UoIcCoEVQbGQt7BtdF 9ESgUPMhGMkU4hhTS7fH6cT9PA== X-Received: by 2002:ac2:4e15:0:b0:48b:7a5f:923c with SMTP id e21-20020ac24e15000000b0048b7a5f923cmr18784649lfr.134.1662447789099; Tue, 06 Sep 2022 00:03:09 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v7-20020a2ea447000000b002648152512asm1716340ljn.90.2022.09.06.00.03.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Sep 2022 00:03:08 -0700 (PDT) Message-ID: <93600263-0211-9286-9043-fae5b017d15b@linaro.org> Date: Tue, 6 Sep 2022 09:03:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v4 1/2] dt-bindings: phy: ti: phy-gmii-sel: Add bindings for J7200 Content-Language: en-US To: Siddharth Vadapalli , krzysztof.kozlowski+dt@linaro.org Cc: robh+dt@kernel.org, lee.jones@linaro.org, kishon@ti.com, vkoul@kernel.org, dan.carpenter@oracle.com, grygorii.strashko@ti.com, rogerq@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org 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> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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. Best regards, Krzysztof