From patchwork Fri Jul 30 14:49:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 489320 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:1185:0:0:0:0 with SMTP id f5csp3221612jas; Fri, 30 Jul 2021 07:49:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6YOZFbOAciwRJocFtyIZkqDuINqSxiPiLKk+jz4lYj5xSjDZegeA+zbkfKuJrjVjeBBPx X-Received: by 2002:a5d:97cc:: with SMTP id k12mr1180305ios.4.1627656567278; Fri, 30 Jul 2021 07:49:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627656567; cv=none; d=google.com; s=arc-20160816; b=gy32VA9dXrGBfNgCAJxzOmN14n/kkvNqwKcYUDIOySGFY2dvJS91+RG7bpPM//oiPR 8mn78DnidTa3i53ozUHeytZ3fVEf+9fWui2sOgVdOp2PApt+0iF611msD84ScdgfX+Kr tSaJravbCyRnAFxgPx+s6h/T4bmZoW78Q6HB5jzRdDy+49wOm4Q9WEGGRtW1/h0CKglh O4zUp9QhU0TDhQUP4IdVYLMiGlKDXJL6bGOcID1LZ06tsdv3yYkzUC6DpNkePwaeYEXP alNIwoBT0fUE7TR7d3cjnGs2E7aS6S7JzKijlDuJM2fZ1VlfXzYixZU5dIkYX1+B3TSN fkPg== 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=5PHkR+YSvqa36gxNmyyX6WoOgZM8UVlxbzCVysbca2U=; b=gKgkPLg6tDJaNDZNKdJ68TzcxTrJMIS+grOo7AjRmFZth3pj/BNU8w2T3Geez4hK87 cisxuH8AZZwPIDAp1vxNZKLjSwJlv79toB8JKH447f5YE7jLhWFIHCtGgBORcrdKBw5F sFjzhly/7hkxwMAO/bMoKS2Es1lXvkaeObxAvHPmIIrWuubV0gyQf/BRgLhSN0UFpgBW XN+tgmJ/qxNkO/+itDAuxNMseRF6Af6el2M0BkqQA5eoeKRjLvsTFk9BNiPzK+j2Y0WO 1QJpAokWtmFkj3woEqZaFZ9ma4Ik7xgDzUqhzdXdBO5ROfAb2jm/C+qSoMUqgddpvU2Y jMYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ppXxSci0; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 n125si2212023iod.85.2021.07.30.07.49.27; Fri, 30 Jul 2021 07:49:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=ppXxSci0; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S239198AbhG3Ota (ORCPT + 3 others); Fri, 30 Jul 2021 10:49:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231283AbhG3Ota (ORCPT ); Fri, 30 Jul 2021 10:49:30 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A260C06175F for ; Fri, 30 Jul 2021 07:49:25 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id j2so13497759edp.11 for ; Fri, 30 Jul 2021 07:49:25 -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=5PHkR+YSvqa36gxNmyyX6WoOgZM8UVlxbzCVysbca2U=; b=ppXxSci0wZJY7XnVRY4yu+4+WjQPwflcLFwiLy+QQ2ntOFZXb3dYBrtgAZwQGOi+NV 8ryr8dUU1x3Pk72hg5RJMDLvQ6HSfUlWQ8EhsjLq8MHTWl9lHdDa4QV/YXWlXDc0UCNe memZ6BED5+EO4wvTQgR1+L8lXlCDQ5+LPoltjuRKc5UlGaxNzX9gLhdJYS/OBhee8/Vc vF93q4YTSPaGqnxeDvez4Id9seJG7z85l00ime4MS8Q4naLZzzVDb/iC/jBEJatL+c+8 imSkgBkD7IX3F6D//6uXm7OsGe26LDkBDkshApcHXIjIpdAH4bgPtgEvxKRogza7ZtXh y8SQ== 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=5PHkR+YSvqa36gxNmyyX6WoOgZM8UVlxbzCVysbca2U=; b=bGOcIbyyIVW4Y7xqe4d9XxW5LpCnQWOyGgCqy0Ns1BKc6riQ+QmqsawCvVGd/AZSgs 3XiBmysoPbCX0Xa+GpuyEaRjMiCN1PXDaYH78Vq1klI/zA5PqIRN4x2KCIyZoxFziOqg HXUEcLLL1tO8P8gp7gj1DvS7ejoZOUE5vdb4jg2pkVrLzLaV6TGJdTUqD+Q6AZhvxA1r wyPHu4BiYCpGxj2pmykh7Gy3OgtYFRQowQttAv1tf66SURU97qyBzoCUF8Ovowo6HU68 unZEd32sVdRSR3t7bLKVnZ1dEvH1hwvqLWHf4TWWwa4tvLccxv8+qT7F+5SVTHmdEHI+ 21+g== X-Gm-Message-State: AOAM533FwviTOIMJ8l7VQiBE88wH6cq4AHOamfdaNb3DseAKS/x8DDvB Jngcux44cxhHNzA247WDVEEf4g== X-Received: by 2002:a05:6402:49a:: with SMTP id k26mr3291469edv.279.1627656564172; Fri, 30 Jul 2021 07:49:24 -0700 (PDT) Received: from localhost ([31.134.121.151]) by smtp.gmail.com with ESMTPSA id p16sm785006eds.73.2021.07.30.07.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 07:49:23 -0700 (PDT) From: Sam Protsenko To: Sylwester Nawrocki , Chanwoo Choi , Krzysztof Kozlowski , Linus Walleij , Tomasz Figa Cc: 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 00/12] Add minimal support for Exynos850 SoC Date: Fri, 30 Jul 2021 17:49:10 +0300 Message-Id: <20210730144922.29111-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-gpio@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/ Jaehyoung Choi (1): pinctrl: samsung: Fix pinctrl bank pin count Sam Protsenko (11): pinctrl: samsung: Add Exynos850 SoC specific data dt-bindings: pinctrl: 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 dt-bindings: serial: samsung: Add Exynos850 doc MAINTAINERS: Cover Samsung clock YAML bindings dt-bindings: clock: Add bindings for Exynos850 clock controller clk: samsung: Add Exynos850 clock driver stub dt-bindings: interrupt-controller: Add IRQ constants for Exynos850 arm64: dts: exynos: Add Exynos850 SoC support .../bindings/clock/exynos850-clock.yaml | 70 ++ .../bindings/pinctrl/samsung-pinctrl.txt | 1 + .../bindings/serial/samsung_uart.yaml | 1 + MAINTAINERS | 3 +- .../boot/dts/exynos/exynos850-pinctrl.dtsi | 782 ++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos850-usi.dtsi | 30 + arch/arm64/boot/dts/exynos/exynos850.dtsi | 245 ++++++ drivers/clk/samsung/Makefile | 1 + drivers/clk/samsung/clk-exynos850.c | 63 ++ .../pinctrl/samsung/pinctrl-exynos-arm64.c | 129 +++ drivers/pinctrl/samsung/pinctrl-exynos.h | 29 + drivers/pinctrl/samsung/pinctrl-samsung.c | 4 +- drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + drivers/tty/serial/samsung_tty.c | 50 +- include/dt-bindings/clock/exynos850.h | 267 ++++++ .../interrupt-controller/exynos850.h | 290 +++++++ include/linux/serial_s3c.h | 9 + 17 files changed, 1970 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/exynos850-clock.yaml create mode 100644 arch/arm64/boot/dts/exynos/exynos850-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/exynos/exynos850-usi.dtsi create mode 100644 arch/arm64/boot/dts/exynos/exynos850.dtsi create mode 100644 drivers/clk/samsung/clk-exynos850.c create mode 100644 include/dt-bindings/clock/exynos850.h create mode 100644 include/dt-bindings/interrupt-controller/exynos850.h -- 2.30.2