Re: [PATCH v4 2/8] ARM: Prepare Realtek RTD1195

From: Andreas FÃrber
Date: Wed Jan 15 2020 - 08:22:56 EST


Am 05.01.20 um 06:52 schrieb Andreas FÃrber:
Am 23.11.19 um 21:37 schrieb Andreas FÃrber:
Introduce ARCH_REALTEK Kconfig option also for 32-bit Arm.

Override the text offset to cope with boot ROM occupying first 0xa800
bytes and further reservations up to 0xf4000 (compare Device Tree).

Add a custom machine_desc to enforce memory carveout for I/O registers.

Signed-off-by: Andreas FÃrber <afaerber@xxxxxxx>
---
 v3 -> v4:
 * Added reservation of boot ROM (James)
 v2 -> v3:
 * Fixed r-bus size in .reserve from 0x100000 to 0x70000 (James)
 v1 -> v2:
 * Dropped selection of COMMON_CLK (Arnd)
 * Dropped selection of AMBA, SCU, TWD
 * Added comment about text offset to distinguish from HTC comment above
 * Added machine_desc with .reserve to exclude peripheral spaces (Rob)
 arch/arm/Kconfig | 2 ++
 arch/arm/Makefile | 3 +++
 arch/arm/mach-realtek/Kconfig | 11 +++++++++++
 arch/arm/mach-realtek/Makefile | 2 ++
 arch/arm/mach-realtek/rtd1195.c | 40 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 58 insertions(+)
 create mode 100644 arch/arm/mach-realtek/Kconfig
 create mode 100644 arch/arm/mach-realtek/Makefile
 create mode 100644 arch/arm/mach-realtek/rtd1195.c

This patch was lacking a MAINTAINERS update. Squashing:

diff --git a/MAINTAINERS b/MAINTAINERS
index 7b626563fb3c..b48461736971 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2204,6 +2204,7 @@ M:ÂÂÂÂÂÂÂ Andreas FÃrber <afaerber@xxxxxxx>
ÂL:ÂÂÂÂ linux-arm-kernel@xxxxxxxxxxxxxxxxxxx (moderated for non-subscribers)
ÂL:ÂÂÂÂ linux-realtek-soc@xxxxxxxxxxxxxxxxxxx (moderated for non-subscribers)
ÂS:ÂÂÂÂ Maintained
+F:ÂÂÂÂ arch/arm/mach-realtek/
ÂF:ÂÂÂÂ arch/arm64/boot/dts/realtek/
ÂF:ÂÂÂÂ Documentation/devicetree/bindings/arm/realtek.yaml


Unfortunately this on v5.6/soc branch will conflict with adding an entry for the DTs on v5.6/dt branch, so I guess the best way to handle this will be a follow-up patch for the v5.6/soc branch (which may trigger pattern warnings due to the files getting added on a different branch)?

diff --git a/MAINTAINERS b/MAINTAINERS
index b48461736971..01081bea2488 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2204,6 +2204,7 @@ M:ÂÂÂÂÂÂÂ Andreas FÃrber <afaerber@xxxxxxx>
ÂL:ÂÂÂÂ linux-arm-kernel@xxxxxxxxxxxxxxxxxxx (moderated for non-subscribers)
ÂL:ÂÂÂÂ linux-realtek-soc@xxxxxxxxxxxxxxxxxxx (moderated for non-subscribers)
ÂS:ÂÂÂÂ Maintained
+F:ÂÂÂÂ arch/arm/boot/dts/rtd*
ÂF:ÂÂÂÂ arch/arm/mach-realtek/
ÂF:ÂÂÂÂ arch/arm64/boot/dts/realtek/
ÂF:ÂÂÂÂ Documentation/devicetree/bindings/arm/realtek.yaml

No responses, so also applied to linux-realtek.git v5.6/soc:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.6/soc

Regards,
Andreas

--
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 NÃrnberg, Germany
GF: Felix ImendÃrffer
HRB 36809 (AG NÃrnberg)