* [PATCH v2 0/2] i2c: stm32: addition of STM32MP13 support
@ 2022-07-07 7:44 ` Alain Volmat
0 siblings, 0 replies; 12+ messages in thread
From: Alain Volmat @ 2022-07-07 7:44 UTC (permalink / raw)
To: wsa, robh+dt
Cc: mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay,
alain.volmat
This series adds the support for the stm32mp13.
v2: drop the 2 first commits regarding reset handling due to the
STM32MP13 reset being now available:
https://lore.kernel.org/all/a250f32b-f67c-2922-0748-e39dc791e95c@foss.st.com/
Alain Volmat (2):
dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13
i2c: stm32: add support for the STM32MP13 soc
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 2 ++
drivers/i2c/busses/i2c-stm32f7.c | 7 +++++++
2 files changed, 9 insertions(+)
--
2.25.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v2 0/2] i2c: stm32: addition of STM32MP13 support
@ 2022-07-07 7:44 ` Alain Volmat
0 siblings, 0 replies; 12+ messages in thread
From: Alain Volmat @ 2022-07-07 7:44 UTC (permalink / raw)
To: wsa, robh+dt
Cc: mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay,
alain.volmat
This series adds the support for the stm32mp13.
v2: drop the 2 first commits regarding reset handling due to the
STM32MP13 reset being now available:
https://lore.kernel.org/all/a250f32b-f67c-2922-0748-e39dc791e95c@foss.st.com/
Alain Volmat (2):
dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13
i2c: stm32: add support for the STM32MP13 soc
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 2 ++
drivers/i2c/busses/i2c-stm32f7.c | 7 +++++++
2 files changed, 9 insertions(+)
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v2 1/2] dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13
2022-07-07 7:44 ` Alain Volmat
@ 2022-07-07 7:44 ` Alain Volmat
-1 siblings, 0 replies; 12+ messages in thread
From: Alain Volmat @ 2022-07-07 7:44 UTC (permalink / raw)
To: wsa, robh+dt
Cc: mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay,
alain.volmat
Add the new compatible for the stm32mp13.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
index dccbb18b6dc0..a41588763786 100644
--- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
@@ -17,6 +17,7 @@ allOf:
contains:
enum:
- st,stm32f7-i2c
+ - st,stm32mp13-i2c
- st,stm32mp15-i2c
then:
properties:
@@ -45,6 +46,7 @@ properties:
enum:
- st,stm32f4-i2c
- st,stm32f7-i2c
+ - st,stm32mp13-i2c
- st,stm32mp15-i2c
reg:
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 1/2] dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13
@ 2022-07-07 7:44 ` Alain Volmat
0 siblings, 0 replies; 12+ messages in thread
From: Alain Volmat @ 2022-07-07 7:44 UTC (permalink / raw)
To: wsa, robh+dt
Cc: mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay,
alain.volmat
Add the new compatible for the stm32mp13.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
index dccbb18b6dc0..a41588763786 100644
--- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
@@ -17,6 +17,7 @@ allOf:
contains:
enum:
- st,stm32f7-i2c
+ - st,stm32mp13-i2c
- st,stm32mp15-i2c
then:
properties:
@@ -45,6 +46,7 @@ properties:
enum:
- st,stm32f4-i2c
- st,stm32f7-i2c
+ - st,stm32mp13-i2c
- st,stm32mp15-i2c
reg:
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 2/2] i2c: stm32: add support for the STM32MP13 soc
2022-07-07 7:44 ` Alain Volmat
@ 2022-07-07 7:44 ` Alain Volmat
-1 siblings, 0 replies; 12+ messages in thread
From: Alain Volmat @ 2022-07-07 7:44 UTC (permalink / raw)
To: wsa, robh+dt
Cc: mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay,
alain.volmat
Add a new compatible for the stm32mp13. Fast Mode Plus control
register address differ from the one for STM32MP15.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
---
drivers/i2c/busses/i2c-stm32f7.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c
index 6d4aa64b195d..d1c59d83a65b 100644
--- a/drivers/i2c/busses/i2c-stm32f7.c
+++ b/drivers/i2c/busses/i2c-stm32f7.c
@@ -410,6 +410,12 @@ static const struct stm32f7_i2c_setup stm32mp15_setup = {
.fmp_clr_offset = 0x40,
};
+static const struct stm32f7_i2c_setup stm32mp13_setup = {
+ .rise_time = STM32F7_I2C_RISE_TIME_DEFAULT,
+ .fall_time = STM32F7_I2C_FALL_TIME_DEFAULT,
+ .fmp_clr_offset = 0x4,
+};
+
static inline void stm32f7_i2c_set_bits(void __iomem *reg, u32 mask)
{
writel_relaxed(readl_relaxed(reg) | mask, reg);
@@ -2468,6 +2474,7 @@ static const struct dev_pm_ops stm32f7_i2c_pm_ops = {
static const struct of_device_id stm32f7_i2c_match[] = {
{ .compatible = "st,stm32f7-i2c", .data = &stm32f7_setup},
{ .compatible = "st,stm32mp15-i2c", .data = &stm32mp15_setup},
+ { .compatible = "st,stm32mp13-i2c", .data = &stm32mp13_setup},
{},
};
MODULE_DEVICE_TABLE(of, stm32f7_i2c_match);
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 2/2] i2c: stm32: add support for the STM32MP13 soc
@ 2022-07-07 7:44 ` Alain Volmat
0 siblings, 0 replies; 12+ messages in thread
From: Alain Volmat @ 2022-07-07 7:44 UTC (permalink / raw)
To: wsa, robh+dt
Cc: mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay,
alain.volmat
Add a new compatible for the stm32mp13. Fast Mode Plus control
register address differ from the one for STM32MP15.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
---
drivers/i2c/busses/i2c-stm32f7.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c
index 6d4aa64b195d..d1c59d83a65b 100644
--- a/drivers/i2c/busses/i2c-stm32f7.c
+++ b/drivers/i2c/busses/i2c-stm32f7.c
@@ -410,6 +410,12 @@ static const struct stm32f7_i2c_setup stm32mp15_setup = {
.fmp_clr_offset = 0x40,
};
+static const struct stm32f7_i2c_setup stm32mp13_setup = {
+ .rise_time = STM32F7_I2C_RISE_TIME_DEFAULT,
+ .fall_time = STM32F7_I2C_FALL_TIME_DEFAULT,
+ .fmp_clr_offset = 0x4,
+};
+
static inline void stm32f7_i2c_set_bits(void __iomem *reg, u32 mask)
{
writel_relaxed(readl_relaxed(reg) | mask, reg);
@@ -2468,6 +2474,7 @@ static const struct dev_pm_ops stm32f7_i2c_pm_ops = {
static const struct of_device_id stm32f7_i2c_match[] = {
{ .compatible = "st,stm32f7-i2c", .data = &stm32f7_setup},
{ .compatible = "st,stm32mp15-i2c", .data = &stm32mp15_setup},
+ { .compatible = "st,stm32mp13-i2c", .data = &stm32mp13_setup},
{},
};
MODULE_DEVICE_TABLE(of, stm32f7_i2c_match);
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13
2022-07-07 7:44 ` Alain Volmat
@ 2022-07-08 22:15 ` Rob Herring
-1 siblings, 0 replies; 12+ messages in thread
From: Rob Herring @ 2022-07-08 22:15 UTC (permalink / raw)
To: Alain Volmat
Cc: mcoquelin.stm32, linux-stm32, pierre-yves.mordret, wsa,
fabrice.gasnier, amelie.delaunay, devicetree, alexandre.torgue,
robh+dt, linux-arm-kernel, linux-kernel, linux-i2c, mark.rutland
On Thu, 07 Jul 2022 09:44:01 +0200, Alain Volmat wrote:
> Add the new compatible for the stm32mp13.
>
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> ---
> Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13
@ 2022-07-08 22:15 ` Rob Herring
0 siblings, 0 replies; 12+ messages in thread
From: Rob Herring @ 2022-07-08 22:15 UTC (permalink / raw)
To: Alain Volmat
Cc: mcoquelin.stm32, linux-stm32, pierre-yves.mordret, wsa,
fabrice.gasnier, amelie.delaunay, devicetree, alexandre.torgue,
robh+dt, linux-arm-kernel, linux-kernel, linux-i2c, mark.rutland
On Thu, 07 Jul 2022 09:44:01 +0200, Alain Volmat wrote:
> Add the new compatible for the stm32mp13.
>
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> ---
> Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13
2022-07-07 7:44 ` Alain Volmat
@ 2022-07-16 12:25 ` Wolfram Sang
-1 siblings, 0 replies; 12+ messages in thread
From: Wolfram Sang @ 2022-07-16 12:25 UTC (permalink / raw)
To: Alain Volmat
Cc: robh+dt, mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
On Thu, Jul 07, 2022 at 09:44:01AM +0200, Alain Volmat wrote:
> Add the new compatible for the stm32mp13.
>
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13
@ 2022-07-16 12:25 ` Wolfram Sang
0 siblings, 0 replies; 12+ messages in thread
From: Wolfram Sang @ 2022-07-16 12:25 UTC (permalink / raw)
To: Alain Volmat
Cc: robh+dt, mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay
[-- Attachment #1.1: Type: text/plain, Size: 204 bytes --]
On Thu, Jul 07, 2022 at 09:44:01AM +0200, Alain Volmat wrote:
> Add the new compatible for the stm32mp13.
>
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Applied to for-next, thanks!
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] i2c: stm32: add support for the STM32MP13 soc
2022-07-07 7:44 ` Alain Volmat
@ 2022-07-16 12:25 ` Wolfram Sang
-1 siblings, 0 replies; 12+ messages in thread
From: Wolfram Sang @ 2022-07-16 12:25 UTC (permalink / raw)
To: Alain Volmat
Cc: robh+dt, mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
On Thu, Jul 07, 2022 at 09:44:02AM +0200, Alain Volmat wrote:
> Add a new compatible for the stm32mp13. Fast Mode Plus control
> register address differ from the one for STM32MP15.
>
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] i2c: stm32: add support for the STM32MP13 soc
@ 2022-07-16 12:25 ` Wolfram Sang
0 siblings, 0 replies; 12+ messages in thread
From: Wolfram Sang @ 2022-07-16 12:25 UTC (permalink / raw)
To: Alain Volmat
Cc: robh+dt, mark.rutland, pierre-yves.mordret, mcoquelin.stm32,
alexandre.torgue, linux-i2c, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel, fabrice.gasnier, amelie.delaunay
[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]
On Thu, Jul 07, 2022 at 09:44:02AM +0200, Alain Volmat wrote:
> Add a new compatible for the stm32mp13. Fast Mode Plus control
> register address differ from the one for STM32MP15.
>
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
Applied to for-next, thanks!
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-07-16 12:26 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07 7:44 [PATCH v2 0/2] i2c: stm32: addition of STM32MP13 support Alain Volmat
2022-07-07 7:44 ` Alain Volmat
2022-07-07 7:44 ` [PATCH v2 1/2] dt-bindings: i2c: st,stm32-i2c: add entry for stm32mp13 Alain Volmat
2022-07-07 7:44 ` Alain Volmat
2022-07-08 22:15 ` Rob Herring
2022-07-08 22:15 ` Rob Herring
2022-07-16 12:25 ` Wolfram Sang
2022-07-16 12:25 ` Wolfram Sang
2022-07-07 7:44 ` [PATCH v2 2/2] i2c: stm32: add support for the STM32MP13 soc Alain Volmat
2022-07-07 7:44 ` Alain Volmat
2022-07-16 12:25 ` Wolfram Sang
2022-07-16 12:25 ` Wolfram Sang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.