Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3505149rwb; Mon, 7 Aug 2023 14:58:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGePR+YlUkSscmMLyW0WzW1oyOKPzRq5Pl4+O+4bnG7QMpfkCpDJdd3Q1nOYYcW8nOPoJvD X-Received: by 2002:a05:6a20:918e:b0:140:f855:5cde with SMTP id v14-20020a056a20918e00b00140f8555cdemr4268822pzd.33.1691445481514; Mon, 07 Aug 2023 14:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691445481; cv=none; d=google.com; s=arc-20160816; b=zV0uY4r/uXcNHN1jTzU51lBao6EasJaD1Ev1NL5ihnNEkQDLNrZEPUb9lNC/G7odsf g01xnRvBrcODUDLES84L+4tdf5XaP1dbJf59OtLRfNDvQNxCevqSkbhOs5s9cbjO/N7b fPBdVdT8gBZBhQyyuVe+qQhUfGH2m/evWT1DoKYtcX6JcHzal6TD3v7gGPXiu0hH8BUh 3K0Sm6K2CUGifLieSrm4Edu+SZP2Ir88S4SltihzQbIX6wo0l7O7jDdd1qZXdj9l+a7/ YIghN59kVG2lW6zjv7+35+MfOrwpAuXsWnaorEhDVPObZdZRc71MoH8basR6JptXLFoD mmkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eAPKS4SAXmZKxicJb9ydkGPtaas2WIonOZ7to+HEfxA=; fh=wEh+4zpZgJFzL4gMBIu+RlqV7YR+RbZGdNOHRaFzBEA=; b=oz4Algdi0NTl46/9w5V62axvIgvW0cxxjJneHm6HkMtMbVWRMNMNZiGCalR1DcKvCd 3l2uwO+rrHh6xrbO/Yh3zHkzzz0xyElqVKfoxLZriV4JDJJoD/iGxTWy8yE5IS5eSBeM PP99mGf+ukIbQ/Wg3jDuAbVLQWwKM80WcqFS9kDCuxMrdEYEe8sjQazDY0r2sfaNEGXH 8bssyAxY38xDkeWfR8bB73OsfXlFLmeI45RKZbPWp1zsIyLS8qdwvpCsIJvslkD0gnkJ MOsEI6BQmAXP2HwEXDbgkLpUc3Go2SwZJWvrxQPOhhE0yg7jsmCg6Qg7jr/NZf5FhOB0 +fTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b="tOmh3T/d"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs71-20020a63284a000000b0055bf3d0c987si5939211pgb.281.2023.08.07.14.57.50; Mon, 07 Aug 2023 14:58:01 -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=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b="tOmh3T/d"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229731AbjHGTbj (ORCPT + 99 others); Mon, 7 Aug 2023 15:31:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230140AbjHGTbh (ORCPT ); Mon, 7 Aug 2023 15:31:37 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B7621726 for ; Mon, 7 Aug 2023 12:31:35 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-3090d3e9c92so4240990f8f.2 for ; Mon, 07 Aug 2023 12:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1691436693; x=1692041493; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eAPKS4SAXmZKxicJb9ydkGPtaas2WIonOZ7to+HEfxA=; b=tOmh3T/d1Kx4g5+xfWbagK8zeGuje07up/l4PO1tcHXwuVmvIvKezEFEUOszEceBwv WLoDiMbUQkX8jTprThvfI+94af++yK1HBv5TLq1zf5liFa6GUHWuLrbyYBO0KyAAx0sW G2YMRuSYtUZkPA6TUkDb0scVx1tV5W+yGsHfFKU+iwvrWydYuU/0Yd+dyq0Z6CgdXhCl kxKph2hAcWnEy/TuTREzxTULR40oj+9vctCBPlWjIp1S+PjMazFOy9kN+l9V1dn6ae0X x8M6Hk9pZxtjeD89oR/plTnS6CIGysZeXPcQ6k/Tppw434ibY95fOMnSJJIDiU5GfYxO OpuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691436693; x=1692041493; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eAPKS4SAXmZKxicJb9ydkGPtaas2WIonOZ7to+HEfxA=; b=ayYEAN6jtgNPSf2r3+II1FnY5Z4vhhFjjfYNnJX3PV7XYknfW1CvVYUY+Grchh42tw 7PT5GbJCsjjupFuZWTxriB/ldVcjjamOivjByDPaaZVGamidQDlqOHeDBeTNTtZHp1YK bLiUZdSnATWatqgaHa+dAQJINvUj1tIrjjjro7JChihV8X/kvSEsvpkNdj6CGI95e7CX XLbHtF0TY/hF9xSnMEoVkD4Fg0y65qTcug4ryxblQJt4VjF0wYcTfPo081Q8QltyVgo7 IMEZqSl+HKZ9i2Oy3krclPIF5oVFLjJ3B+W8DkAVz9BtbG96iJUdXlJkAUKKikjQ4wry B7Jw== X-Gm-Message-State: AOJu0YwSerWNzwB1CSnf/aqp8HKSssRdHAResL5Glc2B+RphnGZAqYai vetHi0nuYGqGC7gpQPt/ulWJsw== X-Received: by 2002:a5d:6683:0:b0:317:67fa:eeb4 with SMTP id l3-20020a5d6683000000b0031767faeeb4mr7411809wru.57.1691436693519; Mon, 07 Aug 2023 12:31:33 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:b3d6:9e6:79d9:37cd]) by smtp.gmail.com with ESMTPSA id l7-20020a7bc347000000b003fbdbd0a7desm15985654wmj.27.2023.08.07.12.31.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 12:31:33 -0700 (PDT) From: Bartosz Golaszewski To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Andrew Halaney , Alex Elder , Srini Kandagatla Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski Subject: [PATCH 1/2] dt-bindings: net: snps,dwmac: document the snps,shared-mdio property Date: Mon, 7 Aug 2023 21:31:01 +0200 Message-Id: <20230807193102.6374-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230807193102.6374-1-brgl@bgdev.pl> References: <20230807193102.6374-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE 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 From: Bartosz Golaszewski Two MACs may share one MDIO lines to their respective PHYs. In this case one of the MACs is the logical "owner" of the bus, while the other can be considered a secondary controller. Add a new property that allows one MAC node to reference the MDIO node on a different MAC over a phandle. Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index ddf9522a5dc2..f9c2285674d1 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -500,6 +500,12 @@ properties: required: - compatible + snps,shared-mdio: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the mdio node defined on a different MAC node which this + device shares. + stmmac-axi-config: type: object unevaluatedProperties: false -- 2.39.2