From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3200C433EF for ; Tue, 12 Oct 2021 15:41:56 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33F4561076 for ; Tue, 12 Oct 2021 15:41:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 33F4561076 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4AE90834CC; Tue, 12 Oct 2021 17:41:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MHc5HLST"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 70F01834B0; Tue, 12 Oct 2021 17:41:51 +0200 (CEST) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C0041834C1 for ; Tue, 12 Oct 2021 17:41:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dsankouski@gmail.com Received: by mail-wr1-x431.google.com with SMTP id g25so21716508wrb.2 for ; Tue, 12 Oct 2021 08:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=18dWZolanoAaRt+11BT291X7ERSoN1YynR+ueyCR26w=; b=MHc5HLST3T18BSKj29n8hjmMNnpyYbXHBtN50zQAH56h7eZvVHHHtG4ivfxhcm95vs JDkHu6YbfDD0TlS7WZzRp1qG4OyPrDV/k18afINktEOK5zdvWIneboWuJAXgTQ8DXJcT /NnaCQZDnigmAREDmpLVf3T7jt38Vt7BxumEsC0Pn5X9iIGtrdcHc6IBLyO+A825uZqq 8OBpmpMqw3j3x8PlVHksx9NLHMijLTEGmpoFa+P4/ELrEk4WF890/LOMvHu6L7Ecj9GT I9utmsh/nbTtLkGxgPp9lQ0yHq8P+ISNfDbc6QMlRnyCEKtgLgK/IJmAjkfGtCDbxt4J yVbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=18dWZolanoAaRt+11BT291X7ERSoN1YynR+ueyCR26w=; b=MiGOCeURcRc0oUWruOPFPstGuDjU1bY2KuwKgte7WD6RXbU4uxIOQ9fSljlgqM+ZpX yRteCrktdyIzO0ioGIKVLs+cH2GR5Si9B87zR1O6mZHVxJUa3PTjJxdeFajxg9j71VQ8 KlTtp+I48xAQJJoVEA4NcvpwqlchJNzVJmfw0tJuSsDNl+BTHWenHKtqivxBqy4YXl2I VFhYLry1KdWTkWFegUVaFl7PQJj77bnyXHDGmDc/zepU1ZVoRtkDy7Tl4vZyx5YTR7mU kIa/gF2pyu0tWgJwo3iT6ysqika9BnlQutRHa75hSbkL80dRSe0tZBIr8UDrEkpu254R ktMQ== X-Gm-Message-State: AOAM530Kd7UUBCatzzBIpiNZvSPKX1AnJS+y77wWljoAYtCY8cOUsIf6 6I5QbiLv50smer5DNhS5VH/9gwb4y02jPg== X-Google-Smtp-Source: ABdhPJyJQesOhsumM6+3Qm2vZR5Sc5zhu/sSG5VVeivOfoIEv9lyU2XgjUhuY0nXE5sOslaRVkVerA== X-Received: by 2002:a05:600c:4ec8:: with SMTP id g8mr6444073wmq.153.1634053303101; Tue, 12 Oct 2021 08:41:43 -0700 (PDT) Received: from localhost.localdomain ([46.216.16.109]) by smtp.gmail.com with ESMTPSA id p11sm3188301wmi.0.2021.10.12.08.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 08:41:42 -0700 (PDT) From: Dzmitry Sankouski To: u-boot@lists.denx.de Cc: Dzmitry Sankouski Subject: [PATCH 0/4] Add support for Samsung 2017 A-series phones Date: Tue, 12 Oct 2021 18:41:25 +0300 Message-Id: <20211012154129.19710-1-dsankouski@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Samsung Galaxy A3, A5, A7 (2017) - middle class Samsung smartphones, powered by Exynos7880 (A5,A7) and Exynos7870 (A3) U-boot can be used as chain-loaded bootloader to gain control on booting vanilla linux(and possibly others) kernels. Samsung Exynos 7880 \ 7870 - SoC for mainstream smartphones and tablets introduced on March 2017. Features: - 8 Cortex A53 cores - ARM Mali-T830 MP3 GPU - LTE Cat. 7 (7880) or 6 (7870) modem Dzmitry Sankouski (4): serial: samsung: add support for skip debug init in s5p pinctrl: exynos: add support for multiple pin banks SoC: exynos: add support for exynos 78x0 board: samsung: add support for Galaxy A series of 2017 (a5y17lte) arch/arm/dts/Makefile | 3 + arch/arm/dts/exynos78x0-axy17lte.dts | 29 ++ arch/arm/dts/exynos78x0-gpio.dtsi | 204 ++++++++++++++ arch/arm/dts/exynos78x0-pinctrl.dtsi | 280 ++++++++++++++++++++ arch/arm/dts/exynos78x0.dtsi | 98 +++++++ arch/arm/mach-exynos/Kconfig | 28 ++ arch/arm/mach-exynos/mmu-arm64.c | 66 +++++ board/samsung/axy17lte/Kconfig | 58 ++++ board/samsung/axy17lte/MAINTAINERS | 8 + board/samsung/axy17lte/Makefile | 3 + board/samsung/axy17lte/axy17lte.c | 11 + configs/a3y17lte_defconfig | 24 ++ configs/a5y17lte_defconfig | 24 ++ configs/a7y17lte_defconfig | 24 ++ doc/board/index.rst | 1 + doc/board/samsung/axy17lte.rst | 92 +++++++ doc/board/samsung/index.rst | 9 + drivers/gpio/s5p_gpio.c | 1 + drivers/pinctrl/exynos/Kconfig | 8 + drivers/pinctrl/exynos/Makefile | 1 + drivers/pinctrl/exynos/pinctrl-exynos.c | 28 +- drivers/pinctrl/exynos/pinctrl-exynos78x0.c | 119 +++++++++ drivers/serial/serial_s5p.c | 8 +- include/configs/exynos78x0-common.h | 112 ++++++++ 24 files changed, 1230 insertions(+), 9 deletions(-) create mode 100644 arch/arm/dts/exynos78x0-axy17lte.dts create mode 100644 arch/arm/dts/exynos78x0-gpio.dtsi create mode 100644 arch/arm/dts/exynos78x0-pinctrl.dtsi create mode 100644 arch/arm/dts/exynos78x0.dtsi create mode 100644 board/samsung/axy17lte/Kconfig create mode 100644 board/samsung/axy17lte/MAINTAINERS create mode 100644 board/samsung/axy17lte/Makefile create mode 100644 board/samsung/axy17lte/axy17lte.c create mode 100644 configs/a3y17lte_defconfig create mode 100644 configs/a5y17lte_defconfig create mode 100644 configs/a7y17lte_defconfig create mode 100644 doc/board/samsung/axy17lte.rst create mode 100644 doc/board/samsung/index.rst create mode 100644 drivers/pinctrl/exynos/pinctrl-exynos78x0.c create mode 100644 include/configs/exynos78x0-common.h -- 2.20.1