Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2201290pxb; Fri, 25 Mar 2022 12:56:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8F7MVIhsz3RnSwp9DmriMDrqUbjTmSSTZ1vOaz37p7joxUUYzjwJuWdQ2n2kpYUBNLvN7 X-Received: by 2002:a17:90b:4b89:b0:1c8:105a:2262 with SMTP id lr9-20020a17090b4b8900b001c8105a2262mr4095953pjb.225.1648238209728; Fri, 25 Mar 2022 12:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648238209; cv=none; d=google.com; s=arc-20160816; b=cU48pPYPlrAQcEPhKjIhK34nw4T3BX0Ujg1Kvb82KNZivGuMpV3NQW12B6b/TMkU+e beX+76kAkw6w20NT9/1YKQfsbBt2ykppKyTQEORjtPfioJ0w/woXCfylr08zLO7sGXA2 WwMTo0J37YoTlNaxWzvicMShGxK2pyef3ws4/M7jZimdsqSlKXZ5bnGIim5GGFN7JVWE 2wp6SX/4QXeaHalwNk1tWfYENaV6sLPAJ6y7d4FOW12SeHx86X+Ey+sY9y+PHqK2XPDL 9L3yl2qSLUX/QxNwq3FmyOXbLT2C9woxeSWHIVztCwseXzYF3AIiJ7EgCZZkAvT4RTHR 0TKw== 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=G1VwIBRvZTQq4VG97LYWnErrpPbWZkjM25qb/DJHohUzK5RMoeXp5lcHiJrYvMhQK0 xJSgXfddijwDBVxnhvjiqxcRF9xI5dXj5+pfWjlmqsGMNNocZnX3Hme6KkxudpIJr1rL CrdzfeWo6gkkLWz2yJ2mXckOLm6o/ILIpY9OSFrIlyWxnktTaKFnV0x0qDdI8tn0Fo7W t3wtVRhL8hblveZgOR0XjEEFyNzmSEiWYBqWAVhD5krNgwp7EM2S0ZN5xUeBfy+q0bki Bj/wigZsB1Kvf9nJhRGovuBjjU64NWIYcqn8MmJmzauvbndYHw79KMN+RUYbB4Oc/6ll VzoQ== 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 bj8-20020a056a02018800b003816043ef7dsi3170976pgb.370.2022.03.25.12.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:56:49 -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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C1DC81A774F; Fri, 25 Mar 2022 11:45:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353558AbiCYESp (ORCPT + 99 others); Fri, 25 Mar 2022 00:18:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356448AbiCYEST (ORCPT ); Fri, 25 Mar 2022 00:18:19 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5508C6273; Thu, 24 Mar 2022 21:16:44 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 22P43YWi035810; Fri, 25 Mar 2022 12:03:34 +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; Fri, 25 Mar 2022 12:14:11 +0800 From: Dylan Hung To: , , , , , , , , , , , , , , CC: Subject: [PATCH v3 0/3] Add reset deassertion for Aspeed MDIO Date: Fri, 25 Mar 2022 12:14:48 +0800 Message-ID: <20220325041451.894-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 22P43YWi035810 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