Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1360115lqa; Mon, 29 Apr 2024 06:35:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJ7P6enH/JjXHVDulgfOhNmrv/KbybWdafJAXq6aCSSU6Xy1o0DflbpZdayaHHEOJ7BEW7WY6RwTqZGRNDU9JhRVjPWcM7oky3BGXZBw== X-Google-Smtp-Source: AGHT+IHTZC/kKdY5p2IUf6x74pp4f/Eq3ScU+fa14s/shvooiBF21DK2QpUyeWweqg/y5Sx7yHLx X-Received: by 2002:a17:90a:ae0d:b0:2ac:f010:b1c0 with SMTP id t13-20020a17090aae0d00b002acf010b1c0mr8925805pjq.22.1714397737868; Mon, 29 Apr 2024 06:35:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714397737; cv=pass; d=google.com; s=arc-20160816; b=jPuOGlx6I55yPtd4eQrAbjcPM0hMOAC5Zomt4t7eps1D7EDV1B4EY6apnfBtszq3Ty dyYws/d5F/av7ErB2ZjkQnThTmXQt26HLHgx+oX5TDa+kwfSphVUcLWnLjeLiBIt0FTz QIkSHM1UrEa1k9hRgZ+JJZ6kmCImhAK17vo/sgQUiWlPA3Ru131UXpfhz81Q6I+w/w/p ngVTr+H14XeDnShSiwG1lNr0IeWywDNv2wid3KdU6bc6ykvPt0pdVyAZ+WKZvY7mz21A E9xjvvFaSZrtkD2x/nnzEX/sry7D0iTBSvO9fX4215CJClXCEv5bclgoivXJEEioJnPM CYxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=Ogo3L1JklJSYYhpVNqxf6VY7w+66Me1qoHniLda2rEU=; fh=ZuJy4+kbwPsqZKPr2TOtAShIvUFnUG2ea0ksEERN2Ec=; b=Qz51BYiajV61g4hqgR1YuCCVoWfc65sEiRlZe05Aos8RVFpYeFycgnLBbqZODGx9qo fKobeNtN0WD7TyjRxWgLhKhNqB6TjbLqvuf6JogWcv8lnsQwlU1GgzpNLCh6TthnUiUj TwfGDdg0HX5ufwKk7UlP7/Nr8IoPRoD7MvzfhTcmWHU9sHDXwTKM4H3qZKDn6Vj7i58D O9Q0u9/bacc1Ug2Mcj6eaM1RXfKZ3q53aISl82RKwRlYFU7oGpnZKoJzP/3sE4vfziRg arV5GrugC7kbxr3TFGf9K9X/5WJa7+LIU0DHgOp8MSqXLXi4aGZVxz4ys8le0v45ws1p 8/+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KdITw+wm; 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-162319-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id na11-20020a17090b4c0b00b002b004e305e5si7393740pjb.136.2024.04.29.06.35.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 06:35:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162319-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KdITw+wm; 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-162319-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162319-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 27CE6B2C95E for ; Mon, 29 Apr 2024 13:05:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 687DE6FE14; Mon, 29 Apr 2024 13:02:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KdITw+wm" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 C92B46F510 for ; Mon, 29 Apr 2024 13:02:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714395753; cv=none; b=sCMeSlMp49JZs2hISmaFK9UwAtQ15Rr6xTZkC3g9Ghx/nJ4/qfekmHHVz7u9wgr0IxNe/epVxX/bphLg5A3wrOG73V/nu8wa1aaC91pShR7RJzb2iFjuU4Ao9WTt/dMP+oo8PepUNRCa/X3cwhdSGGXDZ8dc5pgU05rVbMOWQXE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714395753; c=relaxed/simple; bh=vZpR7m7Frapq/eUfEPgB6QGB4p1PqtXPlfS7j+Aqdqk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=NNr6wuNzDqPIvn/IKjWBETj3VJnB1uFmXGBjy6e2MfwHpHKNfca++LbH1cMzstcgMp90hW3OEsIi0+C8DV6uM57uG/1YNJLr/W4ykO1k3jyuywbrAGDEFUz6YrvwiqQwqua4eZVB8zkfYqyL0UdYwZlSvpfeDcmCndiqxZzfi1I= 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=KdITw+wm; arc=none smtp.client-ip=209.85.218.45 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-f45.google.com with SMTP id a640c23a62f3a-a58e787130fso309091066b.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=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=Ogo3L1JklJSYYhpVNqxf6VY7w+66Me1qoHniLda2rEU=; b=KdITw+wmF2FLuEFvaDJ5wPkkt7P2B/up+Dm3O5qjibIG345nNH/VWNMlf1okIC9QQw Sylsp84z/SCMO2cEy0f3y3FTBIFA5YXz/eLHwc6YvMu6BAES2ikv+xdTC/fwFpoqMrr6 rpySdLE05pmpXZn7pQQvHOHHqhCrMepeQTkdwmKVQVwrme52BKEMmXX1dWeNt2ERWhyv OPue1ElUk80kVQwtPx/Voyc/K3woKwfbQiDv7DkWvgYUnWxn/S4ivFwsxQRyh/1xe29l QguQGhA2yZnAK62ueP0nLcVL0rtEz89SXr4+5oQJ6kLhEbF1eSi21vJC1IUQywG46BMO lY9g== 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=aCV7L0qyEGddNOUJvnf3gSFyBsXqqZOib9rLtCbcS/C6qQ5rQtndiz8iaBdNnEd/i0 j5LzkhYklu2OHUEiGMNLdaatq2eloN504smXctf1B+hLtjODHTBV5F/zqFFQjHH7akMQ N0XgoR8Ec24DcSC/gFB5Buzs8ky+/hpwC5Hmq7d1XfeCMsolc+w2hzdLvJVPiJQYJ1N7 WBywNJX2PaFRHPGwxRzPnVSsitgfGx3tQijlo+sRrrdc+3gymWAsn+2CLFx/RlW9wuAN q8DWaKocKTuSCjW4PR01lDnWYvXIyfumvfdEjXIWK0gtRjtdJyiTHdTOsPtkA09bgEup ouyw== X-Forwarded-Encrypted: i=1; AJvYcCUw9SiYfATawJ6vGucqdXZ21kXw+NLkSfxA9DAB8osm3cnZrvebfMoRXury42m8hImCbDpiP5lhGOveSauNFbeueSwa4MOBWHi8TeV4 X-Gm-Message-State: AOJu0YzLmaJTIHxp55KmbqdlP+5dLjg1yCnntaKQ1tyzg3jwlFmCQQFE TwuDTr2dBs9aOdq1sFyPTRnKWChFL27CTA1YdPvAM5HV772EXKoJS70ZOzDAkbI= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 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, -- André Draszik