From patchwork Sun Oct 20 18:21:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843203 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 E2A9FD3C92A for ; Sun, 20 Oct 2024 18:25:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mgHPZUl9EaK+x17xicr+Z/IZFB5BFkfL1GTqtrKe1qc=; b=dlfo6kiCHTgUg7p7m6IxcOsWUA M7o1elSFU9yJVM2M7OkzICA5Po5QJj+VETcAkf67duddcsavGeRWT1LassFpgxlOxFgPK53g2MpbQ dxTmGZ7HLJl0vXt4VfjjTrscmCx1c4eRM8xMbU8RF92gM6KQTEx4ye/2jyLfHdKLiClv0hpdi0Z7s waYLnHJREhxMSa8XW+KlRKzYxVgCvV09mMYkej4hQqvn75HOoO4CeSaCDHU9MqysKzqr+KJ9Ab9X2 c+nOoZ9HYTtn+kARk+ntXV/abt/ecQoPd+rzRf4s1o28Mtj80s4DltFbewiLtd3q8uzDjO0J69Pqg yk8W7IZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2abn-00000005FcM-2NPJ; Sun, 20 Oct 2024 18:24:55 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2aYu-00000005F7p-1tQ0 for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 18:21:57 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-43159c9f617so33903745e9.2 for ; Sun, 20 Oct 2024 11:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729448514; x=1730053314; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mgHPZUl9EaK+x17xicr+Z/IZFB5BFkfL1GTqtrKe1qc=; b=CSUgCgqnF14z/IbosRCuaJQASy3MbniGNhr9HVmcf6lcX/PziYHdhj370unDWAvIpT uURhHsAYLHi6QhlhFmbJ1jq3iwizgSwpznZLQuabCK6bera7r5SgwoAzrP0KkoEUIuOL Tp54GlYI08CvlW3RugOIGKQLtjyW880fnEMpIO3s/zu8KCrMGDRPENn+A03uc36mjhj6 GNETkKlX0MJpIiOJlDlPjxUJ/KgBYxZwRaH1ZM6oxDA1OMM+6gGEUEE/ohHqvSj0gI76 k7shAJVlfQbfkmCy6jL0nopN5NV6ifEhbWAeE0ty4bVSIFjiuA3XTByhU8Hxa5++rLNJ 6e3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729448514; x=1730053314; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mgHPZUl9EaK+x17xicr+Z/IZFB5BFkfL1GTqtrKe1qc=; b=dQwwRP+6BSofw+GmnewZ7mw0JhZwi+hRzdPLa5htdIXXCFp04AqZscC+Tutp/2CKcX QwqytKC98L4LD6Hlu5t9Bw0fmALFE4MkIXzyZx3gRl5r0Vb+v9qvLYzSl0olpkth3qqj Z+RbwoGRIU4lSTYs3n3Jb+Iu+TjM3tvNry8hjkFDupBQc3EglhndwcY9I7cD3qaRH4ok 71CGwyXulC7XOM5rs9s+Ybymn1cHf+mxq7YLEoq+Xuef6VizrM3ccRdrWJ9xtNPlDlB9 W+zPsJjC+uSNFBzfpDuY9BGVaX8YjKr0Gq8UDLZWpoOx+cfYxjQaWVvwNUiUBtytQMO7 8BQg== X-Forwarded-Encrypted: i=1; AJvYcCX6GbR5CE4QSFwItoRyLezIQhVwWiiU0K7TUL9WLbIv2OUqAQZbCI2iff0b3LtRt6UrlZz770oxgCt+MSh1ATCt@lists.infradead.org X-Gm-Message-State: AOJu0Yw1LthqpkTMwcMPBIO8I0IgNd0HWPJvxs4I5JanLo+nkODOW2u4 8b308ZlYbsUG3Wnl0fRXUQdJmRJ9cI05rsr3m5ARcOgfEIjQoFTu X-Google-Smtp-Source: AGHT+IHdx3gzdVZUTSBkNeFTqWYarou7I54xxoTfap9rW/19GUILqpLWd8sNsf7uhkB66uE7A4jnRA== X-Received: by 2002:a05:600c:1c03:b0:431:3bf9:3ebb with SMTP id 5b1f17b1804b1-431616898a5mr72097295e9.24.1729448514362; Sun, 20 Oct 2024 11:21:54 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48903sm2276459f8f.37.2024.10.20.11.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 11:21:53 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/6] dt-bindings: timer: exynos4210-mct: Add samsung,exynos8895-mct compatible Date: Sun, 20 Oct 2024 21:21:16 +0300 Message-ID: <20241020182121.377969-2-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> References: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_112156_514564_1211F2B1 X-CRM114-Status: GOOD ( 10.61 ) 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 Just like most Samsung Exynos SoCs, Exynos8895 uses almost the same Multi-Core Timer block with no functional differences. Add dedicated samsung,exynos8895-mct compatible to the dt-schema for representing the MCT timer of Exynos8895 SoC. Signed-off-by: Ivaylo Ivanov Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/timer/samsung,exynos4210-mct.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml index 774b7992a..02d1c3558 100644 --- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml +++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml @@ -33,6 +33,7 @@ properties: - samsung,exynos5420-mct - samsung,exynos5433-mct - samsung,exynos850-mct + - samsung,exynos8895-mct - tesla,fsd-mct - const: samsung,exynos4210-mct @@ -133,6 +134,7 @@ allOf: - samsung,exynos5420-mct - samsung,exynos5433-mct - samsung,exynos850-mct + - samsung,exynos8895-mct then: properties: interrupts: From patchwork Sun Oct 20 18:21:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843204 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 A62C8D3C92A for ; Sun, 20 Oct 2024 18:26:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BOGuZBzdjkFcdt2iKU9LrAuNdSVHouuBuYJiJneV5u0=; b=Wc5AQSEMsZLD0fXbbPb9hYzkl1 ce3+SC1iIF9X3SgXIT+OUyMw1l9O0j+H37iuo0LHaZF+MPT1P/gA4OcRl4yz1EbuCcho/S3nO4pVO eZa87kOU0qepfEAaU3RrMsJ4D5bcZiZYeUu5NlNaYbL+8NtQxjftSK9tUZYILxoJk+AuSLjH+0CrL KMdus5ImhJ6PXd9fDUXylHutZMq5tq9cuFERG7tzlqSNr6OwiozJmFufGYC15OBdhaAh9Tww1m5qc sqfw3vTilQgZyHSj7x43s25Iwm4RL7DsuBAjkkre6tuiJxzZM5oZcQFa6iv+PKbaeFcPbK/5WgoNH K8ZXIDCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2adE-00000005FlI-2rbf; Sun, 20 Oct 2024 18:26:24 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2aYv-00000005F8E-39ko for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 18:21:59 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4316cce103dso15906885e9.3 for ; Sun, 20 Oct 2024 11:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729448516; x=1730053316; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BOGuZBzdjkFcdt2iKU9LrAuNdSVHouuBuYJiJneV5u0=; b=D4bOiraIx8Z0Bojv4y73lrn8wfndQJfg3bN/BZYskxBcmt2QVFePqFjh/4jt3J9LQe PoSNmlOsrg7EpcnQq4wT2nl5HYG/1WxVDA5kxpvyegrh6hCEoEcc4NuSGr0HuMXHWrtJ hqwMt/OWQ8BOIbWqlAXehVb5Dho89gfKO+onDd3897ojGRs9rx7uXLvdkgrml4Fj3D+S HFTO4ce0Zhc3apWrIBnPEcZJGvxXRWWeds/mjv0fblynXiavCMMjOnd5wkpcDhLhc7kr lcyPucDnmR2WoOPDhstKS3lsqWnhA2aKdydJRA66XusglYek9pUG0PXoTieEDsNd8sm2 dwCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729448516; x=1730053316; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BOGuZBzdjkFcdt2iKU9LrAuNdSVHouuBuYJiJneV5u0=; b=W36h+EHdBKoBgD6Al7GWI+4jNFKnrRbL5JzgDYBZ83A+mTuJBmuAPJFg4bj9fIH9iy HfEnhBgsqwKGs9jykgznLheEvu6OgO6d5GH1YZ9PbelZdtY9FEGbhbUJNUkOm3Xw3Z7L bVkVIIwvrg2CN1dsmiBVC7SR0QwQdLcGCeSQwQil50aqYqWkXndsVhv6raPWDjoArrps L1PKZDzB3yxV9cW3JOZeFFdFatzqQj5EcJlUNQX+nOPmd3xR+XIvsfctBG3aaiKMXSl6 K+PvdI0kePk62rEZW9tr/Q7ZKiu1QUnsvCLuYCgIzFIHy9O6+TeLDx2W6cESAflcDlPI 5nIQ== X-Forwarded-Encrypted: i=1; AJvYcCXjEqZyOrd1Q7yEPeAym5dtWolCV3rfsSdDmXdiewHkiBHFJHtSkNLH8lMwcrm3GAoVEykamM5fFD2I1tcWOwZQ@lists.infradead.org X-Gm-Message-State: AOJu0Yz+reZ2nPcCspwLi95fDpxj/kiwxD6akv+xgBbIbNHZWSE1qe5X 5Ljsn2njxK0D87jMrJ5LdTyhZYdPMxdkuQHVCmPJ/ecRbnvTHfhg X-Google-Smtp-Source: AGHT+IERV5gK0lNy0vobuAkOc9gFbu9smR5sqdfQrx4tjIF3P+r9hp2ckFPSqHYP7ZHOB662YVTfoQ== X-Received: by 2002:a05:600c:3511:b0:431:54f3:11ab with SMTP id 5b1f17b1804b1-43161691204mr93465895e9.33.1729448515987; Sun, 20 Oct 2024 11:21:55 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48903sm2276459f8f.37.2024.10.20.11.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 11:21:55 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/6] spi: dt-bindings: samsung: Add a compatible for samsung,exynos8895-spi Date: Sun, 20 Oct 2024 21:21:17 +0300 Message-ID: <20241020182121.377969-3-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> References: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_112157_818978_F01E4F70 X-CRM114-Status: GOOD ( 10.77 ) 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 According to the vendor kernel, the Exynos8895 SoC has an SPI configuration that matches with the Exynos850 one. SPI FIFO depth is 64 bytes for all SPI blocks. All blocks have DIV_4 as the default internal clock divider, and an internal loopback mode to run a loopback test. Reuse the samsung,exynos850-spi compatible. Signed-off-by: Ivaylo Ivanov Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/spi/samsung,spi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/samsung,spi.yaml b/Documentation/devicetree/bindings/spi/samsung,spi.yaml index f681372da..3c206a64d 100644 --- a/Documentation/devicetree/bindings/spi/samsung,spi.yaml +++ b/Documentation/devicetree/bindings/spi/samsung,spi.yaml @@ -26,6 +26,10 @@ properties: - samsung,exynos850-spi - samsung,exynosautov9-spi - tesla,fsd-spi + - items: + - enum: + - samsung,exynos8895-spi + - const: samsung,exynos850-spi - const: samsung,exynos7-spi deprecated: true From patchwork Sun Oct 20 18:21:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843206 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 EF7DBD3C92A for ; Sun, 20 Oct 2024 18:28:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YB/d8ya+iA886QHQfDVagGNmaaeyxRfUU+uDgU8KNSI=; b=a1Dze2zURlwjb7t1WhX0daI1md t+TQq3xW2pu6Q06K/SEoBBZ7vpg4IqPRTiSe774RzhMw/hWw4nA+kOmmNKyk/7Ot7uMvSE3/SA5JF +/h0HMkMvEz+cNVNXm1593r0RShecXr/jy2bkPS+nHmLD06mAN1nF34rshe2vFVGqiwiKX6fM2b8S kvNbC6ISvLCE7HjwL1n5OWBRM9TIpgFa9UkrWRJa756IaSiIx98g4+2KwKttGdYfABxGIkVVYDRLh Zmh+wQics01Lplg1VqkQyG422Mhdu60lTPKORuamReeBqW0Tx2OpccZURjw5AyXgz4GMC65m0t5P5 fSGWffOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2aef-00000005Fv5-1xK6; Sun, 20 Oct 2024 18:27:53 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2aYx-00000005F8j-24KG for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 18:22:00 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43155afca99so26678655e9.1 for ; Sun, 20 Oct 2024 11:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729448517; x=1730053317; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YB/d8ya+iA886QHQfDVagGNmaaeyxRfUU+uDgU8KNSI=; b=d+sAV9nxuaKFcKz/vlfXesa8o1Jw/RxLPZfssAXu1Xw1mHzH3+6lOy9IuWEqNUV8Tf 68XCmlOTewVCGSQ1H6QtqCCXsJWRQYLGLPqULt1FmJS9td5ETQKBpf53AbT0Q3wiJOp8 0wJfB6uOdx6pibUo9WZ4WJChK+BdKxjgu+3+oUQAqXg0GGhAVA5r1ub5539iwoZaAvW6 48u9jvsirMaITxXzTQ7/T5y9MeE1YYY+Q/HIvNVoWjyHcVsNOSbnPGOk5ZxKo+wv859z 87bCras2IX8ZEf5XrVOtsilIoDPeYtgrPNJ98ry/08slicJBCrm6qxGq7+On9hb7uedC gPdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729448517; x=1730053317; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YB/d8ya+iA886QHQfDVagGNmaaeyxRfUU+uDgU8KNSI=; b=FRMpXDbJegv9ZOFO6/OHpfhD+4YZliANKtFO17hgrOFTa4YvYl0BPJFHZ1SSIUgo7L IqeOV5z5dsZ+nCIuy85+tzC2tu24bCk/MKYKP1brtBDb6lKrNxjMECsTCNyJwZo96+WE YasAsivvBNI0W3SBtRB807YdjOAjx5vHNGp1pmU2XGQI18grKHfiEVWwrGVFMnhD4RB6 HWOmMes4lzC1uS50Hpv5mdH61FskRMVFftKLUmuLSznQdysucr/E+Xb3Jcb3mkYZzzU9 Auz3BFyoFsv6rKmrsdr2XwW1z9ZizkjDs06oJr8lnfyXiwu73q5ag2L594lDmu5YkwYY JPVQ== X-Forwarded-Encrypted: i=1; AJvYcCXRFoTYmsRdYek9ovy9u32qN8bLz45o7xGWQBqbvdYRvEnbCvmBQ7sv1z97VHzGIgxFo9CV7deGalADjV0bHOQ/@lists.infradead.org X-Gm-Message-State: AOJu0YwhpO2Mb+HtGdSw5eerg6j1l7/j51hKe7ThMV3PL9Dveyc8mhdF 6Bv0R+UBIbomN+O0YYFN7QYyBaJRj6rFkKL3FiDcJhonJ2S2qKry X-Google-Smtp-Source: AGHT+IGugZhfDYe/BbnZuzhu75x/LfLnNt9NNzUAVI8e+4gLSVOjfsqQBBgKKgOE12vwsXyIiSmRbA== X-Received: by 2002:a05:6000:183:b0:376:dbb5:10c2 with SMTP id ffacd0b85a97d-37ecf08650fmr5774026f8f.29.1729448517433; Sun, 20 Oct 2024 11:21:57 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48903sm2276459f8f.37.2024.10.20.11.21.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 11:21:57 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/6] arm64: dts: exynos: Add clock management unit nodes Date: Sun, 20 Oct 2024 21:21:18 +0300 Message-ID: <20241020182121.377969-4-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> References: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_112159_554525_E68C1F96 X-CRM114-Status: GOOD ( 11.16 ) 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 Add clock management unit nodes for: - cmu_top, which provides muxes, divs and gates for other CMUs - cmu_peris, which provides clocks for GIC and MCT - cmu_fsys0, which provides clocks for USBDRD30 - cmu_fsys1, which provides clocks for MMC, UFS and PCIE - cmu_peric0, which provides clocks for UART_DBG, USI00 ~ USI03 - cmu_peric1, which provides clocks for SPI_CAM0/1, UART_BT, USI04 ~ USI13 Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 87 ++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index 223ebd482..802e135c4 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -5,6 +5,7 @@ * Copyright (c) 2024, Ivaylo Ivanov */ +#include #include / { @@ -159,6 +160,15 @@ chipid@10000000 { reg = <0x10000000 0x24>; }; + cmu_peris: clock-controller@10010000 { + compatible = "samsung,exynos8895-cmu-peris"; + reg = <0x10010000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_PERIS_BUS>; + clock-names = "oscclk", "bus"; + }; + gic: interrupt-controller@10201000 { compatible = "arm,gic-400"; reg = <0x10201000 0x1000>, @@ -173,24 +183,93 @@ gic: interrupt-controller@10201000 { #size-cells = <1>; }; + cmu_peric0: clock-controller@10400000 { + compatible = "samsung,exynos8895-cmu-peric0"; + reg = <0x10400000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_PERIC0_BUS>, + <&cmu_top CLK_DOUT_CMU_PERIC0_UART_DBG>, + <&cmu_top CLK_DOUT_CMU_PERIC0_USI00>, + <&cmu_top CLK_DOUT_CMU_PERIC0_USI01>, + <&cmu_top CLK_DOUT_CMU_PERIC0_USI02>, + <&cmu_top CLK_DOUT_CMU_PERIC0_USI03>; + clock-names = "oscclk", "bus", "uart_dbg", "usi00", + "usi01", "usi02", "usi03"; + }; + pinctrl_peric0: pinctrl@104d0000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x104d0000 0x1000>; interrupts = ; }; + cmu_peric1: clock-controller@10800000 { + compatible = "samsung,exynos8895-cmu-peric1"; + reg = <0x10800000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_PERIC1_BUS>, + <&cmu_top CLK_DOUT_CMU_PERIC1_SPEEDY2>, + <&cmu_top CLK_DOUT_CMU_PERIC1_SPI_CAM0>, + <&cmu_top CLK_DOUT_CMU_PERIC1_SPI_CAM1>, + <&cmu_top CLK_DOUT_CMU_PERIC1_UART_BT>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI04>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI05>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI06>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI07>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI08>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI09>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI10>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI11>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI12>, + <&cmu_top CLK_DOUT_CMU_PERIC1_USI13>; + clock-names = "oscclk", "bus", "speedy2", "cam0", + "cam1", "uart_bt", "usi04", "usi05", + "usi06", "usi07", "usi08", "usi09", + "usi10", "usi11", "usi12", "usi13"; + }; + pinctrl_peric1: pinctrl@10980000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x10980000 0x1000>; interrupts = ; }; + cmu_fsys0: clock-controller@11000000 { + compatible = "samsung,exynos8895-cmu-fsys0"; + reg = <0x11000000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_FSYS0_BUS>, + <&cmu_top CLK_DOUT_CMU_FSYS0_DPGTC>, + <&cmu_top CLK_DOUT_CMU_FSYS0_MMC_EMBD>, + <&cmu_top CLK_DOUT_CMU_FSYS0_UFS_EMBD>, + <&cmu_top CLK_DOUT_CMU_FSYS0_USBDRD30>; + clock-names = "oscclk", "bus", + "dpgtc", "mmc_embd", + "ufs_embd", "usbdrd30"; + }; + pinctrl_fsys0: pinctrl@11050000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x11050000 0x1000>; interrupts = ; }; + cmu_fsys1: clock-controller@11400000 { + compatible = "samsung,exynos8895-cmu-fsys1"; + reg = <0x11400000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>, + <&cmu_top CLK_DOUT_CMU_FSYS1_BUS>, + <&cmu_top CLK_DOUT_CMU_FSYS1_MMC_CARD>, + <&cmu_top CLK_DOUT_CMU_FSYS1_PCIE>, + <&cmu_top CLK_DOUT_CMU_FSYS1_UFS_CARD>; + clock-names = "oscclk", "bus", "mmc_card", + "pcie", "ufs_card"; + }; + pinctrl_fsys1: pinctrl@11430000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x11430000 0x1000>; @@ -213,6 +292,14 @@ pinctrl_busc: pinctrl@15a30000 { interrupts = ; }; + cmu_top: clock-controller@15a80000 { + compatible = "samsung,exynos8895-cmu-top"; + reg = <0x15a80000 0x8000>; + #clock-cells = <1>; + clocks = <&oscclk>; + clock-names = "oscclk"; + }; + pmu_system_controller: system-controller@16480000 { compatible = "samsung,exynos8895-pmu", "samsung,exynos7-pmu", "syscon"; From patchwork Sun Oct 20 18:21:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843207 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 1AEDCD3C92D for ; Sun, 20 Oct 2024 18:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YoFiO4t/E3af6lH/W9rynyhOwVr3dD1Sx9PXSKqMKFk=; b=CEr+Kw683vP3tzJy2iFUBkHlME FLkaq59TvE+D2JcwihFcT8QjvWNnLGoVp68y+PJ0NP9eZJ0oM5F/l2ElA2sAQrSjsvsoZfZsZWwPG BaAl4Yl8Nhf0CeGqxQA0Q0VxV/x3qEn+SQ1FqWxa7Zz2zBf6EIeesXTW+45H90CydSOh+GjzfmOGo BwbZJH7C6CB94C7PArIsL2bxMDVuXmpV37kXWSnKOfM1gySWYwqn3KkBA+GOkimapjJsofAOBu6/V x8nxkPPHlxkqwwC/NzIFdHezEXv24ra/6KZ4JxlleKn0w6/21PbJ/WB0141iMPR3xvAZOawPBJ+0c lZX0GXHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2ag5-00000005G2E-2AN0; Sun, 20 Oct 2024 18:29:22 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2aYy-00000005F97-3Sut for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 18:22:02 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4314fa33a35so37490175e9.1 for ; Sun, 20 Oct 2024 11:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729448519; x=1730053319; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YoFiO4t/E3af6lH/W9rynyhOwVr3dD1Sx9PXSKqMKFk=; b=KwZ5NjeemAjkVc2lmIweqwlBabUORlNsyqBFMIjXwZkdL6oVqgIFhiW37vdDlgvdi3 lsuzkz1DNZWQIy8ioXAPh2ONIyFVQOSmxvSFVQMbRl2rKb/Mf4Xc7aNnIJY/1NTrn0Ny ueyiclFQrCJkV0+CGEoGsRwM8mk76K0/p1ddWVuvPKM+T49MwAzt/hCbX90i1Fc9iYaf SWQ9Pi8f57v37735hxT4EiHd/XHAXhm6Q2NlzJusCXMoxZmQphQ8lUZQ93LBxhCnNHGe cRSaQH0SjyGXI260aMhj/jXojq+IEwKZ+KWaKMBIfAde1UB4BJDNbojH3BwBXsE7wuAw qRNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729448519; x=1730053319; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YoFiO4t/E3af6lH/W9rynyhOwVr3dD1Sx9PXSKqMKFk=; b=k9BsvXGo5MPR2cuc5WvT1CPHEliUFN/QX6ZbyvgY69uPSVkyoArWSnyr2TiS2JMK7D bytUVDD2MPKXN+KAnBP6Kli/eIub1d/cHHTkmcA75SVNDZecoFNBo/E4Crr0lppKXj+w REePY4e/vf4sOBi3vc0GVv8dKCik3YywNfq3JHECrmC+zF1d9svWnMEkVHEKLKAJOesY n1teLCMRoY5Nw4M6c4wkEuYRDDeTS5hxWqJplRhDifEHu9Uo01BNgbRydtyWuk3nNqFL rmDxvgzAF+9/TVp5/c4CoPjgGvD4vY4U6zjzq8oeO75EUDJaGT12dv+O6QtV4XxRPyqr 6Vzg== X-Forwarded-Encrypted: i=1; AJvYcCXgcPELHo94cY3fdOuS7l2P7psddmnsweQLIMdQc+0HHYzZ3xXz13K07pG52OwFwPstcxE0cvb7CYFICxIAmoqu@lists.infradead.org X-Gm-Message-State: AOJu0YxCEdP1/xSSsrCpmCjBgfJfcXV9wzM5eSgKnlCqZI7Q4MRuuukU h2bWok20LA9cBIcyXzXkSnmXGKJs24F1KqtwEo8s65o5awWYrUSy X-Google-Smtp-Source: AGHT+IFJZjum28xn+PrqK+hVAT4SnwtB3vmTyk2FAQRhj3mClh4nuh2fPDn5hGp1ZIBGOPE7tAGxtA== X-Received: by 2002:a05:600c:1d01:b0:42c:b63e:fe91 with SMTP id 5b1f17b1804b1-4316168f28cmr74795465e9.24.1729448519045; Sun, 20 Oct 2024 11:21:59 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48903sm2276459f8f.37.2024.10.20.11.21.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 11:21:58 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/6] arm64: dts: exynos8895: Add Multi Core Timer (MCT) node Date: Sun, 20 Oct 2024 21:21:19 +0300 Message-ID: <20241020182121.377969-5-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> References: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_112200_888383_553922FB X-CRM114-Status: GOOD ( 10.41 ) 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 MCT has one global timer and 8 CPU local timers. The global timer can generate 4 interrupts, and each local timer can generate an interrupt making 12 interrupts in total. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index 802e135c4..c95e4713a 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -169,6 +169,26 @@ cmu_peris: clock-controller@10010000 { clock-names = "oscclk", "bus"; }; + timer@10040000 { + compatible = "samsung,exynos8895-mct", + "samsung,exynos4210-mct"; + reg = <0x10040000 0x800>; + clocks = <&oscclk>, <&cmu_peris CLK_GOUT_PERIS_MCT_PCLK>; + clock-names = "fin_pll", "mct"; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + }; + gic: interrupt-controller@10201000 { compatible = "arm,gic-400"; reg = <0x10201000 0x1000>, From patchwork Sun Oct 20 18:21:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843208 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 DFB41D3C92F for ; Sun, 20 Oct 2024 18:31:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vusWTnCz/1sObXYKY1keEPs26uHgXaV2tYOQstmgfG4=; b=WnS9NYfIxKlqcm3tIQZuxE/jmG eBHVB4hjfMlF13VgRKvA1BToosEx8vOWL+aiOTbh3QSOhzsErFkZuqP6tzOXSPQu+JUs6jlRWppsT JTXx1TknQtT1vouVOljWUe42+DY5RoDjazryUmYPR/ZnpKxAXhrc/l0vR7hKotMB/PBjD0A+r3cy0 xgkFqvlqeXNAebtKQHDL8v9bfMyCHXv3UcCm+polZweXfCERnl0R+1rC5bNZmZ3EFNHUTL6Tg0EJU Hp8PJIAWF8dbHVyDQMPsWvApuxk1WVXis5AoJqPqF/GjEsIogHW1S5YtIi7BUCMlV11KuR2h1kRQV hV+cyu8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2ahV-00000005G84-41CX; Sun, 20 Oct 2024 18:30:49 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2aZ0-00000005F9Z-3Rri for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 18:22:04 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-37d4c482844so2556338f8f.0 for ; Sun, 20 Oct 2024 11:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729448521; x=1730053321; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vusWTnCz/1sObXYKY1keEPs26uHgXaV2tYOQstmgfG4=; b=f9xhbUA5Yuk9xnWWElY72OSJDgjHSG9tr19AcUuvWt4DyTLN+s4RtpWb1o3VS6A1CP 17hNP9gZGtebpdoCQvCngkQzquigwCM3CZGnBJ55ywnt1e8DSOFLRg/kvh4uHKtJyqzA 29BaUlfkc+fWqBbebMYDVEvYe8kp5l12X8u281HMzdkqSAWZZxr//Bf59Ofk1MrZUxq4 Z+UgJ6u1g7BJ5xJFsf/S2Pxhb9pnzE9+2lOk4hk/6cC3kcI6RGXmAxQOYSkAmQr1GhvD quHuLUhqSvYIxEC0KKGxxaiRxqLkGoYOIOhfB5IHDZO4pOvo2V++hRhfsAh7+LVJTAdQ uCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729448521; x=1730053321; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vusWTnCz/1sObXYKY1keEPs26uHgXaV2tYOQstmgfG4=; b=cxP+1fNiusmzQDapw4+4hJaOQVTblQVgAoQhTUwXMw20FX6fRMNC2Gs98ruwKnvO68 YXjip8pLpey9QhUlrrq8sWx0OzAML44bEWlZ8mjoljHXLUqyGQsLeCS08KjdhiWWPMp7 3u0Xv81QhN1cAW1YTZ7JJwsqHThzZbOUQi6FlvkVBf/uDk5Gyiv+0JucGOSzaJw3ULze JWMCXLCR+481wPbPY4h0lczyYInHJ2mARff73g0RXx82eYxSwQT8j+Xmx53ZPfWyY1Ip aE5Str2LShPvJRPOXhIY6ij+7CSyo/ND9sh+srNXK5tLjXFjTc6N6OJMSU+mZCoR9FxS F8CQ== X-Forwarded-Encrypted: i=1; AJvYcCXBLKEvrO09omtJ35MXR12bn/CjdIBTJG8Vx0AalWXC6XxNPyPPQWAkwSPQzlEre+aoIaK0eWrtbIfU+IO5VpOg@lists.infradead.org X-Gm-Message-State: AOJu0YyGKg/Mg3e4L9LeJsKaNmlBN63YMVTXcihaVfDGf1s7y5PjEAaU Ipz1Gcv4Io1P5nUkaEuPMsy4ndC6Y+wqjNhw8pm2cIfHOy+9hngA X-Google-Smtp-Source: AGHT+IEVn1bgu6i8w+sQTRqs3eb30dA3LNaVp1FKzkemUXiHiVF+qKDmNgVm3K2iwD+2dK1ZsiInZg== X-Received: by 2002:adf:f209:0:b0:378:fe6e:50ef with SMTP id ffacd0b85a97d-37eab7272damr5381184f8f.5.1729448520680; Sun, 20 Oct 2024 11:22:00 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48903sm2276459f8f.37.2024.10.20.11.21.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 11:21:59 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/6] arm64: dts: exynos8895: Add serial_0/1 nodes Date: Sun, 20 Oct 2024 21:21:20 +0300 Message-ID: <20241020182121.377969-6-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> References: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_112202_879653_D663031B X-CRM114-Status: GOOD ( 10.80 ) 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 Add nodes for serial_0 (UART_DBG) and serial_1 (UART_BT), which allows using them. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index c95e4713a..c57b7243d 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -218,6 +218,19 @@ cmu_peric0: clock-controller@10400000 { "usi01", "usi02", "usi03"; }; + serial_0: serial@10430000 { + compatible = "samsung,exynos8895-uart"; + reg = <0x10430000 0x100>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_UART_DBG_PCLK>, + <&cmu_peric0 CLK_GOUT_PERIC0_UART_DBG_EXT_UCLK>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_bus>; + samsung,uart-fifosize = <256>; + status = "disabled"; + }; + pinctrl_peric0: pinctrl@104d0000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x104d0000 0x1000>; @@ -250,6 +263,19 @@ cmu_peric1: clock-controller@10800000 { "usi10", "usi11", "usi12", "usi13"; }; + serial_1: serial@10830000 { + compatible = "samsung,exynos8895-uart"; + reg = <0x10830000 0x100>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_UART_BT_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_UART_BT_EXT_UCLK>; + clock-names = "uart", "clk_uart_baud0"; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&uart1_bus>; + samsung,uart-fifosize = <256>; + status = "disabled"; + }; + pinctrl_peric1: pinctrl@10980000 { compatible = "samsung,exynos8895-pinctrl"; reg = <0x10980000 0x1000>; From patchwork Sun Oct 20 18:21:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13843209 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 9AD30D3C92A for ; Sun, 20 Oct 2024 18:32:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kv66YW5L6/jj49RpWN4ISuR3J2Fku5YT9aw2fCyxGkA=; b=VZJ3a33HeFM72nXhtw1zw6OZty zbP7+Hx8fPPEmeKyfLRp7KAmDgMGGSMpTvfYtAs8IRJD09MyEfyvjhtV5YZ4Cr3N874NG1KgMLahy tMgv2V9+GqbL1MS0K+DTAp20XQjfDNVDH1T8fOFP4bKX/J0EER30iUqN3CWKJSPJ5QjFJ9Cxujt0n SCcpeHyEhEfzfljnd0ff7q2Cmv5G0LoW0iu6h5R8dXC7ihAkmFcy99C03KqhYhemItSfQ+oPRMIPD 54ArsGzBTw5O3MtsFkKHyS8YFv38MVaAeps2eN1FTwE9OAuskggTXoWX0QutwtoX7N7hlsnuwCw1z IE7xkWMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2aiw-00000005GIO-3g2T; Sun, 20 Oct 2024 18:32:18 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2aZ2-00000005F9v-1gXa for linux-arm-kernel@lists.infradead.org; Sun, 20 Oct 2024 18:22:05 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-431616c23b5so15196505e9.0 for ; Sun, 20 Oct 2024 11:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729448522; x=1730053322; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kv66YW5L6/jj49RpWN4ISuR3J2Fku5YT9aw2fCyxGkA=; b=bfnUEb5Dn/O7k2PjvFyZVTvjvbgi1DZrOG1fho0Zu5nDU1Z8SjsibiqzeEa3x6djbb yf+Iu5YPoLypevHPR3n/awM7qt+cV3z4xQZ98zs7NGDhKYP3jRdrLlrWovsUG1iNnRZ3 gsmj1ye09usCPCgsGuGqa2V6KTh60hy+qq+N5BpG8gGc+xzd30qqKIkYh2oQtowWGTrr Ne/y7JD/sXfk81A3yVlMq+xRd6Qr76iyWLSbWH/kRKqN+UP3S9tqbPh0ouMl1/2ZWY5N DzwyXkb6wQOpUa7c0SBy+ZETreFfHfe1fCQTpUlicrKhPlDh8+y1iLnxfanEZFHjgyLS lYaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729448522; x=1730053322; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kv66YW5L6/jj49RpWN4ISuR3J2Fku5YT9aw2fCyxGkA=; b=v1DPvLBHr5kOElxORwIBafGCalWT/dvNloPDPWoaZfODLwzywDwXepl6s+IBfvFm2R 5JDE4KiXDIXN9vFcLhh2RzAojo6XfUn7uQs7OzBv5I9DLxd0x+RfzphRAswlL6Fa5zLF 34l85NijNHlv2k9FXG5k5CscadNY+x+Sm+yczOpCjkI2Q7Icd65OOQrmsmytMvC193nb nQzc6JshJ/tXHhyvMjH6Vpeuw3sH22BhRvVuUhBmmHM+5acUV85d8nQCXjSzXF0eTcR5 R/sQ9fjQhM/m9qx8mbmDpE2RPAvIWUBa77baHlfadtrwpW9I+S4Bf4X8X7zAZszE7+MM JdVg== X-Forwarded-Encrypted: i=1; AJvYcCXf5uRRkWP7HhpSaGNNNDnE3j6f+1/DIugBysldcSGQtONJtAhrZRRkHCzd5/vNRBWE1B6zlp7W6lkuPl2BpYdF@lists.infradead.org X-Gm-Message-State: AOJu0YxoPbmyMwURbDMHIK8rP05wlkdvveYF/kxNHF4yowNSvIFzHjxF oGgsTrhrSDmtOlaVYz6xhFNQB4sFjbLLABzxYLN9GVKhQqwh3Fcn X-Google-Smtp-Source: AGHT+IExxAQlZ8OeGLgSLSXLdOccWbsZ9T2b2+RHr9tBp5KTor7LS1jCccXn4K/1jhGb+EfWMbT1MA== X-Received: by 2002:a05:600c:4fd2:b0:431:15f1:421d with SMTP id 5b1f17b1804b1-43158760531mr87808305e9.16.1729448522343; Sun, 20 Oct 2024 11:22:02 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48903sm2276459f8f.37.2024.10.20.11.22.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2024 11:22:01 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Rob Herring , Conor Dooley , Daniel Lezcano , Thomas Gleixner Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 6/6] arm64: dts: exynos8895: Add spi_0/1 nodes Date: Sun, 20 Oct 2024 21:21:21 +0300 Message-ID: <20241020182121.377969-7-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> References: <20241020182121.377969-1-ivo.ivanov.ivanov1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_112204_466171_3F379391 X-CRM114-Status: GOOD ( 10.91 ) 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 Add nodes for spi_0 (SPI_CAM0) and spi_1 (SPI_CAM1), which allows using them. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/exynos8895.dtsi | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi index c57b7243d..d936c7bc9 100644 --- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -282,6 +282,36 @@ pinctrl_peric1: pinctrl@10980000 { interrupts = ; }; + spi_0: spi@109d0000 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x109d0000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SPI_CAM0_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_SPI_CAM0_SPI_EXT_CLK>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi0_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + + spi_1: spi@109e0000 { + compatible = "samsung,exynos8895-spi", + "samsung,exynos850-spi"; + reg = <0x109e0000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SPI_CAM1_PCLK>, + <&cmu_peric1 CLK_GOUT_PERIC1_SPI_CAM1_SPI_EXT_CLK>; + clock-names = "spi", "spi_busclk0"; + interrupts = ; + pinctrl-0 = <&spi1_bus>; + pinctrl-names = "default"; + status = "disabled"; + }; + cmu_fsys0: clock-controller@11000000 { compatible = "samsung,exynos8895-cmu-fsys0"; reg = <0x11000000 0x8000>;