From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FE95C433E0 for ; Thu, 9 Jul 2020 10:30:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 435F1206DF for ; Thu, 9 Jul 2020 10:30:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KSSwJr5i"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="ZBimqe3Y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 435F1206DF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6PQGCJQFmMAXngAWtxftUlN/OQYUJaHnspXRv32L0zQ=; b=KSSwJr5iCESt+b75IpFnbKd+W 9uQkL+Bfjsv/7CfUXcdDXoeacomTHZ0Zk8ROpbWodpcofftveF51oE9uByRn1wBp7bW+E15u6saya tqkujaoqQk/UBE2JNjDLPrTgb0lEj1rgvUWQ8SGanIBeE+MFLZ7n3SK/feCu3vQ5C/AvNc/HdK8rF pHeorRknnypxHx5GuLaxnSuk7+tdG8DYAnBxqbG0gY+sVTXdy3LrfDDRKSKXWQOf5J3wJsrQZFXzt zYo3RWJhwk5Dvv2Km8BCLUr2d5DWpCSrCJ5rjb2tCuEyuMZknWx0RFI4Tq4Qo46qMLjRs8Um7LvmO hAjQ7xP1g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtTni-0007LY-6p; Thu, 09 Jul 2020 10:29:10 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtTng-0007L6-6i for linux-arm-kernel@lists.infradead.org; Thu, 09 Jul 2020 10:29:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JLP9vuUZgJF4vfIDO5Sksc0eKG106jzUub4CiM22AOI=; b=ZBimqe3Ym8NJlNPzjomxPxDGx EUy2IItrkhRm5FC39h74ART0BNXIV9vepBrC6QNVkMnCA4X/5MRFRfKLeSq9BqV2Ri3mk/o9U5nHA Xbl5Ei0WvjGYU4lSjqS0by07HuuYziPmUbbzxjKg1SCk9DgVGRqwEATJVkBS4FCZ/ZbV3upHVXX8f 6jJyy8NFoPpDTTu5zBb2dqHhpDTmzsG2axtN217RnmjNhcSQk6tM54888U9xXmEb4QRE3LrVOigp/ I9DB5/wmI5jTnSLcnma0U+r4fivFNM8ZYzCUvYI+4S70QRRawhTaq25wON6ZpxbKhOv0vQ1KKHXU9 VayCn+Wvw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:37266) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jtTnY-0000ax-5A; Thu, 09 Jul 2020 11:29:00 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1jtTnX-0002A7-9a; Thu, 09 Jul 2020 11:28:59 +0100 Date: Thu, 9 Jul 2020 11:28:59 +0100 From: Russell King - ARM Linux admin To: Andrew Lunn , Gregory Clement , Jason Cooper , Kishon Vijay Abraham I , Rob Herring , Sebastian Hesselbarth , Vinod Koul Subject: Re: [PATCH 1/2] dt: update Marvell Armada 38x COMPHY binding Message-ID: <20200709102859.GG1551@shell.armlinux.org.uk> References: <20200630160452.GD1551@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200709_062908_292867_382C7513 X-CRM114-Status: GOOD ( 22.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rob? On Tue, Jun 30, 2020 at 05:05:33PM +0100, Russell King wrote: > Update the Marvell Armada 38x COMPHY binding with an additional > optional register pair describing the location of an undocumented > system register controlling something to do with the Gigabit Ethernet > and COMPHY. There is one bit for each COMPHY lane that may be using > the serdes, but exactly what this register does is completely unknown. > > This register only appears to exist on Armada 38x devices, and not > other SoCs using the NETA ethernet block, so it seems logical that it > should be part of the COMPHY. > > This is also how u-boot groups this register; it is dealt with as part > of the COMPHY initialisation there. > > However, at the end of the day, due to the undocumented nature of this > register, we can only guess. > > Signed-off-by: Russell King > --- > .../devicetree/bindings/phy/phy-armada38x-comphy.txt | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt b/Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt > index ad49e5c01334..8b5a7a28a35b 100644 > --- a/Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt > +++ b/Documentation/devicetree/bindings/phy/phy-armada38x-comphy.txt > @@ -12,6 +12,13 @@ PCIe...). > - #address-cells: should be 1. > - #size-cells: should be 0. > > +Optional properties: > + > +- reg-names: must be "comphy" as the first name, and "conf". > +- reg: must contain the comphy register location and length as the first > + pair, followed by an optional configuration register address and > + length pair. > + > A sub-node is required for each comphy lane provided by the comphy. > > Required properties (child nodes): > @@ -24,7 +31,8 @@ A sub-node is required for each comphy lane provided by the comphy. > > comphy: phy@18300 { > compatible = "marvell,armada-380-comphy"; > - reg = <0x18300 0x100>; > + reg-names = "comphy", "conf"; > + reg = <0x18300 0x100>, <0x18460 4>; > #address-cells = <1>; > #size-cells = <0>; > > -- > 2.20.1 > > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel