From patchwork Wed Nov 15 09:55:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaewon Kim X-Patchwork-Id: 13456452 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 44936C47074 for ; Wed, 15 Nov 2023 09:59:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=awd/r6pt5Bow/kmFIQ2A+VEvVZNJ4PpdSuWssgUknKU=; b=DOiqORv5H/kYuO 2sf2nQGGbJ1aEhMIUBpIZlSeAb9AQJchojy3tP0sg3oxFQv8OGhbK6EFll32aufKp4bwWDx6sw6Ek DpJYasCjRs2SG8MUpz+lVAOkFJAOxCPwJH6v1wzYXfs/RbcyCr5L1ULxvRufz11q7c0kzPyKeD6PO g6z/YQ9mITg+JH79y9Xq58gxlsxtoO4NlWRIIaaGpEPiDGEjDonbn5SD6P8mzg0Zmd2GcQjR5o+dS hIUM/IEtFDSDJqEQa8W7/kdW0ReLa1Ty/D6F28A6d5GHGz4ZLIV3Tz6n2SPVEbrOVRue7dkKe4L0t mwMQZ3xsaUNl2vbcyb6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r3Cg3-000OkV-17; Wed, 15 Nov 2023 09:59:19 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r3Cfp-000Oad-2W for linux-arm-kernel@lists.infradead.org; Wed, 15 Nov 2023 09:59:11 +0000 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20231115095854epoutp0356376df7dd7c07adc9b0f392fc84c82e~Xw379hcnT0638506385epoutp03o for ; Wed, 15 Nov 2023 09:58:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20231115095854epoutp0356376df7dd7c07adc9b0f392fc84c82e~Xw379hcnT0638506385epoutp03o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1700042334; bh=+xyxjTP8FlkiTMFrXXa0W/gjW4TDlH/6sRUSaQy2ih4=; h=From:To:Cc:Subject:Date:References:From; b=tTPlnTBxVI0HhCS3nkpdh0wXOQ7di9QVZx0XJBHvNR0z4hE5wXJoszhtrNkE20otP 8PCSbAe+iVMqctdqFFWonbNS2/1td7wk8zsVmTMyqKpP6J3uw4c/h7QdhxxTSnSRuZ o7nSsFduyFa+QXpag7/CTRkQo8MTpaM9OjBnHL8c= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20231115095854epcas2p10dbad7d6683fff22c48dac482b4bf2fa~Xw37hGnKx0961209612epcas2p1m; Wed, 15 Nov 2023 09:58:54 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.101]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4SVdsn3vVfz4x9Pw; Wed, 15 Nov 2023 09:58:53 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id E0.0D.09622.D5694556; Wed, 15 Nov 2023 18:58:53 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20231115095852epcas2p21e067efe75275c6abd2aebf04c5c6166~Xw36fQ_Wl3241632416epcas2p2E; Wed, 15 Nov 2023 09:58:52 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231115095852epsmtrp238fa1f36703da144c5f3eeb63cab9209~Xw36eXIgI2554225542epsmtrp2b; Wed, 15 Nov 2023 09:58:52 +0000 (GMT) X-AuditID: b6c32a46-d61ff70000002596-aa-6554965d8bf7 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 79.B2.07368.C5694556; Wed, 15 Nov 2023 18:58:52 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20231115095852epsmtip244f6135daaa656919ae8823313fbb2b5~Xw36BA7MM2498224982epsmtip2P; Wed, 15 Nov 2023 09:58:52 +0000 (GMT) From: Jaewon Kim To: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley , Tomasz Figa , Sylwester Nawrocki , Linus Walleij , Thierry Reding , Uwe Kleine-K?nig , Greg Kroah-Hartman , Jiri Slaby Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, Jaewon Kim Subject: [PATCH v2 00/12] Introduce ExynosAutov920 SoC and SADK board Date: Wed, 15 Nov 2023 18:55:56 +0900 Message-ID: <20231115095609.39883-1-jaewon02.kim@samsung.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBJsWRmVeSWpSXmKPExsWy7bCm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2G88av/j87FLG/hu9db65K3fcT1rk J3JbKVi78s2d6ZNyFgqv7P1/uLAlJP9ls8OjpTxv5sy+L1Wiv05B8dBuEdH1Ukynjv6JXpSa 986m+I7pr9csE1iKl7fsFpj4519rxKTd+6WMb3VZli0/2Dzr3uMHG3Y/5XTbtbPhSvXecwJ+ PEosxRmJhlrMRcWJAE2o/okgAwAA X-CMS-MailID: 20231115095852epcas2p21e067efe75275c6abd2aebf04c5c6166 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231115095852epcas2p21e067efe75275c6abd2aebf04c5c6166 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231115_015906_184133_890D5898 X-CRM114-Status: GOOD ( 18.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ExynosAutov920[1] is ARMv8-based automotive-oriented SoC. This SoC is the next generation of exynosautov9 and AE(Automotive Enhanced) IPs are used for safety. This patchset is the minimal set for ExynosAutov920 SoC and SADK board. Currently, ramdisk console is available and Clock, UFS, and USI will be added after this patchset. [1] : https://semiconductor.samsung.com/processor/automotive-processor/exynos-auto-v920 --- Changes in v2: - Rebase to git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git branch : for-v6.8/samsung-bindings-compatibles - Specific exynosautov920 compatible - Add dt-binding patch for pmu, chipid Jaewon Kim (12): dt-bindings: soc: samsung: exynos-sysreg: add exynosautov920 sysreg dt-bindings: soc: samsung: exynos-pmu: add exynosautov920 compatible dt-bindings: soc: samsung: usi: add exynosautov920-usi compatible dt-bindings: serial: samsung: add exynosautov920-uart compatible dt-bindings: pwm: samsung: add exynosautov920 compatible dt-bindings: pinctrl: samsung: add exynosautov920 binding dt-bindings: arm: samsung: Document exynosautov920 SADK board binding dt-bindings: hwinfo: samsung,exynos-chipid: add exynosautov920 compatible soc: samsung: exynos-chipid: add exynosautov920 SoC support pinctrl: samsung: add exynosautov920 pinctrl arm64: dts: exynos: add initial support for exynosautov920 SoC arm64: dts: exynos: add minimal support for exynosautov920 sadk board .../bindings/arm/samsung/samsung-boards.yaml | 6 + .../hwinfo/samsung,exynos-chipid.yaml | 1 + .../samsung,pinctrl-wakeup-interrupt.yaml | 2 + .../bindings/pinctrl/samsung,pinctrl.yaml | 1 + .../devicetree/bindings/pwm/pwm-samsung.yaml | 1 + .../bindings/serial/samsung_uart.yaml | 4 +- .../bindings/soc/samsung/exynos-pmu.yaml | 1 + .../bindings/soc/samsung/exynos-usi.yaml | 4 +- .../soc/samsung/samsung,exynos-sysreg.yaml | 5 + arch/arm64/boot/dts/exynos/Makefile | 3 +- .../dts/exynos/exynosautov920-pinctrl.dtsi | 1266 +++++++++++++++++ .../boot/dts/exynos/exynosautov920-sadk.dts | 88 ++ .../arm64/boot/dts/exynos/exynosautov920.dtsi | 312 ++++ .../pinctrl/samsung/pinctrl-exynos-arm64.c | 140 ++ drivers/pinctrl/samsung/pinctrl-exynos.c | 102 +- drivers/pinctrl/samsung/pinctrl-exynos.h | 27 + drivers/pinctrl/samsung/pinctrl-samsung.c | 5 + drivers/pinctrl/samsung/pinctrl-samsung.h | 13 + drivers/soc/samsung/exynos-chipid.c | 1 + 19 files changed, 1972 insertions(+), 10 deletions(-) create mode 100644 arch/arm64/boot/dts/exynos/exynosautov920-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts create mode 100644 arch/arm64/boot/dts/exynos/exynosautov920.dtsi