From patchwork Mon Apr 29 13:02:16 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: 13646909 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 4A75AC4345F for ; Mon, 29 Apr 2024 13:02:54 +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=ybZXGooNZsT/LuxyEP/TIXTqkt/jlRyEmrwuu/+y8Jk=; b=Korb15tt6VrNvr QF2Im7fmc53ICkOBhmD6L6RLjZsimj9QuLVVeQvGnSSKNbMCzqekoK2qKSIFrmsvqxZEMoFM7K4ym Xuz84/1nOv4kSG3lUAfW23VvCr3lUxyVi7Laa/fwDA3hXTZ4ZgQYXBMHPhKuLzjXK4i2bnhN4R3G3 WrBgFc2kXKgB7XN4Kz7yFnSWfLaMuQtzctgJhNZL2lNpgsEekkTP8xMt++3s9az1cw+4+bmnxPDBD 3BJ7AdH6qRZWPeQw2gCE9Z2hUa+i0dtOWMVnU5z6Q6jwkBQCn2Pkhi5b5qiJeorNldlCskN2iKQMB NKuUkWPwMFzvUOybTYvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1QeU-00000002pML-0035; Mon, 29 Apr 2024 13:02:38 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1QeP-00000002pIN-1LQ0 for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 13:02:35 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a58e787130fso309090766b.0 for ; Mon, 29 Apr 2024 06:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714395750; x=1715000550; 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=Ogo3L1JklJSYYhpVNqxf6VY7w+66Me1qoHniLda2rEU=; b=RaAkrWRmgbl0GbXvOj3LfklYKbM+SX3uv0PNXHiDTniLG7r9pBijnXFks26DsDPgL4 HeShfCNbMVZLpxy6stNNU0WlH2cySysmDH4UjXJ4bz8tFs72pR7nBw3Ce3nSUjuE6Hes 4HA7xT4Bg9dwGP9M0flzsA1uQZboiRA3eppymhMnsvhqey/TvZzNeg++iWk3FR1+LT44 Vru8pwhLKsapMRaSEEmwZfzvS205nKsPPPsTZj9SEp6e5iHmjikYaGP+ZuEhYNCZE9bA gozf6AhnaOu8RifbtUDg0ywrFtoN1sSInRI5MU6/QjCRyP6j8lpgdzQDRWf06O+bq7ld fp3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714395750; x=1715000550; 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=Ogo3L1JklJSYYhpVNqxf6VY7w+66Me1qoHniLda2rEU=; b=l1HQPlUMkM2OsRiq3Gm61FkVR+3x2zch8I0NbftUC9Jc7vpY1hHfmZVl18Jvzakvyw gZRBWlfCJazMGUmzIDn7u8mEsNguZ9+bqDk1Iht3NSwvq8s+W0bsJKVR+QGULiw1xsI3 cLr/VRlY8YuidjvndTTzwQIIp1GMu+1m88yjpTy8KLQg+BB7ilMBuXGfCcuFxTA28V3i I2nSTfaN0LiAX5JieEy8TgNJsphG0vcTY43q6M8zRBuppL7H0ps84VOUS62dQDMjLJzf 3iVQj/Jw5dzkWpdS+U++AuIhsMr3DEksKpIrEJuYGSNZy5NXpXrmHcBvj1M3onRM0rAI iy4Q== X-Forwarded-Encrypted: i=1; AJvYcCViKcVvIvPMcG8w5DmnFKO3QrkkF4QawF2ImZYMz8PFLGItYbh+/N42Fm2qFK0Vv5mhEmTu8V7g15vRrpTYkLuFpBEdfua/h6grqPu9b6YqWbfoR1c= X-Gm-Message-State: AOJu0Yxh6sMPprkmzhbrYC9PeUHt+YfKcVjJOne505WwZVZ0SxWruWOS MZFRWzMp3KNuJNWZ3XITpA+YcbB9V+mpERCAuwY6EZT1o1aDHk9dPZcVXbGj7SM= X-Google-Smtp-Source: AGHT+IGHhf12WYBtN3Oqqbi5rMXCmEiK5wGhireFLP3cm7o9zO82fZWwtzHKExEGBj0AxAdjElja8Q== X-Received: by 2002:a17:906:4815:b0:a51:abd8:8621 with SMTP id w21-20020a170906481500b00a51abd88621mr6553751ejq.19.1714395750052; Mon, 29 Apr 2024 06:02:30 -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 dk21-20020a170907941500b00a55aee4bf74sm9976074ejc.79.2024.04.29.06.02.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 06:02:29 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Subject: [PATCH v3 0/3] HSI2 support for Google Tensor gs101 Date: Mon, 29 Apr 2024 14:02:16 +0100 Message-Id: <20240429-hsi0-gs101-v3-0-f233be0a2455@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAFiaL2YC/23MQQqDMBCF4avIrJuSTNRIV71H6WI0UQeKKUkJL eLdm7iq0OV78P0rRBfYRbhUKwSXOLJf8tCnCoaZlskJtnkDSqxljVrMkaWYopJKEBnT6Vb1IxF k8Axu5Pceu93znjm+fPjs7aTK+zeTlJACB21t38jBoLw+eKHgzz5MUDoJf217sFisaoylrm+10 we7bdsX8bKcUOEAAAA= 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-20240429_060233_475843_8BF8205E X-CRM114-Status: GOOD ( 11.03 ) 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 HSI2 (high speed interfaces) for gs101: - 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 v3: - Drop HSI0-related changes as already applied - s/ufs_embd/ufs and s/mmc_card/mmc (Tudor, Krzysztof) - collect tags - drop my own R-b tag, due to SoB - Link to v2: https://lore.kernel.org/r/20240426-hsi0-gs101-v2-0-2157da8b63e3@linaro.org 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 --- 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 | 12 + drivers/clk/samsung/clk-gs101.c | 507 +++++++++++++++++++++ include/dt-bindings/clock/google,gs101.h | 62 +++ 4 files changed, 607 insertions(+) --- base-commit: b0a2c79c6f3590b74742cbbc76687014d47972d8 change-id: 20240423-hsi0-gs101-aa778361bfaa Best regards,