From patchwork Wed Aug 7 09:08:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756038 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 C0421C52D6F for ; Wed, 7 Aug 2024 09:10:29 +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=CMHASFFm7n1fgyIaBm3TJS/QNjIvFojbcRZtCPlVMiU=; b=Z6l8AglMHe3BoZ3TUpDIWhxMyC AS8btfNVMtYElmRd8efs83uYDeO/TlswcWaJbPEZC2QsZYAFNLAsy+48Xfufmz0ZnetH5mQ+Q5b8Q z7mpuecXwrHKBP6h/VD+WxnPp3dhfkhT8PLDtGF9jpU5z88c0uQXPFL+klXw3K5JBXMcgSmeGMLkf KlZciaA1jgE8X0EH5pkOOZgtEXYEbAy1iI/QOeYK7KmDXzgi+j+z89HigVdznmUyyR90KcQzWnzYL 968x5zDJ1I6mkN6YZhKikUJ5Hf4hLd64HZVL2uRLG+lB84Us1yiD7WnjtkDIkbxCB9e5TlVTGPUM1 ZROLDiDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcgV-00000004TiE-0FuR; Wed, 07 Aug 2024 09:10:19 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfS-00000004TOn-1S97 for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:15 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-42817bee9e8so10555825e9.3 for ; Wed, 07 Aug 2024 02:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021753; x=1723626553; 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=CMHASFFm7n1fgyIaBm3TJS/QNjIvFojbcRZtCPlVMiU=; b=WI380svo5yE9iRTLZF/uWHWBM8N0jEoqTxcQNEcinjm65TAXEt4viw2pSFSRBa7Fcd ZpJ+qjsXuVN1CnkIsXINsf/GlgZEa3xrXnh5nbGnWAk98Lhu1BJAFYQX1bJ2H/5rUOZl hW9Yw5XkxAKLs8FRGgJ6Kz+s8+4zc6yAYaAZYmPsUUL4IKeObJi9MDIY9Ew3gnM2I4I2 ujL8Jsvop57JWT9B2mxpIPUHZPxYzSxbeyEcgSpPIhY64b8ItQr3pmaV3J8H344p5qf+ GawombsjY+s3OH3AK/IeUX9NMHyWuus9fS9vVGbxcA7wLRhx57G/SD9OaKkEVhH5eGV1 XXIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021753; x=1723626553; 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=CMHASFFm7n1fgyIaBm3TJS/QNjIvFojbcRZtCPlVMiU=; b=vV2UJ95c6PyChG5GBv94Y2+t02VWJzzfrzDnnJFqH1AGAZwQ9/l4jxe69URIttKksI zaCDz+cfJFU+d0rTULMfzLaDo7EyOcsyJT6nGQxnbiQqa1BA6DGxMZYv/rqJwZ+mJ7C0 xzQ7yUIy81vwYfy8vFk3LGv/FA+AbSgsH0dTNdtxC/ZYhs8RpGthZYCWLTDDTw80yB7f ardtCNYX7uZyjlfPxqgLqbvGLyQnq4oht68C6TzZoIqCwkEg0kRHD7hUaGF+VQmNZcsy d2erFIfXIoSWCYVaOzy+RdsDkAMG97ZSJh6WbHEHoPrl/DiLKDZkfM6mPWMOhp95mY/J SPZA== X-Forwarded-Encrypted: i=1; AJvYcCUhGlZoJIKNyTUofpZOAvjD8rjOa+9Ae7YkZu+4PL04SYWc1A4uUN+vU28eFFz9+ed4Yu4WO7Q2Qc9zNV9OSvrny/pZtwkCEQ6p3oxbbQCuC5wAiPw= X-Gm-Message-State: AOJu0Yzl23dl5zq9UjUJvpCmwK4h/Ba3WaGN8X9HVaHuVPIfrGhl2sSg e5BbrSqBJTd9IILNyOIH2uiRY6YlFtesdXP0SNwmW9TO59XAllq8yBrVCh7r X-Google-Smtp-Source: AGHT+IE2aksSyfeDNo85hEOYerr1ryMHXngXrMWc3cGK4L1JQv2P2DF6u+qdb81ofX/P/mzF6OKekw== X-Received: by 2002:a05:600c:524c:b0:426:5ef5:bcb1 with SMTP id 5b1f17b1804b1-428e6af80aamr115901905e9.6.1723021752580; Wed, 07 Aug 2024 02:09:12 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:12 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 01/10] dt-bindings: arm: cpus: Add Samsung Mongoose M2 Date: Wed, 7 Aug 2024 12:08:49 +0300 Message-Id: <20240807090858.356366-2-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020914_392181_AF0F61F4 X-CRM114-Status: GOOD ( 10.55 ) 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 a compatible for the Samsung Mongoose M2, found in exynos8895. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index f308ff6c3..76df786ae 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -188,6 +188,7 @@ properties: - nvidia,tegra132-denver - nvidia,tegra186-denver - nvidia,tegra194-carmel + - samsung,mongoose-m2 - qcom,krait - qcom,kryo - qcom,kryo240 From patchwork Wed Aug 7 09:08:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756039 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 29FF0C3DA7F for ; Wed, 7 Aug 2024 09:11:04 +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=CgddiJuAJeHLG6VgSnhOl+X5C5KvFbVs0eJ2zYji8yM=; b=DPhDsSpeeF+aQzM8Dlvk2D9BeE 3UTJd8eKPoPaEufHweL9h2/rV09g1LhUpV82AA5sMFL50eHFnF7oRRxhpjmO6RZEfJRJoDuwOT9UA 4Xnies4uA50wXGzCYRzWDPy7WHOKCHdAEXAP7x0IO2gpa+fQ+RNY15C5q6HScQ06LR6WhRZhjdP5a NjvNb086VR3dm3KVOfXNiqPs6AJ9Yc7GBg5tKBADVTnrdf4yCk8qPIzuS4zTRVEuAzB9kWHdwdlM6 Oay4tVgHGuI1TvF+PHtSRjtfyPWDYw4NWMQbN6U7/TEO3OW/QNjKOwOpVQ5HyiFF3E2re0zRUyX3/ ypf5Nbtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbch0-00000004Tr8-2Mx0; Wed, 07 Aug 2024 09:10:50 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfU-00000004TP9-0xY8 for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:17 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-42803bbf842so14791475e9.1 for ; Wed, 07 Aug 2024 02:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021754; x=1723626554; 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=CgddiJuAJeHLG6VgSnhOl+X5C5KvFbVs0eJ2zYji8yM=; b=NSHfgJfvSRbidcnCBokJOE8rjJRKRAh4J2lmJk86rv9LjSOQTNNp++nR0I00tUqKb9 pH9JHgef+aFU6Tji+1PsTdIK17FLHEB9HECc7KYj9FA9vR6Oq224PLNiaMlKjw6c2L1z 3UYXlRBhDv1ee5TfwWsY+JXWnuFaLWqwpYLlqg/O9vO4erMHpPQI5isZVu8xXk9aSMRm YzPG1WHxAAc3xqDZNrITa+yPRz5W7zcdFxKb3bs06ubRFPLaCQ0Pm3A9KacCaHvZLOH/ sjO0AT5UuTMwhFqMx/Kginc/SeNBe2hPXePleu8UNw8OSiGeh4XWW5SYxyFZNMztPHko 9OAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021754; x=1723626554; 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=CgddiJuAJeHLG6VgSnhOl+X5C5KvFbVs0eJ2zYji8yM=; b=HpCpX7ZNlxxQBc3jVqmuqEwI2e09Kxu2AxaB2sXIj++ZI8BYdbGIygdEC45Ps5fzqv WY7GrgNvtAP6T/bUj8gIM2FwuosOdIuK0GdaeIotXxLZJZHS5s1ot8FsnT1393Xh+x2m r/U7St/HMe6qv37pY3pMbFKuNWDp55oesL6isdQ0qoa5b4SjEkyPi7f5dNtQQHhOmAap Ot0ocC1fHbKKKx6361Tlk/onBpZeTRhTwidBCLLC/mWpzZbU3qLwO6QGiaSCaljLIiRi 3XZUeuR614V3196dj6eU04CcIXuLe/yQQIJamNRNCi9e+QTdN9h55Y2Kr+4mL6Bn2iQK zXpA== X-Forwarded-Encrypted: i=1; AJvYcCWOlx93fOuUeRVxcie65QKAvjJEiuSDtzwS8W6vLLp3cquBy0IhJSY9jHu7p87bmrv28jcFVD2qEMRd+SYLfTS0G8UAN2g5Xb5YR82GFTAjGazfQWw= X-Gm-Message-State: AOJu0YzNRrshMZu7OdqhBeaqXyi3Q6zAI8F5lcspDm70y40d4OvCGdzx bk7ZJ9dexUze/5tP3CJjYRUQPBQ4+rAn0GWMzxKYuSUhY3YQmioOzBfWNQXd X-Google-Smtp-Source: AGHT+IFY5kYptyvuicJFawuvjdp5LpaWIq8c1XNuH9hPIkJQejmu932/4A2W2hohPcvL8V8qxYN3zw== X-Received: by 2002:a05:600c:154c:b0:426:62c5:4731 with SMTP id 5b1f17b1804b1-428e6b7ea40mr162786115e9.29.1723021754104; Wed, 07 Aug 2024 02:09:14 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:13 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 02/10] dt-bindings: hwinfo: samsung,exynos-chipid: add exynos8895 compatible Date: Wed, 7 Aug 2024 12:08:50 +0300 Message-Id: <20240807090858.356366-3-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020916_274757_1DB789EB X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. 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 "samsung,exynos8895-chipid" compatible string to binding document. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- .../devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml index 780ccb5ee..c50ee587d 100644 --- a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml +++ b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml @@ -23,6 +23,7 @@ properties: - items: - enum: - samsung,exynos7885-chipid + - samsung,exynos8895-chipid - samsung,exynosautov9-chipid - samsung,exynosautov920-chipid - const: samsung,exynos850-chipid From patchwork Wed Aug 7 09:08:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756040 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 47320C52D6F for ; Wed, 7 Aug 2024 09:11:35 +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=mxlRfq1HATSvQDl8g9hY9l8C4ar35ZDezyMHRtFeRHg=; b=kComCXAQVDqD9Zs616/PLK5SVA +cLvr08KlMQufik8Udke+8Mmt2cZRZ65Fp9MlHLZKRuQUjbfuPZionNDk2urBa989ycXjsRTZhx55 y01yft6MyQi4ztbFzYv8+AJTaaHc69tk0ZsJfbwwtwGoTR1695H96OgfyHLTFdkrMPxoY/eIoel+4 hj+hMHHHjhmVMlyU9KGBJ0JS6/2B3gey/zvljHlZjEIfxib02h5bBoHjdO1lVoIhNiF4ZXVyqujmF 3sCshWNXT552vF7xQr+BZ2kMyeYxxjgDEIicl2ZvNeokL9aekWhqAelt82ktcrfh2zvskNHBRrWjx aNAtdvpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbchY-00000004U3n-1OMx; Wed, 07 Aug 2024 09:11:24 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfV-00000004TPN-1KLZ for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:18 +0000 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2f136e23229so16348191fa.1 for ; Wed, 07 Aug 2024 02:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021755; x=1723626555; 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=mxlRfq1HATSvQDl8g9hY9l8C4ar35ZDezyMHRtFeRHg=; b=eH2RECTg/mEtHICc7numJDmB1/diHEH7negOuFJUW+XnRw2vVUWWrY8eK69zy2CRO6 b8l/ECXuKlfpK/USfXjhsv5Q8GhPlBHMso38uGR0kmip+1ICuNhGns+Sq5fcRYGL57Tq wcdPiBaJ3bjopgLXY7EdBVAFBylXzXjF3Qil2YRQj4QhL9uu4sUo3v+CQi0bbYWsIZao RHT3Qa4rvT/IpqNtXwE/wXDGxny2bPUiUEZJ+izyOPxoWycdpE61Nta0yp6Ggl6+Nhau dGe6J4nO3emgg8gZ4GzSMRhJrfkBMGSyg6wejy1MiaFXl+IFcK8jTyQeX1t5KL0LjGLT TIkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021755; x=1723626555; 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=mxlRfq1HATSvQDl8g9hY9l8C4ar35ZDezyMHRtFeRHg=; b=NfeQl+dpXD7QoNtBqRYZPWH4ribvooFUwl4tUni8a72nOK2NC38FcwuJX0hTfJVfao 9GmWTvFxIXMXOv50csAA4IM5MONeqKJKZTrPfAjC2yBomPQe93CSRhD5Hwm3k+si94Kv SHw2tNq6eqJA/Hwjg5yREjbEfcmXRP72q4wxS9za5MI2zSQ137dzYgGq42sMe/OjW+Sd e/ocSeY+/OWTXko91Nz/ixhByzUOySrH8bqI8g/N2OU6p5rEn3uHSiHZnYwZN1VaAbeG Nsou4zwTO7sT/RcaK18njP2YCHNSZr0cHFLEE9M+G8EqY8GXCr2Iq+MahXnRLetOie4V 2qiA== X-Forwarded-Encrypted: i=1; AJvYcCWN61E166g+TXr4ecMbqFvBjC48scQbjA6z1Aqs9UPZGbDp7Xl3piZy/na2XW1hPq6MvWyPSje8guel4M8nVOQSCTEmwTTF6bjcBOFFmILhn7P04Us= X-Gm-Message-State: AOJu0Yz7J6beamqj0XuIPfVOUBkS1oeFT5fv0xM+/Jb/KYMby6GO4oKC 1NexSqelevIxz5e7sXwcrSomcbkiSbMWtdJ9X55n8hwZ1NEgtiL1 X-Google-Smtp-Source: AGHT+IEswZtq/7m7X5I0dzQSodMqJIkQ98Tj1xC2lHaUy2fSyxPi0oiv0jUwDqnr0oKz2LJCsGYJNw== X-Received: by 2002:a2e:720a:0:b0:2ee:7dfe:d99c with SMTP id 38308e7fff4ca-2f15ab0c434mr128065641fa.31.1723021755339; Wed, 07 Aug 2024 02:09:15 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:14 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 03/10] soc: samsung: exynos-chipid: add exynos8895 SoC support Date: Wed, 7 Aug 2024 12:08:51 +0300 Message-Id: <20240807090858.356366-4-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020917_360307_4FA2B93A X-CRM114-Status: GOOD ( 11.18 ) 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 EXYNOS8895 information to soc_ids tables. This SoC product id is "0xE8895000". Signed-off-by: Ivaylo Ivanov --- drivers/soc/samsung/exynos-chipid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index b1118d377..2f794cee8 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -57,6 +57,7 @@ static const struct exynos_soc_id { { "EXYNOS7420", 0xE7420000 }, /* Compatible with: samsung,exynos850-chipid */ { "EXYNOS7885", 0xE7885000 }, + { "EXYNOS8895", 0xE8895000 }, { "EXYNOS850", 0xE3830000 }, { "EXYNOSAUTOV9", 0xAAA80000 }, { "EXYNOSAUTOV920", 0x0A920000 }, From patchwork Wed Aug 7 09:08:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756053 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 D9584C52D6F for ; Wed, 7 Aug 2024 09:12:11 +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=I+rRgxOmYLi2N4XWgCIbZjKsFXKXkm9CvD8Sxq31aYg=; b=KT5+0XVG4LiJ+cCP/UNfqM+t9h BEsUbxNUMQ4XVDvVpnj9eSoLjtMRLOu2V5TM/sayC+qGhoGnJT+qoNhOCUo2KHiqzHDTCzan5YtOq 1vBRVz4Aiz8knOMC02hZd/DyRRZFTJ19TvztvhKfKG9k+RE2INsAnnE/IgcG5dUvsL7v2sjLCpIH5 FwS7zd5CHtex65F3JIrhl4mWawYqvaK/+62q5FkIHkBcxsIM6qGa2hJqLMDHTld1R7wZ+22G58W7F yS9+C85fKKfEsBt4CUwSmZzgnRkI1G7D1LsRLwercIYX29+of3nlJ8VugwHw4jJkpabZdSYZz+owr TudxFnqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbci5-00000004UEB-14IU; Wed, 07 Aug 2024 09:11:57 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfW-00000004TPn-3CtT for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:20 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2f040733086so17966991fa.1 for ; Wed, 07 Aug 2024 02:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021757; x=1723626557; 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=I+rRgxOmYLi2N4XWgCIbZjKsFXKXkm9CvD8Sxq31aYg=; b=QrmEU7hxkwBnaiMB1YXy4o8z314mTMKdV8ZlJbBqg+sLbyzxd4ttzfkooXGNmzk6Da FiOGQp15uxM0f3TVZCl+J3frCFQNjIA2NpPLWR5e1+eY1TwGu4gdg4uSJy+C9JNpMN9A irjh5jdLdtYwuEqMExhnm09P6IVZGzqK060FKTTI1woGk0KT93viBdb3LAltAoApQJZ3 vsDOX4ZepM/Yn/S7CaUxIu6uZTTNcFCaHz6Z21czYF/REmFy+7njMQpvI8XqA+rn3GCA WynMABmoFkzTXuF+XshlhWpnz7rlHhFAT2U67XG7UNTxDJcAunuRWFG9e9f+d48jJGj9 cz7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021757; x=1723626557; 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=I+rRgxOmYLi2N4XWgCIbZjKsFXKXkm9CvD8Sxq31aYg=; b=R1f69eAAey8Q8aIe9UVspyRShhgF6zHrcPnJxZe5feQEHINb0sdPWWKRxy0YgxqmW6 +pRdPGR5xnQry5gRPo1ubWfWJh6Qbyc6sh1q9/aQq6P8QUhKFFMSTDf6rhDCLRLkQ/VU Ype/UouRVm3IP9CdbiFsDw0B+jmB909euGz1o1ixRfc/tah9nP0d1cnnaAuE6XfHlQHA Mb17mjV/gF41OMSot5ObmsPQ6SNeIq7WPRT7ci++JeQmvN13Mgz6hy9hwxM2fHiHTh9o ecY8xbHJoGLOEBedGPD3Oy5iNr1Jx+v64qmuKUWlX9HfSgxtTio9gUUsy5b6+Bw8fdCH lQUA== X-Forwarded-Encrypted: i=1; AJvYcCV/DjhkXL5nBSyRaIsERIIY8ztzEC9IRC3MxECLuST95Zc0sHIxrFQHtPb9F6R6K6k/3Jst18wH1nWiGlB2Cxdh@lists.infradead.org X-Gm-Message-State: AOJu0YyfAdQWt/A4YuVwYsLBzxucKhPtGcui25TSaBJ9RdYjwx0RPtzo Z5cET2cuBEzL/golDrhGYeNY0ixLbR9H6aQ5hPFDr2VDJDt92OAG X-Google-Smtp-Source: AGHT+IHZj/qaVwBeUYEqoaOt4fPwTRtmjTIhR7CIMvfEavPnT6SbjpTOmBnJhDXNtvBimqFUiwAygQ== X-Received: by 2002:a2e:3002:0:b0:2f0:2833:efaa with SMTP id 38308e7fff4ca-2f15aac3960mr115280051fa.25.1723021756645; Wed, 07 Aug 2024 02:09:16 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:16 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 04/10] dt-bindings: pinctrl: samsung: Add compatible for Exynos8895 SoC Date: Wed, 7 Aug 2024 12:08:52 +0300 Message-Id: <20240807090858.356366-5-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020918_830714_8E518179 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. 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 compatible for Exynos8895 SoC. Signed-off-by: Ivaylo Ivanov --- Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 242dd13c2..a2af2c88a 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -53,6 +53,7 @@ properties: - samsung,exynos7-pinctrl - samsung,exynos7885-pinctrl - samsung,exynos850-pinctrl + - samsung,exynos8895-pinctrl - samsung,exynosautov9-pinctrl - samsung,exynosautov920-pinctrl - tesla,fsd-pinctrl From patchwork Wed Aug 7 09:08:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756054 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 46A98C52D6F for ; Wed, 7 Aug 2024 09:12:41 +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=DpOR1yEEo9T7o54nBi7OPU1qWueiNJ1G/1IxzwZ9XpM=; b=wtDqTupVE8eVooOgMFgIlIba4Z NdMuqvWq3rOAfu2LjimZGxEgN2F4Hrr4EEN+edptn0uh/dEPKyLBK+DIHrkKLi1f94xbExCL/mypd z1DEWZ85n+6EecLImcnfPfgLu2qsrkcoReH/T/rLfZBl2QffJpVaXmHIZiRVfx40UG5s8KR1UhBhC Gc0RK6GlfkQnikhRGF93RFXUSjVVDqD6xXmYdhr/toGHn49yH+EQzEEUQ9YkdUWmqNz2GSaSsMaTf n86f6Bu9OEH/PJnKBo7in3OMMQmmrNcoO1jwjwJFx7RksNz5QvQLh1MQsY1YdawSpQ1mfTy1jdGih L0cYUCbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcib-00000004UNX-1Tod; Wed, 07 Aug 2024 09:12:29 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfY-00000004TQJ-0zt5 for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:21 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-428163f7635so11221275e9.2 for ; Wed, 07 Aug 2024 02:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021759; x=1723626559; 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=DpOR1yEEo9T7o54nBi7OPU1qWueiNJ1G/1IxzwZ9XpM=; b=ns0qDZxfUE5f2jSPOU1eTRD3oQyCvCu5K+UbjyvwMQVnBZ7TI9GR+8Me9KcQSvearu LXK2g/E5O9xxdfCFmuEQgin8tSpkORiNc0XNb8bCDg40+/sM9OXuiA8r4Zo/XkqD+oKW 7GF+iyZHNPGkp2GgVLymyhK1z2E2dooYFQG8zNFyKzIZ42ckXXuqtxmeKmgHdiquX0Qi D6d/5X0rBxTD+5MBaEl7xAfoZtswOE0GoFEEQY4wI2TEpuKwhKFRoJ2zS0k5aguWOOV1 zA4BKFDc+/qLUe66WfNa6vMkCy1ul4Vy5giAbIGILcsVCVQ9lj3mup785xEjrTR4t5jC 7dcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021759; x=1723626559; 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=DpOR1yEEo9T7o54nBi7OPU1qWueiNJ1G/1IxzwZ9XpM=; b=r1apb3UuQKrxDbt1PzcJmdkvwxrtizojZ/N+raG2v8cXnNtsr/nqLYWoDqzHPzoKRP jY3JZCNfwDBja/JbHp1ot/7PO0DTAqkEx2GBnVSnNKdNcb1LtIMrrVLppmdsXoG0nvxl B9zT7q8qcgKk6IPxQQE62P33QINh+JW+bhDgk47HqRJyg5otLuIdQt5K+mYvFphwAOF7 JKVDUTISdcbukCuzOZMa4WhVkNZo2WZnt2bzBjEaenu0XU8ZwZuMCxHVfIfNgCK0WndD LE8Xse3S2NjJz6++Lj1XXvVaze6ghKT4Gce4MVwTpP433M65VdKQWqmUWViJF7swhA75 Yikg== X-Forwarded-Encrypted: i=1; AJvYcCXhrS2A2lMXvC8yDVK4rvoNJTqcKUXeXD7AicovmEtTzv+NiMuhQpVh5vlGQVqTTI0KQ9BgOHdBCrCSeqIc/9+fAS5Gw2AdI8NaPVzQuL+DlUnGdRg= X-Gm-Message-State: AOJu0YzoaSLdiFtzvaD9QioAay6YOjurt7FVrn6vZbGs+ffzFoA6vL+e laVv9zE9m7WemXtlOIDuwMzM2f/goQJvB1wQytwG8b3NY0zklgRw X-Google-Smtp-Source: AGHT+IHdvsaWIsKEEUFQyYhMi/rV270dr8FZiTkHkxGYyFx2KDA4A3aEB9MQ/k8F7+yep81PfSIyig== X-Received: by 2002:a05:600c:4e8e:b0:426:6667:5c42 with SMTP id 5b1f17b1804b1-428e6ae27eamr118579485e9.4.1723021758349; Wed, 07 Aug 2024 02:09:18 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:17 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 05/10] pinctrl: samsung: Add exynos8895 SoC pinctrl configuration Date: Wed, 7 Aug 2024 12:08:53 +0300 Message-Id: <20240807090858.356366-6-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020920_283585_B1538A94 X-CRM114-Status: GOOD ( 15.65 ) 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 support for the pin-controller found on the Exynos8895 SoC used in Samsung Galaxy S8 and S8 Plus phones. Signed-off-by: Ivaylo Ivanov --- .../pinctrl/samsung/pinctrl-exynos-arm64.c | 137 ++++++++++++++++++ drivers/pinctrl/samsung/pinctrl-exynos.h | 10 ++ drivers/pinctrl/samsung/pinctrl-samsung.c | 2 + drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + 4 files changed, 150 insertions(+) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c index 5480e0884..0d5d14cf0 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c @@ -58,6 +58,15 @@ static const struct samsung_pin_bank_type exynos850_bank_type_alive = { .reg_offset = { 0x00, 0x04, 0x08, 0x0c, }, }; +/* + * Bank type for non-alive type. Bit fields: + * CON: 4, DAT: 1, PUD: 2, DRV: 3, CONPDN: 2, PUDPDN: 2 + */ +static const struct samsung_pin_bank_type exynos8895_bank_type_off = { + .fld_width = { 4, 1, 2, 3, 2, 2, }, + .reg_offset = { 0x00, 0x04, 0x08, 0x0c, 0x10, 0x14, }, +}; + /* Pad retention control code for accessing PMU regmap */ static atomic_t exynos_shared_retention_refcnt; @@ -866,6 +875,134 @@ const struct samsung_pinctrl_of_match_data exynosautov920_of_data __initconst = .num_ctrl = ARRAY_SIZE(exynosautov920_pin_ctrl), }; +/* pin banks of exynos8895 pin-controller 0 (ALIVE) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks0[] __initconst = { + EXYNOS_PIN_BANK_EINTW(8, 0x020, "gpa0", 0x00), + EXYNOS_PIN_BANK_EINTW(8, 0x040, "gpa1", 0x04), + EXYNOS_PIN_BANK_EINTW(8, 0x060, "gpa2", 0x08), + EXYNOS_PIN_BANK_EINTW(8, 0x080, "gpa3", 0x0c), + EXYNOS_PIN_BANK_EINTW(7, 0x0A0, "gpa4", 0x24), +}; + +/* pin banks of exynos8895 pin-controller 1 (ABOX) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks1[] __initconst = { + EXYNOS_PIN_BANK_EINTG(8, 0x000, "gph0", 0x00), + EXYNOS_PIN_BANK_EINTG(7, 0x020, "gph1", 0x04), + EXYNOS_PIN_BANK_EINTG(4, 0x040, "gph3", 0x08), +}; + +/* pin banks of exynos8895 pin-controller 2 (VTS) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks2[] __initconst = { + EXYNOS_PIN_BANK_EINTG(3, 0x000, "gph2", 0x00), +}; + +/* pin banks of exynos8895 pin-controller 3 (FSYS0) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks3[] __initconst = { + EXYNOS8895_PIN_BANK_EINTG(3, 0x000, "gpi0", 0x00), + EXYNOS8895_PIN_BANK_EINTG(8, 0x020, "gpi1", 0x04), +}; + +/* pin banks of exynos8895 pin-controller 4 (FSYS1) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks4[] __initconst = { + EXYNOS_PIN_BANK_EINTG(8, 0x000, "gpj1", 0x00), + EXYNOS_PIN_BANK_EINTG(7, 0x020, "gpj0", 0x04), +}; + +/* pin banks of exynos8895 pin-controller 5 (BUSC) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks5[] __initconst = { + EXYNOS_PIN_BANK_EINTG(2, 0x000, "gpb2", 0x00), +}; + +/* pin banks of exynos8895 pin-controller 6 (PERIC0) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks6[] __initconst = { + EXYNOS_PIN_BANK_EINTG(8, 0x000, "gpd0", 0x00), + EXYNOS_PIN_BANK_EINTG(8, 0x020, "gpd1", 0x04), + EXYNOS_PIN_BANK_EINTG(4, 0x040, "gpd2", 0x08), + EXYNOS_PIN_BANK_EINTG(5, 0x060, "gpd3", 0x0C), + EXYNOS_PIN_BANK_EINTG(4, 0x080, "gpb1", 0x10), + EXYNOS_PIN_BANK_EINTG(8, 0x0A0, "gpe7", 0x14), + EXYNOS_PIN_BANK_EINTG(8, 0x0C0, "gpf1", 0x18), +}; + +/* pin banks of exynos8895 pin-controller 7 (PERIC1) */ +static const struct samsung_pin_bank_data exynos8895_pin_banks7[] __initconst = { + EXYNOS_PIN_BANK_EINTG(3, 0x000, "gpb0", 0x00), + EXYNOS_PIN_BANK_EINTG(5, 0x020, "gpc0", 0x04), + EXYNOS_PIN_BANK_EINTG(5, 0x040, "gpc1", 0x08), + EXYNOS_PIN_BANK_EINTG(8, 0x060, "gpc2", 0x0C), + EXYNOS_PIN_BANK_EINTG(8, 0x080, "gpc3", 0x10), + EXYNOS_PIN_BANK_EINTG(4, 0x0A0, "gpk0", 0x14), + EXYNOS_PIN_BANK_EINTG(8, 0x0C0, "gpe5", 0x18), + EXYNOS_PIN_BANK_EINTG(8, 0x0e0, "gpe6", 0x1C), + EXYNOS_PIN_BANK_EINTG(8, 0x100, "gpe2", 0x20), + EXYNOS_PIN_BANK_EINTG(8, 0x120, "gpe3", 0x24), + EXYNOS_PIN_BANK_EINTG(8, 0x140, "gpe4", 0x28), + EXYNOS_PIN_BANK_EINTG(4, 0x160, "gpf0", 0x2C), + EXYNOS_PIN_BANK_EINTG(8, 0x180, "gpe1", 0x30), + EXYNOS_PIN_BANK_EINTG(2, 0x1A0, "gpg0", 0x34), +}; + +static const struct samsung_pin_ctrl exynos8895_pin_ctrl[] __initconst = { + { + /* pin-controller instance 0 Alive data */ + .pin_banks = exynos8895_pin_banks0, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks0), + .eint_gpio_init = exynos_eint_gpio_init, + .eint_wkup_init = exynos_eint_wkup_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 1 ABOX data */ + .pin_banks = exynos8895_pin_banks1, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks1), + }, { + /* pin-controller instance 2 VTS data */ + .pin_banks = exynos8895_pin_banks2, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks2), + .eint_gpio_init = exynos_eint_gpio_init, + }, { + /* pin-controller instance 3 FSYS0 data */ + .pin_banks = exynos8895_pin_banks3, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks3), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 4 FSYS1 data */ + .pin_banks = exynos8895_pin_banks4, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks4), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 5 BUSC data */ + .pin_banks = exynos8895_pin_banks5, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks5), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 6 PERIC0 data */ + .pin_banks = exynos8895_pin_banks6, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks6), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 7 PERIC1 data */ + .pin_banks = exynos8895_pin_banks7, + .nr_banks = ARRAY_SIZE(exynos8895_pin_banks7), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, +}; + +const struct samsung_pinctrl_of_match_data exynos8895_of_data __initconst = { + .ctrl = exynos8895_pin_ctrl, + .num_ctrl = ARRAY_SIZE(exynos8895_pin_ctrl), +}; + /* * Pinctrl driver data for Tesla FSD SoC. FSD SoC includes three * gpio/pin-mux/pinconfig controllers. diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.h b/drivers/pinctrl/samsung/pinctrl-exynos.h index 305cb1d31..7b7ff7ffe 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos.h +++ b/drivers/pinctrl/samsung/pinctrl-exynos.h @@ -141,6 +141,16 @@ .name = id \ } +#define EXYNOS8895_PIN_BANK_EINTG(pins, reg, id, offs) \ + { \ + .type = &exynos8895_bank_type_off, \ + .pctl_offset = reg, \ + .nr_pins = pins, \ + .eint_type = EINT_TYPE_GPIO, \ + .eint_offset = offs, \ + .name = id \ + } + #define EXYNOSV920_PIN_BANK_EINTG(pins, reg, id, con_offs, mask_offs, pend_offs) \ { \ .type = &exynos850_bank_type_off, \ diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index 623df65a5..ea3214897 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -1409,6 +1409,8 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = { .data = &exynos7885_of_data }, { .compatible = "samsung,exynos850-pinctrl", .data = &exynos850_of_data }, + { .compatible = "samsung,exynos8895-pinctrl", + .data = &exynos8895_of_data }, { .compatible = "samsung,exynosautov9-pinctrl", .data = &exynosautov9_of_data }, { .compatible = "samsung,exynosautov920-pinctrl", diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.h b/drivers/pinctrl/samsung/pinctrl-samsung.h index d50ba6f07..f18877f2f 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.h +++ b/drivers/pinctrl/samsung/pinctrl-samsung.h @@ -363,6 +363,7 @@ extern const struct samsung_pinctrl_of_match_data exynos5433_of_data; extern const struct samsung_pinctrl_of_match_data exynos7_of_data; extern const struct samsung_pinctrl_of_match_data exynos7885_of_data; extern const struct samsung_pinctrl_of_match_data exynos850_of_data; +extern const struct samsung_pinctrl_of_match_data exynos8895_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov9_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov920_of_data; extern const struct samsung_pinctrl_of_match_data fsd_of_data; From patchwork Wed Aug 7 09:08:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756055 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 A53B2C3DA7F for ; Wed, 7 Aug 2024 09:13:14 +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=1w/3GixTR0u4eiWFnTsGuL6Zt1CcVf1mK0qeoNVvXt8=; b=M2VfGRbzk7b/xVgjBOKYwfmMIR a4KkX+3+2+pGYvHDpDt1TxO0Dqd1KQQ/LRcTkar4/ZXejo3rF5T6MV8Xpm4QeME4QM811e2MJLB+f aYPzAT5heUbseqX7ZNFPB21xz2OZTHdqaiamrbjqgZ+YLREK32b5tjrrTJ6q+T85AfGuFzrafIn2F f17f75zfdmUSDUXg44Sp5hqyIw4anoeea/Lg200Frb6Drrw0bBxQYLS5I7c5sChMcwc1CypfrmrMS KQLWioqBS64YF2Rx6Bcp0+EQZR6/vcDD6JpmKDyOyPRr4YJRiT+FijsEwdLvwoaRwaUCp7fnPpYhu AugwytCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcj7-00000004UWO-0PLW; Wed, 07 Aug 2024 09:13:01 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfZ-00000004TQe-2l5V for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:22 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2f15e48f35bso15153821fa.0 for ; Wed, 07 Aug 2024 02:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021760; x=1723626560; 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=1w/3GixTR0u4eiWFnTsGuL6Zt1CcVf1mK0qeoNVvXt8=; b=TX5pkey3Q5KFvpMqvjYSyZ5sOxu+y8LwsZafCGoJKefEAy1Gr9yxw+fJQGOTrwx2pZ EvETZ+MyfYGFbjbpLHKVEI2TYkXu2OilMgnL3Ybytz9LGMr2OK9x0y4pF+N2Pj3Y2+K5 G+2cxpzfZyNFav4Sb/B1ydtKsIL3kJFPK7poFj29ynXPRnxAVU+6v00TKLnMpSDFJlEK XvG0vfDg/osDIVKOvNNIxcKtUM23ljTjdloCzNAwJ++b+RE/1W7u9hLy+49oWQEf0dQS nKbDY8lFjG4SOHO9u45jb0sIkpujLkZk/WJA2qH0xL4Ln8RXOscfqI+sMnVcexkjb/X6 UWIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021760; x=1723626560; 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=1w/3GixTR0u4eiWFnTsGuL6Zt1CcVf1mK0qeoNVvXt8=; b=rhhxQTvZtp9qxcO7p0b0/mUVbKFuA6gnNECY2dCnKcLliIYKl6Z9Kbc6f/xuYiXG6J kO5KULl4sx04Kl6+e7YFEJ0tN4svgpQgjt1wcqS67iRipAVh43o8LHFjl781YU2cj1ng qTGOzPw73Gpf1OEcXQPW795d8NVNaAJFsdFnwqcaBUhWdTLzDa4TU0kTsL/rwuINV3JJ hK/r/edHJGCPUXAzgNgke2HcwXOUDBOcgYdZIW7GwozaY+Uv3w+Q9rSesIYkSuJZhxQW +G5Kq3fYrQkHlKX4ako15U2Bithrfsceu6VkZ7UuzFmSxkwZBFmECKiEN2DmHUupjYt7 BEaw== X-Forwarded-Encrypted: i=1; AJvYcCWgiLssCdg86Y2oWTnWwSdTyuNtzTgwhujS774N0vSaYZ+w176qHKmHJdrf0QgJKr64LX9nBx6XOLJ4o9wH0kSob2DXMm8HGzkO+mBocFGg82CDdAw= X-Gm-Message-State: AOJu0YxOXbLGvywlCMwPL/jcldBj5cqTNmmVqcQbd+8y7pYayre7c3NG g9MD5fhVDJIRqOKExPZ9AcQbl+itpojBZxMvIYPG7ngMICwtX9uB X-Google-Smtp-Source: AGHT+IHTFuqmCkX60HqEXOugSbgQh+FkoCaxOC10srFEOqPUlWUXBEBNGhtU9EJjKDxs9LuKUeVXNw== X-Received: by 2002:a2e:9816:0:b0:2ef:1b64:531b with SMTP id 38308e7fff4ca-2f15ab38068mr118412331fa.42.1723021759798; Wed, 07 Aug 2024 02:09:19 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:19 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 06/10] dt-bindings: pinctrl: samsung: add exynos8895-wakeup-eint compatible Date: Wed, 7 Aug 2024 12:08:54 +0300 Message-Id: <20240807090858.356366-7-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020921_712113_774688C3 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. 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 a dedicated compatible for exynos8895. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- .../bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml index 4dfb49b0e..91516fedc 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml @@ -42,6 +42,7 @@ properties: - samsung,exynos5433-wakeup-eint - samsung,exynos7885-wakeup-eint - samsung,exynos850-wakeup-eint + - samsung,exynos8895-wakeup-eint - const: samsung,exynos7-wakeup-eint - items: - enum: From patchwork Wed Aug 7 09:08:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756056 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 A7F61C3DA7F for ; Wed, 7 Aug 2024 09:13:42 +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=mv9ErE3PI85nZC8EiP12E/7wPOyJSmRoE64Ycmzcljo=; b=p1zmdcoNOVSPK0aSlg9SvxEV2X VfFvDDO3Y6rm9F2Ej+vudUbEWP0KM+vkJVXY7b69mdlyjX1/zT+X9DISZevXYnC9W5re2xQ8k0Fdi O0fN7zDNZQoW6wKJ7TT8fOsqT4JOFl+I/XViEGUDQNwEUSxN0Iahco2KU+Zhm7gcMnt/Bzbl9mrkb OR3L73AmCu6caK9282auLSpHs3t0lXPbs4jKN2HYgkvDwGeu3TI4CKMtq/WCC99EbecJfJfHHUB4S p31qVCvMxrtJ3hRjqh/o8B+Uc7rgxporW8otfiFczcbD+BLbLSNR17uTQU09nrdqrDZlolfTugHVP FTQ3JMew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcjb-00000004Ude-2NuO; Wed, 07 Aug 2024 09:13:31 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfa-00000004TQy-3Y7D for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:24 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-42817f1eb1fso10419015e9.1 for ; Wed, 07 Aug 2024 02:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021761; x=1723626561; 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=mv9ErE3PI85nZC8EiP12E/7wPOyJSmRoE64Ycmzcljo=; b=LYbm5LEaXwEho0n8VGKwGzPdfjnV71beNjF+6BH9C+mYaIsX1+BTbykB4bY6AbBxZS fFwQUKM4xMWHUCRBciFBu+BjqnUIz0t/lmQSo40WNSx/s+wDA8mi2Sg2P6QDLcxHdLMa 0YathiizAtVyivDol27Lwy6G2H1KDsZdd5owR9TJ/hHi5IzemBiabJh1E6vNToASZ2IL 4R4pQap/xoZR0hemuL53u70xE/ZPPeXrgYI/fWQk5OhkjSgN0Uu+9sw1ScUs6tcnTyA0 Rj94i6/vnS336Uu/wXRXsGcmwIdKUkagwva4C7FoyP6cjKWCmifdwIhqE+tjDm+Nnzr+ l4UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021761; x=1723626561; 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=mv9ErE3PI85nZC8EiP12E/7wPOyJSmRoE64Ycmzcljo=; b=CVlUO+0R6Kt8XwusjqKZ3bwNbkTHoAi+LFyrc6wSEamlBhBA5/N1XP8BBXSkVh0GvP wX4oabjbWMucwe5yapbphltW8MekMe4aUyaJZvyFTK0xorfrHQ6SJGX2xDe3ThPO3Rop Y9qVEINBNIF3NgddcezG4Y3dSq14JUpMnAZblZ+PHhxzdsGhT7fNdqXArr7CBuFSYDMo 7vt4TI2i7P45p1qPEH8VcMeVSPLL4qiHTRMgfzM4r75BwI7YHdPmOjVZskmAF4iYtBHn 8RCNFb3qvG4UjsrGL56p882toonwX71acymB1K3afTnf01EVBF4U7wK0v6U69OmEekQ1 QCVA== X-Forwarded-Encrypted: i=1; AJvYcCVDGkfW9HAY0y4sk6i8orK2O7CLMzRWI2yXIz51CmmG+jZqzHaTipUFcM52D3ukqKoe2qy5KoRkiwFzk60216LtaRgcY5kMzP3aBFg7GJ78kSZtfAg= X-Gm-Message-State: AOJu0YyRUMBWtHqqwKOASuzi/qOlEfNTCovdkEX8/4AI3y7esvNxb2RE YnADhlKCGaQvwSsHafmPJbe1oweTYFxaOS4x/5upsWruxqAxa/dzjzwGuXLb X-Google-Smtp-Source: AGHT+IEr7l6xqFKtie1zq/7KOfHmazHxw5ijBAJrBoyZFRP3L2jvRRg9so96ETZwsv4Kzat6VEQmEg== X-Received: by 2002:a05:600c:5787:b0:426:602d:a243 with SMTP id 5b1f17b1804b1-428e6b04a2dmr113192275e9.16.1723021761220; Wed, 07 Aug 2024 02:09:21 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:20 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/10] dt-bindings: soc: samsung: exynos-pmu: Add exynos8895 compatible Date: Wed, 7 Aug 2024 12:08:55 +0300 Message-Id: <20240807090858.356366-8-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020922_896506_649B7154 X-CRM114-Status: GOOD ( 10.13 ) 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 exynos8895-pmu compatible to the bindings documentation. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml index 15fcd8f1d..5c4ba6c65 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml @@ -53,6 +53,7 @@ properties: - items: - enum: - samsung,exynos7885-pmu + - samsung,exynos8895-pmu - samsung,exynosautov9-pmu - samsung,exynosautov920-pmu - tesla,fsd-pmu From patchwork Wed Aug 7 09:08:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756059 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 21BA3C3DA7F for ; Wed, 7 Aug 2024 09:15:23 +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=EDhiXiu/OR0mfjLHDe7PlQsvn9CZwyKU2g8OxcG/rwc=; b=LFI8FqBFcRRY2sA0yf2Ivvx3Ny rPkfgyVVSoFHDaLQKEKa655twg3ggsTdoXI2yyhJFeCiJU4g3obmZPKRYpTiybgc+9sJkgwgzKDCv f+WCevg6JjhJtTt3YEcL01+3A86CHYLILEQr6Kyn5LzS6DkGo143pLdQ9fMOkmFiisy7lHLMdBH5i /IgbDdNXjjjvTwAngC+Pc6qYkaiOzuV+bEEhOBe/pSwjSYIoKelwtiWUBgSUYWeS6VluG+pq2O9GP jTUIPN6hWA7o6G6yIf8s6Lgp3gEKeWAOdHgljQBikh+utFTwqwf3lgiCVwX/mB/JVekJGPpYxnX+4 Y2PYixWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcl8-00000004V38-1MlB; Wed, 07 Aug 2024 09:15:06 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfc-00000004TRN-1N1R for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:28 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-428119da952so10491195e9.0 for ; Wed, 07 Aug 2024 02:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021763; x=1723626563; 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=EDhiXiu/OR0mfjLHDe7PlQsvn9CZwyKU2g8OxcG/rwc=; b=V5OAk+8hZepBNEKD+5R+6UvYguBFn7A0LpDe/wA1+qRPB7fvCH02aQDcADTeNxa76U Awp2Dqz5v8AcHrFZm5dOy5BEyQS6TQ/GKhJrsR5fmYctRZ8uj8F7KZZb3ZIYb8O+3Ola kH30/iuICIGwtCAGiRLAS1igaq3nq7QoQxKOvCc0uLvqRFq94yEciw2V4A+YqT+qS0Jn neZDKoXBWksHmi2lLdA6DKX9E3t57XHFs238Ibiliv32uTIMwvQd5H+xcNY5c+J/uWwG /1z9Ufvson1M3NBq/C5rFnuYSfSOS41hjjNgB5sDn0gK8iHtGD3Z6oqoIRUS5K+//+4C XcRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021763; x=1723626563; 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=EDhiXiu/OR0mfjLHDe7PlQsvn9CZwyKU2g8OxcG/rwc=; b=uEet2Dwze70tPri/SskxG2lyA5fn48s36FyFOdGPCfhAohVq2XGa1hWuRV+5CWFin6 Uae2EYr6Sd3ckZwqx+/F4VcDGuG9KP05Vxjbip+SVhNHyyiiTkO+EssfJa4Fw+ViQ2qZ oKjDhwyvLxfIrmk4FnmRlFk9aa9xlrbBKMwmXfMgHuXh4VFytwsHNmwgQhjiHnjbXb41 2LIefCZhicZmq4vmq5t7hVlB3q01UuTcT4MEEGtxUs3U6W1IN4xyI3gfNFHaRM367bl7 zZqQ+XzZNPjDEvyJGoz9O6XMIEocHKfAlcWqpvDfOqvcg8wHJyXCY9y5k98aHUHXHFVK nItw== X-Forwarded-Encrypted: i=1; AJvYcCXXKuKuftThc4GG3/LmHfkq2bZ/R22cxUzcrPKrx9CEfkzfunJDveczIy8iEQOtqVH6dY4h5BFgNH9HAV0KF1PeeJM/YEFAf9XBv3Wxz4CpcPVp8xQ= X-Gm-Message-State: AOJu0YzJhistz6KzMte/80JgdiEr4DwHK9OJhdFeaAZ4koC5XmnXrf33 9/1Ippyibf/vE5Sdb7fw7V4TFkWk/iTJqAmsnM604UU5mqTm/892AwylpUAQ X-Google-Smtp-Source: AGHT+IHf2TgRDn7H47ASGof5PFXNBiTO7QqWd3FFXe358i7zEO7rWeWDTZfbHF74aplSX83KbFS0eQ== X-Received: by 2002:a05:600c:5102:b0:427:d72a:6c26 with SMTP id 5b1f17b1804b1-428e6af2e18mr122802765e9.6.1723021762554; Wed, 07 Aug 2024 02:09:22 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:22 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 08/10] arm64: dts: exynos: Add initial support for exynos8895 SoC Date: Wed, 7 Aug 2024 12:08:56 +0300 Message-Id: <20240807090858.356366-9-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020924_617158_0C1D1437 X-CRM114-Status: GOOD ( 15.93 ) 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 Exynos 8895 SoC is an ARMv8 mobile SoC found in the Samsung Galaxy S8 (dreamlte), S8 Plus (dream2lte), Note 8 (greatlte) and the Meizu 15 Plus (m1891). Add minimal support for that SoC, including: - All 8 cores via PSCI - ChipID - Generic ARMV8 Timer - Enumarate all pinctrl nodes Further platform support will be added over time. Signed-off-by: Ivaylo Ivanov --- .../boot/dts/exynos/exynos8895-pinctrl.dtsi | 1378 +++++++++++++++++ arch/arm64/boot/dts/exynos/exynos8895.dtsi | 253 +++ 2 files changed, 1631 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos8895-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/exynos/exynos8895.dtsi diff --git a/arch/arm64/boot/dts/exynos/exynos8895-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos8895-pinctrl.dtsi new file mode 100644 index 000000000..1dcb61e2e --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos8895-pinctrl.dtsi @@ -0,0 +1,1378 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Samsung's Exynos 8895 SoC pin-mux and pin-config device tree source + * + * Copyright (c) 2024, Ivaylo Ivanov + */ + +#include +#include "exynos-pinctrl.h" + +&pinctrl_alive { + gpa0: gpa0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + }; + + gpa1: gpa1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <3>; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + }; + + gpa2: gpa2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpa3: gpa3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpa4: gpa4 { + gpio-controller; + #gpio-cells = <2>; + }; + + bt_hostwake: bt-hostwake { + samsung,pins = "gpa2-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + uart1_bus: uart1-bus { + samsung,pins = "gpa4-4", "gpa4-3", "gpa4-2", "gpa4-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart1_default: uart1-default { + samsung,pins = "gpa4-4", "gpa4-3", "gpa4-2", "gpa4-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + uart1_btsleep: uart1-btsleep { + samsung,pins = "gpa4-4", "gpa4-3", "gpa4-2", "gpa4-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + pcie_wake: pcie_wake { + samsung,pins = "gpa3-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + wlan_host_wake: wlan_host_wake{ + samsung,pins = "gpa0-7"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; +}; + +&pinctrl_abox { + gph0: gph0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph1: gph1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph3: gph3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_vts { + gph2: gph2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_fsys0 { + gpi0: gpi0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + gpi1: gpi1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + ufs_rst_n: ufs-rst-n { + samsung,pins = "gpi0-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + }; + + ufs_refclk_out: ufs-refclk-out { + samsung,pins = "gpi0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + }; +}; + +&pinctrl_fsys1 { + gpj1: gpj1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + gpj0: gpj0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + sd2_clk: sd2-clk { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_cmd: sd2-cmd { + samsung,pins = "gpj0-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_bus1: sd2-bus-width1 { + samsung,pins = "gpj0-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_bus4: sd2-bus-width4 { + samsung,pins = "gpj0-3", "gpj0-4", "gpj0-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + /* For Drive strength swapping */ + sd2_clk_fast_slew_rate_1x: sd2-clk_fast_slew_rate_1x { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_clk_fast_slew_rate_2x: sd2-clk_fast_slew_rate_2x { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_clk_fast_slew_rate_3x: sd2-clk_fast_slew_rate_3x { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + sd2_clk_fast_slew_rate_4x: sd2-clk_fast_slew_rate_4x { + samsung,pins = "gpj0-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + pcie0_clkreq: pcie0_clkreq { + samsung,pins = "gpj1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + pcie0_clkreq_output: pcie0_clkreq_output { + samsung,pins = "gpj1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + samsung,pin-val = <1>; + }; + + pcie0_perst: pcie0_perst { + samsung,pins = "gpj1-2"; + samsung,pin-function = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + }; + + cfg_wlanen: cfg-wlanen { + samsung,pins = "gpj1-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + }; + + pcie1_clkreq: pcie1_clkreq { + samsung,pins = "gpj1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + pcie1_clkreq_output: pcie1_clkreq_output { + samsung,pins = "gpj1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + samsung,pin-val = <1>; + }; + + pcie1_perst: pcie1_perst { + samsung,pins = "gpj1-6"; + samsung,pin-function = ; + samsung,pin-drv = ; + samsung,pin-con-pdn = ; + }; + + bt_en: bt-en { + samsung,pins ="gpj1-7"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; + + bt_btwake: bt-btwake { + samsung,pins = "gpj1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-con-pdn = ; + samsung,pin-pud-pdn = ; + }; +}; + +&pinctrl_busc { + gpb2: gpb2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + hsi2c0_bus: hsi2c0-bus { + samsung,pins = "gpb2-1", "gpb2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + speedy_bus: speedy-bus { + samsung,pins = "gpb2-0"; + samsung,pin-function = ; + samsung,pin-con-pdn = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; + +&pinctrl_peric0 { + gpd0: gpd0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd1: gpd1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd2: gpd2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd3: gpd3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb1: gpb1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe7: gpe7 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf1: gpf1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + uart0_bus: uart0-bus { + samsung,pins = "gpd0-7", "gpd0-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart2_bus_single: uart2-bus-single { + samsung,pins = "gpd1-3", "gpd1-2", "gpd1-1", "gpd1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart2_bus_dual: uart2-bus-dual { + samsung,pins = "gpd1-1", "gpd1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart3_bus_single: uart3-bus-single { + samsung,pins = "gpd1-7", "gpd1-6", "gpd1-5", "gpd1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart3_bus_dual: uart3-bus-dual { + samsung,pins = "gpd1-5", "gpd1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart4_bus_single: uart4-bus-single { + samsung,pins = "gpd2-3", "gpd2-2", "gpd2-1", "gpd2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart4_bus_dual: uart4-bus-dual { + samsung,pins = "gpd2-1", "gpd2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart5_bus_single: uart5-bus-single { + samsung,pins = "gpd3-3", "gpd3-2", "gpd3-1", "gpd3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart5_bus_dual: uart5-bus-dual { + samsung,pins = "gpd3-1", "gpd3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + hsi2c5_bus: hsi2c5-bus { + samsung,pins = "gpd1-1", "gpd1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c6_bus: hsi2c6-bus { + samsung,pins = "gpd1-3", "gpd1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c7_bus: hsi2c7-bus { + samsung,pins = "gpd1-5", "gpd1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c8_bus: hsi2c8-bus { + samsung,pins = "gpd1-7", "gpd1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c9_bus: hsi2c9-bus { + samsung,pins = "gpd2-1", "gpd2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c10_bus: hsi2c10-bus { + samsung,pins = "gpd2-3", "gpd2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c11_bus: hsi2c11-bus { + samsung,pins = "gpd3-1", "gpd3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c12_bus: hsi2c12-bus { + samsung,pins = "gpd3-3", "gpd3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hs_i2c14_bus: hs-i2c14-bus { + samsung,pins = "gpe6-3", "gpe6-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi2_bus: spi2-bus { + samsung,pins = "gpd1-3", "gpd1-2", "gpd1-1", "gpd1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi2_cs: spi2-cs { + samsung,pins = "gpd1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi2_cs_func: spi2-cs-func { + samsung,pins = "gpd1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi3_bus: spi3-bus { + samsung,pins = "gpd1-7", "gpd1-5", "gpd1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi3_cs: spi3-cs { + samsung,pins = "gpd1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi3_cs_func: spi3-cs-func { + samsung,pins = "gpd1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi4_bus: spi4-bus { + samsung,pins = "gpd2-3", "gpd2-1", "gpd2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi4_cs: spi4-cs { + samsung,pins = "gpd2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi4_cs_func: spi4-cs-func { + samsung,pins = "gpd2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi5_bus: spi5-bus { + samsung,pins = "gpd3-3", "gpd3-1", "gpd3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi5_cs: spi5-cs { + samsung,pins = "gpd3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi5_cs_func: spi5-cs-func { + samsung,pins = "gpd3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + pwm_tout1: pwm-tout1 { + samsung,pins = "gpd0-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + motor_rst_n: motor_rst_n { + samsung,pins = "gpe7-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + motor_mode: motor_mode { + samsung,pins = "gpf1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; + +&pinctrl_peric1 { + gpb0: gpb0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc0: gpc0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc1: gpc1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc2: gpc2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc3: gpc3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpk0: gpk0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe5: gpe5 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe6: gpe6 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe2: gpe2 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe3: gpe3 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe4: gpe4 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf0: gpf0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpe1: gpe1 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg0: gpg0 { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + uart6_bus_single: uart6-bus-single { + samsung,pins = "gpe5-3", "gpe5-2", "gpe5-1", "gpe5-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart6_bus_dual: uart6-bus-dual { + samsung,pins = "gpe5-1", "gpe5-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart7_bus_single: uart7-bus-single { + samsung,pins = "gpe1-3", "gpe1-2", "gpe1-1", "gpe1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart7_bus_dual: uart7-bus-dual { + samsung,pins = "gpe1-1", "gpe1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart8_bus_single: uart8-bus-single { + samsung,pins = "gpe1-7", "gpe1-6", "gpe1-5", "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart8_bus_dual: uart8-bus-dual { + samsung,pins = "gpe1-5", "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart9_bus_single: uart9-bus-single { + samsung,pins = "gpe2-3", "gpe2-2", "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart9_bus_dual: uart9-bus-dual { + samsung,pins = "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart10_bus_single: uart10-bus-single { + samsung,pins = "gpe2-7", "gpe2-6", "gpe2-5", "gpe2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart10_bus_dual: uart10-bus-dual { + samsung,pins = "gpe2-5", "gpe2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart11_bus_single: uart11-bus-single { + samsung,pins = "gpe3-3", "gpe3-2", "gpe3-1", "gpe3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart11_bus_dual: uart11-bus-dual { + samsung,pins = "gpe3-1", "gpe3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart12_bus_single: uart12-bus-single { + samsung,pins = "gpe3-7", "gpe3-6", "gpe3-5", "gpe3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart12_bus_dual: uart12-bus-dual { + samsung,pins = "gpe3-5", "gpe3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart13_bus_single: uart13-bus-single { + samsung,pins = "gpe4-3", "gpe4-2", "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart13_bus_dual: uart13-bus-dual { + samsung,pins = "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart14_bus_single: uart14-bus-single { + samsung,pins = "gpe4-7", "gpe4-6", "gpe4-5", "gpe4-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart14_bus_dual: uart14-bus-dual { + samsung,pins = "gpe4-5", "gpe4-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart15_bus_single: uart15-bus-single { + samsung,pins = "gpe5-7", "gpe5-6", "gpe5-5", "gpe5-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + uart15_bus_dual: uart15-bus-dual { + samsung,pins = "gpe5-5", "gpe5-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; + + hsi2c1_bus: hsi2c1-bus { + samsung,pins = "gpc2-1", "gpc2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c1_bus_in: hsi2c1-bus-in { + samsung,pins = "gpc2-1", "gpc2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c2_bus: hsi2c2-bus { + samsung,pins = "gpc2-3", "gpc2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c2_bus_in: hsi2c2-bus-in { + samsung,pins = "gpc2-3", "gpc2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c3_bus: hsi2c3-bus { + samsung,pins = "gpc2-5", "gpc2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c3_bus_in: hsi2c3-bus-in { + samsung,pins = "gpc2-5", "gpc2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c4_bus: hsi2c4-bus { + samsung,pins = "gpc2-7", "gpc2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c4_bus_in: hsi2c4-bus-in { + samsung,pins = "gpc2-7", "gpc2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c13_bus: hsi2c13-bus { + samsung,pins = "gpe5-1", "gpe5-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c14_bus: hsi2c14-bus { + samsung,pins = "gpe5-3", "gpe5-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c15_bus: hsi2c15-bus { + samsung,pins = "gpe1-1", "gpe1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c16_bus: hsi2c16-bus { + samsung,pins = "gpe1-3", "gpe1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c17_bus: hsi2c17-bus { + samsung,pins = "gpe1-5", "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c18_bus: hsi2c18-bus { + samsung,pins = "gpe1-7", "gpe1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c19_bus: hsi2c19-bus { + samsung,pins = "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c20_bus: hsi2c20-bus { + samsung,pins = "gpe2-3", "gpe2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c21_bus: hsi2c21-bus { + samsung,pins = "gpe2-5", "gpe2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c22_bus: hsi2c22-bus { + samsung,pins = "gpe2-7", "gpe2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c23_bus: hsi2c23-bus { + samsung,pins = "gpe3-1", "gpe3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c24_bus: hsi2c24-bus { + samsung,pins = "gpe3-3", "gpe3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c25_bus: hsi2c25-bus { + samsung,pins = "gpe3-5", "gpe3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c26_bus: hsi2c26-bus { + samsung,pins = "gpe3-7", "gpe3-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c27_bus: hsi2c27-bus { + samsung,pins = "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c27_bus_in: hsi2c27-bus-in { + samsung,pins = "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c28_bus: hsi2c28-bus { + samsung,pins = "gpe4-3", "gpe4-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c28_bus_in: hsi2c28-bus-in { + samsung,pins = "gpe4-3", "gpe4-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c29_bus: hsi2c29-bus { + samsung,pins = "gpe4-5", "gpe4-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c30_bus: hsi2c30-bus { + samsung,pins = "gpe4-7", "gpe4-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c31_bus: hsi2c31-bus { + samsung,pins = "gpe5-5", "gpe5-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hsi2c32_bus: hsi2c32-bus { + samsung,pins = "gpe5-7", "gpe5-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi0_bus: spi0-bus { + samsung,pins = "gpc3-3", "gpc3-2", "gpc3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi0_cs: spi0-cs { + samsung,pins = "gpc3-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi0_cs_func: spi0-cs-func { + samsung,pins = "gpc3-1"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi1_bus: spi1-bus { + samsung,pins = "gpc3-7", "gpc3-6", "gpc3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi1_cs: spi1-cs { + samsung,pins = "gpc3-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi1_cs_func: spi1-cs-func { + samsung,pins = "gpc3-5"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi6_bus: spi6-bus { + samsung,pins = "gpe5-3", "gpe5-1", "gpe5-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi6_cs: spi6-cs { + samsung,pins = "gpe5-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi6_cs_func: spi6-cs-func { + samsung,pins = "gpe5-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi7_bus: spi7-bus { + samsung,pins = "gpe1-3", "gpe1-1", "gpe1-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi7_cs: spi7-cs { + samsung,pins = "gpe1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi7_cs_func: spi7-cs-func { + samsung,pins = "gpe1-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi8_bus: spi8-bus { + samsung,pins = "gpe1-7", "gpe1-5", "gpe1-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi8_bus_suspend: spi8-bus-suspend { + samsung,pins = "gpe1-7", "gpe1-5", "gpe1-4"; + samsung,pin-function = ; /* INPUT */ + samsung,pin-pud = ; /* DOWN */ + samsung,pin-drv = ; + }; + + spi8_cs: spi8-cs { + samsung,pins = "gpe1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi8_cs_func: spi8-cs-func { + samsung,pins = "gpe1-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi8_cs_func_suspend: spi8-cs-func-suspend { + samsung,pins = "gpe1-6"; + samsung,pin-function = ; /* INPUT */ + samsung,pin-pud = ; /* DOWN */ + samsung,pin-drv = ; + }; + + spi9_bus: spi9-bus { + samsung,pins = "gpe2-3", "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi9_cs: spi9-cs { + samsung,pins = "gpe2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi9_cs_func: spi9-cs-func { + samsung,pins = "gpe2-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi9_idle: spi9-idle { + samsung,pins = "gpe2-3", "gpe2-2", "gpe2-1", "gpe2-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi10_bus: spi10-bus { + samsung,pins = "gpe2-7", "gpe2-5", "gpe2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi10_cs: spi10-cs { + samsung,pins = "gpe2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi10_cs_func: spi10-cs-func { + samsung,pins = "gpe2-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi11_bus: spi11-bus { + samsung,pins = "gpe3-3", "gpe3-1", "gpe3-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi11_cs: spi11-cs { + samsung,pins = "gpe3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi11_cs_func: spi11-cs-func { + samsung,pins = "gpe3-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi12_bus: spi12-bus { + samsung,pins = "gpe3-7", "gpe3-5", "gpe3-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi12_cs: spi12-cs { + samsung,pins = "gpe3-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi12_cs_func: spi12-cs-func { + samsung,pins = "gpe3-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi13_bus: spi13-bus { + samsung,pins = "gpe4-3", "gpe4-1", "gpe4-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi13_cs: spi13-cs { + samsung,pins = "gpe4-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi13_cs_func: spi13-cs-func { + samsung,pins = "gpe4-2"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi14_bus: spi14-bus { + samsung,pins = "gpe4-7", "gpe4-5", "gpe4-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi14_cs: spi14-cs { + samsung,pins = "gpe4-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi14_cs_func: spi14-cs-func { + samsung,pins = "gpe4-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi15_bus: spi15-bus { + samsung,pins = "gpe5-7", "gpe5-5", "gpe5-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi15_cs: spi15-cs { + samsung,pins = "gpe5-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + spi15_cs_func: spi15-cs-func { + samsung,pins = "gpe5-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + decon_f_te_on: decon_f_te_on { + samsung,pins = "gpb0-1"; + samsung,pin-function = ; + }; + + decon_f_te_off: decon_f_te_off { + samsung,pins = "gpb0-1"; + samsung,pin-function = ; + }; + + hrm_irq: hrm-irq { + samsung,pins = "gpe6-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hrm_irqsleep: hrm-irqsleep { + samsung,pins = "gpe6-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + hrm_irqidle: hrm-irqidle { + samsung,pins = "gpe6-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi new file mode 100644 index 000000000..3ed381ee5 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi @@ -0,0 +1,253 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Samsung's Exynos 8895 SoC device tree source + * + * Copyright (c) 2024, Ivaylo Ivanov + */ + +#include + +/ { + compatible = "samsung,exynos8895"; + #address-cells = <2>; + #size-cells = <1>; + + interrupt-parent = <&gic>; + + aliases { + pinctrl0 = &pinctrl_alive; + pinctrl1 = &pinctrl_abox; + pinctrl2 = &pinctrl_vts; + pinctrl3 = &pinctrl_fsys0; + pinctrl4 = &pinctrl_fsys1; + pinctrl5 = &pinctrl_busc; + pinctrl6 = &pinctrl_peric0; + pinctrl7 = &pinctrl_peric1; + }; + + arm-a53-pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>, + <&cpu4>, + <&cpu5>, + <&cpu6>, + <&cpu7>; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + core2 { + cpu = <&cpu2>; + }; + core3 { + cpu = <&cpu3>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu4>; + }; + core1 { + cpu = <&cpu5>; + }; + core2 { + cpu = <&cpu6>; + }; + core3 { + cpu = <&cpu7>; + }; + }; + }; + + cpu0: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x100>; + enable-method = "psci"; + }; + + cpu1: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x101>; + enable-method = "psci"; + }; + + cpu2: cpu@102 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x102>; + enable-method = "psci"; + }; + + cpu3: cpu@103 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x103>; + enable-method = "psci"; + }; + + cpu4: cpu@0 { + device_type = "cpu"; + compatible = "samsung,mongoose-m2"; + reg = <0x0>; + enable-method = "psci"; + }; + + cpu5: cpu@1 { + device_type = "cpu"; + compatible = "samsung,mongoose-m2"; + reg = <0x1>; + enable-method = "psci"; + }; + + cpu6: cpu@2 { + device_type = "cpu"; + compatible = "samsung,mongoose-m2"; + reg = <0x2>; + enable-method = "psci"; + }; + + cpu7: cpu@3 { + device_type = "cpu"; + compatible = "samsung,mongoose-m2"; + reg = <0x3>; + enable-method = "psci"; + }; + }; + + psci { + compatible = "arm,psci"; + method = "smc"; + cpu_suspend = <0xc4000001>; + cpu_off = <0x84000002>; + cpu_on = <0xc4000003>; + }; + + timer { + compatible = "arm,armv8-timer"; + /* Hypervisor Virtual Timer interrupt is not wired to GIC */ + interrupts = , + , + , + ; + clock-frequency = <26000000>; + }; + + fixed-rate-clocks { + oscclk: osc-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "oscclk"; + }; + }; + + soc: soc@0 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x0 0x20000000>; + + chipid@10000000 { + compatible = "samsung,exynos8895-chipid", + "samsung,exynos850-chipid"; + reg = <0x10000000 0x24>; + }; + + gic: interrupt-controller@10200000 { + compatible = "arm,gic-400"; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + reg = <0x10201000 0x1000>, + <0x10202000 0x1000>, + <0x10204000 0x2000>, + <0x10206000 0x2000>; + interrupts = ; + }; + + pinctrl_alive: pinctrl@164b0000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x164b0000 0x1000>; + + wakeup-interrupt-controller { + compatible = "samsung,exynos8895-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + interrupt-parent = <&gic>; + interrupts = ; + }; + }; + + pinctrl_abox: pinctrl@13e60000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x13e60000 0x1000>; + }; + + pinctrl_vts: pinctrl@14080000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x14080000 0x1000>; + }; + + pinctrl_fsys0: pinctrl@11050000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x11050000 0x1000>; + interrupts = ; + }; + + pinctrl_fsys1: pinctrl@11430000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x11430000 0x1000>; + interrupts = ; + }; + + pinctrl_busc: pinctrl@15a30000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x15a30000 0x1000>; + interrupts = ; + }; + + pinctrl_peric0: pinctrl@104d0000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x104d0000 0x1000>; + interrupts = ; + }; + + pinctrl_peric1: pinctrl@10980000 { + compatible = "samsung,exynos8895-pinctrl"; + reg = <0x10980000 0x1000>; + interrupts = ; + }; + + pmu_system_controller: system-controller@16480000 { + compatible = "samsung,exynos8895-pmu", + "samsung,exynos7-pmu", "syscon"; + reg = <0x16480000 0x10000>; + }; + }; +}; + +#include "exynos8895-pinctrl.dtsi" +#include "arm/samsung/exynos-syscon-restart.dtsi" From patchwork Wed Aug 7 09:08:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756057 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 94514C52D6F for ; Wed, 7 Aug 2024 09:14:18 +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=Z/Rj+FE0mEboMxqdM09FEcIsQwLQR1um0Acu+jIgSCE=; b=VN89RYn6K6Sj12a5CWH0Jpmoy+ IHn2TMMBUh+uN1EIl0Y4WfXzHEy8i2FtXwy1cUJV+nxlyKOnzL0FA2wg3EWE+IGgoqu9aAaXx5aM+ cXNK3v4LzNoOGyPv2EPkX89EpMZDaKrWVlwUclmqt5oqsj3YD17O49AQQN3WSeFpbP7Qxx6jGjquJ HxfHg9Vl1b0uwyOTyTHRTdAh2/xorjOzddfvKues6YOfn0XWD9l9i0OC/sE6e99QXiu/KnGLQ5AFL Grzl2fN7VS6mohW5XpzaCGSpN5dTEZ9+lnHK3o7pbmYzZYTrG+Be/KHojbDhpLFynQogUm04My/NV Z33wtsiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbck7-00000004UnI-1Rcl; Wed, 07 Aug 2024 09:14:03 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfd-00000004TRw-1DWs for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:26 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-428e0d18666so10157425e9.3 for ; Wed, 07 Aug 2024 02:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021764; x=1723626564; 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=Z/Rj+FE0mEboMxqdM09FEcIsQwLQR1um0Acu+jIgSCE=; b=EYZ4m98TW3cJegJXjEiQuN5HG+i5DshyqocgoKxjWdhb57RF7DRZMx62z0GR897E1j adBa+MtFiW9RtJZJHDg+S6+yOjQ3sa9+K5jyYhaYc1PSsgRA11filUFrW/wCTTINJyYD fl1pbMYbK5fyU0grxW/T2K48hWiStrMKKSh+BAnUsqFRf1ErMYoLkO2yNnChruNoLkLk DWYFVrFHCdlTndKi+zjFhNhF7PiDSomGAwuetPkPDvB6M4BHg33ejsU4TKYkaRp4rkEc X7KYt5PNOBbzH4/1tK02/F14K6PYa7VCRhswT72zLdvz0FF8zYuae1Oj0Refu7QXY1Bt s+Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021764; x=1723626564; 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=Z/Rj+FE0mEboMxqdM09FEcIsQwLQR1um0Acu+jIgSCE=; b=NNzJTXtu6cTRnZEWqAPHso9uYBmzrNSh+rj8AgJXLeO6DrGzKw/nxWVLv0ojojloKI Lih+nf0VgGIKCIpe+0x78JJRCj3hsA+6h4hqIsVWzWP1t7SIJLvOrVS4GnkICh/i6ZXg oo4f+FGxtmHbRZlqQRuGsMjcZjd9MpvMik2XEny5GRG4x3wC6ByqTvMOt3o6LFhQwtOg VJ2EtTMvPcZZGhq5QWWWwHfippFQoLSrmSYG5I7D8s4md7UhHU6AYpdzn4mC6h7dW5WR UfKMZkSql/KnyGuRipjzn8lJBBn6xeefQoEhvLLm2tfhas1Qv3Pd/lS1aBKORE8e4Yq5 wi0w== X-Forwarded-Encrypted: i=1; AJvYcCVBLjxB7uRQgn6+I5K+uTrJE6dP2djJEe2NG8UNva1I4Y+XKVXBc47jqkmi3Zu1l6ypBG73720nBfM37IUGlcSPvzWEDvddISfNxxIzCvXZjNcX+LM= X-Gm-Message-State: AOJu0Yz12XizOMtC/25esYGWT3UOWPtYo933+bdqynAy1sJipAQwytxd iFzYOHIhCVCddluq9MGElruiLVBuYys1dmjN35nTkF0YtgMZOeQo X-Google-Smtp-Source: AGHT+IFcsxHnYLp1KfrkmDgil6ZUZcKca5aGW31wE6RM8LStn6v6DVLljfW2Yooh+r08Vrg8wUN7/A== X-Received: by 2002:a05:600c:5111:b0:426:60d7:d299 with SMTP id 5b1f17b1804b1-428e6af1a1amr122469955e9.7.1723021763625; Wed, 07 Aug 2024 02:09:23 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:23 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 09/10] dt-bindings: arm: samsung: Document dreamlte board binding Date: Wed, 7 Aug 2024 12:08:57 +0300 Message-Id: <20240807090858.356366-10-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020925_342052_6950236E X-CRM114-Status: GOOD ( 10.06 ) 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 binding for the Samsung Galaxy S8 (SM-G950F) board, which is based on the Samsung Exynos8895 SoC. Signed-off-by: Ivaylo Ivanov Acked-by: Rob Herring (Arm) --- .../devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml index 01dcbd8aa..49884a7ab 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -224,6 +224,12 @@ properties: - winlink,e850-96 # WinLink E850-96 - const: samsung,exynos850 + - description: Exynos8895 based boards + items: + - enum: + - samsung,dreamlte # Samsung Galaxy S8 (SM-G950F) + - const: samsung,exynos8895 + - description: Exynos Auto v9 based boards items: - enum: From patchwork Wed Aug 7 09:08:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Ivanov X-Patchwork-Id: 13756058 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 E85D3C52D6F for ; Wed, 7 Aug 2024 09:14:46 +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=gg1JCzafwRnuNLM4FawJbv1YrB13gcXIps0MLMvkrNk=; b=0Ujm4VLMeIQ6cPpLNO2JQEZ5op f5nG+AP2PDWQpSo4rMZRMLwteoyM5uMfW/Vr9cQkmuvyCFwYNucUl+K5LAFWDJmXJKYNWZq8T9Y5K +ncg8elzGmywug+ezfDVkVIOicS7FIBqrzN209Ge6GmXB8Tso2BwF5Ap6YwyIYRHzEW6aQwN2280+ ZMsNKsCbii0VwVcQ0yHbiWPvt9nX8usJS6I/F9IxNHujJcwGxUl/0UovMvjOON7ZQAVphylEnHSC5 P9uS0SYBkXtluuQIuXHJjHqoJjKyOkrOnDQIKP9fuHWpooFYZGT0aS+3J3vIgyHHbV+OUKBtuPgCo sfugr3wQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbckc-00000004Uwu-3COv; Wed, 07 Aug 2024 09:14:34 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbcfe-00000004TSU-0dzh for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2024 09:09:27 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-42817f1eb1fso10419415e9.1 for ; Wed, 07 Aug 2024 02:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723021765; x=1723626565; 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=gg1JCzafwRnuNLM4FawJbv1YrB13gcXIps0MLMvkrNk=; b=em3jO6YMT/rPaINEYmfo9JhPiTqFgIjIOkScycMee2bHzglFRofTudWxPYVQ9IPIdM O29VZxW0qV0nJLHIx/JhCMsaEb6nmqGhgAeZaNkls3nPD6ytvAdgPB9H5xHII9jl8T8S Sk09Ys9P5vB8jcnTAFIiQSUx2S7AnMm0EPRbu+3RftMjCmM8g1QP33eIHaPedIgxJDO6 iH23RiXpcpJOsRWxNiJVpA8b9a2agkU5RfEcR2Ahj7aCeXfNsQrlg+yYH7ueTja+ezgJ 0V+M9dGAa+5MMEFGBbEU6EPq7rc4PQ1KgV5JxHigrEinIwP90qMoxvpJrv8k/a3yjshs Z4uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723021765; x=1723626565; 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=gg1JCzafwRnuNLM4FawJbv1YrB13gcXIps0MLMvkrNk=; b=Un73EuYiqqGJXx6SUXl17j4MHYJ+v4/ivgGDqxG9uH3XoNjKK8pROXWTFgQxFv+Fhg m5i/6dLyEXiMVNIAzBfycKJzkKzubcXfpHxNGrIrhBmCKwP3xA04d7FMCcnPU9f1jtlO SASw5lcbZjJ14a5Tua+GbCVFoEEvHJJ9zYOYkttzdc9VIH8MnyioACgPwh1AiJZoIjkN rymw107MNhqUEA1+p6KSOaUEEgnZMFvlJ+aLM21niP5oHO4yyR3gq+0Uhbp/3MAPMDdY 0YbeCrme8/sKrD5eM+I5Jaq3GBmp1TPHTVA3/fOK9KzyTRX5avGkURmJBzboAVq+SFLQ nXCw== X-Forwarded-Encrypted: i=1; AJvYcCXsEFIKKtc9Rq68XOarXA8w870liln6cHxIRM8Oll84AKUQTFhxMWgRnS+5sqr9X45NPrfFvnQUXwivGgjgLJtursaQnvcrYuJ8wBq7EPKRPtXAGxQ= X-Gm-Message-State: AOJu0Yxdq+UdLhVtitmijoZU+R3mPTk9h2JXwTA6ew0fnwjkThZtCpVt ugQLO2Q6ZhDMdxRvpw/WmZNfbq7wN7zBoCFCDoomDhvFdt3mWdHl X-Google-Smtp-Source: AGHT+IFWeXYuTiUydd09mkEx/SJfFGEC2/gaw5qz0ISDOcvyuBj1WTQTOhlc4l+fj9ny0LdYdaJihQ== X-Received: by 2002:a05:600c:5787:b0:426:602d:a243 with SMTP id 5b1f17b1804b1-428e6b04a2dmr113193595e9.16.1723021764737; Wed, 07 Aug 2024 02:09:24 -0700 (PDT) Received: from ivaylo-desktop.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42905801d37sm19860455e9.31.2024.08.07.02.09.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 02:09:24 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Rob Herring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/10] arm64: dts: exynos: Add initial support for Samsung Galaxy S8 Date: Wed, 7 Aug 2024 12:08:58 +0300 Message-Id: <20240807090858.356366-11-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240807090858.356366-1-ivo.ivanov.ivanov1@gmail.com> References: <20240807090858.356366-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-20240807_020926_217664_E5D96AB7 X-CRM114-Status: GOOD ( 15.95 ) 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 Samsung Galaxy S8 (SM-G950F), codenamed dreamlte, is a mobile phone from 2017. It features 4GB RAM, 64GB UFS 2.1, Exynos 8895 SoC and a 1440x2960 Super AMOLED display. This initial device tree enables SimpleFB, PSTORE and GPIO keys. Signed-off-by: Ivaylo Ivanov --- arch/arm64/boot/dts/exynos/Makefile | 1 + .../boot/dts/exynos/exynos8895-dreamlte.dts | 126 ++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index d7f2191c2..18f5a3eed 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -7,5 +7,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos7-espresso.dtb \ exynos7885-jackpotlte.dtb \ exynos850-e850-96.dtb \ + exynos8895-dreamlte.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb diff --git a/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts b/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts new file mode 100644 index 000000000..5c8351b99 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dts @@ -0,0 +1,126 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Samsung Galaxy S8 (dreamlte/SM-G950F) device tree source + * + * Copyright (c) 2024, Ivaylo Ivanov + */ + +/dts-v1/; +#include "exynos8895.dtsi" +#include +#include +#include + +/ { + model = "Samsung Galaxy S8 (SM-G950F)"; + compatible = "samsung,dreamlte", "samsung,exynos8895"; + chassis-type = "handset"; + + chosen { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + framebuffer0: framebuffer@cc000000 { + status= "okay"; + compatible = "simple-framebuffer"; + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + width = <1440>; + height = <2960>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + }; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x3c800000>, + <0x0 0xc0000000 0x40000000>, + <0x8 0x80000000 0x80000000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + ramoops@92000000 { + compatible = "ramoops"; + reg = <0 0x92000000 0x8000>; + record-size = <0x4000>; + console-size = <0x4000>; + }; + + continuous_splash: framebuffer@cc000000 { + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + no-map; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&key_volup &key_voldown &key_power &key_wink>; + + volup-key { + label = "Volume Up"; + linux,code = ; + gpios = <&gpa0 3 GPIO_ACTIVE_LOW>; + }; + + voldown-key { + label = "Volume Down"; + linux,code = ; + gpios = <&gpa0 4 GPIO_ACTIVE_LOW>; + }; + + power-key { + label = "Power"; + linux,code = ; + gpios = <&gpa2 4 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + /* Typically used for Bixby. Map it as a camera button for now */ + wink-key { + label = "Camera"; + linux,code = ; + gpios = <&gpa0 6 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; +}; + +&oscclk { + clock-frequency = <26000000>; +}; + +&pinctrl_alive { + key_volup: key-volup { + samsung,pins = "gpa0-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_voldown: key-voldown { + samsung,pins = "gpa0-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_power: key-power { + samsung,pins = "gpa2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_wink: key-wink { + samsung,pins = "gpa0-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +};