Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp277654rdb; Thu, 1 Feb 2024 08:15:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFumgWFtWa8kw2DcwM18hQydHUNhry+gCDcdKzTEeMSIHjaf1S+6I/Wab0UNvZ5/V76iJI2 X-Received: by 2002:a05:622a:5d2:b0:42b:fac1:8141 with SMTP id d18-20020a05622a05d200b0042bfac18141mr1692300qtb.7.1706804105323; Thu, 01 Feb 2024 08:15:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706804105; cv=pass; d=google.com; s=arc-20160816; b=BkV5XfTatAReL2Tww/ojFDPfM3LbbK2t5ya9o9MvoWkCHsaRkJ08feBljBau25/ikc KKqZ9qOxTA7i6npSZJN6t64lNpK14QeTV1jpnVLThRHaOIPGsH4dSxN2x8zqHqtK6ztn gHwzbQdymrbMZmvcX+oPvwXClZ1Ly4bJM0W+YI6XpLDE8BsrkvHQorjTVHbNWydJ5vSq fKBWxxvmIy89Z8Q6rOp6Lm867pIpTv3nCaBROlHPYV/grFbn6JlXeX6iy57pFM5x8trV a4s2dNhE0ubFXmD2CYX6y3PF1TOEf9XhO8U/vlHPKi1MffB7iq1zBBU5R5N92HN+yIj4 bI2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=16wU77bSWZ6Y39UK5Jq1tjsKYI5BjqkQENL2knqUcR4=; fh=rDkPRbxxIVRCZFjp6++a/vC2W99m91WJBxBVKwQv6BU=; b=WssuBqRRszEZSFdxdG3n0BN2f4ekvSLA3wK69aVrlIKqcwv3tQhLvB8O2Zygqds1LB 9u10+RyvmyhITvRMYwOqaZCSl2KKfpk2x1qoHmSEXtyMSMqADbBTvohhs/PdxEV3Gfp9 dc1r8iLJZM2/05Uc9TC7zjixQ8/qFKAXvP5ORqXi3UOOHQMuVd6Tp/5Ogsv1A0NFLkUA fhGe/tlkrAvxSA90AuWeBZrgeM7Vko0gWW1a5eJoLCk3tHL2OxXyAiRdF69BD8NykNlO ck/d/WfOYLceoDcH9g32Spx7bJuAHeatljAq9/BtAd8H6zut9gZyjTK9zJrqkOb/0R0S 1QYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iJzULgG6; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-48479-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48479-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXrCbNYpJ2sJM4WYXH9fdb/lNTgCYsMguNn7wt/ThRcv3eA15JSuAzqqDS22PaKduQMGF0drDDlrh2IECXWyy/vQSFj+27fFfAB8CFsDw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w8-20020ac857c8000000b0042be02b2be5si5023435qta.136.2024.02.01.08.15.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:15:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48479-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iJzULgG6; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-48479-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48479-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1D4E01C262DB for ; Thu, 1 Feb 2024 16:13:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7B22779F8; Thu, 1 Feb 2024 16:13:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="iJzULgG6" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 E1113626B5 for ; Thu, 1 Feb 2024 16:13:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706803993; cv=none; b=uwzici6/Jo4ZBDJGm/th5TlN5pR8ZFbJj4BqIPmPNKTRyRxBf4VIVfhKRCtycIUeoquyTF3QoS7xE1ezHBd+Ys/+h2kLdHO8I2bYEAijfJ6ZTUhPHbKJXCGR8fO/OuvDDpwLttkvChBU90tnfLOio4TG4Pbzz64TGbA5ntH++aM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706803993; c=relaxed/simple; bh=WH5auU9R1cr8frhvf2kZ6ZXNXFEbl2wGPDo8X8f9u2Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JPdSAanVNak9vuCYbx3PKTweYOMWDRzVlyY0AkSPPOnHe1l7GZF0A11XVoJULABomITcocB2OPiBM8/GDzSdrppblwksN8PEQFxa3b3h+vU/GR0azE3KFq7yXYpcWHreU+XDbyNX8rSJPn7x+hM7j9CiH4bYvbA2JLyaCU/A4mc= 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.44 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 Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a30e445602cso483211166b.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=xJiS+xbu3aeDIHdS2Ye5Yr3Nx3Ka1wWOOxk+HA+WSJKX94I/ZMDIH3N1kBkiWB+kl7 fUqY2Ux6zM7N4jKbljtbTAZRtZm/VyNTv8Z0AL/Jl/eUKbuZd6Cqf7p2nIcq9bRwDmeI 3dT7gYiPOUO2Cqd5dq9EgmRUYgZbgYsz3VCDQFEkJ3aMo0v+S+iXM/ZU+rRmL4Eq8Vq8 N2aiQvC11KzV7uq+jOttlRzHQQnUMlkTN4YVuN3NbOevLkUor03zF8pQjcF5BHCSvSc7 eo7wf59bjcuGGgVzrK6OEGgWne9NQNX7FywisAlxq7Jwn9oOPDC83qHp0I+5ckE6nkJi CWyw== X-Gm-Message-State: AOJu0Yz3Vf+dVKNvFbD+ztqOCOyzsaNRIxsRpRgqSvR3tWzx/V1vQxIJ rhiJy5AXMddlYcPc0RxiJnVJcs5RpEzM5N3fhRy1PHA7boMg1pLXFyoFZ1Rd3GM= 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=20Draszik?= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(-)