Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4414690ioa; Wed, 27 Apr 2022 03:25:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNqD7wOfUsJpbbp2wDFtfLgywh3b94ZlZKm0/FUu6IPS8jwavqGvZerZbwJpU23U7m4h+l X-Received: by 2002:a17:90a:ab90:b0:1da:375f:2f44 with SMTP id n16-20020a17090aab9000b001da375f2f44mr2880630pjq.33.1651055108098; Wed, 27 Apr 2022 03:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651055108; cv=none; d=google.com; s=arc-20160816; b=H8nqD8Ea5TrlpSYX7iqbK4HapvP7tDekKDrpMC87LyHBQIH+ckTKtYRJWhNtrQgril z0ayP9anfQsZEkGtfKAfl/9/X8ng6jdAjx343ENecfr5UABcIf1F6vauNPBd7xZGH+9O CUV51xnVsoDGIh6vIEXNgYx7Dm26sd0lnUX3x0kF0JuXprI9mHoggYeGIMmFkl6q96i0 7doYxYY2Jj2VWaGe7chynJaWFwItna6JlyIkwWkv2mXX3F7MwJrqEOcGfdzm5q6qEcpt LV/FSGrO4zH7l4GdHz3UZmwhFv0I66pUCwLLSqCObNwX5NHUHp/3QUgVFVbEaFPd9Jyr B9jw== 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 :message-id:date:subject:cc:to:from; bh=N5JGQAncgKtgLzg9t4OVatYpxa2Cm3K9zRkWxDJ+5d8=; b=HMpEbwRu51xSqX2dAqTfUJHFNm2WS9pHuSIylOEWyfjrbdfNsDa22yMrw2/F2HgWv5 eCLvSj1vg03caW90CI4H3ETOy2KAPwG8PZH2iwZl5jMMXUgH2wiUEbAE0pxzEPkH/4xK O15wFB4zJklSVR1rPq4R86KQ8shqe+nQemaLIw5/UggnnXvzmf8MpY/W3WW7xqYbb79c 93QYTEwGV+X67kMm3jsQRkLJikA2E4l7ZGAEt+f/18ufRp3tfzra5CGbyEdKGkeRDYfL 4K4/TezOjVR2kh4YUTjUCkEGnnQ0t6sbFQqU6uHM+utJ/damLtlUGLWV7EDJxOM2h+ay uh7A== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t4-20020a170902b20400b00153b2d164casi1186247plr.210.2022.04.27.03.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:25:08 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C61AA3808DF; Wed, 27 Apr 2022 02:42:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357586AbiD0D6W (ORCPT + 99 others); Tue, 26 Apr 2022 23:58:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239032AbiD0D6T (ORCPT ); Tue, 26 Apr 2022 23:58:19 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F095E92 for ; Tue, 26 Apr 2022 20:55:06 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 23R3gS9v032326; Wed, 27 Apr 2022 11:42:28 +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; Wed, 27 Apr 2022 11:54:58 +0800 From: Dylan Hung To: , , , , , , , , , , , , , , , CC: Subject: [PATCH net-next v6 0/3] Add reset deassertion for Aspeed MDIO Date: Wed, 27 Apr 2022 11:54:58 +0800 Message-ID: <20220427035501.17500-1-dylan_hung@aspeedtech.com> X-Mailer: git-send-email 2.25.1 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 23R3gS9v032326 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no 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 Add missing reset deassertion for Aspeed MDIO bus controller. The reset is asserted by the hardware when power-on so the driver only needs to deassert it. To be able to work with the old DT blobs, the reset is optional since it may be deasserted by the bootloader or the previous kernel. V6: - fix merge conflict for net-next V5: - fix error of dt_binding_check V4: - use ASPEED_RESET_MII instead of hardcoding in dt-binding example V3: - remove reset property from the required list of the device tree bindings - remove "Cc: stable@vger.kernel.org" from the commit messages - add more description in the commit message of the dt-binding V2: - add reset property in the device tree bindings - add reset assertion in the error path and driver remove Dylan Hung (3): dt-bindings: net: add reset property for aspeed, ast2600-mdio binding net: mdio: add reset control for Aspeed MDIO ARM: dts: aspeed: add reset properties into MDIO nodes .../bindings/net/aspeed,ast2600-mdio.yaml | 6 ++++++ arch/arm/boot/dts/aspeed-g6.dtsi | 4 ++++ drivers/net/mdio/mdio-aspeed.c | 15 ++++++++++++++- 3 files changed, 24 insertions(+), 1 deletion(-) -- 2.25.1