Re: [PATCH] ARM: i.MX8MP: add Koenig+Bauer Alphajet board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sascha,

On 23-06-01, Sascha Hauer wrote:
> On Thu, Jun 01, 2023 at 09:40:29AM +0200, Johannes Zink wrote:

...

> > +#define EQOS_PWR_PIN IMX_GPIO_NR(1, 5) /* ENET_PWREN# */
> > +static void setup_ethernet_phy(void)
> > +{
> > +	u32 val;
> > +
> > +	of_device_ensure_probed_by_alias("gpio0");
> > +
> > +	if (gpio_direction_output(EQOS_PWR_PIN, 0))
> > +	{
> > +		pr_err("eqos phy power: failed to request pin\n");
> > +		return;
> > +	}
> 
> Should this be a fixed regulator in dt?

Sorry for stepping in here. I think the problem was that neither the
kernel nor the barebox EQOS driver support the regulator feature. But
you're right this should be the correct solution.

Regards,
  Marco




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux