[PATCH 1/6] reset: bcm6345: add support for bcm63xx ephy control register

Kyle Hendry posted 6 patches 7 months ago
There is a newer version of this series
[PATCH 1/6] reset: bcm6345: add support for bcm63xx ephy control register
Posted by Kyle Hendry 7 months ago
The ephy control register on bcm63xx SoCs contain bits for
resetting individual internal phys. Use the existing bcm6345-reset
driver to set bits.

Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com>
---
 drivers/reset/reset-bcm6345.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c
index aa9353439e70..56518f7bfbb3 100644
--- a/drivers/reset/reset-bcm6345.c
+++ b/drivers/reset/reset-bcm6345.c
@@ -119,6 +119,7 @@ static int bcm6345_reset_probe(struct platform_device *pdev)
 
 static const struct of_device_id bcm6345_reset_of_match[] = {
 	{ .compatible = "brcm,bcm6345-reset" },
+	{ .compatible = "brcm,bcm63xx-ephy-ctrl" },
 	{ /* sentinel */ },
 };
 
-- 
2.43.0
Re: [PATCH 1/6] reset: bcm6345: add support for bcm63xx ephy control register
Posted by Krzysztof Kozlowski 5 months, 3 weeks ago
On 09/07/2025 04:47, Kyle Hendry wrote:
> The ephy control register on bcm63xx SoCs contain bits for
> resetting individual internal phys. Use the existing bcm6345-reset
> driver to set bits.
> 
> Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com>
> ---
>  drivers/reset/reset-bcm6345.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c
> index aa9353439e70..56518f7bfbb3 100644
> --- a/drivers/reset/reset-bcm6345.c
> +++ b/drivers/reset/reset-bcm6345.c
> @@ -119,6 +119,7 @@ static int bcm6345_reset_probe(struct platform_device *pdev)
>  
>  static const struct of_device_id bcm6345_reset_of_match[] = {
>  	{ .compatible = "brcm,bcm6345-reset" },
> +	{ .compatible = "brcm,bcm63xx-ephy-ctrl" },
So devices are compatible?

Best regards,
Krzysztof