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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8FF35C433EF for ; Tue, 12 Apr 2022 07:58:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7aYx+cxIvv5PluMdeeuqS5+CxJh02Ib0Mv7o2AGvr50=; b=WJzPO6cbkV1GT7 eymZkvPCrDNnY11amEHEKnq0PdkQPL0kkJRlKbOT2By/Q97RylUh5jZ5XwiaSAaERjAFdO/R39WFm nHhA0/nh9f83ZPp1Yovrcly1DHwJZLaOcSF+Qv/G3AkFqGnwbswPsiqRRPGX25Dz+5205zi307l3S H8gWTI6D4ZL15myvOx5KFRj/qbrMFRsbumAx9mJHE00hC6tAhDAziKsn2vO2DsFrvqKq8GPi7Ugeh 9M4NzyO2U2LMlvYElqn6OA1eBYIdRs5k3yFr6R7ujCGRpKe9cUJXM1sF+Uu7JaCZYbh4cQ+0ocyWf u7NiXMSOetPAo6zqi1Fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neBOb-00CNXX-J6; Tue, 12 Apr 2022 07:57:06 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neBGQ-00CJTp-Cv for linux-arm-kernel@bombadil.infradead.org; Tue, 12 Apr 2022 07:48:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=o5noJ7Oei8ycLHJShllD2mca7wsSA5ksWI4WxBGLDLc=; b=ob/4z8QfBLXnmXFOd7aHKdq7aS 1oRlQ5HhqWnXHJQnXrV28MKYdlVzZrDJLhjGR3nIMy4dmPVt9aQ5L6qxMmQSuhdZkSHouB+IZCnww YAZ54ADUz5SuEfPjjd3zZ9GuSr2Pk00x0hirA0sjiz05ot9HHc+VAE+ozX6hxoIHDuOSSrK31/3Aw xnqf0KsewxE6apIzkfbZmZ1xM8G4wfOSaefIiOmfGqj9Ey3771BZd2DsuyMVdnwpwkOsGS/3gQe0s /HrDmp+pEs5lDVYm8U7wE0gvo8FT/Khvs1R8Ac7WQ0vvW/iY4gw9a0kbbyNWPscPEb7G5eRz92WoN FtX4Wt6Q==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neAQw-004Euv-K8 for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2022 06:55:29 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 23C6gdnT026327; Tue, 12 Apr 2022 14:42:39 +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; Tue, 12 Apr 2022 14:54:18 +0800 From: Dylan Hung To: , , , , , , , , , , , , , , , CC: Subject: [PATCH v4 0/3] Add reset deassertion for Aspeed MDIO Date: Tue, 12 Apr 2022 14:56:08 +0800 Message-ID: <20220412065611.8930-1-dylan_hung@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 23C6gdnT026327 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220412_075527_601593_A4E2EDC8 X-CRM114-Status: GOOD ( 11.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 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. 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 | 5 +++++ arch/arm/boot/dts/aspeed-g6.dtsi | 4 ++++ drivers/net/mdio/mdio-aspeed.c | 15 ++++++++++++++- 3 files changed, 23 insertions(+), 1 deletion(-) -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel