From: "Duje Mihanović" <duje.mihanovic@skole.hr> To: Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afaerber@suse.com, "Duje Mihanović" <duje.mihanovic@skole.hr> Subject: [PATCH 00/10] Initial Marvell PXA1908 support Date: Fri, 21 Jul 2023 22:37:42 +0200 [thread overview] Message-ID: <20230721210042.21535-1-duje.mihanovic@skole.hr> (raw) Hello, This series adds initial support for the Marvell PXA1908 SoC and "samsung,coreprimevelte", a smartphone using the SoC. USB works and the phone can boot a rootfs from an SD card, but there are some warnings in the dmesg: During SMP initialization: [ 0.006519] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU1: 0x00000000000000 [ 0.006542] CPU features: Unsupported CPU feature variation detected. [ 0.006589] CPU1: Booted secondary processor 0x0000000001 [0x410fd032] [ 0.010710] Detected VIPT I-cache on CPU2 [ 0.010716] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU2: 0x00000000000000 [ 0.010758] CPU2: Booted secondary processor 0x0000000002 [0x410fd032] [ 0.014849] Detected VIPT I-cache on CPU3 [ 0.014855] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU3: 0x00000000000000 [ 0.014895] CPU3: Booted secondary processor 0x0000000003 [0x410fd032] SMMU probing fails: [ 0.101798] arm-smmu c0010000.iommu: probing hardware configuration... [ 0.101809] arm-smmu c0010000.iommu: SMMUv1 with: [ 0.101816] arm-smmu c0010000.iommu: no translation support! On Samsung's PXA1908 phones, the bootloader does not start the ARM system timer, and my temporary solution (which isn't present in this series) was to put the code for starting the timer in the clock driver. Would this hack be accepted upstream in the form of a platform or clocksource driver such as drivers/clocksource/timer-mediatek-cpux.c? A 3.14 based Marvell tree is available on GitHub acorn-marvell/brillo_pxa_kernel, and a Samsung one on GitHub CoderCharmander/g361f-kernel. Andreas Färber attempted to upstream support for this SoC in 2017: https://lore.kernel.org/lkml/20170222022929.10540-1-afaerber@suse.de/ Duje Mihanović (10): tty: serial: 8250: Define earlycon for mrvl,mmp-uart gpio: pxa: use dynamic allocation of base gpio: pxa: make pxa_gpio_has_pinctrl return false for MMP_GPIO clk: mmp: Add Marvell PXA1908 clock driver dt-bindings: clock: Add Marvell PXA1908 clock bindings dt-bindings: clock: Add documentation for Marvell PXA1908 arm64: Kconfig.platforms: Add config for Marvell PXA1908 platform arm64: dts: Add DTS for Marvell PXA1908 and samsung,coreprimevelte dt-bindings: marvell: Document PXA1908 SoC MAINTAINERS: add myself as Marvell PXA1908 maintainer .../bindings/arm/marvell/marvell,pxa1908.yaml | 33 ++ .../bindings/clock/marvell,pxa1908.yaml | 53 +++ MAINTAINERS | 10 + arch/arm64/Kconfig.platforms | 11 + arch/arm64/boot/dts/marvell/Makefile | 1 + .../pxa1908-samsung-coreprimevelte.dts | 321 ++++++++++++++++++ arch/arm64/boot/dts/marvell/pxa1908.dtsi | 298 ++++++++++++++++ drivers/clk/mmp/Makefile | 2 +- drivers/clk/mmp/clk-of-pxa1908.c | 282 +++++++++++++++ drivers/gpio/gpio-pxa.c | 2 + drivers/tty/serial/8250/8250_pxa.c | 1 + include/dt-bindings/clock/marvell,pxa1908.h | 93 +++++ 12 files changed, 1106 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml create mode 100644 Documentation/devicetree/bindings/clock/marvell,pxa1908.yaml create mode 100644 arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts create mode 100644 arch/arm64/boot/dts/marvell/pxa1908.dtsi create mode 100644 drivers/clk/mmp/clk-of-pxa1908.c create mode 100644 include/dt-bindings/clock/marvell,pxa1908.h -- 2.41.0
WARNING: multiple messages have this Message-ID (diff)
From: "Duje Mihanović" <duje.mihanovic@skole.hr> To: Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, afaerber@suse.com, "Duje Mihanović" <duje.mihanovic@skole.hr> Subject: [PATCH 00/10] Initial Marvell PXA1908 support Date: Fri, 21 Jul 2023 22:37:42 +0200 [thread overview] Message-ID: <20230721210042.21535-1-duje.mihanovic@skole.hr> (raw) Hello, This series adds initial support for the Marvell PXA1908 SoC and "samsung,coreprimevelte", a smartphone using the SoC. USB works and the phone can boot a rootfs from an SD card, but there are some warnings in the dmesg: During SMP initialization: [ 0.006519] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU1: 0x00000000000000 [ 0.006542] CPU features: Unsupported CPU feature variation detected. [ 0.006589] CPU1: Booted secondary processor 0x0000000001 [0x410fd032] [ 0.010710] Detected VIPT I-cache on CPU2 [ 0.010716] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU2: 0x00000000000000 [ 0.010758] CPU2: Booted secondary processor 0x0000000002 [0x410fd032] [ 0.014849] Detected VIPT I-cache on CPU3 [ 0.014855] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU3: 0x00000000000000 [ 0.014895] CPU3: Booted secondary processor 0x0000000003 [0x410fd032] SMMU probing fails: [ 0.101798] arm-smmu c0010000.iommu: probing hardware configuration... [ 0.101809] arm-smmu c0010000.iommu: SMMUv1 with: [ 0.101816] arm-smmu c0010000.iommu: no translation support! On Samsung's PXA1908 phones, the bootloader does not start the ARM system timer, and my temporary solution (which isn't present in this series) was to put the code for starting the timer in the clock driver. Would this hack be accepted upstream in the form of a platform or clocksource driver such as drivers/clocksource/timer-mediatek-cpux.c? A 3.14 based Marvell tree is available on GitHub acorn-marvell/brillo_pxa_kernel, and a Samsung one on GitHub CoderCharmander/g361f-kernel. Andreas Färber attempted to upstream support for this SoC in 2017: https://lore.kernel.org/lkml/20170222022929.10540-1-afaerber@suse.de/ Duje Mihanović (10): tty: serial: 8250: Define earlycon for mrvl,mmp-uart gpio: pxa: use dynamic allocation of base gpio: pxa: make pxa_gpio_has_pinctrl return false for MMP_GPIO clk: mmp: Add Marvell PXA1908 clock driver dt-bindings: clock: Add Marvell PXA1908 clock bindings dt-bindings: clock: Add documentation for Marvell PXA1908 arm64: Kconfig.platforms: Add config for Marvell PXA1908 platform arm64: dts: Add DTS for Marvell PXA1908 and samsung,coreprimevelte dt-bindings: marvell: Document PXA1908 SoC MAINTAINERS: add myself as Marvell PXA1908 maintainer .../bindings/arm/marvell/marvell,pxa1908.yaml | 33 ++ .../bindings/clock/marvell,pxa1908.yaml | 53 +++ MAINTAINERS | 10 + arch/arm64/Kconfig.platforms | 11 + arch/arm64/boot/dts/marvell/Makefile | 1 + .../pxa1908-samsung-coreprimevelte.dts | 321 ++++++++++++++++++ arch/arm64/boot/dts/marvell/pxa1908.dtsi | 298 ++++++++++++++++ drivers/clk/mmp/Makefile | 2 +- drivers/clk/mmp/clk-of-pxa1908.c | 282 +++++++++++++++ drivers/gpio/gpio-pxa.c | 2 + drivers/tty/serial/8250/8250_pxa.c | 1 + include/dt-bindings/clock/marvell,pxa1908.h | 93 +++++ 12 files changed, 1106 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,pxa1908.yaml create mode 100644 Documentation/devicetree/bindings/clock/marvell,pxa1908.yaml create mode 100644 arch/arm64/boot/dts/marvell/pxa1908-samsung-coreprimevelte.dts create mode 100644 arch/arm64/boot/dts/marvell/pxa1908.dtsi create mode 100644 drivers/clk/mmp/clk-of-pxa1908.c create mode 100644 include/dt-bindings/clock/marvell,pxa1908.h -- 2.41.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2023-07-21 21:13 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-07-21 20:37 Duje Mihanović [this message] 2023-07-21 20:37 ` [PATCH 00/10] Initial Marvell PXA1908 support Duje Mihanović 2023-07-21 20:37 ` [PATCH 01/10] tty: serial: 8250: Define earlycon for mrvl,mmp-uart Duje Mihanović 2023-07-21 20:37 ` [PATCH 02/10] gpio: pxa: use dynamic allocation of base Duje Mihanović 2023-07-24 9:00 ` Andy Shevchenko 2023-07-21 20:37 ` [PATCH 03/10] gpio: pxa: make pxa_gpio_has_pinctrl return false for MMP_GPIO Duje Mihanović 2023-07-24 9:01 ` Andy Shevchenko 2023-07-21 20:37 ` [PATCH 04/10] clk: mmp: Add Marvell PXA1908 clock driver Duje Mihanović 2023-07-21 20:37 ` Duje Mihanović 2023-07-24 9:05 ` Andy Shevchenko 2023-07-21 20:37 ` [PATCH 05/10] dt-bindings: clock: Add Marvell PXA1908 clock bindings Duje Mihanović 2023-07-21 20:37 ` Duje Mihanović 2023-07-22 9:21 ` Krzysztof Kozlowski 2023-07-22 9:21 ` Krzysztof Kozlowski 2023-07-21 20:37 ` [PATCH 06/10] dt-bindings: clock: Add documentation for Marvell PXA1908 Duje Mihanović 2023-07-22 9:23 ` Krzysztof Kozlowski 2023-07-21 20:37 ` [PATCH 07/10] arm64: Kconfig.platforms: Add config for Marvell PXA1908 platform Duje Mihanović 2023-07-21 20:37 ` Duje Mihanović 2023-07-21 20:37 ` [PATCH 08/10] arm64: dts: Add DTS for Marvell PXA1908 and samsung,coreprimevelte Duje Mihanović 2023-07-21 20:37 ` Duje Mihanović 2023-07-22 9:25 ` Krzysztof Kozlowski 2023-07-22 9:25 ` Krzysztof Kozlowski 2023-07-21 20:37 ` [PATCH 09/10] dt-bindings: marvell: Document PXA1908 SoC Duje Mihanović 2023-07-21 20:37 ` Duje Mihanović 2023-07-21 22:28 ` Rob Herring 2023-07-21 22:28 ` Rob Herring 2023-07-22 9:27 ` Krzysztof Kozlowski 2023-07-22 9:27 ` Krzysztof Kozlowski 2023-07-22 21:52 ` Duje Mihanović 2023-07-24 14:14 ` Rob Herring 2023-07-24 21:37 ` Duje Mihanović 2023-07-21 20:37 ` [PATCH 10/10] MAINTAINERS: add myself as Marvell PXA1908 maintainer Duje Mihanović
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230721210042.21535-1-duje.mihanovic@skole.hr \ --to=duje.mihanovic@skole.hr \ --cc=afaerber@suse.com \ --cc=angelogioacchino.delregno@collabora.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=matthias.bgg@gmail.com \ --cc=phone-devel@vger.kernel.org \ --cc=~postmarketos/upstreaming@lists.sr.ht \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.