Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2527974pxb; Mon, 18 Apr 2022 02:26:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXa8nSfH/fJe3i2JA8i0jlGHXLiOVvdMyG78jk5E3gVhf5bqX9ZscfcXfxfMRsum+rOzZQ X-Received: by 2002:a17:907:3d8b:b0:6ef:ac6c:54de with SMTP id he11-20020a1709073d8b00b006efac6c54demr3626961ejc.292.1650273997693; Mon, 18 Apr 2022 02:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650273997; cv=none; d=google.com; s=arc-20160816; b=KkbfEJfH/cOw6tqOim+ZBaZpnOhG0oQ12FVyKEtH0We65EKmMpwkhV4dKqYfYakaJu vqxHm4LW0GMoyK190hmsztVJByMpLICBJ+ppPl8MkSYyiZi534x5IUjXPlKRRtK0+uzM bDe0COgBYESOcyIiAINZmdmWsaWeT1K337h+InFj97+hepXkXYjnH/mpZS8GEt+WLmMh XfYvvccHJfNHH6nwF29Hio4o6leVxtD3rDTEv4k4mPJk2zYFCQw5X2yPaZSU0UZYHut1 mMHw+Gd4ZaJGgUxeNJpwsL0dXvRFUyIrRvkfISQtKg96lnIi/kszVg1DShUj7+f48aID xjvQ== 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=II2SZwExf/I2tDvYSzH7atBqfs34WMKzLQFRLcmwl+c=; b=qob+3cgSonebt65GdbqpDGL8UFZll1S7Fl7xBb0FZwlIXy141FlyeRYefNe4ot0BRR +J8tS4GSd7D3EFOl50qVeSGtCyaDKI01loi/dyswv6u6Th/0bINTk2CLIHip6DGiginY 7J8j+NrriYwhhK3oLTWLnHFNtAvx3bTAcKLhiHs++q88YpMfbD44/TYGD1VYMxXvxP4T G1F60uME/LN1fYNTu9dIB5uRRwl0wPmf1NepA0P3OXeXIq2wDSdimO5TZNsBjonKnXti XIRDl8rMIZK59wiRFGaKPy6dHRb1BQitzIKje8WNvxp7y0f4rDzx8SBSU9b/RuBt3EuK gJdg== 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 b6-20020a17090636c600b006ef8550b474si3607334ejc.211.2022.04.18.02.26.14; Mon, 18 Apr 2022 02:26:37 -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 S235627AbiDRBl0 (ORCPT + 99 others); Sun, 17 Apr 2022 21:41:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232339AbiDRBlZ (ORCPT ); Sun, 17 Apr 2022 21:41:25 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 747F8B87C for ; Sun, 17 Apr 2022 18:38:47 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 23I1QgcW071540; Mon, 18 Apr 2022 09:26:42 +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, 18 Apr 2022 09:38:41 +0800 From: Dylan Hung To: , , , , , , , , , , , , , , , CC: Subject: [PATCH net-next RESEND v5 0/3] Add reset deassertion for Aspeed MDIO Date: Mon, 18 Apr 2022 09:40:56 +0800 Message-ID: <20220418014059.3054-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 23I1QgcW071540 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 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. 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