From patchwork Thu Feb 1 16:11:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13541371 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 DA70FC4828D for ; Thu, 1 Feb 2024 16:13: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vklfjDuQwM9TAZsQgoWHTz0IHdgOzEzoVKIADOeZBS4=; b=uvnJDMuVmCz4nv iqZ0tDuePexvhyH+pn49aNi+r2gDQzQJcjkb+nCAJjUMkFc5GJkc9riykEjx/Wan9VqLoQ1pDwr89 6jggkIM6ns9SbfIf3HL1E+sUQNvPMQL0crKSi1NIb9Q9himnjHLcN1q5Elksk9pHZ/XziydS9BOFc k7Noha6VEr6g18VKa/RTLPNAAO/1Cm1RWRhPt4PqwtY6wqxAWi9DERqg6yo1844yoAaPRw2Vd8ZHb eqMBP2Ly5gJoggxmFtLbymfGdX/k3TKnSPbD9U9Yln9UMf6GBaO9YWuaUwKKM2Pw1utwT33NGPrv7 Bfzcd/pFt16OtOJvaEyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVZgh-00000008ZZ1-2p9r; Thu, 01 Feb 2024 16:13:15 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVZge-00000008ZY1-3VMY for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2024 16:13:14 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a30e445602cso483211066b.0 for ; Thu, 01 Feb 2024 08:13:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706803990; x=1707408790; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=16wU77bSWZ6Y39UK5Jq1tjsKYI5BjqkQENL2knqUcR4=; b=X2ckfj1EKnNuBirCl0uatarnYklIBfXp3PXndRB9B8pfRf7LL0t0Qd/W7yeWoA2Acp oMNxxCepN4u94n/LcwtJTktHXA2S5wIqFoN5mJmwW1AjKfXThkC8Ryp1yeLXqbFtlvC7 WvYoKqtR/TfYoSChRl4aR3A/CrWCSFgLo8I0Nq+6eHjwbm5UvraBcxJ0juJaKupC1K0g v9ve/4oqh6KzeNP2H/KLgSe/DFmoJm/80r6WkTBJo1z2H7lQV57DIWOjxxGCeXFO7c+K TK1NCEU05rDnEQtUAKbhi+V1DW+W027qm91D4mRlSDbwAYnrNCmjQqt5JVAckJUicGC3 0DCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706803990; x=1707408790; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=16wU77bSWZ6Y39UK5Jq1tjsKYI5BjqkQENL2knqUcR4=; b=flhryyhJewLuCDwxM0GlempNHIAigDYdhdamhFS0yoryvYWzHdCXBZKaMkTgfczQs6 s5koTfObapXZmZQRgbDUo/jMcnLodmeNbhwRH8Vkl/GZI482KnDp3YituPjaoqikfhEY +n6UgljbD9K4NI4pWcy1BEcSBxENDom0zVGld82eLB1olKyzmgtbAJEQ40tvybHWrPA6 ZerK9kfxv/Q3f0DYZgCmK16CzVO95t/1DoaD7/QTXB5en8/B7/MtkczCQtIvpU3Yhs9N Fnv+N2UgiXsBK+Lr2Ernn3SE3LlvhJ2ISJuxTKgZwGSMa3A7sip2Tg6iioc9FPitrfLQ hbyw== X-Gm-Message-State: AOJu0YwBn3PTGLSASf1sOfBxM11MElezhBWYH7wSmZOuBfWKlE3e2xay 4W8LOhgzDmYLRBmv/IwsbBJXdEojusGkv7SOerYnK5Np3uiVqQC2eoe/3910lmU= X-Google-Smtp-Source: AGHT+IEeIBDbn0EIWpBsMX8tjiCa1IMsmeX5CipQewHeBMbEBbGoPp4YhREkB/2UXBykc2NB6O57Eg== X-Received: by 2002:a17:906:f884:b0:a29:b31d:1dc6 with SMTP id lg4-20020a170906f88400b00a29b31d1dc6mr4912518ejb.6.1706803990092; Thu, 01 Feb 2024 08:13:10 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVc29OD0Ln/nHno3BS8/3q4ZrKJoB7/KlOCR2fvdNEAnzLTFuMB0hEQhrt4jDKnDcKj6+K+rcBj9zqYKNw8M8WlvY6icbNIe+mFkVGAZBryyZIgmIfWwpeUYXq8m4g2cuTjLqEtTGEGznZzNA9Lp2JuYSjpMejNg+iYPygYKGDnaRemUnxGJVPrMupUFZf7AjfqEzM1IuhzQ/QlO6Yv1W7gLuiAoeynvhdNpamXs4Ep+/O6+Ba0wJuzNQhXMyuLkJTuaFhQlfBh4V5NCCVbVyvAAI1LmGbzHbCWFjwzbu27LQUnWB9Hi1/vJD1ujjFGpk6ML1P4frc4Uhr1ZLMjFdQBDXGQBCeIP1RLs5i1JjmkMthhUjpRMedjTHujpwel/5ufQHjjUdF0R4wTHSchOmHH+AKMv3tQ/zGJAQIn5JcRrpPGJ9BVEQjXGhSSrHpNmm2RCcLHPnlgyBXe7HzeIrnztem8+5BXyYa7XR9EdsNJbG7KdG8tlihcA5HwySezUBoTgjLCrlcyoDICsN4fAJCmgwaOZYOLbt0QGFI5GA5M5I9OP3OcgpOZRMseVRONXnhBEgt1nkqktU0NFTR8nzq0BKMJhF+SXFaP470O30V7aL3gYj9oYNwD7BrqYg5c2O4CFGR0XV2yEfPHcU8= Received: from puffmais.c.googlers.com.com (94.189.141.34.bc.googleusercontent.com. [34.141.189.94]) by smtp.gmail.com with ESMTPSA id hw18-20020a170907a0d200b00a3600d7c2fbsm3449288ejc.176.2024.02.01.08.13.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:13:09 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: peter.griffin@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, tudor.ambarus@linaro.org, willmcvicker@google.com, semen.protsenko@linaro.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 0/7] gs101 oriole: peripheral block 1 (peric1) and i2c12 support Date: Thu, 1 Feb 2024 16:11:36 +0000 Message-ID: <20240201161258.1013664-1-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.594.gd9cf4e227d-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_081312_897123_D9BD6F4E X-CRM114-Status: GOOD ( 13.24 ) 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 Hi, This patch series implements support for the 2nd connectivity peripheral block on gs101. This block contains an additional 6 USI, 1 I3C and 1 PWM interfaces/busses. i2cdetect shows all expected devices on the one i2c bus that this patch series enables. Everything that's in scope in this series works also without the clk_ignore_unused kernel command line argument. While working on this, I noticed the existing peric0 support for gs101 has a couple issues. That explains why there are differences compared to it and a separate patch series has been sent to fix up peric0 support. Cheers, Andre' Changes in v3: - drop samsung,mode = default assignment in patch #6 Changes in v2: - squash original patches #3+#9 (Krzysztof) - move original patch #7 to new #4 - squash original patches #4+#8 and make it #5 (Krzysztof) - add short summary of devices attached to i2c bus 12 & add TODO (Sam & Peter) - collect Reviewed-by: tags - I kept Reviewed-by: tags for the squashed patches. Please shout if that wasn't expected .../bindings/clock/google,gs101-clock.yaml | 9 +- .../soc/samsung/samsung,exynos-sysreg.yaml | 1 + .../boot/dts/exynos/google/gs101-oriole.dts | 10 + arch/arm64/boot/dts/exynos/google/gs101.dtsi | 40 ++ drivers/clk/samsung/clk-gs101.c | 347 ++++++++++++++++- include/dt-bindings/clock/google,gs101.h | 48 +++ 6 files changed, 451 insertions(+), 4 deletions(-)