[PATCH v1 6/9] reset: intel: Add and update compatible strings Lantiq SoCs

From: Martin Blumenstingl
Date: Tue Jun 28 2022 - 08:45:51 EST


Amazon-SE, Danube and xRX100 only have one reset request and one status
register whereas xRX200 has two of each. Add compatible strings for the
former three and update the compatible string for xRX200 to the same as
in Documentation/devicetree/bindings/mips/lantiq/rcu.txt (old RCU
binding documentation).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>
---
drivers/reset/reset-intel-gw.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/reset/reset-intel-gw.c b/drivers/reset/reset-intel-gw.c
index effc177db80a..46ed7a693666 100644
--- a/drivers/reset/reset-intel-gw.c
+++ b/drivers/reset/reset-intel-gw.c
@@ -223,7 +223,7 @@ static int intel_reset_probe(struct platform_device *pdev)
return 0;
}

-static const struct intel_reset_soc xrx200_data = {
+static const struct intel_reset_soc xway_data = {
.legacy = true,
.reset_cell_count = 3,
};
@@ -235,7 +235,10 @@ static const struct intel_reset_soc lgm_data = {

static const struct of_device_id intel_reset_match[] = {
{ .compatible = "intel,rcu-lgm", .data = &lgm_data },
- { .compatible = "intel,rcu-xrx200", .data = &xrx200_data },
+ { .compatible = "lantiq,ase-rcu", .data = &xway_data },
+ { .compatible = "lantiq,danube-rcu", .data = &xway_data },
+ { .compatible = "lantiq,xrx100-rcu", .data = &xway_data },
+ { .compatible = "lantiq,xrx200-rcu", .data = &xway_data },
{}
};

--
2.36.1