Add HwSpinlock support for TI K3 AM64x SoCs
v2 cover Add HwSpinlock support for TI K3 AM64x SoCs
Hi Bjorn,
The following is a minor revision of the series [1] that extends the OMAP HwSpinlock driver for the IP on TI K3 AM64x SoCs.
Only change is in patch 1 to drop the example in the dt-bindings patch.
regards
Suman
[1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/[email protected]/
Suman Anna (2):
dt-bindings: hwlock: Update OMAP HwSpinlock binding for AM64x SoCs
hwspinlock: omap: Add support for K3 AM64x SoCs
.../devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml | 1 + drivers/hwspinlock/omap_hwspinlock.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-)
Signature · 7 lines
2.29.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH v2 1/2 dt-bindings: hwlock: Update OMAP HwSpinlock binding for AM64x SoCs
Update the existing OMAP HwSpinlock binding to include the info for AM64x SoCs. There are some minor IP integration differences between the AM64x SoCs and the previous AM65x and J721E SoC families.
---
v2:
- Drop AM64x example as per Rob's comments
- Update patch description accordingly
v1: https://patchwork.kernel.org/project/linux-arm-kernel/patch/[email protected]/
Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/hwlock/ti,omap-hwspinlock.yaml +1 -0
@@ -14,6 +14,7 @@ properties: enum: - ti,omap4-hwspinlock # for OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs - ti,am654-hwspinlock # for K3 AM65x, J721E and J7200 SoCs + - ti,am64-hwspinlock # for K3 AM64x SoCs reg: maxItems: 1
Signature · 7 lines
2.29.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH v2 2/2 hwspinlock: omap: Add support for K3 AM64x SoCs
In reply to Suman AnnaThe AM64x SoC contains a HwSpinlock IP instance in the MAIN domain, and is a minor variant of the IP on the current TI K3 SoCs such as AM64x, J721E or J7200 SoCs. The IP is not built with the K3 safety feature in hardware, and has slightly different integration into the overall SoC.
Add the support for this IP through a new compatible.
---
v2: No changes
drivers/hwspinlock/omap_hwspinlock.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/hwspinlock/omap_hwspinlock.c +3 -1
@@ -2,11 +2,12 @@/* * OMAP hardware spinlock driver * -* Copyright (C) 2010-2015 Texas Instruments Incorporated - http://www.ti.com +* Copyright (C) 2010-2021 Texas Instruments Incorporated - https://www.ti.com * * Contact: Simon Que <[email protected]> * Hari Kanigeri <[email protected]> * Ohad Ben-Cohen <[email protected]> +* Suman Anna <[email protected]> */ #include <linux/kernel.h>
@@ -165,6 +166,7 @@ static int omap_hwspinlock_remove(struct platform_device *pdev)static const struct of_device_id omap_hwspinlock_of_match[] = { { .compatible ="ti,omap4-hwspinlock" , }, { .compatible ="ti,am654-hwspinlock" , }, + { .compatible ="ti,am64-hwspinlock" , }, {/* end */ }, };MODULE_DEVICE_TABLE (of, omap_hwspinlock_of_match);
Signature · 7 lines
2.29.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel