Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp52052lfv; Tue, 12 Apr 2022 16:58:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjCKE0Z9gFIz14Imxm7ZhrH6OhoLgu5pzGXGCPzO62/LBZUBnFm0OAlTDNRY4BAYTZWD2c X-Received: by 2002:a17:90a:558b:b0:1cb:7cf7:7536 with SMTP id c11-20020a17090a558b00b001cb7cf77536mr7781459pji.168.1649807888906; Tue, 12 Apr 2022 16:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649807888; cv=none; d=google.com; s=arc-20160816; b=az4bCKrlce5gDsKmKIs7cEC2AWij23rDur0XPiUHLiOa3i+iy/XtT6DNYBcQ4i0seO td92a9LPVohey8WEdFif/ZfSkYFWUYGLJV8L/aULJ3wyogvVXxbBoIV4jRaYJieil0QV blyFzuRUTdzdRg0Mg8x9NRzweTD0R0KE75urEBoWIrSHjE7rmZVT38j4hW/WohdsLelH wfsQGsea1JX6dhWcLzmXytKtu9yw+zjIu4xkwh3tCeZDycjPNcSlVtHatTpHmuf2G7e+ talAvxRzeRuU7/vJkfTzW/wMBKKy05qK7VsA+ID4oLGBRt3NRcwp0lJg7cUp6uJXkUZ3 Ykgw== 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=o5noJ7Oei8ycLHJShllD2mca7wsSA5ksWI4WxBGLDLc=; b=dhff1ZUoe9gY6YwG3u8rcO9bAo1suoJd1qFb12uEvYirM+vlDkg1CoWI0HLtxqvG8h XyOmnk0djtnNiq3L6VS8cmiHFIw85uFyvYAPBTGtYvIRaWOv1O3aF2y6wM36uWYfXYIc QHcc1EfMH1p1ujm1gdOKh3B2VTee7iDld20xNJfCy3Gjr5pyQ/dWDxoZ0DfQYcD7seQw yW/1ziWrKziTpGkqhS0XyCH6APj+g+9TlADN5kcX1NV7jglILx+wi1Oq6qIV+YbYUTDQ 1jSz3iiQFbYJeY6e+G1OqnHvQ9dRRA/l+4XygW2iU3hebjaRl2C/dYDMEnFSqNsYGe6d cpQA== 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 c1-20020a170902c2c100b0015164c6214bsi11594505pla.2.2022.04.12.16.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:58: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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 29949BD8A9; Tue, 12 Apr 2022 14:53:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351822AbiDLHgL (ORCPT + 99 others); Tue, 12 Apr 2022 03:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352185AbiDLHNg (ORCPT ); Tue, 12 Apr 2022 03:13:36 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E280214026 for ; Mon, 11 Apr 2022 23:54:23 -0700 (PDT) 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 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 23C6gdnT026327 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. 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