From patchwork Fri Apr 26 10:03:03 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: 13644529 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 38448C4345F for ; Fri, 26 Apr 2024 10:03:48 +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=2YPyvigQ1v0EGLzs9BACqnxZIM3D5tmayrEmRO2G02c=; b=Y1oB7NjaoipH+Z C3bo8biBahPSdTilaX9GBXOmPLx8LjC1ZpC4HKrTdz97TVZTI/obF5IC3HJ5TC02xylndD9cViyHi 0Gi1YRuuT1Qft6G+HD8r4pnCmLJdVHmLDB7F4lqHKpOC0RFom+lxudFWjdfxjxlhDc3neuIrKDCZg QG1tw7MHDO/C1lp6rqC2dwnjTSoqPLni7oNUvhNUsLe11h13z9C0NapSukhTzq//d/l/+DYJYX88p r3wVppW9DMgEN519Hg1PIX6ESh26pfb+MjQ+rGwJqJllGITu8ibVtkY4+EZVq4+wbsCII41un+j9x 1kzShLD5DGgewzLNh7pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0IQV-0000000C2I0-3G8F; Fri, 26 Apr 2024 10:03:31 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0IQH-0000000C2Ao-45tR for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 10:03:20 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a4715991c32so212745666b.1 for ; Fri, 26 Apr 2024 03:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714125787; x=1714730587; 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=NZroSo8iMfP3vk8OTX3L1wntYEviDHYNgM+pqywM7tQ=; b=mEeI/dPL56mNUzR3l7TBT/Ru8vVh83zyUieSqTPjwbBm3rtleVsGW8IKSaiMJE6Hxl +kHHhmN/G2v0GxTzzjvqQgnry7qMaglgIoZf0XVZI/DaonHrqV2UZMSxXfUqJkNkifV3 IfGJFl5wt5bf6LFD2QZMKjSBV4EZsS6lfihv/WRBcleozIwpFEqqu47oAyEMnwPIfHaf IQbgPlbaEBaz1r1rWtlQrqLYyi4yaNfY40R/uTNFK1VR+LhzQRfGYoV6QQQq+rSLyjYA DptUGuEKHvXt2bosUZXF3YauAgdn0kyYjIVpK5cN0lawaTNNzn3DM1gYrut1RPFd0wLi udDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714125787; x=1714730587; 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=NZroSo8iMfP3vk8OTX3L1wntYEviDHYNgM+pqywM7tQ=; b=v4/SLdeWfIGPriXiRupRgcs7Z9ce9gVFT1HQ3KPzTDXG/IDzkUbKIiQnm8IvHZTTwE jrULZtA7GMwAnfbDQnepHN8zusYG4hc2yZx0h2udGQzMsf2mqT5IMzMQSFqRwrUYX5et etsplZ5eYOgoSa4ONNBi7r3yDSX4AKy7E4HnaLxGorU39BtYXSMyUt5UMBjUOzGSHR6T Jh2HuTE/OcQvXLISPHKMjDKfJ9qESHO5cIpEscE+DOQy3HKcBRkhHMKDNVnIY0LC8TvM Pn3f3DQLkxfR7JUHrhCj8dRENq8Y00mu91+GlWELDy8a+AUBf7EI7RQ2dBIOWg+xFUTB HfFw== X-Forwarded-Encrypted: i=1; AJvYcCVQYhErhreUQ2qyGpoBp5otmiWKjjw3V1Y4X18xhlONKIWiYZkNZ+jxI0AF3uA04a0quibxkWYXK7akZhw5PDk6OvbVEuj3wx+7HscKnaqT79avLzI= X-Gm-Message-State: AOJu0Yy8D0bO5ADgAYLOB0/91pRM2DAoeAto0YoxLFW0nnQaHm4ccUKc k61JA1Fp2ttGsZXURrxnyznlJUHQTyPlRF0DeLZpc4nH4uNcZCE6wZcxOUCc3e4= X-Google-Smtp-Source: AGHT+IFqZI2EX6TGMrhgOaiItUVC4QA3lp6lQjXgOmzliiIzZJRkthk8yLel6nW0qHdN359C7X9+Sg== X-Received: by 2002:a17:906:16d7:b0:a58:86c0:1275 with SMTP id t23-20020a17090616d700b00a5886c01275mr1579547ejd.30.1714125786723; Fri, 26 Apr 2024 03:03:06 -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 r20-20020a170906705400b00a555ef55ab5sm10417289ejj.218.2024.04.26.03.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 03:03:06 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Subject: [PATCH v2 0/5] HSI0 and HSI2 support for Google Tensor gs101 Date: Fri, 26 Apr 2024 11:03:03 +0100 Message-Id: <20240426-hsi0-gs101-v2-0-2157da8b63e3@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANd7K2YC/23MQQ7CIBCF4as0sxYzQBXjynuYLqaFwiQGDBiia bi72LXL/yXv26C4zK7Addggu8qFU+yhDgMsgaJ3gm1vUKhGHJUWoTAKXyRKQWTMRZ/lvBJBPzy zW/m9Y/epd+DySvmz21X+1r9MlQKFWrS18wkXo/D24Eg5HVP2MLXWvrUuOfelAAAA To: Peter Griffin , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi Cc: Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@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-20240426_030318_051988_FA01D40E X-CRM114-Status: GOOD ( 11.12 ) 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 patch series enables the HSI0 and HSI2 (high speed interfaces) for gs101: - HSI0 feeds the USB block and is a prerequisite to get USB working. - HSI2 feeds PCIe and UFS The parts added here have been verified to work OK without the clk_ignore_unused kernel command line option. Signed-off-by: André Draszik --- Changes in v2: - My v1 just contained HSI0, but due due to changing similar areas in the code, I've also added Peter's HSI2 clock patches from https://lore.kernel.org/all/20240423205006.1785138-1-peter.griffin@linaro.org to this series so as to preempt any merge conflicts. Namely: * hsi2 bindings * hsi2 DT * hsi2 cmu clock driver - drop patch 'dt-bindings: clock: google,gs101-clock: add HSI0 clock management unit' as already applied - cometic updates to patch 4: 'clk: samsung: gs101: add support for cmu_hsi0' (macro name, a whitespace, subject line) - Link to v1: https://lore.kernel.org/r/20240423-hsi0-gs101-v1-0-2c3ddb50c720@linaro.org --- André Draszik (2): arm64: dts: exynos: gs101: enable cmu-hsi0 clock controller clk: samsung: gs101: add support for cmu_hsi0 Peter Griffin (3): dt-bindings: clock: google,gs101-clock: add HSI2 clock management unit arm64: dts: exynos: gs101: enable cmu-hsi2 clock controller clk: samsung: gs101: add support for cmu_hsi2 .../bindings/clock/google,gs101-clock.yaml | 26 + arch/arm64/boot/dts/exynos/google/gs101.dtsi | 26 + drivers/clk/samsung/clk-gs101.c | 976 +++++++++++++++++++++ include/dt-bindings/clock/google,gs101.h | 62 ++ 4 files changed, 1090 insertions(+) --- base-commit: bb7a2467e6beef44a80a17d45ebf2931e7631083 change-id: 20240423-hsi0-gs101-aa778361bfaa Best regards,