From patchwork Mon Jan 29 17:40:03 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: 13536105 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 02AEEC48285 for ; Mon, 29 Jan 2024 17:42:45 +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=ImFgaiZpJ5TtkYucOkrPFkxLEvHIZbn09ZYJ+JgezoM=; b=4zLBY1PlL8nwvL 6yt6Kjg8fatODQ++LBtYvBVgvJ3BhlitU+I6c4J77YrhXg5IwggQeY0pd3noo4ttPaiare8zSN4g0 0EmWWmBAZFFhhvNh0eVR6FLqj8/muRI1FCRBfDgBdDTXg9iNJeU1xwrEHR69uBb06AjbdNxknAAcq n4uGXOI99bZu7G3qSAaM0ZdfxWP1DLHkSyZU5gonPXZigfqrK7xP0LzWjBQt6yo4XdxS0ML7nrfM4 JkSRZKCPDaFEv2AnCaqL0m1sJsXIe6FREYuuBhV04iphz2Zc64oXljlp1FGaESzGwpg73DwDSGWNL hSFmXLzfA6WKUewzRTfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUVeV-0000000Dljq-3yhf; Mon, 29 Jan 2024 17:42:35 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUVe1-0000000DlTm-2g6K for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2024 17:42:08 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a3510d79ae9so315391166b.0 for ; Mon, 29 Jan 2024 09:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706550120; x=1707154920; 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=pRPrglOzwRqa+H7Y4VRUrVxomNsbjEqwuGbyydOpG0o=; b=Dkm1dkeRWwN3mEvhk2obpQVZpYeHvIkG2/U3R7J/T33ps1QiYjqi0RLwq1VPJQR5I4 GegMHQcsoJ2HMTfb9OoTQEJeab6QgaHUOxCaZRxeYUgvv0zpB4UHheiq6Xgw7AW3UygG rtoTym46fagwx0lUZHCB4JjGTMesob5EXpSznPErpi//4o5BoHH8AARFwofzQKj9D2zf Px7d2s6Y3xiQyI+2t1qyHpIEXiR/5/QXyhcxKsRY0EWvzd0/8vr5dSaymNbvx0j8b8fD FwpD4rVQRZIQn4hQhbkNdE1NM+RnUZX8lCqT+eJX5WFuLRw6sFj8RAGvIb2Zbs4JX0os AQxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706550120; x=1707154920; 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=pRPrglOzwRqa+H7Y4VRUrVxomNsbjEqwuGbyydOpG0o=; b=gMzS1MYsSDKBR/lFw1S6aHOkOCnijraniaTkvDej3PNNnfPVoNQ+k3NGMxWKh+/U1Q zBMVp3r8kRBKcaK6R7mMkgzqhqddS6PrDDWwC2AO6r0faCiLTR872ObIorvKVooov9PB 4i05MfsxZQbiAinyS/HtUKK55IHdTwoGfaeMS0FoAkW+JF9DYbMqpS0n4y2+vdiUP24J qOMNoSrekX5XS+hVz0k95kdsDtyimpgVEIuHGGU9/ALcxrDIgGAauGTjHHsMp3ADl59i SjeBuE+T0qAa5BOe7+dQBCfanxfnxC02f+ogGxrZdSSMjD9taiIyA3j2fC1GP3lwyvyp 1YVA== X-Gm-Message-State: AOJu0Yyf/dT+JxPFlGccCVTgIjIFgXVHA1o4Vw3JewJXoSXvGkGeN4Mj plNyblBDaCCHFelMok1S2O1B1iN8liaAaq+xc7maQpxTKmxCyBlw+X11s7SylsU= X-Google-Smtp-Source: AGHT+IH7SnCVkKpDcbSdNp0DbMhNvvyF+vX+c9HHkogBjefDuaYJ7t+c82tOi7AZ9KE+TzdqrxqPSA== X-Received: by 2002:a17:906:450:b0:a35:ad38:35e with SMTP id e16-20020a170906045000b00a35ad38035emr2735029eja.69.1706550119715; Mon, 29 Jan 2024 09:41:59 -0800 (PST) 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 qx25-20020a170906fcd900b00a311a360433sm4237765ejb.143.2024.01.29.09.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:41:59 -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, inux-kernel@vger.kernel.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 v2 0/7] gs101 oriole: peripheral block 1 (peric1) and i2c12 support Date: Mon, 29 Jan 2024 17:40:03 +0000 Message-ID: <20240129174151.1174248-1-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240129_094205_801686_92D1911B X-CRM114-Status: GOOD ( 12.63 ) 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 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 | 41 ++ drivers/clk/samsung/clk-gs101.c | 347 ++++++++++++++++- include/dt-bindings/clock/google,gs101.h | 48 +++ 6 files changed, 452 insertions(+), 4 deletions(-)