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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 8778EC433DB for ; Fri, 8 Jan 2021 01:05:02 +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 408D623447 for ; Fri, 8 Jan 2021 01:05:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 408D623447 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch 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=smenSTHdpEPMC1QnzaOAFHoIZcmmQjjQdGSxmjkLN68=; b=EN/4yDaVwp7MkbSve75A+SOmf z8uQ0RENO5YQmQbSo0zzIktpM2SnyyACluYXgrPCKaADIqb9GKHK2sGsDERytZPA3M7RK6E/VCgr+ +ko1wocQKqn7Ak4VzRkG2LJqmSaDTuNvB6fE6MUn0vG8hkONV78RDkpyIsY9Q1V4DvPElIUFosf86 Bk2QMCaEwcbvjGY4z9SKr28LSFq6Dx5IMBFjaWdP9l9JpiEyf3S0HiGA6UIg5OMieHCP/RGdEvjkr ekF2LmSeJxiofzJCQDcN7T+5ZyHxC6GrjXGkfpPU2yyODdxFUZktFtjkLOpI/zbC2oc2moFYuY0IG tTTShPEkA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxgBD-0006Dc-Sk; Fri, 08 Jan 2021 01:03:03 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxgBA-0006Co-Oh for linux-arm-kernel@lists.infradead.org; Fri, 08 Jan 2021 01:03:02 +0000 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kxgB4-00GnKl-IM; Fri, 08 Jan 2021 02:02:54 +0100 Date: Fri, 8 Jan 2021 02:02:54 +0100 From: Andrew Lunn To: Fabio Estevam Subject: Re: [PATCH 2/4] ARM: dts: imx6ul-14x14-evk: Enable the GPIO expander Message-ID: 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210107_200300_826824_96653C77 X-CRM114-Status: GOOD ( 16.44 ) 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: kernel@pengutronix.de, shawnguo@kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org 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 Reviewed-by: Andrew Lunn Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel