diff mbox

[v2,3/4] nvmem: rockchip: add support for RK3368

Message ID 20170904085119.25981-4-romain.perier@collabora.com (mailing list archive)
State New, archived
Headers show

Commit Message

Romain Perier Sept. 4, 2017, 8:51 a.m. UTC
This adds the necessary function for handling support on RK3368 SoCs

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt | 1 +
 drivers/nvmem/rockchip-efuse.c                             | 4 ++++
 2 files changed, 5 insertions(+)

Comments

Heiko Stübner Oct. 14, 2017, 9:31 p.m. UTC | #1
Hi Srinivas,

Am Montag, 4. September 2017, 10:51:18 CEST schrieb Romain Perier:
> This adds the necessary function for handling support on RK3368 SoCs
> 
> Signed-off-by: Romain Perier <romain.perier@collabora.com>
> Acked-by: Rob Herring <robh@kernel.org>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>

Srinivas, could you take a look at this patch and maybe pick it up?


Thanks
Heiko
Srinivas Kandagatla Oct. 16, 2017, 9:09 a.m. UTC | #2
On 14/10/17 22:31, Heiko Stuebner wrote:
> Hi Srinivas,
> 
> Am Montag, 4. September 2017, 10:51:18 CEST schrieb Romain Perier:
>> This adds the necessary function for handling support on RK3368 SoCs
>>
>> Signed-off-by: Romain Perier <romain.perier@collabora.com>
>> Acked-by: Rob Herring <robh@kernel.org>
> 
> Reviewed-by: Heiko Stuebner <heiko@sntech.de>
> 
> Srinivas, could you take a look at this patch and maybe pick it up?
> 
Its already sent to Greg KH for inclusion in 4.15.

--srini
> 
> Thanks
> Heiko
>
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt
index 1ff02afdc55a..60bec4782806 100644
--- a/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt
+++ b/Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt
@@ -6,6 +6,7 @@  Required properties:
   - "rockchip,rk3188-efuse" - for RK3188 SoCs.
   - "rockchip,rk3228-efuse" - for RK3228 SoCs.
   - "rockchip,rk3288-efuse" - for RK3288 SoCs.
+  - "rockchip,rk3368-efuse" - for RK3368 SoCs.
   - "rockchip,rk3399-efuse" - for RK3399 SoCs.
 - reg: Should contain the registers location and exact eFuse size
 - clocks: Should be the clock id of eFuse
diff --git a/drivers/nvmem/rockchip-efuse.c b/drivers/nvmem/rockchip-efuse.c
index 63e3eb55f3ac..eb4c530c2564 100644
--- a/drivers/nvmem/rockchip-efuse.c
+++ b/drivers/nvmem/rockchip-efuse.c
@@ -178,6 +178,10 @@  static const struct of_device_id rockchip_efuse_match[] = {
 		.data = (void *)&rockchip_rk3288_efuse_read,
 	},
 	{
+		.compatible = "rockchip,rk3368-efuse",
+		.data = (void *)&rockchip_rk3288_efuse_read,
+	},
+	{
 		.compatible = "rockchip,rk3399-efuse",
 		.data = (void *)&rockchip_rk3399_efuse_read,
 	},