Commit Graph
20 Commits
Author SHA1 Message Date
Sinthu Raja 571c3496e3 dt-bindings: hwlock: omap: Remove redundant binding example
The example includes a board-specific compatible property, this is wrong
as the example should be board agnostic and should represent the particular
binding. Also, the file includes two similar examples but with a different
compatible. So, drop the entire second example

Suggested-by: Bjorn Andersson <[email protected]>
Signed-off-by: Sinthu Raja <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Acked-by: Suman Anna <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2022-03-11 11:47:33 -06:00
Patrice Chotard f4eedebdbf dt-bindings: treewide: Update @st.com email address to @foss.st.com
Not all @st.com email address are concerned, only people who have
a specific @foss.st.com email will see their entry updated.
For some people, who left the company, remove their email.

Cc: Alexandre Torgue <[email protected]>
Cc: Arnaud Pouliquen <[email protected]>
Cc: Fabien Dessenne <[email protected]>
Cc: Christophe Roullier <[email protected]>
Cc: Gabriel Fernandez <[email protected]>
Cc: Lionel Debieve <[email protected]>
Cc: Amelie Delaunay <[email protected]>
Cc: Pierre-Yves MORDRET <[email protected]>
Cc: Ludovic Barre <[email protected]>
Cc: Christophe Kerello <[email protected]>
Cc: pascal Paillet <[email protected]>
Cc: Erwan Le Ray <[email protected]>
Cc: Philippe CORNU <[email protected]>
Cc: Yannick Fertre <[email protected]>
Cc: Fabrice Gasnier <[email protected]>
Cc: Olivier Moysan <[email protected]>
Cc: Hugues Fruchet <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Mathieu Poirier <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Mark Brown <[email protected]>
Acked-by: Lee Jones <[email protected]>
Acked-By: Vinod Koul <[email protected]>
Acked-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
2021-11-11 22:27:16 -06:00
Patrice Chotard ea28e2c1f7 dt-bindings: media: Update maintainers for st,stm32-hwspinlock.yaml
Benjamin has left the company, remove his name from maintainers.

Signed-off-by: Patrice Chotard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
2021-11-11 22:27:15 -06:00
Suman Anna 234462bc7f dt-bindings: hwlock: sun6i: Fix various warnings in binding
The allwinner,sun6i-a31-hwspinlock.yaml binding has a mismatched
$id and fails to compile the example due to undefined args specifier
values for clocks and resets. Fix both of these issues.

Acked-by: Rob Herring <[email protected]>
Fixes: f9e784dcb6 ("dt-bindings: hwlock: add sun6i_hwspinlock")
Signed-off-by: Suman Anna <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
2021-06-14 15:54:10 -05:00
Wilken Gottwalt f9e784dcb6 dt-bindings: hwlock: add sun6i_hwspinlock
Adds documentation on how to use the sun6i_hwspinlock driver for sun6i
compatible series SoCs.

Reviewed-by: Samuel Holland <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Wilken Gottwalt <[email protected]>
Link: https://lore.kernel.org/r/b7a1f5532e0ae474473858055fd9bbabff9e1449.1615713499.git.wilken.gottwalt@posteo.net
Signed-off-by: Bjorn Andersson <[email protected]>
2021-05-27 22:19:37 -05:00
Arnd Bergmann 1cb8f3e2d8 hwspinlock: remove sirf driver
The CSR SiRF prima2/atlas platforms are getting removed, so this driver
is no longer needed.

Cc: Barry Song <[email protected]>
Link: https://lore.kernel.org/linux-arm-kernel/[email protected]/T/
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
2021-03-17 21:22:06 -05:00
Suman Anna 387db89ca0 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.

Signed-off-by: Suman Anna <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
2021-02-09 11:36:25 -06:00
Suman Anna 891adc1303 dt-bindings: hwlock: omap: Fix warnings with k3.yaml
Update the AM65x HwSpinlock example to fix couple of warnings
that started showing up after the conversion of K3 bindings to
YAML format in commit 66e06509aa ("dt-bindings: arm: ti:
Convert K3 board/soc bindings to DT schema").

 compatible: ['ti,am654'] is not valid under any of the given schemas (Possible causes of the failure):
 compatible: ['ti,am654'] is too short
 compatible:0: 'ti,am654' is not one of ['ti,am654-evm']

Also, fix one of the node names while at this.

Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Suman Anna <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
2020-10-06 10:55:24 -05:00
Suman Anna d8db9dc348 dt-bindings: hwlock: omap: Convert binding to YAML
Convert the current OMAP hwspinlock binding from text format to YAML
format/DT schema, and delete the legacy text binding file.

The new YAML binding conversion is a slightly updated version compared
to the original. The legacy "ti,hwmods" property is now obsolete and
is dropped altogether, and the K3 example is updated to showcase the
actual dts node usage.

Signed-off-by: Suman Anna <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
2020-09-09 14:42:29 -06:00
Bjorn Andersson 35efb0e1d5 dt-bindings: hwlock: qcom: Remove invalid binding
The Qualcomm hwlock is described in DeviceTree either directly on the
mmio bus or split between a syscon and a mutex node, but as noted in
[1] the latter is not valid DT, so remove any traces of this from the
binding.

[1] https://lore.kernel.org/r/CAL_JsqLa9GBtbgN6aL7AQ=A6V-YRtPgYqh6XgM2kpx532+r4Gg@mail.gmail.com/

Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
2020-08-04 20:21:45 -07:00
Bjorn Andersson d6a9f0c8f6 dt-bindings: hwlock: qcom: Allow device on mmio bus
In modern Qualcomm platforms the mutex region of the TCSR is forked off
into its own block, all with a offset of 0 and stride of 4096, and in
some of these platforms no other registers in this region is accessed
from Linux.

Update the binding to allow the hardware block to be described directly
on the mmio bus, in addition to allowing the existing syscon based
definition for backwards compatibility.

Reviewed-by: Vinod Koul <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
2020-07-13 22:29:24 -07:00
Bjorn Andersson a7541de9ab dt-bindings: hwlock: qcom: Migrate binding to YAML
Migrate the Qualcomm TCSR mutex binding to YAML to allow validation.

Reviewed-by: Vinod Koul <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
2020-07-13 22:29:18 -07:00
Benjamin Gaignard b1b7ce97fa dt-bindings: hwlock: Convert stm32 hwspinlock bindings to json-schema
Convert the STM32 hwspinlock binding to DT schema format using json-schema

Signed-off-by: Benjamin Gaignard <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2019-10-14 12:16:40 -05:00
Suman Anna 7f40c260df dt-bindings: hwlock: Update OMAP binding for TI K3 SoCs
The TI K3 AM65x and J721E family of SoCs have a HwSpinlock IP that
is similar to the existing HwSpinlock IP present in OMAP architecture
based SoCs with minor differences. Update the existing OMAP HwSpinlock
binding for this IP on TI K3 AM65x and J721E SoCs. The same compatible
from AM65x SoCs is reused for J721E SoCs.

Signed-off-by: Suman Anna <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
2019-06-29 11:40:02 -07:00
Benjamin Gaignard 6c9e3e80c5 dt-bindings: hwlock: Document STM32 hwspinlock bindings
Add bindings for STM32 hardware spinlock device

Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Benjamin Gaignard <[email protected]>
Signed-off-by: Benjamin Gaignard <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
2018-12-05 12:45:08 -08:00
Baolin Wang 93f66edd44 DT: hwspinlock: Add binding documentation for Spreadtrum hwspinlock
This patch adds the binding documentation for Spreadtrum hardware spinlock
device.

Acked-by: Rob Herring <[email protected]>
Signed-off-by: Baolin Wang <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
2017-05-24 12:25:47 -07:00
Wei Chen b97cadee80 DT: hwspinlock: add the CSR atlas7 hwspinlock bindings document
The Hardware Spinlock device on atlas7 provides hardware assistance
for synchronization between the multiple processors in the system
(dual Cortex-A7, CAN bus Cortex-M3 and audio DSP).
This patch adds the DT bindings information for this hwspinlock
module.

Reviewed-by: Suman Anna <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Wei Chen <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Signed-off-by: Ohad Ben-Cohen <[email protected]>
2015-06-12 10:48:51 +03:00
Bjorn Andersson 5b5711f0f1 DT: hwspinlock: Add binding documentation for Qualcomm hwmutex
Add binding documentation for the Qualcomm Hardware Mutex.

Signed-off-by: Bjorn Andersson <[email protected]>
Acked-by: Kumar Gala <[email protected]>
Reviewed-by: Andy Gross <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Ohad Ben-Cohen <[email protected]>
2015-05-02 10:17:53 +03:00
Suman Anna 67140ed1c9 Documentation: dt: add the omap hwspinlock bindings document
HwSpinlock IP is present only on OMAP4 and other newer SoCs,
which are all device-tree boot only. This patch adds the
DT bindings information for OMAP hwspinlock module.

Cc: Rob Herring <[email protected]>
Signed-off-by: Suman Anna <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Ohad Ben-Cohen <[email protected]>
2015-05-02 09:56:16 +03:00
Suman Anna 0ce8cf2f31 Documentation: dt: add common bindings for hwspinlock
This patch adds the generic common bindings used to represent
a hwlock device and use/request locks in a device-tree build.

Each hwspinlock provider should have the '#hwlock-cells' property,
which represents the number of cells to be used for representing
a specific hwspinlock. Client users shall use the property
'hwlocks' for requesting specific lock(s).

Note that the document is named hwlock.txt deliberately to keep
it a bit more generic.

Cc: Rob Herring <[email protected]>
Signed-off-by: Suman Anna <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Ohad Ben-Cohen <[email protected]>
2015-05-02 09:25:14 +03:00