Skip to content

Commit d6e4bd1

Browse files
Frank Wanggregkh
authored andcommitted
nvmem: rockchip-efuse: amend compatible rk322x-efuse to rk3228-efuse
As the comments from Heiko Stuebner <heiko@sntech.de> that compatible should not contain any placeholders, this patch fix it for rk3228 SoC. Note that this is a fix for v4.13, due to fixing the current non-standard binding name that should not become part of an official kernel release. Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ceb8a12 commit d6e4bd1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Required properties:
44
- compatible: Should be one of the following.
55
- "rockchip,rk3066a-efuse" - for RK3066a SoCs.
66
- "rockchip,rk3188-efuse" - for RK3188 SoCs.
7-
- "rockchip,rk322x-efuse" - for RK322x SoCs.
7+
- "rockchip,rk3228-efuse" - for RK3228 SoCs.
88
- "rockchip,rk3288-efuse" - for RK3288 SoCs.
99
- "rockchip,rk3399-efuse" - for RK3399 SoCs.
1010
- reg: Should contain the registers location and exact eFuse size

‎drivers/nvmem/rockchip-efuse.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static const struct of_device_id rockchip_efuse_match[] = {
170170
.data = (void *)&rockchip_rk3288_efuse_read,
171171
},
172172
{
173-
.compatible = "rockchip,rk322x-efuse",
173+
.compatible = "rockchip,rk3228-efuse",
174174
.data = (void *)&rockchip_rk3288_efuse_read,
175175
},
176176
{

0 commit comments

Comments
 (0)