* [PATCH v2 RESEND] dt-bindings: clock: ast2600: Add I3C and MAC reset definitions
@ 2023-07-17 7:51 Dylan Hung
2023-07-17 8:00 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Dylan Hung @ 2023-07-17 7:51 UTC (permalink / raw)
To: mturquette, sboyd, robh+dt, krzysztof.kozlowski+dt, conor+dt,
linux-clk, devicetree, linux-kernel
Cc: BMC-SW, Dylan Hung
Add reset definitions of AST2600 I3C and MAC controllers.
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
---
Resend v2 patch through my gmail account as the aspeedtech.com domain is blocked by gmail.com
include/dt-bindings/clock/ast2600-clock.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/dt-bindings/clock/ast2600-clock.h b/include/dt-bindings/clock/ast2600-clock.h
index e149eee61588..712782177c90 100644
--- a/include/dt-bindings/clock/ast2600-clock.h
+++ b/include/dt-bindings/clock/ast2600-clock.h
@@ -90,7 +90,19 @@
/* Only list resets here that are not part of a clock gate + reset pair */
#define ASPEED_RESET_ADC 55
#define ASPEED_RESET_JTAG_MASTER2 54
+
+#define ASPEED_RESET_MAC4 53
+#define ASPEED_RESET_MAC3 52
+
+#define ASPEED_RESET_I3C5 45
+#define ASPEED_RESET_I3C4 44
+#define ASPEED_RESET_I3C3 43
+#define ASPEED_RESET_I3C2 42
+#define ASPEED_RESET_I3C1 41
+#define ASPEED_RESET_I3C0 40
+#define ASPEED_RESET_I3C 39
#define ASPEED_RESET_I3C_DMA 39
+
#define ASPEED_RESET_PWM 37
#define ASPEED_RESET_PECI 36
#define ASPEED_RESET_MII 35
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 RESEND] dt-bindings: clock: ast2600: Add I3C and MAC reset definitions
2023-07-17 7:51 [PATCH v2 RESEND] dt-bindings: clock: ast2600: Add I3C and MAC reset definitions Dylan Hung
@ 2023-07-17 8:00 ` Krzysztof Kozlowski
2023-07-17 10:37 ` Chih-Jen Hung
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-17 8:00 UTC (permalink / raw)
To: Dylan Hung, mturquette, sboyd, robh+dt, krzysztof.kozlowski+dt,
conor+dt, linux-clk, devicetree, linux-kernel
Cc: BMC-SW, Dylan Hung
On 17/07/2023 09:51, Dylan Hung wrote:
> Add reset definitions of AST2600 I3C and MAC controllers.
>
> Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
> ---
>
> Resend v2 patch through my gmail account as the aspeedtech.com domain is blocked by gmail.com
Where is the changelog?
>
> include/dt-bindings/clock/ast2600-clock.h | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/include/dt-bindings/clock/ast2600-clock.h b/include/dt-bindings/clock/ast2600-clock.h
> index e149eee61588..712782177c90 100644
> --- a/include/dt-bindings/clock/ast2600-clock.h
> +++ b/include/dt-bindings/clock/ast2600-clock.h
> @@ -90,7 +90,19 @@
> /* Only list resets here that are not part of a clock gate + reset pair */
> #define ASPEED_RESET_ADC 55
> #define ASPEED_RESET_JTAG_MASTER2 54
> +
> +#define ASPEED_RESET_MAC4 53
> +#define ASPEED_RESET_MAC3 52
> +
> +#define ASPEED_RESET_I3C5 45
> +#define ASPEED_RESET_I3C4 44
> +#define ASPEED_RESET_I3C3 43
> +#define ASPEED_RESET_I3C2 42
> +#define ASPEED_RESET_I3C1 41
> +#define ASPEED_RESET_I3C0 40
> +#define ASPEED_RESET_I3C 39
> #define ASPEED_RESET_I3C_DMA 39
Why adding duplicate ID? Your commit msg or a comment here should
explain this.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 RESEND] dt-bindings: clock: ast2600: Add I3C and MAC reset definitions
2023-07-17 8:00 ` Krzysztof Kozlowski
@ 2023-07-17 10:37 ` Chih-Jen Hung
0 siblings, 0 replies; 3+ messages in thread
From: Chih-Jen Hung @ 2023-07-17 10:37 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: mturquette, sboyd, robh+dt, krzysztof.kozlowski+dt, conor+dt,
linux-clk, devicetree, linux-kernel, BMC-SW, Dylan Hung
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 於 2023年7月17日 週一 下午4:00寫道:
>
> On 17/07/2023 09:51, Dylan Hung wrote:
> > Add reset definitions of AST2600 I3C and MAC controllers.
> >
> > Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
> > ---
> >
> > Resend v2 patch through my gmail account as the aspeedtech.com domain is blocked by gmail.com
>
> Where is the changelog?
>
Apologies for the oversight. I will ensure to include the changelog in V3.
> >
> > include/dt-bindings/clock/ast2600-clock.h | 12 ++++++++++++
> > 1 file changed, 12 insertions(+)
> >
> > diff --git a/include/dt-bindings/clock/ast2600-clock.h b/include/dt-bindings/clock/ast2600-clock.h
> > index e149eee61588..712782177c90 100644
> > --- a/include/dt-bindings/clock/ast2600-clock.h
> > +++ b/include/dt-bindings/clock/ast2600-clock.h
> > @@ -90,7 +90,19 @@
> > /* Only list resets here that are not part of a clock gate + reset pair */
> > #define ASPEED_RESET_ADC 55
> > #define ASPEED_RESET_JTAG_MASTER2 54
> > +
> > +#define ASPEED_RESET_MAC4 53
> > +#define ASPEED_RESET_MAC3 52
> > +
> > +#define ASPEED_RESET_I3C5 45
> > +#define ASPEED_RESET_I3C4 44
> > +#define ASPEED_RESET_I3C3 43
> > +#define ASPEED_RESET_I3C2 42
> > +#define ASPEED_RESET_I3C1 41
> > +#define ASPEED_RESET_I3C0 40
> > +#define ASPEED_RESET_I3C 39
> > #define ASPEED_RESET_I3C_DMA 39
>
> Why adding duplicate ID? Your commit msg or a comment here should
> explain this.
>
There is no reset-line hardware available for `ASPEED_RESET_I3C_DMA`, so I have
added a new macro to provide a better representation of the hardware design.
However, since removing the old macro may affect all users, I decide to keep
both the old and new macros. I will include the explainaion in the commit
message of V3.
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-17 10:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-17 7:51 [PATCH v2 RESEND] dt-bindings: clock: ast2600: Add I3C and MAC reset definitions Dylan Hung
2023-07-17 8:00 ` Krzysztof Kozlowski
2023-07-17 10:37 ` Chih-Jen Hung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).