Re: [PATCH 00/25] RDA8810PL Clock, RTC and MMC driver

2025-09-17 Thread Dang Huynh
On 2025-09-17 17:03, Manivannan Sadhasivam wrote: On Wed, Sep 17, 2025 at 03:24:57AM GMT, Dang Huynh via B4 Relay wrote: This patch series aims to add support for Clock/Reset, Real-Time Clock and SDMMC on the RDA Micro RDA8810PL platform. It also adds Intelligent Flow Controller (IOW, a DMA co

Re: [PATCH 05/25] dt-bindings: rtc: Add RDA Micro RDA8810PL RTC

2025-09-17 Thread Dang Huynh
On 2025-09-18 03:46, Conor Dooley wrote: On Wed, Sep 17, 2025 at 03:07:22AM +0700, Dang Huynh wrote: Add documentation describing the RTC found in RDA8810PL SoC. Signed-off-by: Dang Huynh --- .../devicetree/bindings/rtc/rda,8810pl-rtc.yaml| 30 ++ 1 file changed, 30

[PATCH 02/25] drivers: gpio: rda: Make IRQ optional

2025-09-17 Thread Dang Huynh via B4 Relay
From: Dang Huynh Not all GPIO have IRQ. When we use this driver with GPIOC (handled by modem) we get: rda-gpio 11a08000.gpioc: error -ENXIO: IRQ index 0 not found Let's mark IRQ as optional so this error doesn't show up. Signed-off-by: Dang Huynh --- drivers/gpio/gpio-rda.c | 2 +- 1 file ch

Re: [PATCH 00/25] RDA8810PL Clock, RTC and MMC driver

2025-09-17 Thread Dang Huynh
Hi, On Tuesday, September 16, 2025 8:26:49 PM Coordinated Universal Time Alexandre Belloni wrote: > Hello, > > On 17/09/2025 03:07:17+0700, Dang Huynh wrote: > > This patch series aims to add support for Clock/Reset, Real-Time Clock and > > SDMMC on the RDA Micro RDA8810PL platform. > > What ar

Re: [PATCH 09/25] dt-bindings: clock: Add RDA Micro RDA8810PL clock/reset controller

2025-09-17 Thread Krzysztof Kozlowski
On 17/09/2025 22:25, Dang Huynh via B4 Relay wrote: > + > +required: > + - compatible > + - reg > + - "#clock-cells" Use consistent quotes, either ' or " > + - "#reset-cells" > + > +additionalProperties: false > + > +examples: > + - | > +#include > + > +ap_syscon: syscon@0 { > +

[PATCH 17/25] drivers: gpio: rda: Make direction register unreadable

2025-09-17 Thread Dang Huynh via B4 Relay
From: Dang Huynh The register doesn't like to be read, this causes the SD Card Card Detect GPIO to misbehaves in the OS. Signed-off-by: Dang Huynh --- drivers/gpio/gpio-rda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-rda.c b/drivers/gpio/gpio-rda.c i

[PATCH 1/2][next] stddef: Remove token-pasting in TRAILING_OVERLAP()

2025-09-17 Thread Gustavo A. R. Silva
Currently, TRAILING_OVERLAP() token-pastes the FAM parameter into the name of internal pdding member `__offset_to_##FAM`. This forces FAM to be a single identifier, which prevents callers from using a FAM when it's a nested member. For instance, see the following scenario: | struct flex { |

Re: [PATCH 1/3] dt-bindings: arm: samsung: Document gta4xl board binding

2025-09-17 Thread Rob Herring (Arm)
On Sun, 14 Sep 2025 20:43:56 +, Alexandru Chimac wrote: > Add binding for the Samsung Galaxy Tab S6 Lite (SM-P610/SM-P615) > board. > > Signed-off-by: Alexandru Chimac > --- > Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++ > 1 file changed, 6 insertions(+) >

[PATCH RESEND] sparc: PCI: Replace deprecated strcpy() with strscpy()

2025-09-17 Thread Thorsten Blum
strcpy() is deprecated; use strscpy() instead. No functional changes intended. Link: https://github.com/KSPP/linux/issues/88 Signed-off-by: Thorsten Blum --- arch/sparc/kernel/pcic.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc

Re: [PATCH 03/25] dt-bindings: gpio: rda: Make interrupts optional

2025-09-17 Thread Conor Dooley
Acked-by: Conor Dooley signature.asc Description: PGP signature

Re: [PATCH 05/25] dt-bindings: rtc: Add RDA Micro RDA8810PL RTC

2025-09-17 Thread Conor Dooley
On Wed, Sep 17, 2025 at 03:07:22AM +0700, Dang Huynh wrote: > Add documentation describing the RTC found in RDA8810PL SoC. > > Signed-off-by: Dang Huynh > --- > .../devicetree/bindings/rtc/rda,8810pl-rtc.yaml| 30 > ++ > 1 file changed, 30 insertions(+) > > diff --git a

Re: [PATCH 09/25] dt-bindings: clock: Add RDA Micro RDA8810PL clock/reset controller

2025-09-17 Thread Conor Dooley
On Wed, Sep 17, 2025 at 03:07:26AM +0700, Dang Huynh wrote: > Add documentation describing the RDA8810PL Clock and Reset > controller. > > Signed-off-by: Dang Huynh > --- > .../bindings/clock/rda,8810pl-apsyscon.yaml| 44 > include/dt-bindings/clock/rda,8810pl-apclk.h

[PATCH 2/2][next] stddef: Introduce __TRAILING_OVERLAP()

2025-09-17 Thread Gustavo A. R. Silva
Introduce underlying __TRAILING_OVERLAP() macro to let callers apply atributes to trailing overlapping members. For instance, the code below: | struct flex { | size_t count; | int data[]; | }; | struct { | struct flex f; | struct foo a; | struct boo b; | } __packed

Re: [PATCH 00/25] RDA8810PL Clock, RTC and MMC driver

2025-09-17 Thread Manivannan Sadhasivam
On Wed, Sep 17, 2025 at 03:24:57AM GMT, Dang Huynh via B4 Relay wrote: > This patch series aims to add support for Clock/Reset, Real-Time Clock and > SDMMC on the RDA Micro RDA8810PL platform. > > It also adds Intelligent Flow Controller (IOW, a DMA controller) which is > important for working wit

[PATCH 06/25] rtc: Add driver for RDA Micro SoC

2025-09-17 Thread Dang Huynh
The RDA Micro SoC has built-in RTC, it supports read/write date as well as alarm. Signed-off-by: Dang Huynh --- MAINTAINERS | 6 + drivers/rtc/Kconfig | 11 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-rda.c | 356 ++ 4 files ch

Re: [PATCH 0/2][next] Expand TRAILING_OVERLAP() capabilities

2025-09-17 Thread Kees Cook
On Wed, 17 Sep 2025 15:25:44 +0200, Gustavo A. R. Silva wrote: > Small series aimed at expanding TRAILING_OVERLAP() capabilities. > > Gustavo A. R. Silva (2): > stddef: Remove token-pasting in TRAILING_OVERLAP() > stddef: Introduce __TRAILING_OVERLAP() > > include/linux/stddef.h | 24

[PATCH 15/25] power: reset: Add basic power reset driver for RDA8810PL

2025-09-17 Thread Dang Huynh via B4 Relay
From: Dang Huynh This basic driver can only reboot, powering off requires the modem firmware which we don't have yet. Signed-off-by: Dang Huynh --- MAINTAINERS | 6 + drivers/power/reset/Kconfig | 9 +++ drivers/power/reset/Makefile | 1 + drivers/power

[PATCH 0/2][next] Expand TRAILING_OVERLAP() capabilities

2025-09-17 Thread Gustavo A. R. Silva
Small series aimed at expanding TRAILING_OVERLAP() capabilities. Gustavo A. R. Silva (2): stddef: Remove token-pasting in TRAILING_OVERLAP() stddef: Introduce __TRAILING_OVERLAP() include/linux/stddef.h | 24 1 file changed, 20 insertions(+), 4 deletions(-) -- 2.43

Re: [PATCH RESEND] sparc: PCI: Replace deprecated strcpy() with strscpy()

2025-09-17 Thread Bjorn Helgaas
On Wed, Sep 17, 2025 at 04:47:30PM +0200, Thorsten Blum wrote: > strcpy() is deprecated; use strscpy() instead. > > No functional changes intended. > > Link: https://github.com/KSPP/linux/issues/88 > Signed-off-by: Thorsten Blum No objection from me, but no particular PCI core issue and I don't

Re: [PATCH 17/25] drivers: gpio: rda: Make direction register unreadable

2025-09-17 Thread Bartosz Golaszewski
On Tue, 16 Sep 2025 22:25:14 +0200, Dang Huynh via B4 Relay said: > From: Dang Huynh > > The register doesn't like to be read, this causes the SD Card > Card Detect GPIO to misbehaves in the OS. > Hi! Sorry but this message is unintelligible, please say precisely what is going on and why you ne