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=-10.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 DDC64C433E0 for ; Mon, 18 Jan 2021 00:11:28 +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 9C5D820791 for ; Mon, 18 Jan 2021 00:11:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C5D820791 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mjBi7u2kuv1Ulbl0MdOODYOsN+uNZDZXlFohxHQie1M=; b=zamfhSH0nAUCNxQcJT06YS6ei CfLylhXK0+ajGddGTE4sfxDpVPtL/E4P4o+/KdLhTOSh0HlKofBNMC/TFpemmKkJlnh31JSUH0BfN UNtxdYP4NN1E1HoyP5BOfWIyvVp+DCDLZz8uvuLzqL3nE2gizdsmRV8lz2pqgsO7Yi2pXhqoXlMPi bmbGgCQfR5mKRrqcS+F/RBfdHSVsL8NL1hS4dD8uX7KXuzhpY/o94mpnxyTDQu0VsgYwgUWXcaTjT JUfUlqu8BL8jQZ6G1uNgtSfomc3AJ9yf469AWCPSSe5zW93+m8q8xUeZ15Ye0AXhfvS86yqbo9nNp 9SMdIh7RQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l1I7f-00058o-EP; Mon, 18 Jan 2021 00:10:19 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l1I7d-00058F-FE for linux-arm-kernel@lists.infradead.org; Mon, 18 Jan 2021 00:10:18 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id DA01720791; Mon, 18 Jan 2021 00:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610928616; bh=zu1FAK1yf3pAW6lnVI8fZqgy5H++M78tDful7+bZ7ME=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mvmKA3bvVAmmhEmhj3tyzJqp5no018+rUxm2TRd6ya3R2r0v33Gbp6EZoGglR+NNE i/p3fL48Z1da9eYQWMEFOokKtCjqAuolW8LnIbDgQrfyi41AnQ07/mLuhE81s0RLxu gwgDTnd0sYY8qTNkSeZg+/IjKVd9ueivUvZvj5FeyqheTKJ80OK2bPz+0RVsnF+jvR YP5ghq15C46iIIbMjjRVGyXNvNlUGXKUdBjO16lPVwt0x/rb8RnxsR3HDmHa2RM4Ip c8czu+n9f4eCA/618YrtYPBQ3Rn9wpvjVJ6cMH6xqENq8tRolEi6z6hF00tbPBqk3G CKJZZP2D26orA== Date: Mon, 18 Jan 2021 08:10:12 +0800 From: Shawn Guo To: Fabio Estevam Subject: Re: [PATCH 2/4] ARM: dts: imx6ul-14x14-evk: Enable the GPIO expander Message-ID: <20210118001012.GW28365@dragon> References: <20210107235044.7897-1-festevam@gmail.com> <20210107235044.7897-2-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210107235044.7897-2-festevam@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210117_191017_583424_5F86BE69 X-CRM114-Status: GOOD ( 16.70 ) 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: linux-arm-kernel@lists.infradead.org, andrew@lunn.ch, linux-imx@nxp.com, kernel@pengutronix.de 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 On Thu, Jan 07, 2021 at 08:50:42PM -0300, Fabio Estevam wrote: > Currently the 74LV595PW GPIO expander is not functional because its OE > pin is not driven low. > > Make it funcional by passing the 'enable-gpios' property inside the > GPIO expander node. > > After putting the OE pin in low state, the outputs of the 74LV595PW all > go low. > > The two KSZ8081 Ethernet PHYs reset lines are driven from the > the GPIO expander and as they remain low, this causes the Ethernet > PHYs not to be detected. > > There is one solution to this problem as suggested by Andrew Lunn: > > "Some devices will respond to MDIO while held in reset, some don't. > If your PHYs don't you need to add a compatible of the form > ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$ with the PHY ID. The PHY > will then be probed, independent of if it can be found on the bus or > not, and that probing will enable the GPIO." > > So pass the "ethernet-phy-id0022.1560" for the KSZ8081 PHYs so that they > both can be functional after 74LV595PW is activated. > > Suggested-by: Andrew Lunn > Signed-off-by: Fabio Estevam Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel