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: 13541381 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4A266215A for ; Thu, 1 Feb 2024 16:13:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706803994; cv=none; b=Cv0LpEMWO+PlDZJ9qJcjrjF0zZq0iFApM1Yy1SseXmCHhOmfCWGJulJv2pZvmx779amSLYkRF1vMGfUOXgGrAtVSfcOJpBDBJ4On4t+ZNrFK1SK/ZgAIDisV36DdXVTIY3nftMftViAj93GBGeVxjvUtCYdhOoV0FnmArsWMReU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706803994; c=relaxed/simple; bh=WH5auU9R1cr8frhvf2kZ6ZXNXFEbl2wGPDo8X8f9u2Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=L5S4oVoIiMeczC+Gjjw6jyKp+L321h1LFqtCLY7SE098symOyJCRb0cU7ZAYmg7rgSkO/98jNvEbQFRgsh2K/O7qLI9EkU2Utw+8ZuZ4TOtV1e4hjg/Z4/0IXpaCX5Jq3YNFu8rAb0XTkhL0KnGA+X1Qhgfj6/r1m/YnM7B3wqs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=iJzULgG6; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="iJzULgG6" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a30e445602cso483211266b.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=vger.kernel.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=iJzULgG6ynBPWzOI6VhT6HjmS4WPC2B6aiGMwTCAsxnSNeAGWL856frUkcZPhRsZaH xAPCN8dfvGhOPeu9V9I9555MxRgdHgh8isu8MHRq4dSF6+/rlgX0yLNHaucXOmgZHIhY KeidhNUS3B16SaPCksOcgmqrWWvvrdr7BWGSMAtl43Nn+qvNt+2V4YeC2NXN1ar5CYPe staNp305/AyED4HOb0yVH4sHY01jSSXvdi4/RDz18QuEgEDbT1ae5xXbeiMxIvCj9RDJ kfXw73tvBp6dITDyCFpJLmX76z6Exu9ygrVpZ6uqQ14x5OCkvlvL2HTE0QUXNO7QIz09 /k1w== 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=S1uJU72r6YwtAC3rqKllteSRnXckOMlop5molW6y2I6qqVvfSb8zKx1ouTV/XQ4zVV jIEClL3ZicQfPj/ng7n3acLA7dTGYcC+jo3INgOSi13pio9vXF0q/J0SqkBcm5WAegFW obry0Bpm/Dh4ssNo0kT/8He4G4/6PkOuNwe2tyS5FULZKMl+UhUoca8YPvk0yagDb/Hy 1wSm9O804IrVnGypdOdX9WuI0Z2x+Lz6Jext01yNKuZRrQvu5ZQaDbvOMRrvVBdc1luC 6y46vAo1IAq95bfrNZffPovgSFwSgIu1cd1FTPZ7AlurMgdiqUyQwvhDkxl6AL2njcu7 RtQQ== X-Gm-Message-State: AOJu0YwxSPqZxsOa8vdzesKcN7SmZ2ylgNFAeGHIv3WgQCSWjilRqy2s xf6RoGZhF8FGUFz8tLah3sjxyp7/0BtToRf1sy+lp9KnvghZEQ5PTRuYOLdnPww= 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 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)