linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josua Mayer <josua@solid-run.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Jon Nettleton <jon@solid-run.com>,
	Mikhail Anikin <mikhail.anikin@solid-run.com>,
	Yazan Shhady <yazan.shhady@solid-run.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
	"imx@lists.linux.dev" <imx@lists.linux.dev>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v4 7/8] arm64: dts: add description for solidrun solidsense-n8 board
Date: Wed, 10 Dec 2025 14:21:56 +0000	[thread overview]
Message-ID: <eb258010-3778-4852-833d-a51a6b3ca36c@solid-run.com> (raw)
In-Reply-To: <c06e5a6b-6150-4771-8ff6-b2cda0863a21@lunn.ch>

Hi Andrew,

Am 01.12.25 um 14:49 schrieb Andrew Lunn:
>> +&fec1 {
>> +	pinctrl-names = "default";
>> +	pinctrl-0 = <&fec1_pins>;
>> +	phy-mode = "rgmii-id";
>> +	phy-handle = <&phy4>;
>> +	local-mac-address = [00 00 00 00 00 00];
>> +	fsl,magic-packet;
> Has WoL been tested, or is this copy/paste from the binding
> documentation?

This is copy-paste by previous developers which I did not validate.

So I may wish to drop both local-mac-address property
(should be automatic by u-boot),

and drop the magic-packet here.

>
>> +	status = "okay";
>> +
>> +	mdio {
>> +		#address-cells = <1>;
>> +		#size-cells = <0>;
>> +
>> +		/*
>> +		 * Depending on board revision two different phys are used:
>> +		 * - v1.1: atheros phy at address 4
>> +		 * - v1.2+: analog devices phy at address 0
>> +		 * Configure first version by default.
>> +		 * On v1.2 and later, U-Boot will enable the correct phy
>> +		 * based on runtime detection and patch dtb accordingly.
>> +		 */
>> +
>> +		/* ADIN1300 */
>> +		phy0: ethernet-phy@0 {
>> +			reg = <0>;
>> +			reset-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
>> +			reset-assert-us = <10>;
>> +			reset-deassert-us = <5000>;
>> +			interrupt-parent = <&gpio1>;
>> +			interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
> The analog devices PHY has interrupts, so can it implement WoL? Has
> this been tested?
Interrupts were tested, WoL was not.
>
>> +		/* AR8035 */
>> +		phy4: ethernet-phy@4 {
>> +			reg = <4>;
>> +			reset-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
>> +			reset-assert-us = <10000>;
>> +			status = "okay";
> The Atheros PHY does not interrupts, so i assume it cannot support
> WoL? You only have MAC WoL?
We have never tested any off states where the phy was still on.
Instead the board is designed to be always-in with supercap to cover
glitches and/or ensure graceful shutdown.

So I suggest dropping any traces of WoL.

regards
Josua Mayer

  reply	other threads:[~2025-12-10 14:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-01 13:07 [PATCH v4 0/8] arm64: dts: add description for solidrun imx8mp hummingboard-iiot Josua Mayer
2025-12-01 13:07 ` [PATCH v4 1/8] dt-bindings: arm: fsl: Add various solidrun i.mx8m boards Josua Mayer
2025-12-01 13:07 ` [PATCH v4 2/8] Input: ilitek_ts_i2c: fix warning with gpio controllers that sleep Josua Mayer
2025-12-01 13:07 ` [PATCH v4 3/8] arm64: dts: imx8mp-hummingboard-pulse/cubox-m: fix vmmc gpio polarity Josua Mayer
2025-12-01 13:07 ` [PATCH v4 4/8] arm64: dts: imx8mp-hummingboard-pulse: fix mini-hdmi dsi port reference Josua Mayer
2025-12-01 13:07 ` [PATCH v4 5/8] arm64: dts: imx8mp-sr-som: build dtbs with symbols for overlay support Josua Mayer
2025-12-01 13:07 ` [PATCH v4 6/8] arm64: dts: add description for solidrun imx8mp hummingboard-iiot Josua Mayer
2025-12-01 13:07 ` [PATCH v4 7/8] arm64: dts: add description for solidrun solidsense-n8 board Josua Mayer
2025-12-01 13:49   ` Andrew Lunn
2025-12-10 14:21     ` Josua Mayer [this message]
2025-12-01 13:07 ` [PATCH v4 8/8] arm64: dts: add description for solidrun i.mx8mm som and evb Josua Mayer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eb258010-3778-4852-833d-a51a6b3ca36c@solid-run.com \
    --to=josua@solid-run.com \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=jon@solid-run.com \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikhail.anikin@solid-run.com \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=yazan.shhady@solid-run.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).