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: 13644541 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 7EDF41422AE for ; Fri, 26 Apr 2024 10:03:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714125790; cv=none; b=RvPTCq18IGm5yD6/XFIvW6aWi5F+g5qshVxSUTyC7cQ3PbuxqcSfShP8NQMA3w7ab9tmh/VFKUdv2qFEd2tVyWdL7mwpzibHUg/ziOhrfs+cyNcL1KRmJi1KFKnFAs3HGM7SqGLOeYQBS3vR4Kk0IxMFlb79Pk8fPf2/WGPuY+I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714125790; c=relaxed/simple; bh=ryP7QOTYlztIm8nqNij3nVjhL1SYpQUIEozyw+/HVzI=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=kv1cxktq9rH2VQQL/dhM6Kw/c6+IcZ1QLZySjX2EHXSpHf36NUckv1ZeML/HyhwARcTh/rkkins/6C4ThtY7HfXbr6HbICH/jt7f5ay6gGZJeaPd+X9S5gvutbr2jsilqRm4vbuM1YEUB7BIQqoP7yrlozSaw0rr3hT/Hmb6m+g= 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=USJDmzH4; arc=none smtp.client-ip=209.85.218.53 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="USJDmzH4" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a5872b74c44so222809266b.3 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=vger.kernel.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=USJDmzH4BOdZ6ax+cjfpiOwTi+m9lMHO0XVE7I3E6se0sNEPhlcPMxunC5fmMKIc4E PG3J6uqniXgd/OclOplVVK9YU28MQbRZJ5fzgYfdelfod3Q/axuJioQIvbd/YmCt4NeL AF2T1jlvKwtRct08LvN26GoorbOcMt2y++kfeSwO/WPFFJs42Yshec115ZIOgPHtgblg aWCLyA87IRKwwQMD4vDWhDNLeVotJYdfTcz+oSR4q1HcYSke0/Mn8HZyycfo7BrEp4js W3szRXeQDGt3TglDIta8ZpL87Rt0VIQfk6KoqIArUImMzgTFqqPDU1V80mVCQJms2gmv pVJQ== 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=hKzTuOZUYTXb8+ZI3DGBPow3/4Wu+sVIsELhKkHn9H4wE0NaMrkiOv3Z4X1bwe4LD7 x55gAT445t1NsOlfpSyiUKI3qHqxYaAeA0kEFNrvTuBVXmQf5y/TVlqA7jOqmehMnOwE 0oMdfRmZahQjWwR1xzt7N9UfylPvOKTf7TPl0cWsicMWMfBCdCQ8pE98AwIQdxyrrk6V Dg7NmWlNcz3DpgF4z8IwyInppOe5Teu4ikQjiKQ2oHdpuulr3J9227ONr8M63MpXrI6R NASjHFvxUnYk9LNcy+vx/iOWtF/hYZFSdHqrhmioEJt8BC4q8J9u1ekHt7pcHnN3tkDq JzYg== X-Forwarded-Encrypted: i=1; AJvYcCU1PswAL3XjgU51XKK6PWpZJSnY3iw2u1S3//b6mcGOZ6NQYJotXx7EpI+tJLrpQSYqaj05zeAndcCJw9R23yq4yn3LR98B0ULM3Yu8Liz0TOw= X-Gm-Message-State: AOJu0YyxkiAf64NxH4VWfctQKbxA38Sbyial5RZlTqE8khQp+U42RbCa uw0D1nR58fFpGEEtuFosyZuKu85m3YtFShLVAubms5tlTpRE6JL1Ko/06nnvVCw= 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> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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,