Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp333678rdd; Tue, 9 Jan 2024 05:48:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPuVrfMUGUOlrF7lRn8o8ISsKIqFsF5IgtoC5FeDYEbkAaqMzk3wUG9y5acTGFrn/IRoXg X-Received: by 2002:ac5:cac9:0:b0:4b7:48b9:ec12 with SMTP id m9-20020ac5cac9000000b004b748b9ec12mr2202232vkl.7.1704808130813; Tue, 09 Jan 2024 05:48:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704808130; cv=none; d=google.com; s=arc-20160816; b=UYuy92MwvDCfE6XE6VGqUDBwyy74nd7gVlCDW3+mTZQRCv6Ow8yuYGxGLSgLmvhNrT YXJ1LGIsMKvyRccmbGE01yzCn4wajQt3SZDQoWRow8pHLSE/GbjWuCzCx6ujs0SNNrrP hFkvLLRntqn34EpAid0memNnFhMVpSNAP/Nh79EUF/NHSJUOOKGijT+XDwZAb5vlS97M LsTQz3J9luj8gwXX71QeuEesIgMlDufcfhrzU3hy6mB2mVFypbVCd+1xet5mO8syNqzv L8rFw44rbdhn1BlQ9WVNT31AA1Q6MUBd1b7wE92k1llDfTtzMurOL+2XZ4JoPptbuYw+ IvLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wvVG2KQV/oETOX0CukFpt/vsd01F13tBQ9AIaAYqp6w=; fh=zYlP1JaBInjkmoJQ+MuF7IhACOiNmk5v1v+QHZG3gpo=; b=ptKgY1ovlSPg2JPxS2mjUPMX+tJ8x7erhiwAAvgOfFnbooWU2shvfV7TjoHDajPdKJ KvuMshXR5APdXLrGQfQv7QyzUikTf25g2achMhijzwiXugVwSWrDh/Py7s3BbhEcMZ1z 0UprNolc4EhdEXHmUaXPsBa5WQvISZZLE/NV3HOnS3G8U+mxjSiJz57EbI9UiVEdQyTS 1OwZqmk5uuwMWLoNdJ/s1uMerCJOilIUKoHVmYLuiOb23pgC64z3ZF3WPpZAxsjEBeAM lcPu9aTAU2Ogp8Rimtpv4VlvLJ3F6BHPYSeFW0fZZLdAsaiZnLe6XUA+RpZWK5y+Zdjf IUxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=GH4SbNxa; spf=pass (google.com: domain of linux-kernel+bounces-20920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20920-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 9-20020ac85949000000b00423d65135f7si1894671qtz.809.2024.01.09.05.48.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 05:48:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=GH4SbNxa; spf=pass (google.com: domain of linux-kernel+bounces-20920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20920-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 621AB1C24354 for ; Tue, 9 Jan 2024 13:48:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48E4E39852; Tue, 9 Jan 2024 13:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="GH4SbNxa" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9ED9F38FA3; Tue, 9 Jan 2024 13:48:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=wvVG2KQV/oETOX0CukFpt/vsd01F13tBQ9AIaAYqp6w=; b=GH4SbNxaChv564U3M/bDK7+b6W e4yuHL2BbR4aMHapx53lmIvMyxVTYAtqrdRkQYktWCIpUKceG2nUrXqGw2/b97QNGnEZNL4DgCO+j 9qS+8VnvXTjPKZu+ILIS9TiPBkLrHFksXOg3/HhB2VxLn1JefXhhBq2PT6SUrN1OF6DY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rNCSm-004pw9-Bx; Tue, 09 Jan 2024 14:48:16 +0100 Date: Tue, 9 Jan 2024 14:48:16 +0100 From: Andrew Lunn To: Jie Luo Cc: Sergey Ryazanov , Christian Marangi , Robert Marko , Vladimir Oltean , Rob Herring , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Heiner Kallweit , Russell King , Matthias Brugger , AngeloGioacchino Del Regno , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [net-next PATCH RFC v3 1/8] dt-bindings: net: document ethernet PHY package nodes Message-ID: <2f2328ee-205b-4b4f-a683-2df4fbb22dde@lunn.ch> References: <20231126015346.25208-1-ansuelsmth@gmail.com> <20231126015346.25208-2-ansuelsmth@gmail.com> <0926ea46-1ce4-4118-a04c-b6badc0b9e15@gmail.com> <1437d9df-2868-43f5-aebd-e0c57fe4d905@lunn.ch> <841ef784-b27e-4f7a-94f2-f04f93178c61@lunn.ch> <07c01c11-0cc2-4837-b371-1404f2ce3359@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07c01c11-0cc2-4837-b371-1404f2ce3359@quicinc.com> > > __| |_______________| |__ > | PCS0 | |PCS1 | > |______| |_____| > |_______ |<---- REF clock 50MHZ > | |------------ | > |NSSCC | |clks |rsts|<---- GPIO reset > |______| | | | > | V V | > |_______________________| > | | | | | > |PHY1 |PHY2 |PHY3 |PHY4 | > |_____|_____|_____|_____| Not the best of improvements. So the ref clock goes to the package, and then magically somehow gets to the NSSCC? Are there any more blocks it goes through before reaching the NSSCC? How does the GPIO reset get converted into multiple reset inside the package? Details, details, details. > There are difference clock trees generated from NSSCC for the different > PHYs, all clocks and resets for qca8084 CHIP working are internally > provided by the NSSCC. So show this in the block diagram. > Yes, Andrew, the NSSCC provider driver is probed based on the MDIO > device, the PHY CHIP occupies the MDIO addresses, so the NSSCC is > registered as the MDIO device. > > DT of the NSSCC device node: > mdio { > #address-cells = <1>; > #size-cells = <0>; > > clock-controller@18 { > compatible = "qcom,qca8084-nsscc"; > reg = <0x18>; > clocks = <&qca8k_xo>, > <&qca8k_uniphy0_rx>, > <&qca8k_uniphy0_tx>, > <&qca8k_uniphy1_rx>, > <&qca8k_uniphy1_tx>, > <&qca8k_uniphy1_rx312p5m>, > <&qca8k_uniphy1_tx312p5m>; > #clock-cells = <1>; > #reset-cells = <1>; > #power-domain-cells = <1>; > }; > }; This does not make any sense. You have one clock input, 50MHz. So why are you listing 6 consumer clocks, not one? And where are the clocks this clock controller provides, clock-output-names=<...>; I give up. Please consider this PHY driver NACKed. Get Linaro, or some other organisation with a lot of experience with mainline to take over the work. Andrew