diff mbox series

[v2,8/8] sunxi: a64: Add a defconfig for the PinePhone

Message ID 20201024152156.25578-9-samuel@sholland.org
State Changes Requested
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series PinePhone automatic device tree selection | expand

Commit Message

Samuel Holland Oct. 24, 2020, 3:21 p.m. UTC
The PinePhone is a smartphone produced by Pine64, with an A64 SoC,
2 or 3 GiB LPDDR3 RAM, 16 or 32 GiB eMMC, 720x1440 MIPI-DSI panel,
and Quectel EG25-G modem.

There are two main board revisions: 1.1 for early adopters, and 1.2
for mass production. Since there is code to detect the board revision
at boot, one config/image can support both boards.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
 configs/pinephone_defconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 configs/pinephone_defconfig

Comments

Jagan Teki Oct. 28, 2020, 6:51 p.m. UTC | #1
On Sat, Oct 24, 2020 at 8:52 PM Samuel Holland <samuel@sholland.org> wrote:
>
> The PinePhone is a smartphone produced by Pine64, with an A64 SoC,
> 2 or 3 GiB LPDDR3 RAM, 16 or 32 GiB eMMC, 720x1440 MIPI-DSI panel,
> and Quectel EG25-G modem.
>
> There are two main board revisions: 1.1 for early adopters, and 1.2
> for mass production. Since there is code to detect the board revision
> at boot, one config/image can support both boards.
>
> Acked-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Samuel Holland <samuel@sholland.org>
> ---
>  configs/pinephone_defconfig | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 configs/pinephone_defconfig

Can you update sunxi board maintainers file and send this patch alone.

Except this, all

Applied to u-boot-sunxi/master
diff mbox series

Patch

diff --git a/configs/pinephone_defconfig b/configs/pinephone_defconfig
new file mode 100644
index 00000000000..64ecef59c90
--- /dev/null
+++ b/configs/pinephone_defconfig
@@ -0,0 +1,12 @@ 
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_MACH_SUN50I=y
+CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
+CONFIG_DRAM_CLK=552
+CONFIG_DRAM_ZQ=3881949
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_PINEPHONE_DT_SELECTION=y
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinephone-1.2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_OF_LIST="sun50i-a64-pinephone-1.1 sun50i-a64-pinephone-1.2"