From patchwork Fri Aug 6 15:21:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 492840 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp423308jap; Fri, 6 Aug 2021 08:21:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxht8OY2LCoVZTo3S6M1GBvL9xfJf6dGzaAAM7gE1f+8sIGiU3NB6FREevpyBbX5Ki7xMGZ X-Received: by 2002:a17:906:814b:: with SMTP id z11mr10115092ejw.204.1628263311363; Fri, 06 Aug 2021 08:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628263311; cv=none; d=google.com; s=arc-20160816; b=YPiJ5NDk8f8S7ku2dEq8Klc3rn3BNHQuxybkvKSs58/yBGNxzUv4aWm9/9V7zOsIRz UPy6Uc1FITvz8stY4WT1wSFNHXenFxEymFhhd5pUozJfTy6iOGtOvydjf/K9liLruuBS 7sGSFTB1Ii8AJGfJGoQKxnissc91RtImAur+ACyZE1LC350PZ4mlaKE+zMNvqWXfr7eA jTfcuoypq6n5Ohfh6AQ17ucz5JcdDSHrEK6FsBFd9iM/wyedOZ0V+9w052gGkPqfnS73 kl0qoNCsuhx4fDQyI8stoWJl0iA1GO3I7N0LgMbEZfBsn8B2VpO7/K9YnDWX9gNGJqN5 Xl5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=H0OxH2DLR+a7XFHFrPAZwX3xA6D5uCHw5+vNuLWj+ZY=; b=bA9bAT53fl/9UJqb8H4tq9dbtemQIa5IOlom/R4MRzu/szxOJ36OTSv8NPQm2dzYLf Y5/QmpYCL+as8Iek2I/DyA2Z0x6koEBl/X/1iEk8X4hhkh3wj42nNOTXCPU8hs3HBmKq sXJ1cdlmRBV8ACnDhXGiglxx+Yqxafo0hS2mR375h/CqHFoeOVZxAjnpwTr6k9Hg+yeI y+RgFwwX4z08v+GjcchrYdS13KsrKnaH0BrNhqwdh1f/5LFLXoTdcjOCU4LZuJiXbFDq a2QggtlpHyOhdgFnlKpGHafSdm44riORbR59ObUgHgWBxxbdruojRmpv8/DsFKjGYH4Q mdug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pbk0Y8q4; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si9530543edt.211.2021.08.06.08.21.51; Fri, 06 Aug 2021 08:21:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pbk0Y8q4; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244310AbhHFPWG (ORCPT + 4 others); Fri, 6 Aug 2021 11:22:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244268AbhHFPWF (ORCPT ); Fri, 6 Aug 2021 11:22:05 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB193C06179A for ; Fri, 6 Aug 2021 08:21:49 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id p38so18722983lfa.0 for ; Fri, 06 Aug 2021 08:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H0OxH2DLR+a7XFHFrPAZwX3xA6D5uCHw5+vNuLWj+ZY=; b=pbk0Y8q49FHUjZEqTA4TnnaGPMxpn7WVjavgdfR59MN27ETDHVYSTGJT+aY0enr76w FqMqk/4fWtwS84qkuXWGWxxn+gFFAtcd26lbO1xGwSyc6nRLR9cA2rBG84+wVYlw9Q+g di3cRH+m4dfLCLk/M4a/6z+L/uzcxVqp+itjWYp79cevN6TJvoEyuhhFbheBZJe5LyZg nKQH8E7OSS4wzevRBhFC8zIPtN9H13DEC23tbJv2MABzfJX/YJQ7EF01FixcrbGGJ4// uz/n35N1lztmB08rAzzqDTrTzGhmIGDHg2aa1C6mOV3TxXi04AzNSG9v94+5KMxfbMJc vnlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H0OxH2DLR+a7XFHFrPAZwX3xA6D5uCHw5+vNuLWj+ZY=; b=WD0AfeOu/AxLAamMBgfuY7xNSBkPs9t2htuVUhDuboqiD4tTuDhOo90o0zLbXiuHPa zFJU9E8KjcL1BpvmJyHETAkVH01OWjPqcWgVAT4wO7g42o2uAAWHap4BdfxwSat2W+gX oZc8HVmYuqfJybQb0S9C88wcyHoGAAxta1RFlahBvof4vnuWwcDTS+xPVnzTVFWxm8tZ qXK30pxm56ar+rZ5rKSpCrnS9BBT3dc540ZGIEJaSlHUeZ0bFNikmxgiyIWBL46InQym Nq2wAvCgkU0+oxEehOjbQ6JSgCSKD0XUCBgP0cUJpFZUTQHDkjvao1oCBGDrkG4YB2MQ 1J2w== X-Gm-Message-State: AOAM531gTcL6luD3bW/H4IzyrzwMWHORksC+zickSzkfRUTtf17DRUvt DlaRY59tsxLqgxXclFbeLf4xPw== X-Received: by 2002:a19:6b19:: with SMTP id d25mr7721777lfa.349.1628263308041; Fri, 06 Aug 2021 08:21:48 -0700 (PDT) Received: from localhost ([31.134.121.151]) by smtp.gmail.com with ESMTPSA id i3sm275324lfr.217.2021.08.06.08.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 08:21:47 -0700 (PDT) From: Sam Protsenko To: Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Linus Walleij , Tomasz Figa , =?utf-8?q?Pawe=C5=82_Chmiel?= Cc: Marc Zyngier , Rob Herring , Stephen Boyd , Michael Turquette , Jiri Slaby , Greg Kroah-Hartman , Charles Keepax , Ryu Euiyoul , Tom Gall , Sumit Semwal , John Stultz , Amit Pundir , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v2 0/8] Add minimal support for Exynos850 SoC Date: Fri, 6 Aug 2021 18:21:38 +0300 Message-Id: <20210806152146.16107-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch series adds initial platform support for Samsung Exynos850 SoC [1]. With this patchset it's possible to run the kernel with BusyBox rootfs as a RAM disk. More advanced platform support (like MMC driver additions) will be added later. The idea is to keep the first submission minimal to ease the review, and then build up on top of that. [1] https://www.samsung.com/semiconductor/minisite/exynos/products/mobileprocessor/exynos-850/ Changes in v2: * Rebased on top of current linux-mainline * Removed patch ("pinctrl: samsung: Fix pinctrl bank pin count"); it was sent separately, as it's an independent fix * Made the patch ("dt-bindings: pinctrl: samsung: Add Exynos850 doc") to be the first in series * Removed patch ("MAINTAINERS: Changes in v2"); will add that later, when proper clock driver is implemented * Removed patch ("dt-bindings: clock: Add bindings for Exynos850 clock controller"); will add clock bindings later, when proper clock driver is implemented * Removed patch ("dt-bindings: interrupt-controller: Add IRQ constants for Exynos850"), and used hard-coded IRQ numbers in dts instead * See also changes in each particular patch Sam Protsenko (8): dt-bindings: pinctrl: samsung: Add Exynos850 doc pinctrl: samsung: Add Exynos850 SoC specific data dt-bindings: serial: samsung: Add Exynos850 doc tty: serial: samsung: Init USI to keep clocks running tty: serial: samsung: Fix driver data macros style tty: serial: samsung: Add Exynos850 SoC data clk: samsung: Add Exynos850 clock driver stub arm64: dts: exynos: Add Exynos850 SoC support .../bindings/pinctrl/samsung-pinctrl.txt | 1 + .../bindings/serial/samsung_uart.yaml | 1 + .../boot/dts/exynos/exynos850-pinctrl.dtsi | 748 ++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos850.dtsi | 256 ++++++ drivers/clk/samsung/Makefile | 1 + drivers/clk/samsung/clk-exynos850.c | 64 ++ .../pinctrl/samsung/pinctrl-exynos-arm64.c | 116 +++ drivers/pinctrl/samsung/pinctrl-exynos.h | 29 + drivers/pinctrl/samsung/pinctrl-samsung.c | 2 + drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + drivers/tty/serial/samsung_tty.c | 49 +- include/linux/serial_s3c.h | 9 + 12 files changed, 1274 insertions(+), 3 deletions(-) create mode 100644 arch/arm64/boot/dts/exynos/exynos850-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/exynos/exynos850.dtsi create mode 100644 drivers/clk/samsung/clk-exynos850.c -- 2.30.2