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 X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 783EBC433E1 for ; Mon, 13 Jul 2020 13:07:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 486B520738 for ; Mon, 13 Jul 2020 13:07:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YK7j6+PO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="puQ72ZQW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 486B520738 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kpnXhLQbZsYvuf/VFLCzrhqYPw0DAGDS2Gzku/VAXC4=; b=YK7j6+POQkKAvNmei00qjyWJ9q 8wgMP+LP9HN7TrnAzk09GO3Vya11jg2/m0qNoNlEPDR2H+lrw0AjirJFBYvx4pazdbJiX632476sS HkBHmtX0FCtQBV93xuTco839Q6+MMUwbO9FNdfhBJJN9hVDiqkk8XjiI223jmfsXzgBQZEDnwBhNA 8W4DHhtt2R2jYOf1e4gY5X6fOzY6NMK+KX91LxQiVtoCyWISynxzrGGcfxp1bUchPnMvMbGGtYz11 b6891yBypeHQ7TEqOskuGfQ2r5wD+5Z1RsveAaAkYmsxtjKc9IVWXAwyXqjGrK7HWEfCMPS9C9cA+ vOnEVf0g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1juy9S-0003mH-JG; Mon, 13 Jul 2020 13:05:46 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1juy9L-0003jT-PJ for linux-arm-kernel@lists.infradead.org; Mon, 13 Jul 2020 13:05:41 +0000 Received: by mail-qk1-x742.google.com with SMTP id z63so11997968qkb.8 for ; Mon, 13 Jul 2020 06:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rP3IRVdkQSOxZSzm0vvnj6m7CN4ScJVu2vpqcvww3dU=; b=puQ72ZQWvJzzuZ8ojTyI6zTHrUalj7XBvQFGFgEdEmcEX1s/C5iSUQBmVMybhF3NvA a8gOz04+XqRmlU75/z3RCSNTrb8AzvHTR2ULErY/d2Wcug+8xXZQN9zfmL9zPjg6deAH UH4Po+GmJy7b4FdpvcVPEWfGEZF6rs+qfB1KPBOtIJFDzk/wln99uPMFYm3Q9lIFX5KN gM7I7OIGUBUpmKfv/7CD7o8C/4Sfx1W1yzEZHktksnc4DTvDXQQcRVkbWvQ4UWIoTU6m /r04fKqFnXb6eI93ShNDtX6Q5i9rwjjeRCZMo25jVYAIcTigHI4sFzsATTNBUFyxxRlL 5mHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rP3IRVdkQSOxZSzm0vvnj6m7CN4ScJVu2vpqcvww3dU=; b=nijAwu8NoUmP+Vs+fI6rrUpo7QYMKvzDvkQ8bVdpw4qWiyP9g9FcjDW0uR5LuGpxn0 480tUQgqYXaAWn3febSji7bWTMFg+4QW/xBHPHV30myto7RDR+gsVxCuCrsdZIY2LMxf Z1jLzZZ8cPPjN6F37z58jThk3f7t0yGttecpAQOqbsmGl1fFvF07KyhjpLbjYg/JrQkR vFlcpCa/dYai8bJb3hXKbiXX1f0iytEt0v+WzU8UShOKeJy73m0BXcCLoNWSi+oJAgUi wga2mZ/LyPseCAonCBn37adwVq/7dbH8jWA4DynfCNQp112xw5T1JaA+JPYSQzFN/wf1 U+VA== X-Gm-Message-State: AOAM530iNOg+5r6GTDo8HD8/4RMHFP2UU3bQ9/o7SigILDZuWANQYExe KsheZdXMmRfInZ6IDfcoNV+aLIhtw5M= X-Google-Smtp-Source: ABdhPJyVbuE3rlflkgIJ6zWGfzGjC2GC1QoXZb33tW6QIAgLBfASqkx+rrnhh20Ib5G9U1UbLYjVSQ== X-Received: by 2002:a37:8cc6:: with SMTP id o189mr64455314qkd.86.1594645537792; Mon, 13 Jul 2020 06:05:37 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:92b:9d6d:2996:7c26:fb1d]) by smtp.gmail.com with ESMTPSA id r185sm19149145qkb.39.2020.07.13.06.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 06:05:37 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH v3 2/2] ARM: dts: imx6q-tbs2910: Pass reset-assert-us Date: Mon, 13 Jul 2020 10:05:09 -0300 Message-Id: <20200713130509.20105-2-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200713130509.20105-1-festevam@gmail.com> References: <20200713130509.20105-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200713_090539_875400_E3D80C4A X-CRM114-Status: GOOD ( 12.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: smoch@web.de, Fabio Estevam , linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 According to the AR8035 datasheet: "When using crystal, the clock is generated internally after power is stable. For a reliable power on reset, suggest to keep asserting the reset low long enough (10ms) to ensure the clock is stable and clock-to-reset 1ms requirement is satisfied." Pass the 'reset-assert-us' property to describe such requirement. While at it, use the 'reset-gpios' property inside the the mdio node instead of the deprecated usage of 'phy-reset-gpios'. Signed-off-by: Fabio Estevam --- Changes since v2: - Use reset-gpios and reset-assert-us inside the mdio node instead of the deprecated usage of phy-reset-gpios (Soeren) arch/arm/boot/dts/imx6q-tbs2910.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6q-tbs2910.dts b/arch/arm/boot/dts/imx6q-tbs2910.dts index 1f34028c6397..861e05d53157 100644 --- a/arch/arm/boot/dts/imx6q-tbs2910.dts +++ b/arch/arm/boot/dts/imx6q-tbs2910.dts @@ -99,7 +99,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; phy-handle = <&phy>; status = "okay"; @@ -110,6 +109,8 @@ phy: ethernet-phy@4 { reg = <4>; qca,clk-out-frequency = <125000000>; + reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; }; }; }; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel