From patchwork Thu Apr 25 16:03:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13643519 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 00929C4345F for ; Thu, 25 Apr 2024 16:04: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject: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=4vmhsfdrbc2fAyMkmN+F36gY3DyiBSXyGN+kHvd93jI=; b=AE3g0G+/oROhtm jiYae29kZhQty5mFoAVZtYfyFuksRFelfS2Hq8ZSh4DpbESfs5Kj49z3d+FAv3kxl+ZR/oSO6DDHz hBd04u7Gfy9hZCceKhFvYvml3N7dNSrp1mPBPct17PCYLBVAq3nLj46I8Ib20bnS6RNeso8f7MPFz RcoXGp5WrsiBvLAqwrCcIan0fsUFzTmwAvjFwxd6hJoy09tUg1VXCRuHhiaviWli9Px2tjrGpaFpj OBLL1Tx2A8iXSrARzhtEBNs8vA5uuBTsLinAmKu3xBOtMxa7a0xoTlVOu67MjmiHeH1j4CPlhY9ZV mBGYjSPab890W+lpT0Pw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s01Zj-00000009Hff-3Pqb; Thu, 25 Apr 2024 16:03:55 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s01Zg-00000009Hdo-3wIf for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 16:03:54 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5176f217b7bso2100034e87.0 for ; Thu, 25 Apr 2024 09:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714061030; x=1714665830; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=90o4FgSL+CeIO1gyLTC5XITGjfeMRvZ6Pyb1+yyX+Xg=; b=VMaB5tjc6rHJOFxru/OlsRIsTXWwzAGt/8hbZeDjTXL6skBTalylsKisJcVKPYTCAM HATzr/4GfUP1vnhOLquEe8nA7LLVYNvCvGbEWg+NzBAyb/Bza+4xEtJVh5xmQpO0dLWs 2JnXnPmq49xnam1DoSOGQ0pU2l5q4HopKTS5KkfUntVwzLoa2XkazubN+inAIxKaQpKf KAvDa556r8X/B7MrfJxJMPfY8ejxxS3JvQzQ6tTZYljyfOEn3MxeoRxfble2DiGOpvPd jIjWcmR/y0vuI2GPDJEUdPCUWy2ZPmZQTgPYiduVTC5O8VN3vHZqZaf/W2IDU5oO1OCs MwIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714061030; x=1714665830; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=90o4FgSL+CeIO1gyLTC5XITGjfeMRvZ6Pyb1+yyX+Xg=; b=DpltixBqxDXx4c/IOIouMo7s1PKzdNDXcwtx7GSyEL52qPnfMIBl1l3BJLuGKjLisJ +qZOQZlw1NNAwhjfD58gVygmafuuD1fKgU7XoOfZLdwzEGoi6TBqfsR1I1JIvrpLDku7 ZHRWhYxS4eSTWeLRJwgDiXN8fHRyvGVnAGK1AX/dL9Qw6AwKSrzgOMp93YtauHhsqEbx +wvJE6CQH9bqt8apLcvMIWh5QeDx+XW6uZCNd7SXy7aXaGYTD2Eghmr9ryYoFBWlq+FD KPYk6S706eygUayF3+mMBqolTB2u28dS8YItV8497MlSFyvSfGBUp0RS9kFfHh3HhHmX 3qfQ== X-Forwarded-Encrypted: i=1; AJvYcCW6e25r51a7IjbdXOKWtzITEMK3PV535AdadkAvcOGcKuzp50PvjpFeMfsFT6+TazsKgjH8MznlzzUuBA1nzbOgYPyTJCJoq/XbjqOM5rh1SPjtoHA= X-Gm-Message-State: AOJu0YytCai+RVqaU3Vsd2yhUrdzBP44evINoIwdJ1BQPx0Rwi2Fuf9A 96CcJDlXQ9QZ0PFzK6kT375+vC0eKDSp/dUaBI/DlmNFxr0mP12d2Q4v0KS9hjE= X-Google-Smtp-Source: AGHT+IH4W0cQvppH7SQIIXB9y9gkfeZnnN7nZLtEwV9kMHM6f50E3eDdLoX2AavWUT9QZExL/niKeA== X-Received: by 2002:ac2:5edd:0:b0:51b:4b94:a956 with SMTP id d29-20020ac25edd000000b0051b4b94a956mr5436845lfq.21.1714061029915; Thu, 25 Apr 2024 09:03:49 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id mm10-20020a170906cc4a00b00a58a44a4419sm1329562ejb.57.2024.04.25.09.03.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 09:03:49 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Subject: [PATCH 0/2] clock support for Samsung Exynos pin controller (Google Tensor gs101) Date: Thu, 25 Apr 2024 17:03:30 +0100 Message-Id: <20240425-samsung-pinctrl-busclock-v1-0-898a200abe68@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANJ+KmYC/x3MTQqEMAxA4atI1gba+jfMVcSFxqhhnCqNiiDe3 eLyW7x3gXIQVvgmFwQ+RGXxETZNgKbWj4zSR4MzLje5K1Dbv+5+xFU8bWHGbleaF/qhLSy5rK/ KT2kg5mvgQc53XTf3/QAY9rBvagAAAA== To: Krzysztof Kozlowski , Sylwester Nawrocki , Alim Akhtar , Linus Walleij , Rob Herring , Conor Dooley , Tomasz Figa , Peter Griffin Cc: Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_090353_279286_1CDC2A74 X-CRM114-Status: UNSURE ( 9.62 ) 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 This series enables clock support on the Samsung Exynos pin controller driver. This is required on Socs like Google Tensor gs101, which implement fine-grained clock control / gating, and as such a running bus clock is required for register access to work. Signed-off-by: André Draszik --- André Draszik (2): dt-bindings: pinctrl: samsung: google,gs101-pinctrl needs a clock pinctrl: samsung: support a bus clock .../bindings/pinctrl/samsung,pinctrl.yaml | 17 ++++ drivers/pinctrl/samsung/pinctrl-exynos.c | 111 +++++++++++++++++++++ drivers/pinctrl/samsung/pinctrl-samsung.c | 74 ++++++++++++++ drivers/pinctrl/samsung/pinctrl-samsung.h | 2 + 4 files changed, 204 insertions(+) --- base-commit: a59668a9397e7245b26e9be85d23f242ff757ae8 change-id: 20240425-samsung-pinctrl-busclock-151c23d76860 Best regards,