Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp46666pxh; Thu, 7 Apr 2022 13:32:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4ErnJQQ/P/vlcYnztxpaml90UTBRx/O1WdP2NPnWN2lk2eBfX4xWPdnXu3fOL0dPfw6pg X-Received: by 2002:a62:170f:0:b0:505:6608:7aeb with SMTP id 15-20020a62170f000000b0050566087aebmr5450594pfx.78.1649363555989; Thu, 07 Apr 2022 13:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649363555; cv=none; d=google.com; s=arc-20160816; b=CTFc02GGSnktSLq52ruYx0LE1sEo+hopaEnJTvlyRHsP6x6dvL0pYTUjU+OTVmexG+ IVvOomJvNooOvL6qNJm/UPSs+04psh6zqc9nKmnQPmYmVIaNc6pSqg3SKufQJIxrPA7Q 6RzfRiw/Na+hldLpjiIgXcZrlSa2x84KsxdBjEnQIoiIe3yquk9j9C6HWLAMlJ0Dw8nR 5yYf7nqvzybZodZ88xX0kAvQ8xNnnv1n7MrnMHEBpZuroDOr7K1gPMEbV5QybUDwxUTI ZyQH7hQy1lIiaFrJVvX+Urlcya7//FrVd0YzpBPVKBlCqnU+8NSFvBXF5ltl0cSBkUg5 sS+A== 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=1CYwTzNNkuzPlDHlSIPSuMeK5ZDgJ65ivrhXPeHynAs=; b=O/NuGTEXSIvdbbpNYyYoaQU5s8i5pFTVGzxXKWOfamJZop0MPzA21OY0hMMqSzLC59 1k7HHpy96oedXuzIs8rF4VAeQCJ8E7jbCryAP/lHCRv7BEqy4iEmMnNPfpbJCBjJEbsQ xvHnjYJTFKqCmvoiUgvoscdWIObY0GClnLLnCXAI21FhzvILY/UZLl6gZvdV5/YXOna4 OlWaepBPoYvxmh9Sx0TO6G2vUCrsJZzbHx+vHaGmIfKVH+twLnwparf+cJDGdJS/9nRH 9NLAUPd5WgBYANcGg8uaVP3K3fwiKKC/ThYiB0VClqAeqViX7z3EE34YeUMNMMyZuvtN 00Rg== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k16-20020a056a00169000b004fa9bb60b22si20387994pfc.120.2022.04.07.13.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:32:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4945D35FCCF; Thu, 7 Apr 2022 12:45:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242406AbiDGIAJ (ORCPT + 99 others); Thu, 7 Apr 2022 04:00:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242489AbiDGH76 (ORCPT ); Thu, 7 Apr 2022 03:59:58 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57AF1111DC0; Thu, 7 Apr 2022 00:57:59 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 2377id9e045432; Thu, 7 Apr 2022 15:44: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; Thu, 7 Apr 2022 15:56:00 +0800 From: Dylan Hung To: , , , , , , , , , , , , , , CC: Subject: [PATCH v3 0/3] Add reset deassertion for Aspeed MDIO Date: Thu, 7 Apr 2022 15:57:31 +0800 Message-ID: <20220407075734.19644-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 2377id9e045432 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,T_SCC_BODY_TEXT_LINE 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. 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