Re: [PATCH v3 2/2] phy: intel: Add Keem Bay USB PHY support

From: Andy Shevchenko
Date: Thu Nov 12 2020 - 09:28:17 EST


On Thu, Nov 12, 2020 at 05:58:21PM +0800, Wan Ahmad Zainie wrote:
> Add support for USB PHY on Intel Keem Bay SoC.

Any elaboration here? What is this PHY (USB2 or USB3 or?.. etc)?

...

> +config PHY_INTEL_KEEMBAY_USB
> + tristate "Intel Keem Bay USB PHY driver"

> + depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST)

It seems other drivers that are not using ARM specific calls moved to

depends on ARCH_KEEMBAY || COMPILE_TEST

> + depends on HAS_IOMEM
> + select GENERIC_PHY
> + select REGMAP_MMIO

...

> +#define USS_CPR_MASK 0x7f

GENMASK() ?

...

> +static const struct regmap_config keembay_regmap_config = {
> + .reg_bits = 32,
> + .val_bits = 32,
> + .reg_stride = 4,

.max_register?

> +};

--
With Best Regards,
Andy Shevchenko