Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2080859pxp; Mon, 21 Mar 2022 10:51:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+E4bo7RrgERsYP7BUQqMBUq7T2b90CPwLXSX6iHpdL2o847YIgvNNHAIQKKRVdTSxKoGy X-Received: by 2002:a17:90a:2e0e:b0:1bc:dbe:2d04 with SMTP id q14-20020a17090a2e0e00b001bc0dbe2d04mr316064pjd.74.1647885062864; Mon, 21 Mar 2022 10:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647885062; cv=none; d=google.com; s=arc-20160816; b=Fa6igqSC9ABYzmtAjon5WTYGXdqho2cX5kIgSOhYfnZIakAXmmKct/q6QhTvN6q+Cx CHt3D8ra1wzs9jrcYX+nX6sWWsxzHJYhbVM9urJgt07H/kUCMmqLRDmuYacF7yrNjAzD jvi6/6Ua1iKRAz0BbhPsd7S0CnQXYCNXvHGA8t0L1nmz4Tpxi0SUzkrVbvLRSlRaKLyv o0j6DaS0GMYx5QVszxboPgQKpOwf/nFna1ymbdkk2G4nU7NVC3opOGL702j3qlFnP+1C +GA591Y2u2Ur2x3XUgOHsItmK4/zHCCg3V8PA5HW/k+JE70YlCZ9qS7MMcBi/gEc4fzD NpdQ== 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; bh=bWlG+m3AWnUXMG8ENt7T2kY2yf7i/80EB2yG8WT8Bfc=; b=YgJKziXDxqLXgIfuiD4oHLGp1HSlGxirMDrrWvgoR0D7AcW7zmo/Fi88krhOs9x546 7CXlZJdyBW7hHREPdDaxw/tB+JMrz8NZctH33c7YVNNTzFWfgfojFe4EGSwy+LpZBbmM bA5m8dwQEmAOGyTEoIJXniDT6j+lnHwH+f3Voe0StyaUHOeuHZK/IBB0LqbdYW+wN77D f/aPDeiPcoPrREwJ1AH9PBLNG4EBBmJhZQwtHna7YQJ1k4O449pS0ba1GRjD32quRtWi TaOZdwriacJX7tqS9goQP8jACoVVyCKyweum9RBrYqosx+1sKRQgecKGIU0GXgorUhtT oOyw== ARC-Authentication-Results: i=1; mx.google.com; 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 h19-20020a056a001a5300b004fa3a8dff59si1719854pfv.16.2022.03.21.10.50.48; Mon, 21 Mar 2022 10:51:02 -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; 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 S231635AbiCUJ6Z (ORCPT + 99 others); Mon, 21 Mar 2022 05:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345999AbiCUJ6J (ORCPT ); Mon, 21 Mar 2022 05:58:09 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 399EB13700E for ; Mon, 21 Mar 2022 02:56:44 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 22L9jwMZ079098; Mon, 21 Mar 2022 17:45:58 +0800 (GMT-8) (envelope-from dylan_hung@aspeedtech.com) Received: from DylanHung-PC.aspeed.com (192.168.2.216) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 21 Mar 2022 17:56:23 +0800 From: Dylan Hung To: , , , , , , , , , , , , , , CC: , Subject: [PATCH v2 1/3] dt-bindings: net: add reset property for aspeed, ast2600-mdio binding Date: Mon, 21 Mar 2022 17:56:46 +0800 Message-ID: <20220321095648.4760-2-dylan_hung@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220321095648.4760-1-dylan_hung@aspeedtech.com> References: <20220321095648.4760-1-dylan_hung@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.2.216] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 22L9jwMZ079098 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 The AST2600 MDIO bus controller has a reset control bit and must be deasserted before the manipulating the MDIO controller. Signed-off-by: Dylan Hung Cc: stable@vger.kernel.org --- .../devicetree/bindings/net/aspeed,ast2600-mdio.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml index 1c88820cbcdf..8ba108e25d94 100644 --- a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml +++ b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml @@ -23,12 +23,15 @@ properties: reg: maxItems: 1 description: The register range of the MDIO controller instance + resets: + maxItems: 1 required: - compatible - reg - "#address-cells" - "#size-cells" + - resets unevaluatedProperties: false @@ -39,6 +42,7 @@ examples: reg = <0x1e650000 0x8>; #address-cells = <1>; #size-cells = <0>; + resets = <&syscon 35>; ethphy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; -- 2.25.1