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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5855EEE14D8 for ; Sun, 10 Sep 2023 10:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245604AbjIJK6h (ORCPT ); Sun, 10 Sep 2023 06:58:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346627AbjIJK6g (ORCPT ); Sun, 10 Sep 2023 06:58:36 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EC69CD3 for ; Sun, 10 Sep 2023 03:58:31 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-401da71b85eso38337645e9.1 for ; Sun, 10 Sep 2023 03:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694343510; x=1694948310; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fNoc1LM/E6H5fy+Umw6YcgnujDKHeqmHqmoV1CSlmdM=; b=SBECwzuKTKTWUWw08Jf+oBt/zXO0hj3iloUr9Yh0twueoAA8O1XQ7qZ7qehiYwDKzW 7/K6lHhZFZ3g0gtpWVZJLsSn2duFCtBI6KFwAtMtHAZOtINNTzVmSUooXILqGZueydaI L4temgMGnjzzskxS1gmU8R+MThG7M4kTgZgVqQFixK2f1B5n9KplW7PMSZmDf4Kldt9Y 76Y5lWXWhCFMMtsf7yrdQftHWSr6ow41uKpCEsaNWJBEs4BfcLRJW5ZAklmomp5xZw8G Jy+E+Tb/mOyOYOYCkb+itkCZJz3V+hXgQhh76W/0BIsGkGWNG4jzr67F/hoGe+XgytMf Dj3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694343510; x=1694948310; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fNoc1LM/E6H5fy+Umw6YcgnujDKHeqmHqmoV1CSlmdM=; b=f69Ab+eeW7EWU/6jsXpj6btR9MOAPDyUynFxyPoogcjEJAuDhhUSjdXf63OCna8mK4 0BmnSS9h8SA1fc/b8Lpd3f9i6SGkop6W5IEOL397F6Hx+S9seW7VCnK0574BUQiAXHhH IXEhlEDo83uHGtcHr5go7BFpC9I7dtYqPyTLcBy0kWSXhKGhrxdBB4YSHmq7CSAoOrjN QwX/dlsrTuOiYi/Elgm2gnqLkdrM4i9PYB56llU4YR+4LkiTSW6kacyfKgKRaOcQIzyG 59l2JV8PJKqZtznLNdVZtKnqxZ4rmC4Wox7BBSqsKn+IDCkA0q3sCJsywvlkiPow9Tg5 iP9g== X-Gm-Message-State: AOJu0YxpeRB8MwjSZNsBiyTSu/YfyQj55z1sVzifIoubNmwpxZ/fZXf4 0O7FL+CdS9VKcaTpRT/GP1pBGgrqZd9+CYe+QmI= X-Google-Smtp-Source: AGHT+IFoqGAqbxgpxpbyQy19z4WlZQXKZGhevIC5ftZ45vMQgeEGXtXNV+pxmpD/KYkA3EFrJ4iasw== X-Received: by 2002:a05:600c:2249:b0:3fe:111a:d1d9 with SMTP id a9-20020a05600c224900b003fe111ad1d9mr6225338wmm.25.1694343509858; Sun, 10 Sep 2023 03:58:29 -0700 (PDT) Received: from [192.168.1.20] ([178.197.214.188]) by smtp.gmail.com with ESMTPSA id u3-20020a05600c210300b003fe601a7d46sm10069910wml.45.2023.09.10.03.58.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Sep 2023 03:58:29 -0700 (PDT) Message-ID: <591b72ea-e89e-3944-5bd9-da967fe78e84@linaro.org> Date: Sun, 10 Sep 2023 12:58:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH V2 2/2] arm: dts: am3517-evm: Enable Ethernet PHY Interrupt Content-Language: en-US To: Adam Ford , linux-omap@vger.kernel.org Cc: aford@beaconembedded.com, =?UTF-8?Q?Beno=c3=aet_Cousson?= , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Derald D. Woods" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230908204828.5242-1-aford173@gmail.com> <20230908204828.5242-2-aford173@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230908204828.5242-2-aford173@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/09/2023 22:48, Adam Ford wrote: > The Ethernet PHY interrupt pin is routed to GPIO_58. Create a > PHY node to configure this GPIO for the interrupt to avoid polling. > > Signed-off-by: Adam Ford > --- > V2: Use current device tree naming convention for led-pins > > diff --git a/arch/arm/boot/dts/ti/omap/am3517-evm.dts b/arch/arm/boot/dts/ti/omap/am3517-evm.dts > index 866f68c5b504..8a3d850a4f0d 100644 > --- a/arch/arm/boot/dts/ti/omap/am3517-evm.dts > +++ b/arch/arm/boot/dts/ti/omap/am3517-evm.dts > @@ -172,11 +172,24 @@ hsusb1_phy: hsusb1_phy { > &davinci_emac { > pinctrl-names = "default"; > pinctrl-0 = <ðernet_pins>; > + phy-mode = "rmii"; > + phy-handle = <ðphy0>; > status = "okay"; > }; > > &davinci_mdio { > + #address-cells = <1>; > + #size-cells = <0>; > status = "okay"; > + > + ethphy0: ethernet-phy@0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&enet_phy_pins>; > + compatible = "ethernet-phy-ieee802.3-c22"; > + reg = <0>; > + interrupt-parent = <&gpio2>; > + interrupts = <26 IRQ_TYPE_LEVEL_LOW>; /* gpio_58 */ > + }; > }; > > &dss { > @@ -257,6 +270,12 @@ OMAP3_CORE1_IOPAD(0x2210, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii_50mhz_clk */ > >; > }; > > + enet_phy_pins: pinmux_ent_phy_pins { No improvements... Best regards, Krzysztof