Re: [PATCH v2 05/10] riscv: ae350: dts: Update L2 cache compatible string

2023-02-07 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) 
> Sent: Monday, February 06, 2023 4:11 PM
> To: u-boot@lists.denx.de
> Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) 
> ; prabhakar.cse...@gmail.com; Peter Yu-Chien Lin(林宇謙) 
> 
> Subject: [PATCH v2 05/10] riscv: ae350: dts: Update L2 cache compatible string
>
> Update the compatible string of L2 cache.
>
> Signed-off-by: Yu Chien Peter Lin 
> Reviewed-by: Leo Yu-Chi Liang 
> ---
>  arch/riscv/dts/ae350_32.dts | 2 +-
>  arch/riscv/dts/ae350_64.dts | 2 +-
>  drivers/cache/cache-v5l2.c  | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Rick Chen 


[PATCH v2 05/10] riscv: ae350: dts: Update L2 cache compatible string

2023-02-06 Thread Yu Chien Peter Lin
Update the compatible string of L2 cache.

Signed-off-by: Yu Chien Peter Lin 
Reviewed-by: Leo Yu-Chi Liang 
---
 arch/riscv/dts/ae350_32.dts | 2 +-
 arch/riscv/dts/ae350_64.dts | 2 +-
 drivers/cache/cache-v5l2.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/riscv/dts/ae350_32.dts b/arch/riscv/dts/ae350_32.dts
index 96ef8bd8dd..61af6d5465 100644
--- a/arch/riscv/dts/ae350_32.dts
+++ b/arch/riscv/dts/ae350_32.dts
@@ -112,7 +112,7 @@
};
 
L2: l2-cache@e050 {
-   compatible = "v5l2cache";
+   compatible = "cache";
cache-level = <2>;
cache-size = <0x4>;
reg = <0xe050 0x4>;
diff --git a/arch/riscv/dts/ae350_64.dts b/arch/riscv/dts/ae350_64.dts
index cddbaec98a..8c7db29b4f 100644
--- a/arch/riscv/dts/ae350_64.dts
+++ b/arch/riscv/dts/ae350_64.dts
@@ -112,7 +112,7 @@
};
 
L2: l2-cache@e050 {
-   compatible = "v5l2cache";
+   compatible = "cache";
cache-level = <2>;
cache-size = <0x4>;
reg = <0x0 0xe050 0x0 0x4>;
diff --git a/drivers/cache/cache-v5l2.c b/drivers/cache/cache-v5l2.c
index e782430c57..c6d3a8f893 100644
--- a/drivers/cache/cache-v5l2.c
+++ b/drivers/cache/cache-v5l2.c
@@ -184,7 +184,7 @@ static int v5l2_probe(struct udevice *dev)
 }
 
 static const struct udevice_id v5l2_cache_ids[] = {
-   { .compatible = "v5l2cache" },
+   { .compatible = "cache" },
{}
 };
 
-- 
2.34.1