All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible
@ 2022-04-28  6:46 ` Allen-KH Cheng
  0 siblings, 0 replies; 8+ messages in thread
From: Allen-KH Cheng @ 2022-04-28  6:46 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Allen-KH Cheng

Add mt6358 and mt6366 compatible in devicetree-binding document for
MediaTek PMIC based RTC. mt6358 and mt6366 use same compatible data
to store RTC_WRTGR address offset.

mt6366-rtc will use mt6358-rts as fallback.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
---
 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
index 55a0c8874c03..5b012d222f5b 100644
--- a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
+++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
@@ -14,6 +14,8 @@ For MediaTek PMIC wrapper bus bindings, see:
 Required properties:
 - compatible: Should be one of follows
        "mediatek,mt6323-rtc": for MT6323 PMIC
+       "mediatek,mt6358-rtc": for MT6358 PMIC
+       "mediatek,mt6358-rtc","mediatek,mt6366-rtc": for MT6366 PMIC
        "mediatek,mt6397-rtc": for MT6397 PMIC
 
 Example:
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible
@ 2022-04-28  6:46 ` Allen-KH Cheng
  0 siblings, 0 replies; 8+ messages in thread
From: Allen-KH Cheng @ 2022-04-28  6:46 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Allen-KH Cheng

Add mt6358 and mt6366 compatible in devicetree-binding document for
MediaTek PMIC based RTC. mt6358 and mt6366 use same compatible data
to store RTC_WRTGR address offset.

mt6366-rtc will use mt6358-rts as fallback.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
---
 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
index 55a0c8874c03..5b012d222f5b 100644
--- a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
+++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
@@ -14,6 +14,8 @@ For MediaTek PMIC wrapper bus bindings, see:
 Required properties:
 - compatible: Should be one of follows
        "mediatek,mt6323-rtc": for MT6323 PMIC
+       "mediatek,mt6358-rtc": for MT6358 PMIC
+       "mediatek,mt6358-rtc","mediatek,mt6366-rtc": for MT6366 PMIC
        "mediatek,mt6397-rtc": for MT6397 PMIC
 
 Example:
-- 
2.18.0


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible
@ 2022-04-28  6:46 ` Allen-KH Cheng
  0 siblings, 0 replies; 8+ messages in thread
From: Allen-KH Cheng @ 2022-04-28  6:46 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Allen-KH Cheng

Add mt6358 and mt6366 compatible in devicetree-binding document for
MediaTek PMIC based RTC. mt6358 and mt6366 use same compatible data
to store RTC_WRTGR address offset.

mt6366-rtc will use mt6358-rts as fallback.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
---
 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
index 55a0c8874c03..5b012d222f5b 100644
--- a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
+++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
@@ -14,6 +14,8 @@ For MediaTek PMIC wrapper bus bindings, see:
 Required properties:
 - compatible: Should be one of follows
        "mediatek,mt6323-rtc": for MT6323 PMIC
+       "mediatek,mt6358-rtc": for MT6358 PMIC
+       "mediatek,mt6358-rtc","mediatek,mt6366-rtc": for MT6366 PMIC
        "mediatek,mt6397-rtc": for MT6397 PMIC
 
 Example:
-- 
2.18.0


_______________________________________________
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] 8+ messages in thread

* Re: [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible
  2022-04-28  6:46 ` Allen-KH Cheng
  (?)
@ 2022-04-28  7:20   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-28  7:20 UTC (permalink / raw)
  To: Allen-KH Cheng, Alessandro Zummo, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel

On 28/04/2022 08:46, Allen-KH Cheng wrote:
> Add mt6358 and mt6366 compatible in devicetree-binding document for
> MediaTek PMIC based RTC. mt6358 and mt6366 use same compatible data
> to store RTC_WRTGR address offset.
> 
> mt6366-rtc will use mt6358-rts as fallback.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> ---
>  Documentation/devicetree/bindings/rtc/rtc-mt6397.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> index 55a0c8874c03..5b012d222f5b 100644
> --- a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> +++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> @@ -14,6 +14,8 @@ For MediaTek PMIC wrapper bus bindings, see:
>  Required properties:
>  - compatible: Should be one of follows
>         "mediatek,mt6323-rtc": for MT6323 PMIC
> +       "mediatek,mt6358-rtc": for MT6358 PMIC
> +       "mediatek,mt6358-rtc","mediatek,mt6366-rtc": for MT6366 PMIC

Does not look like in correct order.

>         "mediatek,mt6397-rtc": for MT6397 PMIC
>  
>  Example:


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible
@ 2022-04-28  7:20   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-28  7:20 UTC (permalink / raw)
  To: Allen-KH Cheng, Alessandro Zummo, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel

On 28/04/2022 08:46, Allen-KH Cheng wrote:
> Add mt6358 and mt6366 compatible in devicetree-binding document for
> MediaTek PMIC based RTC. mt6358 and mt6366 use same compatible data
> to store RTC_WRTGR address offset.
> 
> mt6366-rtc will use mt6358-rts as fallback.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> ---
>  Documentation/devicetree/bindings/rtc/rtc-mt6397.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> index 55a0c8874c03..5b012d222f5b 100644
> --- a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> +++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> @@ -14,6 +14,8 @@ For MediaTek PMIC wrapper bus bindings, see:
>  Required properties:
>  - compatible: Should be one of follows
>         "mediatek,mt6323-rtc": for MT6323 PMIC
> +       "mediatek,mt6358-rtc": for MT6358 PMIC
> +       "mediatek,mt6358-rtc","mediatek,mt6366-rtc": for MT6366 PMIC

Does not look like in correct order.

>         "mediatek,mt6397-rtc": for MT6397 PMIC
>  
>  Example:


Best regards,
Krzysztof

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible
@ 2022-04-28  7:20   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-28  7:20 UTC (permalink / raw)
  To: Allen-KH Cheng, Alessandro Zummo, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel

On 28/04/2022 08:46, Allen-KH Cheng wrote:
> Add mt6358 and mt6366 compatible in devicetree-binding document for
> MediaTek PMIC based RTC. mt6358 and mt6366 use same compatible data
> to store RTC_WRTGR address offset.
> 
> mt6366-rtc will use mt6358-rts as fallback.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> ---
>  Documentation/devicetree/bindings/rtc/rtc-mt6397.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> index 55a0c8874c03..5b012d222f5b 100644
> --- a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> +++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> @@ -14,6 +14,8 @@ For MediaTek PMIC wrapper bus bindings, see:
>  Required properties:
>  - compatible: Should be one of follows
>         "mediatek,mt6323-rtc": for MT6323 PMIC
> +       "mediatek,mt6358-rtc": for MT6358 PMIC
> +       "mediatek,mt6358-rtc","mediatek,mt6366-rtc": for MT6366 PMIC

Does not look like in correct order.

>         "mediatek,mt6397-rtc": for MT6397 PMIC
>  
>  Example:


Best regards,
Krzysztof

_______________________________________________
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] 8+ messages in thread

* Re: [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible
  2022-04-28  7:20   ` Krzysztof Kozlowski
@ 2022-04-28  7:57     ` allen-kh.cheng
  -1 siblings, 0 replies; 8+ messages in thread
From: allen-kh.cheng @ 2022-04-28  7:57 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Alessandro Zummo, Alexandre Belloni,
	Rob Herring, Krzysztof Kozlowski, Matthias Brugger
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel

Hi Krzysztof,

On Thu, 2022-04-28 at 09:20 +0200, Krzysztof Kozlowski wrote:
> On 28/04/2022 08:46, Allen-KH Cheng wrote:
> > Add mt6358 and mt6366 compatible in devicetree-binding document for
> > MediaTek PMIC based RTC. mt6358 and mt6366 use same compatible data
> > to store RTC_WRTGR address offset.
> > 
> > mt6366-rtc will use mt6358-rts as fallback.
> > 
> > Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> > ---
> >  Documentation/devicetree/bindings/rtc/rtc-mt6397.txt | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> > b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> > index 55a0c8874c03..5b012d222f5b 100644
> > --- a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> > +++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> > @@ -14,6 +14,8 @@ For MediaTek PMIC wrapper bus bindings, see:
> >  Required properties:
> >  - compatible: Should be one of follows
> >         "mediatek,mt6323-rtc": for MT6323 PMIC
> > +       "mediatek,mt6358-rtc": for MT6358 PMIC
> > +       "mediatek,mt6358-rtc","mediatek,mt6366-rtc": for MT6366
> > PMIC
> 
> Does not look like in correct order.
> 
> >         "mediatek,mt6397-rtc": for MT6397 PMIC
> >  
> >  Example:
> 
> 
> Best regards,
> Krzysztof

Thanks for yours reminder.

Our rtc owner didn't notice this.

I will correct that in next version.

Thanks,
Allen



_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible
@ 2022-04-28  7:57     ` allen-kh.cheng
  0 siblings, 0 replies; 8+ messages in thread
From: allen-kh.cheng @ 2022-04-28  7:57 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Alessandro Zummo, Alexandre Belloni,
	Rob Herring, Krzysztof Kozlowski, Matthias Brugger
  Cc: linux-rtc, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel

Hi Krzysztof,

On Thu, 2022-04-28 at 09:20 +0200, Krzysztof Kozlowski wrote:
> On 28/04/2022 08:46, Allen-KH Cheng wrote:
> > Add mt6358 and mt6366 compatible in devicetree-binding document for
> > MediaTek PMIC based RTC. mt6358 and mt6366 use same compatible data
> > to store RTC_WRTGR address offset.
> > 
> > mt6366-rtc will use mt6358-rts as fallback.
> > 
> > Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> > ---
> >  Documentation/devicetree/bindings/rtc/rtc-mt6397.txt | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> > b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> > index 55a0c8874c03..5b012d222f5b 100644
> > --- a/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> > +++ b/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
> > @@ -14,6 +14,8 @@ For MediaTek PMIC wrapper bus bindings, see:
> >  Required properties:
> >  - compatible: Should be one of follows
> >         "mediatek,mt6323-rtc": for MT6323 PMIC
> > +       "mediatek,mt6358-rtc": for MT6358 PMIC
> > +       "mediatek,mt6358-rtc","mediatek,mt6366-rtc": for MT6366
> > PMIC
> 
> Does not look like in correct order.
> 
> >         "mediatek,mt6397-rtc": for MT6397 PMIC
> >  
> >  Example:
> 
> 
> Best regards,
> Krzysztof

Thanks for yours reminder.

Our rtc owner didn't notice this.

I will correct that in next version.

Thanks,
Allen



_______________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2022-04-28  8:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28  6:46 [PATCH] dt-bindings: rtc: mediatek: add mt6358 and mt6366 compatible Allen-KH Cheng
2022-04-28  6:46 ` Allen-KH Cheng
2022-04-28  6:46 ` Allen-KH Cheng
2022-04-28  7:20 ` Krzysztof Kozlowski
2022-04-28  7:20   ` Krzysztof Kozlowski
2022-04-28  7:20   ` Krzysztof Kozlowski
2022-04-28  7:57   ` allen-kh.cheng
2022-04-28  7:57     ` allen-kh.cheng

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.